Monday, May 19, 2008

NVIDIA Screen resolution resets

Issue

Each time a user without administrative privileges logs on to a workstation the screen resolution is set to the maximum capable resolution.

Cause

The NVIDIA Display Driver Service (NVSvc) inserts the "NvCplDaemon" run key in the machine startup Run key.


HKLM\Software\Microsoft\Windows\CurrentVersion\Run

The key executes the command "RUNDLL32.EXE C:\\WINDOWS\\system32\\NvCpl.dll,NvStartup",
which is responsible for setting the screen resolution to the highest capable resolution.

Workaround

Disable the NVIDIA Display Driver service and remove the run key.
This may be achieved from the command line with the following commands;

Sc
\\[ComputerName] config NVSvc startup= disabled
Reg delete \\[ComputerName]\HKLM\Software\Microsoft\Windows\CurrentVersion\Run /v NvCplDaemon

No comments: