Mombu the Microsoft Forum

Go Back   Mombu the Microsoft Forum > Microsoft > how can I delete registry key value in HKLM
User Name
Password
REGISTER NOW! Mark Forums Read




Reply
1 4th August 04:39
rastlin chen
External User
 
Posts: 1
Default how can I delete registry key value in HKLM



Hey! I write a driver for usb device.
I can call UpdateDriverForPlugAndPlayDevices to replace inbox driver with my
driver when device is on system.
But if device is not on system, I must delete HKLM/CurrentControlSet/
Enum/USB/{ID Value} to force device recgonize
when it replug on system.
In XP I can delete it, but how can I do it in Vista?
Thanks a lot!
  Reply With Quote


 


2 4th August 04:39
jimmy brush
External User
 
Posts: 1
Default how can I delete registry key value in HKLM



Hello,

Your setup program must ask to be ran "as administrator" in order to perform
these functions. Otherwise, Windows Vista will run the program as a standard
user, which will not be able to change registry keys under HKLM.

Here is a very detailed document explaining how to do this:

http://msdn.microsoft.com/library/en...asp?frame=true


--
- JB

Windows Vista Support Faq
http://www.jimmah.com/vista/
  Reply With Quote


 


Reply


Thread Tools
Display Modes




666