It has been super busy over here, as I'm sure you can imagine, given the CrowdStrike situation.How to know/get the available time zone list? I'm on UTC+7
Get-TimeZone -ListAvailable
Open Windows PowerShell as admin (Right-click to run as admin).Each time I boot into Windows, the time is always misconfigured, and I need to manually sync it in the settings. How can I automate the sync process on each boot?
How to know/get the available time zone list? I'm on UTC+7Open Windows PowerShell as admin (Right-click to run as admin).
Set-Time "12:00 AM"
Set-TimeZone "Eastern Standard Time"
w32tm /resync
It has been super busy over here, as I'm sure you can imagine, given the CrowdStrike situation.How to know/get the available time zone list? I'm on UTC+7
Get-TimeZone -ListAvailable
PS C:\Windows\system32> Set-Time "12:00 AM"
Set-Time : The term 'Set-Time' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ Set-Time "12:00 AM"
+ ~~~~~~~~
+ CategoryInfo : ObjectNotFound: (Set-Time:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
PS C:\Windows\system32> Set-TimeZone "SE Asia Standard Time"
PS C:\Windows\system32> w32tm /resync
The following error occurred: The service has not been started. (0x80070426)
PS C:\Windows\system32> Net start w32time
The Windows Time service is starting.
The Windows Time service was started successfully.
PS C:\Windows\system32> w32tm /resync
Sending resync command to local computer
The command completed successfully.
It could be a bad CMOS battery or some other component.