Skrooks Posted March 9, 2005 Posted March 9, 2005 I'm new to the boards, so I'm not really sure if this has been posted yet. I tried searching the forums and didn't find anything this detailed about the registry locations for visual effects.EDIT: Found Completely VisualEffects Detail and a work in progress by smc1979.To access visual effects performance options normally under Windows XP, access System Properties through the Control Panel, go to the Advanced tab, then click the Settings button under Performance.First off, I initially found most of these registry entries under HKEY_USERS\S-1-5-21-*****-500\, where the second part of this key is a unique identifier for the user. I suspect that this is used as the root for HKEY_CURRENT_USER, so I shall be using HKCU to refer to this location.Here's how to choose which performance option to use:[HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\VisualEffects];0 = Let Windows choose what's best for my computer;1 = Adjust for best appearance;2 = Adjust for best performance;3 = Custom"VisualFXSetting"=dword:00000003Here's the locations for each visual effect, in no particular order. All values are set to enable the visual effect.[HKCU\Software\Microsoft\Windows\CurrentVersion\ThemeManager];Use visual styles on windows and buttons (0=off 1=on)"ThemeActive"="1"[HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced];Use common tasks in folders (0=off 1=on)"WebView"=dword:00000001;Show translucent selection rectangle (0=off 1=on)"ListviewAlphaSelect"=dword:00000001;Use drop shadows for icon labels on the desktop (0=off 1=on)"ListviewShadow"=dword:00000001;Use a background image for each folder type (0=off 1=on)"ListviewWatermark"=dword:00000001;Slide taskbar buttons (0=off 1=on)"TaskbarAnimations"=dword:00000001[HKCU\Control Panel\Desktop\WindowMetrics];Animate windows when minimizing and maximizing (0=off 1=on)"MinAnimate"="1"[HKCU\Control Panel\Desktop];Show window contents while dragging (0=off 1=on)"DragFullWindows"="1";Smooth edges of screen fonts (0=off 2=on)"FontSmoothing"="2";Smooth scroll list boxes;Slide open combo boxes;Fade or slide menus into view;Show shadows under mouse pointer;Fade or slide tooltips into view;Fade out menu items after clicking;Show shadows under menus;(All off = 90,12,01,80 All on = 9e,3e,05,80)"UserPreferencesMask"=hex:9e,3e,05,80This last entry deserves some elaboration. UserPreferencesMask uses a 4 byte entry to hold the values for 7 different visual effects, and probably a few other options. If we expand this 4 byte hex entry into binary, we get1001ABC0 00D1EF10 00000G01 10000000where bits A - G are used for the following visual effects using 0=off and 1=onA = Smooth scroll list boxesB = Slide open combo boxesC = Fade or slide menus into viewD = Show shadows under mouse pointerE = Fade or slide tooltips into viewF = Fade out menu items after clickingG = Show shadows under menusFor example:1001ABC0 00D1EF10 00000G01 1000000010010000 00010010 00000001 10000000 = 90 12 01 80 (all off)10011110 00111110 00000101 10000000 = 9e 3e 05 80 (all on)10010000 00110010 00000101 10000000 = 90 32 05 80 (mouse and menu shadows)I hope this helps. If I made any mistakes or if anyone knows what the other bits for the UserPreferencesMask are used for, please post and let me know. 1
eirogge Posted March 9, 2005 Posted March 9, 2005 hi,this has been discussed like 5000 times before but your thread is a good summary. thank you and welcome to msfn forums.
Shoshoni Posted March 21, 2005 Posted March 21, 2005 Ehhm, does this work for Win SP2 as well? Because I am experiencing problems with setting the visual effects since SP1 Unattended. It worked for me after a long time of testing. And I have to say, this looks promising! Thanks in advance!
Skrooks Posted April 9, 2005 Author Posted April 9, 2005 I obtained these results using fresh install of WinXP SP2 Pro. I exported the entire registry, tried changing the performance settings, then exported another copy of the registry to see where any changes had been made. These results only pertain to the current user. I tried setting these for the default user in the registry and they didn't seem to take.
Takeshi Posted April 9, 2005 Posted April 9, 2005 Desktop settings in the registry including bit masks have also been explained in detail in Microsoft Windows XP Registry Guide by Jerry Honeycutt, MS Press. Good reading if you can get hold of a copy.
Zorba the Geek Posted July 5, 2022 Posted July 5, 2022 I have made a batch file that will adjust visual effects for best performance which can be inserted into the $OEM$\$1\install folder with an appropriate entry under the GuiRunOnce section of winnt.sif. If that does not work place it in $OEM$\$$\Temp and make a batch file in $OEM$\$1\install to place an entry in the RunOnce key to run visual_effects.bat from the %SystemRoot%\Temp folder. When Windows runs for the first time not all the settings are applied until you log off. The settings for "Use visual styles on windows and buttons" are not applied until you click the Apply button and the Themes service is activated, which obviously you cannot do in a batch file. Therefore I logged all the relevant settings that are made when "Use visual styles on windows and buttons" is turned off, and included them in my batch file. The only problem is that the reg.exe of XP/2003 does not support the QWORD data type used in some of the settings. Is there an upgrade for reg.exe we can use for XP/2003? Visual_Effects.bat 1
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now