A
alex.birchall
Hi,
The situation is this:
I am trying to make use of the psshutdown.exe tool available from
Sysinternals (http://technet.microsoft.com/en-us/sysinternals/
bb897541.aspx) to reboot a Windows 2000 Professional server.
I have a batch file containing the following:
@echo off
c:
cd\
cd pstools
psshutdown -f -r
goto EOF
:EOF
exit
This batch file is saved in the root of C:
I can run this batch file manually (i.e., double-click on it and it
works - the computer restarts).
I set up a scheduled task to run this batch file at a specified time
in the future.
If I choose to run the scheduled task now, I can and it works.
But if I leave the scheduled task set up and lock the computer, the
scheduled task will not run. The Last Result appears to indicate it
ran successfully (0x0), but it demonstrably has not.
I have exactly the same scheduled task set up on a different Windows
2000 server and it works.
I'm stumped! Can anyone explain this mystery?
Many thanks in anticipation.
Alex Birchall
The situation is this:
I am trying to make use of the psshutdown.exe tool available from
Sysinternals (http://technet.microsoft.com/en-us/sysinternals/
bb897541.aspx) to reboot a Windows 2000 Professional server.
I have a batch file containing the following:
@echo off
c:
cd\
cd pstools
psshutdown -f -r
goto EOF
:EOF
exit
This batch file is saved in the root of C:
I can run this batch file manually (i.e., double-click on it and it
works - the computer restarts).
I set up a scheduled task to run this batch file at a specified time
in the future.
If I choose to run the scheduled task now, I can and it works.
But if I leave the scheduled task set up and lock the computer, the
scheduled task will not run. The Last Result appears to indicate it
ran successfully (0x0), but it demonstrably has not.
I have exactly the same scheduled task set up on a different Windows
2000 server and it works.
I'm stumped! Can anyone explain this mystery?
Many thanks in anticipation.
Alex Birchall