INFO: Getting the Net Time on a Domain (98722)
The information in this article applies to:
- Microsoft Win32 Application Programming Interface (API), when used with:
- the operating system: Microsoft Windows NT 3.5
- the operating system: Microsoft Windows NT 3.51
- the operating system: Microsoft Windows NT 4.0
- the operating system: Microsoft Windows 2000
This article was previously published under Q98722 SUMMARY
When trying to execute
net time /domain:egdomain /set
you may get a message saying the account is not known or the password is
invalid. This can happen if you are logged on using an account whose name
is spelled "Administrator", but the account is a different Administrator
account than the one on the domain controller. For example, if you are
logged on as EGMACHINE\Administrator, and attempt
net time /domain:egdomain /set
you will get an error message because EGMACHINE\Administrator is not the
same account as EGDOMAIN\Administrator.
The solution is to log off EGMACHINE, log back on as EGMACHINE\PowerUsr1,
then execute the command. Note that a privilege is needed to set the time
on a machine. In the previous example, the account, EGMACHINE\PowerUsr1,
was used to remind us that power users have the needed privilege.
Modification Type: | Major | Last Reviewed: | 12/3/2003 |
---|
Keywords: | kbAPI kbDateTime kbinfo kbKernBase KB98722 |
---|
|