disable the date and time option
Moderator: DosItHelp
disable the date and time option
Hello, I need batch file or registry to disable the date and time option
-
- Expert
- Posts: 1166
- Joined: 06 Sep 2013 21:28
- Location: Virginia, United States
Re: disable the date and time option
What "date and time option" are you referring to?
Re: disable the date and time option
date and time option meen disable the adjust date/time option
-
- Expert
- Posts: 1166
- Joined: 06 Sep 2013 21:28
- Location: Virginia, United States
Re: disable the date and time option
is it possible to do this by batch file
Re: disable the date and time option
As far as i know: Not with pure batch.
But you probably could change the group policy with WMI (guessed from: C#, Powershell, VBScript, ....):
https://msdn.microsoft.com/en-us/library/aa375082(VS.85).aspx#_win32_group_policy_core_classes.
This tool may also help you to create a C#, Visual Basic.NET, or Visual Basic Script source:
https://www.microsoft.com/en-us/download/details.aspx?id=8572
You could then write a hybrid batch file.
penpen
But you probably could change the group policy with WMI (guessed from: C#, Powershell, VBScript, ....):
https://msdn.microsoft.com/en-us/library/aa375082(VS.85).aspx#_win32_group_policy_core_classes.
This tool may also help you to create a C#, Visual Basic.NET, or Visual Basic Script source:
https://www.microsoft.com/en-us/download/details.aspx?id=8572
You could then write a hybrid batch file.
penpen
Re: disable the date and time option
It's good that the bloke came back. He had asked elsewhere: http://www.computerhope.com/forum/index ... c=155860.0