This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
After Powershell Set-Date
, Windows is resetting to live Date shortly
#8102
Labels
bug report
investigate
Collect additional information, like space on disk, other tool incompatibilities etc.
OS: Windows
Description
In order to install a certificate for a virtual audio device (see #2528, which is also not resolved completely), I need to reset the system date time.
But after setting the time with:
It is reset immediately after that. See the run.
I already asked this in the Microsoft QA: https://learn.microsoft.com/en-us/answers/questions/1345225/powershell-set-date-is-resetting-to-its-original-v
They proposed, that the error is in the system host, which constantly trying to keep the date up to date. Is there a way to disable resetting the system time from the host side?
Platforms affected
Runner images affected
Image version and build link
Version: 20230804.1.0
Is it regression?
I don't think so
Expected behavior
If setting the time with
Set-time
, then keep the time on the guest system.Actual behavior
The time is resetting immediately after setting the custom time, see "Show timestamps" on a regular GH action run.
Repro steps
The text was updated successfully, but these errors were encountered: