G
Guest
I am using the Microsoft Shared Computer Toolkit on domain machines and I am
trying to have a logoff script restart the computer. I have created a batch
file and added "shutdown -r -t 00" to the file.
Administrators are able to run this batch file and have the computer
restart. Users, however, were not able to restart the computer by running
this command. After searching, I found the following page to be helpful in
fixing this problem.
http://blogs.msdn.com/aaron_margosis/archive/2006/01/27/518214.aspx
Now that users are able to shutdown using the command, I thought for sure
that the script would work. However, it does not.
When I direct the output of the command in the logoff script (have "shutdown
-r -t 00 > c:\result.txt" in my batch file instead of just "shutdown -r -t
00") I can see the output of the command is "The device is not ready." After
some research, I found the following knowledge base article describing my
problem.
http://support.microsoft.com/default.aspx/kb/816938
It says this problem was first corrected in Windows XP Service Pack 2. The
install of Windows I am working with is from a Windows XP Professional with
Service Pack 2 Volume License CD.
Is anyone else experiencing the problem of not being able to restart on
logoff? Is there any known fix for this issue?
trying to have a logoff script restart the computer. I have created a batch
file and added "shutdown -r -t 00" to the file.
Administrators are able to run this batch file and have the computer
restart. Users, however, were not able to restart the computer by running
this command. After searching, I found the following page to be helpful in
fixing this problem.
http://blogs.msdn.com/aaron_margosis/archive/2006/01/27/518214.aspx
Now that users are able to shutdown using the command, I thought for sure
that the script would work. However, it does not.
When I direct the output of the command in the logoff script (have "shutdown
-r -t 00 > c:\result.txt" in my batch file instead of just "shutdown -r -t
00") I can see the output of the command is "The device is not ready." After
some research, I found the following knowledge base article describing my
problem.
http://support.microsoft.com/default.aspx/kb/816938
It says this problem was first corrected in Windows XP Service Pack 2. The
install of Windows I am working with is from a Windows XP Professional with
Service Pack 2 Volume License CD.
Is anyone else experiencing the problem of not being able to restart on
logoff? Is there any known fix for this issue?