VBS script opening error

T

The Scathing Brit

Hi guys.A .vbs script in the startup/programs folder that should open on every startup displays the following error and the script fails to run every time.The error message is -' Creates a SR point during the first startup of the day ' Option Explicit Dim SRP, CSRP, objWMI, clsPoint Dim RPDate, D1, D2, dtmInstallDate, DMatch DMatch = 0 Set SRP = getobject("winmgmts:\\.\root\default:Systemrestore") Set dtmInstallDate = CreateObject("WbemScripting.SWbemDateTime") Set objWMI = getobject( _ "winmgmts:\\.\root\default").InstancesOf ("systemrestore") For Each clsPoint In objWMI RPDate = get

Continue reading...
 
Back
Top Bottom