VISTA中註冊表項LEGACY_****的刪除--另一種方法:使用psExec

有網友希望瞭解刪除VISTA註冊表的保護項的另一種方法,最近很忙,一直沒寫。

其實就是使用PsTools中的psExec,具體可以參看這篇文章:
http://blog.csdn.net/zdl1016/archive/2009/04/14/4072262.aspx

解決:
網上找到 psexec 工具, 可以以system帳戶身份來運行 regedit, 這樣增加/修改/刪除註冊表項 就不再有任何提示了.

http://www.vistax64.com/general-discussion/191151-cant-delete-registry-key.html

I think you have trouble with permissions but there aren't normall missing permissions which usually happens.For example if trying to open this key in regedit (of course running with administrative previlliges)



regedit return this error,I can't even to display properties tab!When I try to remove a higher key,regedit return me the same errors what you have.But there is way to resolve it.

Download PsTools: PsTools
and unpack file psexec.exe and place it in C:\Windows\System32

Run cmd.exe with administrative previlliges (right click on it as a administrator if you are using UAC) ,then in cmd.exe type:

psexec -s -i -d regedit.exe

Above command allow you to run regedit from a SYSTEM account,navigate to key which was problem:





Now I have no problem to open key,displaying properties,permisions and of course with removing if you want,but remember:because regedit work now on a SYSTEM account,neccesary to remove any keys are:the owner of this key and subkeys should be SYSTEM (not you or Administrators group) and full control for SYSTEM account for this key and his subkeys.Probably you have it (it is natural permissions for these subkeys in this part of registry) but make sure if really.


發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章