Hi
I have written a simple vbscript to update a registry setting. If I run it on the pc it executes no problem. When I try and schedule it, I get a return code 2, The system could not find the specified file.
Here is the script (Written for 64 bit Windows 7, execution Environment has also been set for 64 bit):
Dim WshShell
Set WshShell = CreateObject("WScript.shell")
WshShell.RegWrite "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA", "0", "REG_DWORD"
The scheduled task handler log entry contains
Tue, 21 May 2013 11:43:02 1 machines targeted to task
Tue, 21 May 2013 11:43:02 Processing package
Tue, 21 May 2013 11:43:04 Raxfer Error Info: A remote operation failed, no additional information is available.
Tue, 21 May 2013 11:43:04 MT-Mxxx-Pxx, failed to get the client log file - -2145844844
Tue, 21 May 2013 11:43:05 Task complete, status 1
I'm not sure what the Raxfer erroe is and why Im getting it. Any pointers/suggestions.