Skip to main content.
July 31st, 2005

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?

You can lock a system at the OS level by running: tp locksys 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 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.

Posted by SAP Master in Useful Tips

This entry was posted on Sunday, July 31st, 2005 at 11:21 pm and is filed under Useful Tips. You can follow any responses to this entry through the comments RSS 2.0 feed. You can leave a response, or trackback from your own site.

Related Links: Frequently Asked Questions for SAP Basis / Technical | Logging on to SAP using SAPSHCUT | Disable Multiple Logins in the Same Client | View Locked Transactions | Locking/Unlocking accounts - Behind the scenes |

Leave a Reply

You must be logged in to post a comment.