Solved

net time in a remote workstation from the server

Posted on 1998-10-13
7
403 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

 

Author Comment

by:jgomez
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
It doe´sn´t work with every command. Only a few commands have the option /Y or /yes.
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Suggested Solutions

Update 11/3/2014 - Although the below article will get you to relocate the WINSXS folder, Microsoft has finally released a utility to reduce the size of the WINSXS folder. For some reason, it's not that straightforward. It only works on Windows 2008…
Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
This Micro Tutorial will give you a basic overview of Windows DVD Burner through its features and interface. This will be demonstrated using Windows 7 operating system.
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…

763 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now