Windows fixed date by Raistlin


User avatar
Raistlin
Hi all,

Is there a way I can fix the Windows date so that it doesn't increment each day please?
Paul

Cogito ergo sum... maybe?

Click the image to go to Nano-Meet Website
Image

Posted 31 Oct 2016, 13:24 #1 

User avatar
Jürgen
(Site Admin)
Do you really want to create Groundhog Day? :whump:
Well, there you go, Paul ...

In date and time settings switch off "set time automatically" to prevent Windows from messing up, as it's your batch file what will be in charge of messing up from now on.

Create this batch file. For some weird reason let's name it GroundhogDay.cmd ;) and put in the desired date.

Code: Select all
date 31-10-16


This needs to be run with administrator privileges every time Windows starts up and maybe every midnight. Therefore create a job within the Task Scheduler ("create task"). A basic task won't allow you to choose the administrator account. The trigger will be "when the computer starts" and (maybe) "daily" at 00:00:01.

That should do the trick.

A hint for other readers: Be aware of side effects that might occur.

Posted 31 Oct 2016, 14:23 #2 

User avatar
Raistlin
Thanks Jürgen :)
Paul

Cogito ergo sum... maybe?

Click the image to go to Nano-Meet Website
Image

Posted 31 Oct 2016, 14:59 #3 


Top