JScript Posted August 13, 2010 Share Posted August 13, 2010 Hello,Is there a way to remove a registry key with a security protection like:HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\EnumI need to remove the entire key Enum...How can I set the security of an registry key?Someone can help me, please? http://forum.autoitbrasil.com/ (AutoIt v3 Brazil!!!) Somewhere Out ThereJames Ingram Download Dropbox - Simplify your life!Your virtual HD wherever you go, anywhere! Link to comment Share on other sites More sharing options...
doudou Posted August 13, 2010 Share Posted August 13, 2010 Is there a way to remove a registry key with a security protection like:HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\EnumI need to remove the entire key Enum...How can I set the security of an registry key?There is a good reason, why you cannot remove this key: if you did, you computer would stop working until you reinstall Windows.A friendly advice: if you don't know, how to set security in the the registry, you shouldn't mess around with deleting keys that uncle Bill seeks to protect from manipulation. UDFS & Apps: Spoiler DDEML.au3 - DDE Client + ServerLocalization.au3 - localize your scriptsTLI.au3 - type information on COM objects (TLBINF emulation)TLBAutoEnum.au3 - auto-import of COM constants (enums)AU3Automation - export AU3 scripts via COM interfacesTypeLibInspector - OleView was yesterday Coder's last words before final release: WE APOLOGIZE FOR INCONVENIENCEĀ Link to comment Share on other sites More sharing options...
JScript Posted August 13, 2010 Author Share Posted August 13, 2010 There is a good reason, why you cannot remove this key: if you did, you computer would stop working until you reinstall Windows.A friendly advice: if you don't know, how to set security in the the registry, you shouldn't mess around with deleting keys that uncle Bill seeks to protect from manipulation.Thanks for your explanation, but it will be done in "offline", more precisely in a straight running WindowsXP installation from a CD: http://www.boot-land.net/forums/index.php?showtopic=3890Removing this registry key will no longer produce the BSOD 0x7b on some computers.I've done manually, just wanted to automate the arduous task. http://forum.autoitbrasil.com/ (AutoIt v3 Brazil!!!) Somewhere Out ThereJames Ingram Download Dropbox - Simplify your life!Your virtual HD wherever you go, anywhere! Link to comment Share on other sites More sharing options...
doudou Posted August 13, 2010 Share Posted August 13, 2010 Thanks for your explanation, but it will be done in "offline", more precisely in a straight running WindowsXP installation from a CD: http://www.boot-land.net/forums/index.php?showtopic=3890 Removing this registry key will no longer produce the BSOD 0x7b on some computers. I've done manually, just wanted to automate the arduous task. Hmm... curious, what do you need this for and what is exactly the procedure? Basically you can adjust permissions on a registry key in different ways: via WMI or AdvAPI. Both ways could be, however, pain in the butt as you have to take ownership of the key first. I would just start the part of the script that modifies registry with SYSTEM account privileges, this wouldn't require touching permissions at all. See this UDF by wraithdu. UDFS & Apps: Spoiler DDEML.au3 - DDE Client + ServerLocalization.au3 - localize your scriptsTLI.au3 - type information on COM objects (TLBINF emulation)TLBAutoEnum.au3 - auto-import of COM constants (enums)AU3Automation - export AU3 scripts via COM interfacesTypeLibInspector - OleView was yesterday Coder's last words before final release: WE APOLOGIZE FOR INCONVENIENCEĀ Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now