Windows 7 Enable ClearType CLI No UAC

From richud.com
Jump to navigation Jump to search

Set keys and reg permissions

This will let a user alter Cleartype settings in Windows 7 (it will still prompt for UAC, but will work and values stay set)

  • Below assumes setting on a remote machine, remove leading \\xxxxxxxx\ if doing locally.
reg add "\\xxxxxxxx\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Avalon.Graphics\DISPLAY1" /t REG_DWORD /v GammaLevel /d 1800
reg add "\\xxxxxxxx\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Avalon.Graphics\DISPLAY1" /t REG_DWORD /v PixelStructure /d 1

reg add "\\xxxxxxxx\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Avalon.Graphics\DISPLAY2" /t REG_DWORD /v GammaLevel /d 1800
reg add "\\xxxxxxxx\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Avalon.Graphics\DISPLAY2" /t REG_DWORD /v PixelStructure /d 1

SetACL.exe -on "\\xxxxxxxx\hklm\SOFTWARE\Microsoft\Avalon.Graphics" -ot reg -actn ace -ace "n:Everyone;p:full"

x64 ALSO add in Wow6432Node, as it writes to both places

reg add "\\xxxxxxxx\HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Avalon.Graphics\DISPLAY1" /t REG_DWORD /v GammaLevel /d 1800
reg add "\\xxxxxxxx\HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Avalon.Graphics\DISPLAY1" /t REG_DWORD /v PixelStructure /d 1

reg add "\\xxxxxxxx\HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Avalon.Graphics\DISPLAY2" /t REG_DWORD /v GammaLevel /d 1800
reg add "\\xxxxxxxx\HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Avalon.Graphics\DISPLAY2" /t REG_DWORD /v PixelStructure /d 1

SetACL.exe -on "\\xxxxxxxx\hklm\SOFTWARE\Wow6432Node\Microsoft\Avalon.Graphics" -ot reg -actn ace -ace "n:Everyone;p:full"

References

http://social.technet.microsoft.com/Forums/windows/en-US/713a06bb-8331-48ef-b579-09afe2ef1b18/allow-non-administrators-to-change-cleartype-setting

Comments

blog comments powered by Disqus