Skip navigation

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

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 off
for /f "Tokens=1-3" %%a in ('reg query "HKCU\Control Panel\Desktop" /V ScreenSaveTimeOut^|find /i "ScreenSaveTimeOut"^|find "REG_SZ"') do (
 @echo REG ADD "HKEY_USERS\.DEFAULT\Control Panel\Desktop" /V ScreenSaveTimeOut /T REG_SZ /F /D %%c  
 REG ADD "HKEY_USERS\.DEFAULT\Control Panel\Desktop" /V ScreenSaveTimeOut /T REG_SZ /F /D %%c  
)


Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish