Net Time Command Equivalent
Keywords: Net Time Command Equivalent Timeserv
Question:
I have looked at all the time functions but don't see one that will do the same as:Net Time \\server /set /yIs there one that can do this? Or do you just have to call a CMD window from within your script?Answer:
- Look at a combination of wntRemoteTime and IntControl 58
Test carefully. I'm not 100% sure it will work for you.
- Time setting on a WS need more rights than a normal user has ... better use a service, eg. Timeserv in reskit.
Article ID: W14743Filename: Net Time Command Equivalent.txt