asked on
ASKER
ASKER
ASKER
ASKER
ASKER
ASKER
ASKER
ASKER
ASKER
ASKER
ASKER
ASKER
ASKER
ASKER
C:\TEST>psexec \\TESTAPPSERVER02.XYZ.COM -u xyz\testuseraccount -p testpassword "C:\Program Files\Scheduled Tasks\Test\test.bat"
PsExec v1.98 - Execute processes remotely
Copyright (C) 2001-2010 Mark Russinovich
Sysinternals - www.sysinternals.com
Starting C:\Program Files\Scheduled Tasks\Test\test.bat on TESTAPPSERVER02.XYZ.COM
C:\WINNT\system32>schtasks /CHANGE /TN "test" /DISABLE
Please enter the run as password for "xyz\taskuseraccount":
WARNING: When the run as password is empty, the scheduled task may not run because of the security policy.
ERROR: Access is denied.
C:\Program Files\Scheduled Tasks\Test\test.bat exited on TESTAPPSERVER02.XYZ.COM with error code 1.
C:\TEST>
ASKER
The Microsoft Legacy Operating System topic includes legacy versions of Microsoft operating systems prior to Windows 2000: All versions of MS-DOS and other versions developed for specific manufacturers and Windows 3/3.1, Windows 95 and Windows 98, plus any other Windows-related versions, and Windows Mobile.
TRUSTED BY
http://technet.microsoft.com/en-us/sysinternals/bb896649
use PSexec to remotely execute your script. you shoudl be able to run it against a text
file of servernames to do multiple at once.