WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.

TechHome

Time - Timer and Date Functions
plus

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

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 /y
Is there one that can do this? Or do you just have to call a CMD window from within your script?

Answer:

  1. Look at a combination of wntRemoteTime and IntControl 58

    Test carefully. I'm not 100% sure it will work for you.

  2. Time setting on a WS need more rights than a normal user has ... better use a service, eg. Timeserv in reskit.

Article ID:   W14743
Filename:   Net Time Command Equivalent.txt
File Created: 2000:08:01:09:58:46
Last Updated: 2000:08:01:09:58:46