ive got this script
but i want to edit it, so that till will make the settings change to when idle... as at the mo it is set to run once.Code:strComputer = "." Set objWMIService = GetObject("winmgmts:" _ & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2") Set objNewJob = objWMIService.Get("Win32_ScheduledJob") errJobCreated = objNewJob.Create _ ("%windir%\system32\rundll32.exe user32.dll, LockWorkStation", "********000000.000000-000", _ False , LockTest) Wscript.Echo errJobCreated
Anyone know what the code is?
T



LinkBack URL
About LinkBacks

Reply With Quote

