DPI Change with no admin rights...
Hi...
We have a few remote users who require the DPI of their screen increased to 120 instead of the generic 96. Nice and simple i thought until i realized you need administrative permissions to change this. As i mentioned above, all of our users are out on the road and not always able to come into our IT Dept to have this changed. At present we have no remote connection into the machines (currently in the process of deploying zenworks) Because of the industry we are in all machines are locked down and administrative passwords are never given out. Neither do we give people admin rights on the machine.
All new machines are imaged using a RIS server so if i can solve this it can be included in the latest build.
I have had a look on the net and cant find anyway round this. I have tried editing the below registry files:
Set to large (120 DPI)
HKLM\Software\Microsoft\Windows NT\CurrentVersion\FontDPI\LogPixels - 0x78
HKLM\System\CurrentControlSet\Hardware Profiles\Current\Software\Fonts\LogPixels - 0x78
HKLM\SYSTEM\CurrentControlSet\Hardware Profiles\Current\Software\Fonts\LogPixels - 0x78
HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\FontDPI\LogPixels - 0x78
But again, you need admin rights for the settings to change. I thought about a mini script that could run as administrator, change the registry files and reboot the laptop. I could then email the script to them but wasnt sure on the correct commands for this. I cannot find any local security policy either that i can amend...
So, has anyone else had this issue before?! Sounds a small problem in a busy day but having to tell a user to spend 1/2 day travelling for me to click two options dosnt go down to well...
Cheers in advance!
We have a few remote users who require the DPI of their screen increased to 120 instead of the generic 96. Nice and simple i thought until i realized you need administrative permissions to change this. As i mentioned above, all of our users are out on the road and not always able to come into our IT Dept to have this changed. At present we have no remote connection into the machines (currently in the process of deploying zenworks) Because of the industry we are in all machines are locked down and administrative passwords are never given out. Neither do we give people admin rights on the machine.
All new machines are imaged using a RIS server so if i can solve this it can be included in the latest build.
I have had a look on the net and cant find anyway round this. I have tried editing the below registry files:
Set to large (120 DPI)
HKLM\Software\Microsoft\Windows NT\CurrentVersion\FontDPI\LogPixels - 0x78
HKLM\System\CurrentControlSet\Hardware Profiles\Current\Software\Fonts\LogPixels - 0x78
HKLM\SYSTEM\CurrentControlSet\Hardware Profiles\Current\Software\Fonts\LogPixels - 0x78
HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\FontDPI\LogPixels - 0x78
But again, you need admin rights for the settings to change. I thought about a mini script that could run as administrator, change the registry files and reboot the laptop. I could then email the script to them but wasnt sure on the correct commands for this. I cannot find any local security policy either that i can amend...
So, has anyone else had this issue before?! Sounds a small problem in a busy day but having to tell a user to spend 1/2 day travelling for me to click two options dosnt go down to well...
Cheers in advance!
Comments
-
elaverick1981 Member Posts: 161The problem with most solutions is that you're going to end up having to store the password in the batch file you use.
Best I can suggest is...
Sanur, Commandline Runas Automation Utility for Window 2000/XP/2003
Renegade's Random Tech: How to Convert a .BAT file or .VBS file into .EXE to Enable Pinning to XP Start Menu
Using the two utilities above two batch files such as...
MAIN.BAT
runas /user:administrator regedit.exe /s updpi.reg | sanur PASSWORD
call cleanup.bat
CLEANUP.BAT
del main.bat
UPDPI.REG
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\FontDPI]
"LogPixels"=dword:00000078
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Hardware Profiles\Current\Software\Fonts]
"LogPixels"=dword:00000078
And then use IExpress to wrap it all in a nice EXE. Bear in mind that anyone particularly keen will still be able to break into your exe and extract the password tho....MCSE - Windows 2003
Random Output - Certification Blog and Wiki -
dynamik Banned Posts: 12,312 ■■■■■■■■■□Do those reg settings do what you need? You could probably just make a couple .reg files to toggle between the settings and grant the users the appropriate permissions on those keys. You can do this per machine manually or push it out with group policy.
-
tiersten Member Posts: 4,505Be aware that changing the screen DPI will break quite a few applications. UI elements will be misaligned or in the wrong position due to the way they're positioned.