Create a new text file, put this line inside :
“C:\Windows\System32\rundll32.exe” user32.dll, LockWorkStation
And then save it as a .bat file
Create a new text file, put this line inside :
“C:\Windows\System32\rundll32.exe” user32.dll, LockWorkStation
And then save it as a .bat file
Paste all of these into a batch file, then run it as administrator.
for /f %%a in (‘WEVTUTIL EL’) do WEVTUTIL CL “%%a”
timeout 30