the_doc735 Posted September 25, 2006 Share Posted September 25, 2006 (edited) ...is there a way to replace win xp default monitor driver, in device manager?"on the xp cd" - of course! Edited September 25, 2006 by the_doc735 Link to comment Share on other sites More sharing options...
schalti Posted September 26, 2006 Share Posted September 26, 2006 ...is there a way to replace win xp default monitor driver, in device manager?"on the xp cd" - of course!Just add the signed (!) driver(s) for your monitor(s).Any unsigned monitor driver will be ranked lower by setupapi.dll than the default monitor driver. Link to comment Share on other sites More sharing options...
the_doc735 Posted September 26, 2006 Author Share Posted September 26, 2006 ...is there a way to replace win xp default monitor driver, in device manager?"on the xp cd" - of course!Just add the signed (!) driver(s) for your monitor(s).Any unsigned monitor driver will be ranked lower by setupapi.dll than the default monitor driver. what is the method for adding this driver to the XP CD so that it will appear in the device manager on first boot by default (i.e. without manual intervention; e.g. update driver section).At the moment, when I go to the device manager (for the first time) it always comes up with 'default monitor' even though my monitor driver has been placed in windows by the 'drivers from CD-SIMPLE METHOD 1,2,3). Indeed, it is available to select manually from the list BUT I WANT IT TO BE THE DEFAULT RIGHT FROM THE VERY START!There is a cat. inf. and ICM file for my LG flatron L1915S monitor. Link to comment Share on other sites More sharing options...
schalti Posted September 26, 2006 Share Posted September 26, 2006 what is the method for adding this driver to the XP CD so that it will appear in the device manager on first boot by default (i.e. without manual intervention; e.g. update driver section).At the moment, when I go to the device manager (for the first time) it always comes up with 'default monitor' even though my monitor driver has been placed in windows by the 'drivers from CD-SIMPLE METHOD 1,2,3). Indeed, it is available to select manually from the list BUT I WANT IT TO BE THE DEFAULT RIGHT FROM THE VERY START!There is a cat. inf. and ICM file for my LG flatron L1915S monitor..cat .inf and .icm is just fine if the .cat file isn't just a dummy (right-click and it should show as a Certificate). If this signed driver won't do the job the only thing you can do is to uninstall the 'default monitor' using devcon.exe. Link to comment Share on other sites More sharing options...
the_doc735 Posted September 27, 2006 Author Share Posted September 27, 2006 (edited) .cat .inf and .icm is just fine if the .cat file isn't just a dummy (right-click and it should show as a Certificate). If this signed driver won't do the job the only thing you can do is to uninstall the 'default monitor' using devcon.exe.devcon.exe? - ummm......what's that??? there are two certificates in the 'path' under properties> digital signature & counter signature, apparently they can be installed manually with a few mouse clicks? I thought all this would be done automatically though from the *.inf file???thanks again! Edited September 27, 2006 by the_doc735 Link to comment Share on other sites More sharing options...
schalti Posted September 27, 2006 Share Posted September 27, 2006 devcon.exe? - ummm......what's that??? there are two certificates in the 'path' under properties> digital signature & counter signature, apparently they can be installed manually with a few mouse clicks? I thought all this would be done automatically though from the *.inf file???Google -> devcon.exe A free tool by Microsoft for enabling/disabling/installing/uninstalling etc. devices.The certificate is installed automatically by the inf file. I just wanted to make sure that it is a REAL certificate not a dummy, which obviously is the case.There are quite some drivers out there that have a .cat file but it is an empty file or contains just garbage. Windows will recognize this and setupapi.dll will then again use the 'default monitor' driver. Link to comment Share on other sites More sharing options...
the_doc735 Posted September 27, 2006 Author Share Posted September 27, 2006 (edited) Google -> devcon.exe A free tool by Microsoft for enabling/disabling/installing/uninstalling etc. devices.@schalti...do you know what command lines to use to change default monitor to LG flatron L1915S?What to call the file?Where to put the file?and how to tell windows where to find it?Oh - and where to put devcon on the windows CD?Or anyone else know?many thanks! Edited September 27, 2006 by the_doc735 Link to comment Share on other sites More sharing options...
the_doc735 Posted October 3, 2006 Author Share Posted October 3, 2006 (edited) I have attached my monitor.inf file F.Y.I.does anyone know the procedure for updating monitor drivers in unattended/silent mode?i.e. to mimic the actions of hardware update wizard in windows xp?could I use devcon perhaps? (& run it from a batch file)...e.g.devcon /r updateni C:\LGL1915S\L1915S.INF Monitor\Default_Monitorbut devcon failed!!!I also tried: devcon install C:\LGL1915S\L1915S.INF Monitor\Default_Monitordevcon update C:\LGL1915S\L1915S.INF DISPLAY\DEFAULT_MONITOR\5&1F511D75&0&11337799&01&00devcon update C:\LGL1915S\L1915S.INF *PNP09FFdevcon update C:\LGL1915S\L1915S.INF Monitor\GSM4A90rundll32.exe setupapi,InstallHinfSection DefaultInstall 132 %systemdrive%\Install\LGL1915S\L1915S.INFAlso tried: monitor driver via OemPnPDriversPath, pyron+serialzs driver method, 1/2/3 simple driver method, sneakys driver base tool, etc.& I DO have administrator permissions.TRIED ALL SORTS OF SEARCHES AND PAID TO JOIN SOME SITES TOO! but no joy! e.g. unattended monitor driver, update monitor driver, install monitor driver, devcon failed, rundll32.exe, monitor device drivers, L1915S, LG, microsoft xp permissions etc.etc.Just thought I'd say that the L1915S source monitor driver is not corrupted as it will install via the hardware update wizard in device manager. i.e. status=device driver healthy!------------------------------------------------------------------------------rem Properties Details:REM ClassGuid={4D36E96E-E325-11CE-BFC1-08002BE10318}REM compatible IDs *PNP09FF REM device instance ID DISPLAY\DEFAULT_MONITOR\5&1F511D75&0&11337799&01&00 REM Hardware IDs Monitor\Default_Monitor rem matching device IDs. Monitor\GSM4A90 rem enumerator DISPLAYrem capabilities CM_DEVCAP_EJECTSUPPORTED, REMOVABLE, SILENTINSTALL, RAWDEVICEOK, SURPRISEREMOVALOK.rem devnode flags DN_DRIVER_LOADED, DN_STARTED, DN_DISABLEABLE, DN_REMOVABLE, DN_NT_ENUMERATOR, DN_NT_DRIVER.rem class installer Desk Cpl.MonitorClassInstaller.------------------------------------------------------------------------------Default monitor's Properties Details the same as mine except:matching device IDs. (for default monitor) Monitor\Default_Monitor.------------------------------------------------------------------------------Any ideas please??? L1915S.INF Edited October 4, 2006 by the_doc735 Link to comment Share on other sites More sharing options...
MadBoy Posted October 4, 2006 Share Posted October 4, 2006 (edited) You can "mimic" the moves with AutoIt v3. As for devcon>devcon help installdevcon [-r]install <inf> <hwid>Manually installs a device.This command will only work for local machine.Specify -r to reboot automatically if needed.<inf> is an INF to use to install the device.<hwid> is a hardware ID to apply to the device.<hwid> is something more then just name, numbers are also important there.>devcon find =monitorDISPLAY\DEFAULT_MONITOR\5&229A2642&1&00000100&01&00 : Monitor domyDISPLAY\DEFAULT_MONITOR\5&229A2642&1&00000210&01&00 : Monitor domyDISPLAY\IBM0A55\5&229A2642&1&00000110&01&00 : ThinkPad LCD 1024x768DISPLAY\PNP09FE\5&229A2642&1&00000200&01&00 : Telewizja rodzajowa4 matching device(s) found.Edit:>devcon.exe help updatenidevcon.exe [-r] updateni <inf> <hwid>Update drivers for devices (Non Interactive).This command will only work for local machine.Specify -r to reboot automatically if needed.<inf> is an INF to use to install the device.All devices that match <hwid> are updated.Unsigned installs will fail. No UI will bepresented.>devcon.exe help updatedevcon.exe [-r] update <inf> <hwid>Update drivers for devices.This command will only work for local machine.Specify -r to reboot automatically if needed.<inf> is an INF to use to install the device.All devices that match <hwid> are updated. Edited October 4, 2006 by MadBoy Link to comment Share on other sites More sharing options...
the_doc735 Posted October 4, 2006 Author Share Posted October 4, 2006 You can "mimic" the moves with AutoIt v3. As for devcon>devcon help installdevcon [-r] install <inf> <hwid>Manually installs a device.This command will only work for local machine.Specify -r to reboot automatically if needed.<inf> is an INF to use to install the device.<hwid> is a hardware ID to apply to the device.<hwid> is something more then just name, numbers are also important there.>devcon find =monitorDISPLAY\DEFAULT_MONITOR\5&229A2642&1&00000100&01&00 : Monitor domyDISPLAY\DEFAULT_MONITOR\5&229A2642&1&00000210&01&00 : Monitor domyDISPLAY\IBM0A55\5&229A2642&1&00000110&01&00 : ThinkPad LCD 1024x768DISPLAY\PNP09FE\5&229A2642&1&00000200&01&00 : Telewizja rodzajowa4 matching device(s) found.Edit:>devcon.exe help updatenidevcon.exe [-r] updateni <inf> <hwid>Update drivers for devices (Non Interactive).This command will only work for local machine.Specify -r to reboot automatically if needed.<inf> is an INF to use to install the device.All devices that match <hwid> are updated.Unsigned installs will fail. No UI will bepresented.>devcon.exe help updatedevcon.exe [-r] update <inf> <hwid>Update drivers for devices.This command will only work for local machine.Specify -r to reboot automatically if needed.<inf> is an INF to use to install the device.All devices that match <hwid> are updated.-----------------------------------------------------------------------------------------@madboytried install = devcon failed - but devnode created! [install completes when drivers are updated]...followed by:tried update = devcon failedtried updateni = devcon faileddevcon install "C:\LGL1915S\L1915S.INF" "Monitor\GSM4A90" rem ROOT\MONITOR\0000(followed by)devcon update "C:\LGL1915S\L1915S.INF" "Monitor\GSM4A90"rem DEVCON FAILEDREM IN DEVICE MANAGER> MONITORS> UNKNOWN DEVICE [yellow exclamation!].Tried removing default monitor too:>devcon remove monitor\default_monitorDISPLAY\DEFAULT_MONITOR\5&1F511D75&0&11337799&01&00 : Removed1 device(s) removed.then:devcon update "C:\LGL1915S\L1915S.INF" "Monitor\GSM4A90"rem DEVCON FAILED Link to comment Share on other sites More sharing options...
the_doc735 Posted October 4, 2006 Author Share Posted October 4, 2006 (edited) now get [output]rem Properties Details:REM compatible IDs - REM device instance ID ROOT\MONITOR\0000REM Hardware IDs Monitor\GSM4A90rem matching device IDs. - rem enumerator ROOTrem capabilities -rem devnode flags DN_ROOT_ENUMERATED, DN_HAS PROBLEM, DN_DISABLEABLE, DN_NT_ENUMERATOR, DN_NT_DRIVER.rem CONFIGFLAG_FAILED INSTALLrem class installer Desk Cpl.MonitorClassInstaller. Edited October 4, 2006 by the_doc735 Link to comment Share on other sites More sharing options...
the_doc735 Posted October 4, 2006 Author Share Posted October 4, 2006 rem devcon status monitor\gsm4a90Code 28The drivers for this device are not installed (Code 28). To reinstall the drivers for this device, click Reinstall Driver Solution button: Reinstall Driver This code means the device was not installed completely. To resolve this issue, follow the recommended solution. If that does not work, try removing the device from Device Manager and using the Add New Hardware wizard to redetect it. You may need to obtain updated drivers if the error still occurs. What is it that the hardware update wizard does to install this monitor first time, every time; but yet devcon will not? Link to comment Share on other sites More sharing options...
the_doc735 Posted October 5, 2006 Author Share Posted October 5, 2006 (edited) I DO have full administrator privileges, but I saw this....Note• When users do not have the required permissions, Devcon displays a generic "devcon failed" message with no further explanation.http://technet2.microsoft.com/WindowsServe...3.mspx?mfr=trueIf you misspell the driver name, or try to add a driver that is not installed on the system, the command fails. Devcon will not add a driver unless the driver is registered as a service, that is, unless the driver has an subkey in the Services registry subkey (HKLM\System\CurrentControlSet\Services).http://technet2.microsoft.com/WindowsServe...2a055f1033.mspxdevcon updateReplaces the current device driver with the driver specified in the INF file. Valid only on the local computer. If Devcon cannot find the device, or if it cannot update it, it reports a failure. http://technet2.microsoft.com/WindowsServe...35377b1033.mspx Edited October 5, 2006 by the_doc735 Link to comment Share on other sites More sharing options...
the_doc735 Posted October 5, 2006 Author Share Posted October 5, 2006 You can "mimic" the moves with AutoIt v3.Could you do a walk through for this process, as I have no idea what so ever?thanks in advance! Link to comment Share on other sites More sharing options...
MadBoy Posted October 5, 2006 Share Posted October 5, 2006 If you want help on AutoIt basics go to AutoIT Forum, and read help. MouseMove ( x, y [, speed] )MouseClick ( "button" [, x, y [, clicks [, speed ]]] )and many many more. You gotta experiment, ask on forums and stuff. BUT please make sure you post in right forum or you will get no help Link to comment Share on other sites More sharing options...
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