Problem solve Get help with specific problems with your technologies, process and projects.

Lock A Client to Prevent Logons

Do you need to do maintenance on a system and want to make sure nobody logs on to it while you're working on it?

Do you need to do maintenance on a system and want to make sure nobody logs on to it while you're working on i...

t?

You can lock a system at the OS level by running: tp locksys <SID> pf=tpprofile

Example: To lock your DEV system enter this command: tp locksys DEV pf=saptranshostsapmnttransbintp_domain_dev.pfl

Users will get this message if they attempt to log on: "Upgrade still running. Logon not possible".

Notice that the message is not exactly accurate. TP locksys is mainly used during release upgrades so the message is kind of generic. But, it works!

To unlock the system, run: tp unlocksys <SID> pf=tpprofile

Now you can tell your boss that you know how to keep the users off the system!

Only SAP* and DDIC can log on to any of the clients in the system that has been locked.

Regards, Giovanni.
 Locking a System:
tp locksys <SID> pf=tpprofile

Unlocking a System:
tp unlocksys <SID> pf=tpprofile
This was last published in January 2002

Dig Deeper on SAP Basis administration and NetWeaver administration

PRO+

Content

Find more PRO+ content and other member only offers, here.

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.

-ADS BY GOOGLE

SearchManufacturingERP

SearchOracle

SearchDataManagement

SearchAWS

SearchBusinessAnalytics

SearchCRM

SearchContentManagement

SearchFinancialApplications

Close