新建一个记事文件,输入以下代码:
@echo offC:\WINDOWS\system32\rundll32.exe user32.dll,LockWorkStation
保存为.bat文件.批处理锁定计算机完成!