winflower75
驱动牛犊
驱动牛犊
  • 注册日期2005-07-12
  • 最后登录2007-01-15
  • 粉丝0
  • 关注0
  • 积分55分
  • 威望7点
  • 贡献值0点
  • 好评度5点
  • 原创分0分
  • 专家分0分
阅读:1590回复:6

问一个弱弱的问题:怎样将系统恢复成干净的系统?

楼主#
更多 发布于:2007-01-12 11:11
  自己作了一个USB的数据采集卡,为了调试,开发过程中装了N次不同版本的驱动。现在在2000下能正常安装并使用,在XP下总是出现“指定位置不包含有关硬件信息”。(但在另一台未装过这个驱动的XP下也能正常安装工作。)注册表中相关项又删不掉,急啊,请教该如何解决这个问题呀?
多谢了!!!

最新喜欢:

force_eagleforce_...
pilixuanke
驱动中牛
驱动中牛
  • 注册日期2005-10-31
  • 最后登录2016-01-09
  • 粉丝0
  • 关注0
  • 积分1018分
  • 威望626点
  • 贡献值0点
  • 好评度512点
  • 原创分0分
  • 专家分0分
沙发#
发布于:2007-01-12 12:34
注册表中相关项又删不掉
、、、、、、、、、、、、、、、
用regedt32打开注册表试试,有个权限设置,看看是不是没有相应的权限。
向底层开发进军!!!
winflower75
驱动牛犊
驱动牛犊
  • 注册日期2005-07-12
  • 最后登录2007-01-15
  • 粉丝0
  • 关注0
  • 积分55分
  • 威望7点
  • 贡献值0点
  • 好评度5点
  • 原创分0分
  • 专家分0分
板凳#
发布于:2007-01-12 12:42
确实是权限设置的问题,呵呵。现在能删除了。谢谢指点。  
winflower75
驱动牛犊
驱动牛犊
  • 注册日期2005-07-12
  • 最后登录2007-01-15
  • 粉丝0
  • 关注0
  • 积分55分
  • 威望7点
  • 贡献值0点
  • 好评度5点
  • 原创分0分
  • 专家分0分
地板#
发布于:2007-01-15 10:18
注册表能删除了,但是USB的驱动安装还是出现同样的问题。 .是不是系统没清理干净呀?难道只能通过重装系统才行吗?恳请高人指点呀!!!!
pilixuanke
驱动中牛
驱动中牛
  • 注册日期2005-10-31
  • 最后登录2016-01-09
  • 粉丝0
  • 关注0
  • 积分1018分
  • 威望626点
  • 贡献值0点
  • 好评度512点
  • 原创分0分
  • 专家分0分
地下室#
发布于:2007-01-17 13:05
引用第3楼winflower752007-01-15 10:18发表的“”:
注册表能删除了,但是USB的驱动安装还是出现同样的问题。 .是不是系统没清理干净呀?难道只能通过重装系统才行吗?恳请高人指点呀!!!!


   建议新安装完系统及搭建好必要的开发环境之后,用GHOST作个备份,以后就方便了,中毒、崩溃什么的都不用太担心了。
向底层开发进军!!!
mingfa
驱动牛犊
驱动牛犊
  • 注册日期2002-11-15
  • 最后登录2008-11-03
  • 粉丝0
  • 关注0
  • 积分7分
  • 威望20点
  • 贡献值0点
  • 好评度19点
  • 原创分0分
  • 专家分0分
5楼#
发布于:2007-02-07 23:11
Removing all traces of a driver from a system


     When testing a device install developers want to cleanup the system so
they can try reinstalling the device, unfortunately this is something
Microsoft hasn't provided an easy way to do.  The steps needed are:


     1.  Delete the files copied by the INF from the system.


     2.  Delete the INF and corresponding PNF files for the device, from the
inf directory off of the system root.  Note, this file is named OEM*.INF and
OEM*.PNF if your driver is not signed.  Searching the OEM*.INF files for
your device identifier will determine the OEM* name of your inf file.


      3.  If your device has a unique class, delete the registry entry in
HLKM\System\CurrentControlSet\Control\Class corresponding to the device
class you created for device.  Note the key is named for the GUID of the
class.


      4.  If your device has a CoInstaller, delete the registry entry in
HLKM\System\CurrentControlSet\Control\CoDeviceInstallers corresponding to
the device class you created for device. Note the key is named for the GUID
of the class.


       5.  Delete the registry entries in HLKM\System\CurrentControlSet\Enum
corresponding to the device you specified in the inf file.  For PCI devices
this is under the PCI key, for legacy devices this is under the Root key.
Note: if you specify more than one device in the inf, you will have an entry
for each device type the system has seen.  DELETING THIS KEY REQUIRES
CHANGING ITS SECURITY FIRST.


       6.  Delete the registry entry in
HLKM\System\CurrentControlSet\Services corresponding to the driver you
specified in the inf file.  Note this is the standard cleanup one would have
done in the pre-PNP days.


       7.  Reboot the system, now that was easy and intuitive wasn't it.
zhoujiamurong
驱动小牛
驱动小牛
  • 注册日期2006-03-20
  • 最后登录2009-05-06
  • 粉丝4
  • 关注0
  • 积分1081分
  • 威望360点
  • 贡献值0点
  • 好评度215点
  • 原创分0分
  • 专家分0分
6楼#
发布于:2007-02-13 15:32
mingfa
的方法,经过实验,不可以,也许是需要刚刚安装错误的时候,我是反复安装错误后就不可以
游客

返回顶部