Windows – Set a timeout for active but inactive Remote Desktop Services sessions that use the registry without rebooting

This policy setting allows you to specify the maximum amount of time that a Remote Desktop Services Active Session may be inactive (without user input) before automatically disconnecting.

I am trying to make registry changes as suggested here, but a reboot is required to take effect. Can the changes take effect immediately without rebooting?

HKEY_LOCAL_MACHINE  SOFTWARE  Policies  Microsoft  Windows NT  Terminal Services
MaxIdleTime = 60000

I made the registry changes as above and also tried to do this via a group policy, and then kept the server idle for more than a few minutes, but I still can not get the prompt.

I tried to log out and log back in, but the changes will not be applied. Only when I restart the server will the registry settings be applied.

Idle timer expired