Solved

net time in a remote workstation from the server

Posted on 1998-10-13
7
429 Views
Last Modified: 2013-12-28
Hello,

The command is
net time /domain:domain /set
But this works if I go to the NT workstation 4.0 and log on as administrator. So I think the best solution is in my server with the schedule execute this command every day.

But how can I say to my server that the command must be run in a remote workstation. For example in Unix environment is like this:

rsh workstation_name  'net time /domai... '

How can I do this?

Thanks.
0
Comment
Question by:jgomez
  • 2
  • 2
  • 2
  • +1
7 Comments
 
LVL 7

Expert Comment

by:BlackMan
ID: 1793565
You can't! What you can do, if your task is to syncronize the time of the workstations, you can either assign the SetTime right to the users, which will allow you to do a NET TIME without been logged on as Administrator, or you can take a look at the TimeServ service from the Resource Kit. TimeServ can syncronize the time against a bunch of different timeservers..
0
 
LVL 2

Accepted Solution

by:
moellert earned 100 total points
ID: 1793566
You have to go to each WKS once and start the local User Manager. Open the menu ?Policies-User Rights? ( don´t know the exact name, cause I´m using a german NT version). Find the right "Change system time" and grant the user this right.
Now you can use the "net time" command in your login script.
This is only way to do it without third-party software.
0
 
LVL 8

Expert Comment

by:Koen
ID: 1793567
You could also consider making the users Power Users on the local machine !

That way they can set the time (i.e. synchro with server) and there able to share (very interesting for adding printers!).

You'd do this the easiest way by adding the Domain Users  group to the local Power users group.
0
Connect further...control easier

With the ATEN CE624, you can now enjoy a high-quality visual experience powered by HDBaseT technology and the convenience of a single Cat6 cable to transmit uncompressed video with zero latency and multi-streaming for dual-view applications where remote access is required.

 

Author Comment

by:jgomez
ID: 1793568
I think assign the SetTime right to the users it is a good solution. When user log on they automatically execute in a general start script  net time /domain:my_domain /set, but the system ask for a confirmation.

I have 5000 student users, and they don't understand about this. So I would like the system doesn't ask for a confirmation. How can I do this?

Thanks very much.
0
 
LVL 8

Expert Comment

by:Koen
ID: 1793569
Pipe a Yes with your command :

net time /domain:my_domain /set /y

that should get rid of the confirmation
0
 

Author Comment

by:jgomez
ID: 1793570
Thanks ghinstek. I give points to moellert because it was the first and I don't know how to distribute points. It would be better 50 points for you, and 50 for moeller. Sorry.

One question, when a command ask for a confirmation, if you use the parameter /Y, then it doesn't ask for a confirmation, isn't it? Does it work with all commands? If you want to answer: jgomez@aq.upm.es because question it's close.

Thanks  very much.
0
 
LVL 2

Expert Comment

by:moellert
ID: 1793571
It doe´sn´t work with every command. Only a few commands have the option /Y or /yes.
0

Featured Post

Easy, flexible multimedia distribution & control

Coming soon!  Ideal for large-scale A/V applications, ATEN's VM3200 Modular Matrix Switch is an all-in-one solution that simplifies video wall integration. Easily customize display layouts to see what you want, how you want it in 4k.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When you start your Windows 10 PC and got an "Operating system not found" error or just saw  "Auto repair for startup" or a blinking cursor with black screen. A loop for Auto repair will start but fix nothing.  You will be panic as there are no back…
Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question