How to "LOCK" a computer using VBScript 2 (IMPROVED)
Video Title :
How to "LOCK" a computer using VBScript 2 (IMPROVED)
Description :
This is a follow up to the original. It has a simpler script and I hope you enjoy!
dim password
dim shutdown
dim objShell
dim answer
password = "mike"
Do
ask = InputBox("What's the password?")
Select Case ask
Case password
answer = true
MsgBox "Correct! Welcome"
Exit Do
Case Else
answer = true
shutdown = "shutdown -s -f -t 5"
set objShell = CreateObject("WScript.Shell")
objShell.Run shutdown
WScript.Quit
End Select
Loop until answer = true
Views :
636
Rating :
3.00
Keywords, Tags :
how to lock computer vbscript vb script shutdown tutorial prank
Video Length :
5 : 51
Comments :
mine just says "windows script host" "error" line:10
Char:29
error:Expected end of the statement
Can someone please help.
how did you run it i copied it to notepad now what?
Save it as whatever you want .vbs then just dbl click it