Updating time with localroot

| | Comments (0)

Ben (the server machine) wasn't using the correct time and every time we try to update it generates the following error:

System error 5 has occurred.
Access is denied.

The Problem

The problem is that we were logging on Ben as local-root, and thus the server didn't recognize us as part of the network. The command "net time" didn't bother asking for a valid login/password either.

The Solution

Enter the credentials first, using another net command:

net use \\ironman /user:esss\<user>

This will make it prompt for a password, and more important, register you as a valid user for the time updating command:

net time \\ironman

References:

  • http://www.zotline.com/shownote.zot/NoteNum/4429.html

Leave a comment