Jump to content

xp themes and power settings


Recommended Posts

Needing to setup many computers on xp pro. During setup I will need to:

1. set the desktop theme to classic windows

2. turn off the screen saver

3. configure the power schemes to "never" - full power all the time

Users are already setup, but all users need these things changed. My searches keep failing. Can anyone point me in the right direction?

Link to comment
Share on other sites

1. set the desktop theme to classic windows

Run( "rundll32.exe shell32.dll,Control_RunDLL desk.cpl,,-1" )
WinWaitActive( "Display Properties" )
Send("(" & "!t" & "www" & "{Enter}")

2. turn off the screen saver

Run( "rundll32.exe shell32.dll,Control_RunDLL desk.cpl,,1" )
WinWaitActive( "Display Properties" )
Send("(" & "!a" & "{Enter}")

3. I am sure you can figure it out....

Link to comment
Share on other sites

Registry Entries

;Disable screensavers
RegWrite("HKEY_CURRENT_USER\Control Panel\Desktop", "ScreenSaveActive", "REG_SZ", "0")
RegWrite("HKEY_CURRENT_USER\Control Panel\Desktop", "SCRNSAVE.EXE", "REG_SZ", "")
RegWrite("HKEY_USERS\.DEFAULT\Control Panel\Desktop", "ScreenSaveActive", "REG_SZ", "0")
RegWrite("HKEY_USERS\.DEFAULT\Control Panel\Desktop", "SCRNSAVE.EXE", "REG_SZ", "")

;Set Classic Theme

RegWrite("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System", "SetVisualStyle", "REG_SZ", '"C:\\WINDOWS\\Resources\\Themes\\Windows Classic.theme"')

;Minimal Power Management
; 0 - Home/Office desktop
; 1 - Portable/Laptop computer
; 2 - Monitor on for presentations 
; 3 - Network computer (no Wake-on-LAN)
; 4 - Optimized for high performance
; 5 - Optimized for power saving
RegWrite("HKEY_CURRENT_USER\Control Panel\PowerCfg", "CurrentPowerPolicy", "REG_SZ", "4")
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...