Date reverts to current one in Windows Sandbox

Posted on

QUESTION :

I’m unable to change the current date in Windows Sandbox. I have disabled “Set time automatically” from the settings panel and I’m able to change the date, but 1 or 2 seconds later the date reverts to the current one.

This seems to be an issue similar to Changing Windows 10 System Clock Doesn’t Work but I don’t know how to disable time synchronization for Win Sandbox.

Does anyone have any idea about how to keep this from happening?

Running

OS Name:                   Microsoft Windows 10 Pro for Workstations
OS Version:                10.0.19041 N/A Build 19041

Picture of my date/time settings.
enter image description here

Misc:

  • The windows time service is already disabled

ANSWER :

This is not the perfect answer to this problem, But if you want to run software on a different date and time you can use RunAsDate application. This app is allowing you to run a specific software at different times and date and it works great on Windows Sandbox.
http://www.nirsoft.net/utils/run_as_date.html

You need stop (and possibly disable) the Windows Time services from the Windows Services manager.

Start > run > services.msc

Look for Windows Time

Right-click and Stop or
right-click and go to Properties, then change the Startup type to disabled.

Very crude, but seems to work. Copy/paste into Powershell ISE

for ($num=1; $num -lt 9999999999; $num++){
sleep -Milliseconds 500
set-date 12/22/21
}

Adjust timing as needed.

Leave a Reply

Your email address will not be published. Required fields are marked *