fred_gaou Posted March 31, 2009 Posted March 31, 2009 (edited) Hi,I use nLite to build my XP SP3 and I test my setup with VirtualBox (Sun).I have tested 1365VidChng.exe (I renamed it VidChng.exe in my batch). I made an add-on that run at T13.Here is my batch:@echo off CD /D %systemdrive%\temp\ScrRes : Virtual Machine Resolutions, No Driver VidChng.exe 800X600X32@1 -q VidChng.exe 1024X768X32@1 -q : Laptop Resolution VidChng.exe 1024X768X32@60 -q VidChng.exe 1200X800X32@60 -q VidChng.exe 1400X1050X32@60 -q VidChng.exe 1600X1200X32@60 -q : Desktop resolutions VidChng.exe 800X600X32@75 -q VidChng.exe 1024X768X32@75 -q VidChng.exe 1200X900X32@75 -q VidChng.exe 1600X1200X32@75 -q EXITIt does the work ! Before batch, the resolution is 640x480After batch, the resolution is 1024x768:But with this result... The all screen enlarged to 1024x768 but you can notice that the part of the 640x480 previous screen didn't enlarge but moved to upper left corner.Then, display is normal during OOBE process and I don't have to confirm screen resolution I don't slipstream Video Driver or other drivers.Somebody have a solution to enlarge the setup screen since VituaBox and most of system support at less 800x600? Set 800x600 in nLite options don't work for me. I think nLite use the winnt.sif tweakOr this is happen only with VirtualBox? Edited April 2, 2009 by fred_gaou
fred_gaou Posted April 2, 2009 Author Posted April 2, 2009 (edited) I solved my problem using an add-on (updated download link) that patches hivesys.inf adding these lines:HKLM,"SYSTEM\CurrentControlSet\Services\VgaSave\Device0","InstalledDisplayDrivers",0x00010000,"vga", "framebuf", "vga256", "vga64k" HKLM,"SYSTEM\CurrentControlSet\Services\VgaSave\Device0","VgaCompatible",0x00010001,1 HKLM,"SYSTEM\CurrentControlSet\Services\VgaSave\Device0","InstalledDisplayDrivers",0x00010000,"vga", "framebuf", "vga256", "vga64k" HKLM,"SYSTEM\CurrentControlSet\Services\VgaSave\Device0","VgaCompatible",0x00010001,1 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}\Video","Service",0x00000000,"VgaSave" HKLM,"SYSTEM\CurrentControlSet\Control\Video\{23A77BF7-ED96-40EC-AF06-9B1F4867732A}\0000","InstalledDisplayDrivers",0x00010000,"vga", "framebuf", "vga256", "vga64k" HKLM,"SYSTEM\CurrentControlSet\Control\Video\{23A77BF7-ED96-40EC-AF06-9B1F4867732A}\0000","VgaCompatible",0x00010001,1 HKLM,"SYSTEM\CurrentControlSet\Control\Video\{23A77BF7-ED96-40EC-AF06-9B1F4867732A}\Video","Service",0x00000000,"VgaSave" HKLM,"SYSTEM\CurrentControlSet\Control\Video\{23A77BF7-ED96-40EC-AF06-9B1F4867732A}\0000","InstalledDisplayDrivers",0x00010000,"vga", "framebuf", "vga256", "vga64k" HKLM,"SYSTEM\CurrentControlSet\Control\Video\{23A77BF7-ED96-40EC-AF06-9B1F4867732A}\0000","VgaCompatible",0x00010001,1 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,768You can do it manually adding these lines in hivesys.inf just after [AddReg] entrie: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\<i class="spip">23A77BF7-ED96-40EC-AF06-9B1F4867732A</i>\0000","DefaultSettings.BitsPerPel",0x00010001,32 HKLM,"SYSTEM\CurrentControlSet\Control\Video\<i class="spip">23A77BF7-ED96-40EC-AF06-9B1F4867732A</i>\0000","DefaultSettings.XResolution",0x00010001,1024 HKLM,"SYSTEM\CurrentControlSet\Control\Video\<i class="spip">23A77BF7-ED96-40EC-AF06-9B1F4867732A</i>\0000","DefaultSettings.YResolution",0x00010001,768So, GUI-setup is now set to 1024x768 (you can modify this values).I use 1365VidChng.exe later in GuiRunOnce so that it sets the best display resolution for each computer. Edited April 2, 2009 by fred_gaou
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now