|
卸载代码
以下内容保存为.bat或.cmd文件:
rem 删除桌面上的图标
REG delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace\{00000000-0000-0000-0000-000000000021}" /f
rem 删除控制面板中的图标
REG delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel\NameSpace\{00000000-0000-0000-0000-000000000021}" /f
rem 删除资源管理器中的图标
REG delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{00000000-0000-0000-0000-000000000021}" /f
rem 删除右键中的图标
REG delete "HKCR\Directory\Background\shell\Powercontrol\shell" /f
rem 删除HKCR\CLSID下的残留
REG delete "HKCR\CLSID\{00000000-0000-0000-0000-000000000021}" /f
以下内容保存为.reg文件:
Windows Registry Editor Version 5.00
;删除HKEY_CLASSES_ROOT\CLSID下的残留
[-HKEY_CLASSES_ROOT\CLSID\{00000000-0000-0000-0000-000000000021}]
;删除桌面上的图标
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace\{00000000-0000-0000-0000-000000000021}]
;删除控制面板中的图标
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel\NameSpace\{00000000-0000-0000-0000-000000000021}]
;删除资源管理器中的图标
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{00000000-0000-0000-0000-000000000021}]
|
|