Archive for the ‘Error’ Category

Scheduled Reboot task fails with error 0×4f7

Thursday, October 9th, 2008

On all the servers I am tasked with managing I define a scheduled task – allowing me to perform a timed unattended reboot of the system. Most of the time this works well – once in a blue moon it doesn’t reboot the server though!

The command line for the task is:

shutdown /r /t 30 /c "Scheduled Reboot task" /d p:0:0

Occasionally the task fails with an error code of 0x4f7. This means that the console session is logged on and in a locked state!

Long and the short of it – Make sure you completely log off any active administrative sessions on the server when you schedule the next run of the task!

Alternatively, modify the command to look like this:

shutdown /r /t 30 /c "Scheduled Reboot task" /d p:0:0 /f

The /f on the end forces a restart – it also forcefully closes any running applications in any logged-on session.

SBS 2003 – Windows Time Error 1058

Tuesday, March 20th, 2007

On an SBS 2003 server today I had an issue where the root cause was the Windows Time (w32time) service not starting.

The ‘Configure E-mail and Internet Connection Wizard’ would not complete, erroring at the ‘Network Configuration’ stage. Logs showed the following:
Error 0×80070422 returned from call to Configuring the time service().
Error 0×80070422 returned from call to CNetCommit::Common().
Error 0×80070422 returned from call to CNetCommit::Commit().

Services MMC snapin showed the Windows Time service as stopped. Starting the service gave the following error:
“Could not start the Windows Time service on Local Computer.
Error 1058: The service cannot be started, either because it is disabled or because it has no enabled devices associated with it. “

Solution:

  • Click ‘Start -> Run’
  • type ‘regsvr32 w32time.dll’, click ok
  • when it says ‘DllRegisterServer in w32time.dll succeeded’, click ‘ok’
  • Start the time service.

The error will now be resolved and the internet connection wizard should go through without error.