wesleyw Posted October 12, 2006 Posted October 12, 2006 Does anyone know of a way to insert automated replys into a batch file for instance: net time \\ /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
Geoff Posted October 12, 2006 Posted October 12, 2006 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.
plexer Posted October 12, 2006 Posted October 12, 2006 But if you must you use: net time \\computername /set /y Ben
Geoff Posted October 12, 2006 Posted October 12, 2006 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.
wesleyw Posted October 12, 2006 Author Posted October 12, 2006 Cool thanks! The teachers have already got this and its for one of their laptops! Wes
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now