New
#1
cannot shutdown after using shutdown script
Hello,
I tried adding a shutdown script to my Windows 7 PC. The script is as follows:
It was saved on a text file, and loaded using gpedit.msc.Code:Set WshShell=WScript.CreateObject("WScript.Shell") On Error Resume Next menuSel=MsgBox("Have you completed your timesheet ?" & vbCrLf & "Have you sent in the Invoice?" & vbCrLf & "Have you forgotten anything at all?" & vbCrLf & "Think hard!", vbYesNo) If menuSel=vbYes Then WshShell.Run "Shutdown -a" End If
Unfortunately, it didn't work, so I removed it.
The problem now is, my PC does not shutdown.
How can I restore it to it's normal operation?
Thanks.