Installing video drivers for Windows 7 on Dell Latitude D610 Series
This information is pulled from the website - http://www.groundstate.net/855GMWin7.html
When installing 855GM Series video driver Windows 7 reverts back to Standard VGA adapter after restart.
The problem is that 855GM Series video driver is not native for Windows 7 and it will always choose
Standard VGA Adapter as native video driver.
STEP 1
Make sure you unistall video drivers that do not work. If you see exclamation marks on your previous drivers in
Device Manager, unistall them. Your Device Manager should say that you have Standard VGA Driver installed under
Display category and exclamation mark on "video controller". Make sure you restart PC when asked.
STEP 2
We will need to edit "c:\windows\system32\drivers\vgapnp.sys" file now, but there is a problem. Windows Vista
and Windows 7 will NOT allow you to edit system files even when you are the admin. Changing security attributes of that
file did not work either. The file is owned by "TrustedInstaller" service. We will need to own the file and give
ourselves the full control to edit it.
Click 'Start' and in 'Search' type 'cmd'. The result will show on
top. Right-click
on 'cmd' and choose "Run as Administrator". If your account does not
have admin rights you might be prompted to enter username
and password. I used account that already has administrator
priviledges. You should have a command prompt with administrator
priviledges.
STEP 3
Lets say my logged in username is ntsAdmin
First command you do is:
takeown /f c:\windows\system32\drivers\vgapnp.sys
This will give ownship to the current user. You should see a message saying SUCCESS etc..
Second command you do is:
cacls c:\windows\system32\drivers\vgapnp.sys /G ntsAdmin:F
There will be a confirmation message so type 'y'. This will change
the security attributes to give you ONLY all the permissions
for the file. If you are paranoid as me and want original
permissions restored, I will show you how to restore the permissions
to the previous step later on in this tutorial :). If 'cacls'
command does not work you can try using 'icacls'. If you cannot
edit this file try to boot to "Save Mode" and try it again (Thx to
Giuseppe Chill).
STEP 4
Open c:\windows\system32\drivers\vgapnp.sys in any text editor. Just add any character to the begining of the text. Let's
say we will add character x . So the text should start with xMZ and the rest of stuff. Save the file. This edit
will render that file unusable.
STEP 5
In Device Manager uninstall Standard VGA Adapter. It will prompt you
to restart so do it. After install you will see a message
saying that certain devices did NOT installed successfuly, which is
GOOD :). Go to Device Manager and you should see the
exclamation point next to "video controller" and "video controller
(vga compatible)". Right-click on "video controller (vga
compatible)" and do update driver. Choose "Browse for the Driver"
(or something like it :) ). Point to the driver directory that you
downloaded and extracted (win2000). Click "OK". Wait for
the driver to be installed. It might hang for a little (It will say
that window is "not responding"). Do not worry as this is still
installing the driver. It will prompt you to restart so do it. (If
it does not prompt click anywhere and wait for message). After restart
it will finish installing the driver.
Congratulations!!! You should have a working video driver!!! :)
STEP 6
Open c:\windows\system32\drivers\vgapnp.sys in any text editor. Remove the first character you put there which was x.
Save the file. Your file will be usuable again :). You can stop here
if you want, but if you want to restore the permissions for the
file to original state go to next step.
STEP 7
Right-click on any other file in the c:\windows\system32\drivers. Choose "Properties". Go to "Security" tab. Now compare that
security tab with the security tab of c:\windows\system32\drivers\vgapnp.sys.
Just make sure the security tabs of those two
files look the same (all tabs and advanced options). In order to add
"TrustedInstaller" it is not the same as regular usernames because
it is a service.
You will need to type "NT SERVICE\TrustedInstaller" (without quotes)
when adding it to own the file and to have all permissions.
Once you done editing you can delete your account from c:\windows\system32\drivers\vgapnp.sys, because it was not there from
the beginning. We took control over and the previous commands added it by default.
Thursday, March 22, 2012
Setting a program to run in compatibility mode via the registry (can be applied via gpo)
Create the entry in:
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers
Type: REG_SZ
Name: Full path of application including extension
Data: See table below
For each application there are three settings that can be applied. The compatibility mode, (Display) Settings and the Privilege Level. One or multiple values can be set (separated by a space).
Compatibility Modes
Display Settings
Privilege Level
Create the entry in:
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers
Type: REG_SZ
Name: Full path of application including extension
Data: See table below
For each application there are three settings that can be applied. The compatibility mode, (Display) Settings and the Privilege Level. One or multiple values can be set (separated by a space).
Compatibility Modes
Value | Description |
WIN95 | Windows 95 |
WIN98 | Windows 98 |
WIN4SP5 | Windows NT 4.0 SP5 |
WIN2000 | Windows 2000 |
WINXPSP2 | Windows XP SP2 |
WINXPSP3 | Windows XP SP3 |
VISTARTM | Vista |
VISTASP1 | Vista SP1 |
VISTASP2 | Vista SP2 |
WIN7RTM | Windows 7 |
WINSRV03SP1 | Windows Server 2003 SP1 |
WINSRV08SP1 | Windows Server 2008 SP1 |
Display Settings
Value | Description |
DISABLETHEMES | Disable Visual Themes |
640X480 | Run in 640 x 480 screen resolution |
HIGHDPIAWARE | Disable display scaling on high DPI settings |
256COLOR | Run in 256 colors |
DISABLEDWM | Disable Desktop Composition |
Privilege Level
Value | Description |
RUNASADMIN | Run program as an administrator |
Subscribe to:
Posts (Atom)