REG 文件来修改 Windows 10 视觉效果?

Int*_*ked 7 windows-registry visual-effects windows-10

我试图弄清楚如何以自动方式(即批处理文件、REG 文件)更改视觉效果,因此不需要手动更改。我现在被困在视觉效果上。我正在尝试创建一个 REG 文件,将系统置于此状态:

在此处输入图片说明

实际上,我也可能会选中“拖动时显示窗口内容”,但仅此而已。我只关心保持流畅的字体。

我在网上查了一下,发现很多东西主要是为 Windows XP 和 Windows 7 编写的。 我尽可能地把它们放在一起:

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\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:00000003

; Do not Animate windows when minimizing and maximizing
[HKEY_CURRENT_USER\Control Panel\Desktop\WindowMetrics]
"MinAnimate"="0"

; Show window contents while dragging
[HKEY_CURRENT_USER\Control Panel\Desktop]
"DragFullWindows"=1

; Smooth Edges of Screen Fonts
[HKEY_CURRENT_USER\Control Panel\Desktop]
"FontSmoothing"="2"

; Do not use drop shadows for icon labels on the desktop
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
"ListviewShadow"=0

; Animate windows when minimizing and maximizing
[HKCU\Control Panel\Desktop\WindowMetrics]
"MinAnimate"="1"
Run Code Online (Sandbox Code Playgroud)

显然,这离修改所有选项还差得很远,但我想至少测试一下我所拥有的。为了测试这一点,我选中了“调整以获得最佳外观”,然后运行该 REG 文件以查看未选中的内容。这是发生的事情:

在此处输入图片说明

我不小心设置了最大值/最小值两次,但第二次颠倒了。奇怪的是,即使运行它,那也是唯一改变的设置。所以我将留在有效的 1 行中,但否则看起来我已经碰壁了,即使只有少数我认为可行的设置(我需要修改所有设置)。有谁知道必须为 Windows 10 更改哪些注册表项?

GCh*_*huf 8

如果您想禁用所有内容,请使用此选项。根据您想要实现的目标删除行。有些设置只有在重新启动计算机后才会出现。

我喜欢至少保留半透明的矩形,在桌面上为图标添加阴影,在拖动和平滑屏幕字体边缘时显示窗口内容。

Windows Registry Editor Version 5.00


;Apply the following registry values to disable the settings


;This is a must - set appearance options to "custom"
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\VisualEffects]
"VisualFXSetting"=dword:3


;This disables the following 8 settings:
;Animate controls and elements inside windows
;Fade or slide menus into view
;Fade or slide ToolTips into view
;Fade out menu items after clicking
;Show shadows under mouse pointer
;Show shadows under windows
;Slide open combo boxes
;Smooth-scroll list boxes
[HKEY_CURRENT_USER\Control Panel\Desktop]
"UserPreferencesMask"=hex(2):90,12,03,80,10,00,00,00


;Animate windows when minimizing and maximizing
[HKEY_CURRENT_USER\Control Panel\Desktop\WindowMetrics]
"MinAnimate"="0"


;Animations in the taskbar
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
"TaskbarAnimations"=dword:0


;Enable Peek
[HKEY_CURRENT_USER\Software\Microsoft\Windows\DWM]
"EnableAeroPeek"=dword:0


;Save taskbar thumbnail previews
[HKEY_CURRENT_USER\Software\Microsoft\Windows\DWM]
"AlwaysHibernateThumbnails"=dword:0


;Show thumbnails instead of icons
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
"IconsOnly"=dword:1


;Show translucent selection rectangle
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
"ListviewAlphaSelect"=dword:0


;Show window contents while dragging
[HKEY_CURRENT_USER\Control Panel\Desktop]
"DragFullWindows"="0"


;Smooth edges of screen fonts
[HKEY_CURRENT_USER\Control Panel\Desktop]
"FontSmoothing"="0"


;Use drop shadows for icon labels on the desktop
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
"ListviewShadow"=dword:0

; end
Run Code Online (Sandbox Code Playgroud)

这是在 Windows 10 1809 上测试的。


小智 -3

解决方案是:

[HKEY_CURRENT_USER\Control Panel\Desktop]
"UserPreferencesMask"=hex(3):90,12,03,80,10,02,00,00
"DragFullWindows"="0"

[HKEY_CURRENT_USER\Control Panel\Desktop\WindowMetrics]
"MinAnimate"="0"

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer]
"ShellState"=hex(3):24,00,00,00,3E,28,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,01,00,00,00,13,00,00,00,00,00,00,00,72,00,00,00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
"IconsOnly"=dword:00000001
"ListviewAlphaSelect"=dword:00000000
"ListviewShadow"=dword:00000000
"TaskbarAnimations"=dword:00000000

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\VisualEffects]
"VisualFXSetting"=dword:00000003

[HKEY_CURRENT_USER\Software\Microsoft\Windows\DWM]
"AlwaysHibernateThumbnails"=dword:00000000
"EnableAeroPeek"=dword:00000000
Run Code Online (Sandbox Code Playgroud)

此设置 - 仅屏幕字体的平滑边缘处于活动状态(必须重新启动 PC)

已测试 Windows 10 1803 版本 17134.1