Page 1 of 1

Disable certain Windows Visual Effects Settings?

Posted: Sun Jul 15, 2012 10:57 pm
by netmonk99
Is there any way use UVK scripts to disable certain Visual Effect settings in Windows (see attached picture)? I'm looking for ways to further speed up the optimization process in our shop.


Re: Disable certain Windows Visual Effects Settings?

Posted: Mon Jul 16, 2012 10:25 am
by Fred
The settings you see in the Visual effects tab are saved in several places in the registry:

Code: Select all

;0 = Let Windows choose what's best for my computer
;1 = Adjust for best appearance
;2 = Adjust for best performance
;3 = Custom

;Use visual styles on windows and buttons (0=off 1=on)

;The following values set glass transparency and arero for windows

;Use common tasks in folders (0=off 1=on)

;Show translucent selection rectangle (0=off 1=on)

;Use drop shadows for icon labels on the desktop (0=off 1=on)

;Use a background image for each folder type (0=off 1=on)

;Slide taskbar buttons (0=off 1=on)

[HKCU\Control Panel\Desktop\WindowMetrics]
;Animate windows when minimizing and maximizing (0=off 1=on)

[HKCU\Control Panel\Desktop]
;Show window contents while dragging (0=off 1=on)

;Smooth edges of screen fonts (0=off 2=on)

;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)
This last entry deserves some elaboration. UserPreferencesMask uses a 4 byte entry to hold the values for 7 different visual effects, and a few other options. If we expand this 4 byte hex entry into binary, we get
1001ABC0 00D1EF10 00000G01 10000000
where bits A - G are used for the following visual effects using 0=off and 1=on
A = Smooth scroll list boxes
B = Slide open combo boxes
C = Fade or slide menus into view
D = Show shadows under mouse pointer
E = Fade or slide tooltips into view
F = Fade out menu items after clicking
G = Show shadows under menus

For example:

Code: Select all

1001ABC0 00D1EF10 00000G01 10000000
10010000 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 think the easiest way is to configure the effects manually, export the 6 registry keys below, and then use one of the methods I explained in your Add / merge a registry file topic to import them back.

HKEY_CURRENT_USER\Control Panel\Desktop

  • Messing with the registry can cause serious damages to your system. If you're not sure of what you're doing, don't do anything.

    If you're using the UVK immunization, you must un-immunize the Desktop and Explorer registry entries sections before running the script. You can do it within the script with the command <ImunizeSystem>, which will in-immunize all sections.
Hope it helps.

Re: Disable certain Windows Visual Effects Settings?

Posted: Wed Jul 24, 2019 8:15 am
by Shikha2
looking for same information...
netmonk99 is this helpful solution...?

Re: Disable certain Windows Visual Effects Settings?

Posted: Tue Sep 17, 2019 9:17 am
by Utam7623
Thanks for sharing...