• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Registry edit

npoe1

Senior member
Hi, I want to know if maybe someone knows how to edit Windows XP registry to enable/disable a Hardware device?

I want to enable a sound card that is disabled for default in a few Windows XP machines, I want to make a reg file that makes the change with any user interaction than execute the file.

I would really appreciate if someone knows how to do that and can tell me, please.
 
Disabled by default? That sounds more like a BIOS issue. What card, what PnP id? Is it disabled or are the drivers not present?
 
Use a tool like regmon from www.sysinternals.com to monitor the registry and see which registry changes are made when you make the change.

Odds are though that making the regsitry change won't take immediate effect and it wouldn't enable untill reboot.
 
Originally posted by: npoe1
Hi, I want to know if maybe someone knows how to edit Windows XP registry to enable/disable a Hardware device?

I want to enable a sound card that is disabled for default in a few Windows XP machines, I want to make a reg file that makes the change with any user interaction than execute the file.

I would really appreciate if someone knows how to do that and can tell me, please.

Trying to install/uninstall wouldn't be practical. Don't even think about it 🙂


If you load the driver using the usual methods it will populate your services (in registry services and device drivers are the same thing). Find what the driver is first. There may be lots of filter drivers or something or secondary drivers but find the main one. It will be XYZ.sys. Checking details on the device in device manager should do it. Once you know the name look under hklm\system\ccs\services\XYZ. Find the Start value and set it as follows:

0=boot, 1=system, 2=auto, 3=manual, 4=disabled.

Use 3 or 4 to disable it then use whatever it had before to enable it. do NOT go off willy-nilly setting it to a lower value than it installed as. Setting a soundcard driver to 0 for instance could cause a stop 7b at boot.


I can not so humbly admit that I have some serious registry kung-fu. I would *highly* suggest that you know the procedures for restoring your registry via recovery console before you jack around with it too much. If you can't fix your registry from a non-boot state you shouldn't mess with it.

In this case because the key is under a control set, lastknowngood would save you. If the start type is auto or manual be sure to wait at the logon screen for several minutes before logging on. If you log on then the driver bsods your lastknowngood is gone and you're in trouble. Let everything get fully started before you logon and you'll be ok for this particular edit.

good luck!

 
Ok, I will take this info like a start point, the issue with this is that the sound card is disable along some USB ports in the device manager, that is what I want to enable (sound card), that is because the PC are for work and the company believes that the music will distract the employees or something like that, but some PC will be needed to listen recording and others things because a specific training program.

So I want to install the apps and enable the sound card, the apps part I already cover it, but the sound card is giving me problems.


Thanks, I really appreciate all your help.

 
Back
Top