Introduction
While using RDS, I had an issue with my TOTP codes as they were using the system’s (RDS/P) time and not the local one. To fix that, we can apply a GPO on the RDS to allow local time to redirect.
Registry Change
Add the following key, then run gpupdate /force
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services\Client]
"fEnableTimeZoneRedirection"=dword:00000001