CLI Reference > Server Administration Commands > im obtainadminlock
  
im obtainadminlock
set an administrative lock on the Windchill RV&S Server
Synopsis
im obtainadminlock [--[no]batch] [--cwd=directory] [--forceConfirm=[yes|no]] [(-Ffile|--selectionFile=file)] [-g|--gui][--user=name] [--hostname=server] [(-N|--no)] [--password=password] [--port=number] [--quiet] [--settingsUI=[gui|default]] [--status=[none|gui|default]] [(-?|--usage)] [(-Y|--yes)]
Description
im obtainadminlock allows you to set an administrative lock on the target Windchill RV&S Server. Locking is a mechanism for preventing changes on the target server while you are testing a workflow and document configuration on a Staging Server. The Admin Migration Wizard allows you to migrate your final workflow and document configuration from the test environment on the Staging Server to the work environment on your Production Server.
An administrative lock means that the administrative configuration of the server is no longer editable directly through the standard command set. Locking ensures that no other administrative changes can occur to the Production Server while the migration wizard is performing its update.
The administrator can manually lock either the Staging or Production Servers, or both, to prevent administrative changes from taking place. Locking both servers means that no one can make any administrative changes to the workflow and document system. For more information, see the Windchill RV&S Help Center.
For example:
im obtainadminlock --server=abcFinancial --port=7001
sets an administrative lock on the abcFinancial server.
Options
This command takes the universal options available to all im commands. See the options reference page for descriptions.
See Also
Commands: im releaseadminlock, im viewadminlock
Miscellaneous: options