RE: Scheduled Reboot
From: Mike Journey (imrj@airborne.com)
Date: 01/09/03
- Next message: Daniel Hartley: "Removing users from machine cleanly"
- Previous message: Kim: "User can't log on"
- In reply to: Jack Wang [MS]: "RE: Scheduled Reboot"
- Next in thread: Jack Wang [MS]: "RE: Scheduled Reboot"
- Reply: Jack Wang [MS]: "RE: Scheduled Reboot"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: "Mike Journey" <imrj@airborne.com> Date: Thu, 9 Jan 2003 10:13:09 -0800
Jack,
Thanks for the reply. Yes, it works fine when a user is
logged on. The concern is when the user ISN'T logged on.
You can easily reproduce this by putting "shutdown -r -t
00" in a .CMD file and set task scheduler to run the .CMD
file while you are logged off. We're running the task as
the local administrator. The task will fail when no one
is logged on, but work correctly when someone is logged
on. If you pipe the output of the shutdown command to a
file, the error result is "The device is not ready".
There are no entries in any event log (app, sys, or
security) that correspond to the problem.
Mike J.
>-----Original Message-----
>Hi Mike,
>
>Does it work when the user logs on to the Windows XP
computer? You may check if it
>works in Safe Mode.
>
>315222 A Description of the Safe Mode Boot Options in
Windows XP
>http://support.microsoft.com/?id=315222
>
>Also, Please attach the event log to me.
>
>Step 1: Click Start, click Run, and then type "eventvwr"
(without the quotation marks),
>click OK.
>
>Step 2: Right-click Application and select Save Log File
As.
>
>Step 3: Save it Application.evt.
>
>Step 4: Repeat step 1 to 3 to save the Security and
System event to Security.evt and
>System.evt.
>
>Step 5: Delete all the Application, Security and System
log in the Event Viewer.
>
>Step 6: Restart the computer. When the issue occurs,
save the new Application,
>Security and System log to three new files and send them
to me.
>
>Have a nice day!
>
>Sincerely,
>Jack Wang
>Microsoft Online Support Professional
>
>Get Secure! - www.microsoft.com/security
>
>=====================================================
>When responding to posts, please "Reply to Group" via
>your newsreader so that others may learn and benefit
>from your issue.
>=====================================================
>
>This posting is provided "AS IS" with no warranties, and
confers no rights.
>--------------------
>| Content-Class: urn:content-classes:message
>| From: "mike J" <imrj@airborne.com>
>| Sender: "mike J" <imrj@airborne.com>
>| Subject: Scheduled Reboot
>| Date: Wed, 8 Jan 2003 16:48:37 -0800
>| Lines: 23
>| Message-ID: <1b2801c2b778$d888d5c0
$d5f82ecf@TK2MSFTNGXA12>
>| MIME-Version: 1.0
>| Content-Type: text/plain;
>| charset="iso-8859-1"
>| Content-Transfer-Encoding: 7bit
>| X-Newsreader: Microsoft CDO for Windows 2000
>| X-MimeOLE: Produced By Microsoft MimeOLE
V5.50.4910.0300
>| Thread-Index: AcK3eNiIvuBYaIWzSVOKRVPUZ5xIkA==
>| Newsgroups: microsoft.public.windowsxp.security_admin
>| NNTP-Posting-Host: TK2MSFTNGXA12 10.40.1.164
>| Path: cpmsftngxa09!cpmsftngxa10!cpmsftngxa06
>| Xref: cpmsftngxa09
microsoft.public.windowsxp.security_admin:40331
>| X-Tomcat-NG: microsoft.public.windowsxp.security_admin
>|
>| On Win2K it's possible to set up a scheduled nightly
>| reboot using task scheduler and the SHUTDOWN command
in
>| a .CMD file. The reboot occurs on time regardless if
a
>| user is logged on at the time.
>|
>| However, on XP, the SHUTDOWN command fails with a "The
>| device is not ready" error message IF a user is not
>| logged on. (i.e. The computer is at the Ctrl-Alt-Del
to
>| log on window).
>|
>| I need to find a way around this. I have several
hundred
>| remote computers that I would like to have reboot
>| nightly. Sometimes there isn't a user logged on and
>| the "shutdown -r" command fails.
>|
>| Any ideas?
>|
>| Thanks,
>|
>| Mike Journey
>| Systems Admin
>| Airborne Express
>|
>|
>
>
>.
>
- Next message: Daniel Hartley: "Removing users from machine cleanly"
- Previous message: Kim: "User can't log on"
- In reply to: Jack Wang [MS]: "RE: Scheduled Reboot"
- Next in thread: Jack Wang [MS]: "RE: Scheduled Reboot"
- Reply: Jack Wang [MS]: "RE: Scheduled Reboot"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|