Jump to content

is there a way to replace win xp default monitor driver


the_doc735

Recommended Posts


...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.

:blushing:

Link to comment
Share on other sites

...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.

:blushing:

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.

:unsure:

Link to comment
Share on other sites

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.

:blushing:

Link to comment
Share on other sites

.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??? :wacko:

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 by the_doc735
Link to comment
Share on other sites

devcon.exe? - ummm......what's that??? :wacko:

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

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!

:thumbup

Edited by the_doc735
Link to comment
Share on other sites

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_Monitor

but devcon failed!!!

I also tried:

devcon install C:\LGL1915S\L1915S.INF Monitor\Default_Monitor

devcon update C:\LGL1915S\L1915S.INF DISPLAY\DEFAULT_MONITOR\5&1F511D75&0&11337799&01&00

devcon update C:\LGL1915S\L1915S.INF *PNP09FF

devcon update C:\LGL1915S\L1915S.INF Monitor\GSM4A90

rundll32.exe setupapi,InstallHinfSection DefaultInstall 132 %systemdrive%\Install\LGL1915S\L1915S.INF

Also 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 DISPLAY

rem 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???

:wacko:

L1915S.INF

Edited by the_doc735
Link to comment
Share on other sites

You can "mimic" the moves with AutoIt v3. As for devcon

>devcon help install

devcon [-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 =monitor

DISPLAY\DEFAULT_MONITOR\5&229A2642&1&00000100&01&00 : Monitor domy

DISPLAY\DEFAULT_MONITOR\5&229A2642&1&00000210&01&00 : Monitor domy

DISPLAY\IBM0A55\5&229A2642&1&00000110&01&00 : ThinkPad LCD 1024x768

DISPLAY\PNP09FE\5&229A2642&1&00000200&01&00 : Telewizja rodzajowa

4 matching device(s) found.

Edit:
>devcon.exe help updateni

devcon.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 be

presented.

>devcon.exe help update

devcon.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 by MadBoy
Link to comment
Share on other sites

You can "mimic" the moves with AutoIt v3. As for devcon

>devcon help install

devcon [-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 =monitor

DISPLAY\DEFAULT_MONITOR\5&229A2642&1&00000100&01&00 : Monitor domy

DISPLAY\DEFAULT_MONITOR\5&229A2642&1&00000210&01&00 : Monitor domy

DISPLAY\IBM0A55\5&229A2642&1&00000110&01&00 : ThinkPad LCD 1024x768

DISPLAY\PNP09FE\5&229A2642&1&00000200&01&00 : Telewizja rodzajowa

4 matching device(s) found.

Edit:
>devcon.exe help updateni

devcon.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 be

presented.

>devcon.exe help update

devcon.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.

-----------------------------------------------------------------------------------------

@madboy

tried install = devcon failed - but devnode created! [install completes when drivers are updated]...

followed by:

tried update = devcon failed

tried updateni = devcon failed

devcon install "C:\LGL1915S\L1915S.INF" "Monitor\GSM4A90"

rem ROOT\MONITOR\0000

(followed by)

devcon update "C:\LGL1915S\L1915S.INF" "Monitor\GSM4A90"

rem DEVCON FAILED

REM IN DEVICE MANAGER> MONITORS> UNKNOWN DEVICE [yellow exclamation!].

Tried removing default monitor too:

>devcon remove monitor\default_monitor

DISPLAY\DEFAULT_MONITOR\5&1F511D75&0&11337799&01&00 : Removed

1 device(s) removed.

then:

devcon update "C:\LGL1915S\L1915S.INF" "Monitor\GSM4A90"

rem DEVCON FAILED

:no:

Link to comment
Share on other sites

now get [output]

rem Properties Details:

REM compatible IDs -

REM device instance ID ROOT\MONITOR\0000

REM Hardware IDs Monitor\GSM4A90

rem matching device IDs. -

rem enumerator ROOT

rem capabilities -

rem devnode flags DN_ROOT_ENUMERATED, DN_HAS PROBLEM, DN_DISABLEABLE, DN_NT_ENUMERATOR, DN_NT_DRIVER.

rem CONFIGFLAG_FAILED INSTALL

rem class installer Desk Cpl.MonitorClassInstaller.

:blink:

post-107768-1160001433_thumb.jpg

Edited by the_doc735
Link to comment
Share on other sites

rem devcon status monitor\gsm4a90

Code 28

The 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?

:no::wacko::blink::}

Link to comment
Share on other sites

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=true

If 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.mspx

devcon update

Replaces 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 by the_doc735
Link to comment
Share on other sites

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

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...