Manage Learn to apply best practices and optimize your operations.

Lock your machine from the command prompt

User submitted tip: Lock your machine from the command prompt

Load your command prompt and type the following command:

  • rundll32.exe user32.dll,LockWorkStation

You could also use the above command as a shortcut on you desktop. Or if you have a multimedia keyboard on which you can customize the command on one of its smart keys, just put in that command and label it Lock Workstation. You'll be able to lock your machine by just hitting ONE key.


Dig Deeper on Windows administration tools

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

-ADS BY GOOGLE

SearchServerVirtualization

SearchCloudComputing

SearchSQLServer

SearchEnterpriseDesktop

SearchVirtualDesktop

Close