Created
October 11, 2014 09:46
-
-
Save dei79/f9711ec8fff9dac24ddb to your computer and use it in GitHub Desktop.
Lock machine after autostart
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
echo Locking Machine | |
rundll32.exe user32.dll,LockWorkStation | |
echo Starting tools.... | |
ping 1.1.1.1 -n 1 -w 5000 > nul | |
echo All tools are started | |
pause |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment