Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Set WshShell = CreateObject("WScript.Shell")
- Var_YN = MsgBox("Enable Run Dialog?", vbYesNo, "I-T[e]ChNoLoGy Corp Ltd")
- If Var_YN = 6 Then
- WshShell.RegWrite"HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\NoRun",0,"REG_DWORD"
- Else
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement