New
#10
Thanks again Brink.
I've followed these forums ever since Windows 7 and they really are terrific. You provide a great service to the user community.
Thanks again Brink.
I've followed these forums ever since Windows 7 and they really are terrific. You provide a great service to the user community.
Hi, I'm having a small issue with trying to import the UserPreferencesMask with a .reg file. For example, if I have the following .reg file:
And I run this, for some reason the key doesn't import over the old one, so my setting to "remove drop shadows" from Windows doesn't get applied. Do you know what's going wrong? Can I do this from within a .reg file?Code:Windows Registry Editor Version 5.00 [Computer\HKEY_CURRENT_USER\ControlPanel\Desktop] "UserPreferencesMask"=hex:9e,1e,03,80,12,00,00,00
Hello John,
It should have this below in the .reg file instead.
Code:Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Control Panel\Desktop] "UserPreferencesMask"=hex:9e,1e,03,80,12,00,00,00
Wow, I can't believe I didn't realize that. Thank you so much, what a simple mistake.
So I followed this guide on 1809 and after running into a few problems I created this .bat file and was able to correct some of the problems I have been having. Does anyone know how to make it so I don't have to sign in twice to get this to apply? Also anyone know of how to get Peek to toggle? I can't seem to figure that out with what I can find on this forum and others.
Code::: Created: 2019-5-16 :: Last modified: 2019-5-23 :: Author: CompSuperAC :: Source on most of this: https://www.tenforums.com/tutorials/6377-change-visual-effects-settings-windows-10-a.html :: This script only works on the second login for whatever reason, apparently when people made similar scripts for XP that was also the case :: This doesn't seem to do anything but I'm leaving it in @echo off :: Set performance radio button to best performance (this may not be necessary because of the whole "two login" thing) REG ADD "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\VisualEffects" /V VisualFXSetting /T REG_DWORD /D 2 /F :: Set performance radio button to custom REG ADD "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\VisualEffects" /V VisualFXSetting /T REG_DWORD /D 3 /F :: The below are set with a UserPreferencesMask, 9012038010 represents those settings converted from binary to hex, :: that article above explains this but the example they gave with all options turned off is what was needed for this request :: so no Binary to Hex conversion is needed :: Animate controls and elements inside windows :: 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 windows REG ADD "HKCU\Control Panel\Desktop" /V "UserPreferencesMask" /T REG_BINARY /D 9012038010000000 /F :: To maintain the order of the Windows 10 performance menu, references will be made for all of the UserPreferencesMask settings :: Animate controls and elements inside windows :: See UserPreferencesMask :: https://www.eightforums.com/threads/animate-controls-and-elements-inside-windows-on-or-off.39657/ :: Animate windows when minimizing and maximizing REG ADD "HKEY_CURRENT_USER\Control Panel\Desktop\WindowMetrics" /V MinAnimate /T REG_SZ /D 0 /F :: Animations in taskbar REG ADD "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /V TaskbarAnimations /T REG_DWORD /D 0 /F :: Enable Peek (this doesn't work either 1 or 0) REG ADD "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /V DisablePreviewDesktop /T REG_DWORD /D 0 /F :: Fade or slide menus into view :: See UserPreferencesMask :: Fade or slide menus into view :: See UserPreferencesMask :: Fade out menu items after clicking :: See UserPreferencesMask :: Show shadows under windows :: See UserPreferencesMask :: Save taskbar thumbnail previews REG ADD "HKEY_CURRENT_USER\Software\Microsoft\Windows\DWM" /V AlwaysHibernateThumbnails /T REG_DWORD /D 0 /F :: Show shadows under mouse pointer :: See UserPreferencesMask :: Show thumbnails instead of icons REG ADD "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /V IconsOnly /T REG_DWORD /D 0 /F :: Show translucent selection rectangle REG ADD "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /V ListviewAlphaSelect /T REG_DWORD /D 0 /F :: Show window contents while dragging REG ADD "HKEY_CURRENT_USER\Control Panel\Desktop" /V DragFullWindows /T REG_SZ /D 1 /F :: Slide open combo boxes :: See UserPreferencesMask ::Smooth edges of screen fonts REG ADD "HKEY_CURRENT_USER\Control Panel\Desktop" /V FontSmoothing /T REG_SZ /D 2 /F :: Smooth-scroll list boxes :: See UserPreferencesMask :: Use drop shadows for icon labels on the desktop REG ADD "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /V ListviewShadow /T REG_DWORD /D 1 /F :: Restart explorer (doesn't achieve the goal of making this work without logging out and back in, keeping this commented out for now) :: taskkill /f /im explorer.exe :: start explorer.exe
Hello @CompSuperAC, and welcome to Ten Forums.
You could use Option 4 in the tutorial below to toggle on/off Peek.
Turn On or Off Peek at Desktop in Windows 10