disable the date and time option

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Post Reply
Message
Author
tongelia
Posts: 3
Joined: 15 Apr 2016 22:22

disable the date and time option

#1 Post by tongelia » 15 Apr 2016 22:28

Hello, I need batch file or registry to disable the date and time option

ShadowThief
Expert
Posts: 1163
Joined: 06 Sep 2013 21:28
Location: Virginia, United States

Re: disable the date and time option

#2 Post by ShadowThief » 16 Apr 2016 13:19

What "date and time option" are you referring to?

tongelia
Posts: 3
Joined: 15 Apr 2016 22:22

Re: disable the date and time option

#3 Post by tongelia » 18 Apr 2016 02:53

date and time option meen disable the adjust date/time option

ShadowThief
Expert
Posts: 1163
Joined: 06 Sep 2013 21:28
Location: Virginia, United States

Re: disable the date and time option

#4 Post by ShadowThief » 18 Apr 2016 10:36

This?

Image

penpen
Expert
Posts: 1996
Joined: 23 Jun 2013 06:15
Location: Germany

Re: disable the date and time option

#5 Post by penpen » 18 Apr 2016 19:09


tongelia
Posts: 3
Joined: 15 Apr 2016 22:22

Re: disable the date and time option

#6 Post by tongelia » 23 Apr 2016 06:42

is it possible to do this by batch file

penpen
Expert
Posts: 1996
Joined: 23 Jun 2013 06:15
Location: Germany

Re: disable the date and time option

#7 Post by penpen » 23 Apr 2016 13:16

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

foxidrive
Expert
Posts: 6031
Joined: 10 Feb 2012 02:20

Re: disable the date and time option

#8 Post by foxidrive » 24 Apr 2016 06:53

It's good that the bloke came back. He had asked elsewhere: http://www.computerhope.com/forum/index ... c=155860.0

Post Reply