Q. The screensaver time-out value is not restored after you use Remote Desktop Connection to log on to Windows XP Professional?

Jerold Schulman

September 10, 2006

1 Min Read
ITPro Today logo in a gray background | ITPro Today

If you logon to a Windows XP Professional computer using Remote Desktop Connection, with a different account than you use locally, when you do log on locally the default profile screensaver time-out value is used instead of your screensaver time-out value.

To workaround this behavior, configure the default profile screensaver time-out value to be the same as yours.

I have scripted setDefaultTimeOut.bat to configure the default profile screensaver time-out value to be the same as yours.

The syntax for using setDefaultTimeOut.bat is setDefaultTimeOut, with no parameters.

setDefaultTimeOut.bat contains:

@echo offfor /f "Tokens=1-3" %%a in ('reg query "HKCUControl PanelDesktop" /V ScreenSaveTimeOut^|find /i "ScreenSaveTimeOut"^|find "REG_SZ"') do ( @echo REG ADD "HKEY_USERS.DEFAULTControl PanelDesktop" /V ScreenSaveTimeOut /T REG_SZ /F /D %%c   REG ADD "HKEY_USERS.DEFAULTControl PanelDesktop" /V ScreenSaveTimeOut /T REG_SZ /F /D %%c  )


Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like