Uninstalling the serial port driver!

Hi,

I know this seems an odd thing to do but here goes anyway.

Is it possible to uninstall and remove the two drivers serial.sys and
serenum.sys? At the moment thay can be uninstalled but obviously they are
re-installed again when the hardware is re-detected (i.e. at power-up etc.).

I suppose a better way of putting this question is.

How would I configure a Windows XP PC with absolutely no support at all for
serial ports?

Regards FarmerJo

FarmerJo wrote:

How would I configure a Windows XP PC with absolutely no support
at all for serial ports?

Uninstall all the devices in the Ports class of Device Manager, and then delete all INF’s in C:\Windows\Inf matching “^Class=Ports”.

Force the installation of your driver on the device node. You can choose
the driver explicitly when changing the driver in Device Manager.

-dave

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of FarmerJo
Sent: Thursday, March 27, 2008 12:36 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] Uninstalling the serial port driver!

Hi,

I know this seems an odd thing to do but here goes anyway.

Is it possible to uninstall and remove the two drivers serial.sys and
serenum.sys? At the moment thay can be uninstalled but obviously they are
re-installed again when the hardware is re-detected (i.e. at power-up etc.).

I suppose a better way of putting this question is.

How would I configure a Windows XP PC with absolutely no support at all for
serial ports?

Regards FarmerJo


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer

Thanks.

When I do this does it mean also that the parallel port would be unavailable
too? Also if I delete the serial.sys it is automatically replaced as part of
XP file protection, is there a way to remove them completely.

Regards FarmerJo

wrote in message news:xxxxx@ntdev…
> FarmerJo wrote:
>
>> How would I configure a Windows XP PC with absolutely no support
>> at all for serial ports?
>
> Uninstall all the devices in the Ports class of Device Manager, and then
> delete all INF’s in C:\Windows\Inf matching “^Class=Ports”.
>

To get around the file protection you can boot to safe mode, then delete them.
Not sure why you don’t want them but would just disabling the ports in device manager suffice? Seems like that would be better than having yellow bangs.

You can also disable the service itself in the registry (set the Start value to 4)

d

-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of xxxxx@wacom.com
Sent: Thursday, March 27, 2008 1:26 PM
To: Windows System Software Devs Interest List
Subject: RE:[ntdev] Uninstalling the serial port driver!

To get around the file protection you can boot to safe mode, then delete them.
Not sure why you don’t want them but would just disabling the ports in device manager suffice? Seems like that would be better than having yellow bangs.


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer

I just wondered how it would be done! An alternative to deleting would be
better as you suggest.

In all my years I have never heard the term yellow bangs what does it mean?

FarmerJo

Actually no you can’t. Those are under file protection and will “magically”
reappear the next time you boot.


The personal opinion of
Gary G. Little

wrote in message news:xxxxx@ntdev…
> To get around the file protection you can boot to safe mode, then delete
> them.
> Not sure why you don’t want them but would just disabling the ports in
> device manager suffice? Seems like that would be better than having
> yellow bangs.
>
>