Jump to content

Resolution changes after driver install


Recommended Posts

Hi,

I want my installation screen to be at 1024*768*32, so I added these lines in the hivesys.inf file:

HKLM,"SYSTEM\CurrentControlSet\Services\VgaSave\Device0","DefaultSettings.BitsPerPel",0x00010001,32

HKLM,"SYSTEM\CurrentControlSet\Services\VgaSave\Device0","DefaultSettings.XResolution",0x00010001,1024

HKLM,"SYSTEM\CurrentControlSet\Services\VgaSave\Device0","DefaultSettings.YResolution",0x00010001,768

HKLM,"SYSTEM\CurrentControlSet\Control\Video\{23A77BF7-ED96-40EC-AF06-9B1F4867732A}\0000","DefaultSettings.BitsPerPel",0x00010001,32

HKLM,"SYSTEM\CurrentControlSet\Control\Video\{23A77BF7-ED96-40EC-AF06-9B1F4867732A}\0000","DefaultSettings.XResolution",0x00010001,1024

HKLM,"SYSTEM\CurrentControlSet\Control\Video\{23A77BF7-ED96-40EC-AF06-9B1F4867732A}\0000","DefaultSettings.YResolution",0x00010001,768

This seems to work well if there aren't any drivers installed. So on a virtual machine, the whole installation runs at 1024*768, but on my pc, the installation starts in 1024*768, but when the drivers are installed the resolution goes back to 800*600*16.

Does anybody know how to fix this ?

Maybe it's good to know I have an nVidia card (driver v84.21 atm)

thanks in advance!

jeroen.

Link to comment
Share on other sites


I've found a fix:

running this before my XPlode file (that needs a 1024x768 resolution):

rundll32.exe NvCpl.dll,dtcfg setmode 1 1024 768 32 60

this only works for nVidia cards, and if the driver is installed before you run this command ;)

thanks for this fix to Therapy from the laptopvideo2go forums :)

Edited by Jeroeneke
Link to comment
Share on other sites

  • 2 weeks later...

Vrefresh=60

This is only the refresh rate of your screen. If you have a laptop, normally the maximum is 60

AutoConfirm=1

This is what I think, automatically confirms these settings, so that you don't have to click on "OK" at first boot, don't know for sure!

If the code in winnt.sif and hivesys.inf aren't working, I shouldn't know what the problem is!

Are you installing video drivers? On my pc, if I do that, the driver sets the resolution to 800x600x16. This can be fixed by running this after driver installation (if you have an nvdia card, don't know for ati what it is):

rundll32.exe NvCpl.dll,dtcfg setmode 1 1024 768 32 60

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...