Windows Thread, Command LIne in Technical; Does anyone know of a way to insert automated replys into a batch file for instance:
net time \<servername> /set
...
-
12th October 2006, 09:15 AM #1 Command LIne
Does anyone know of a way to insert automated replys into a batch file for instance:
net time \\<servername> /set
this syncs the time on the local machine to the servers but asks you for a Y/N answer is there a way of giving it that answer within a batch file?
Wes
-
-
IDG Tech News
-
12th October 2006, 09:23 AM #2 Re: Command LIne
You don't need to do this, Windows clients will automagically sycronise their time settings with domain controllers.
If you really want to be sure (or you need to use an external time source) you can set the NTP client options in group policies.
-
-
12th October 2006, 09:26 AM #3 Re: Command LIne
But if you must you use:
net time \\computername /set /y
Ben
-
-
12th October 2006, 09:42 AM #4 Re: Command LIne
Remember to also allow 'Domain Users' the 'Alter Time and Date Settings' user role. Bear in mind though this also allows them to manually screw up the time. Resulting in kerberos (logins + group policies) and windows update breaking.
-
-
12th October 2006, 11:10 AM #5 Re: Command LIne
Cool thanks! The teachers have already got this and its for one of their laptops!
Wes
-
SHARE: 
Similar Threads
-
By russdev in forum Windows
Replies: 1
Last Post: 27th September 2007, 08:04 PM
-
By russdev in forum MIS Systems
Replies: 2
Last Post: 20th September 2007, 02:00 PM
-
By Teth in forum How do you do....it?
Replies: 16
Last Post: 16th January 2007, 01:17 PM
-
By contink in forum How do you do....it?
Replies: 2
Last Post: 2nd October 2006, 04:27 PM
-
By NetworkGeezer in forum Windows
Replies: 8
Last Post: 19th June 2006, 06:32 PM
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules