Jump to content

Unable to delete requested key!


Recommended Posts

Hello,

Is there a way to remove a registry key with a security protection like:

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Enum

I 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

somewh10.png

dropbo10.pngDownload Dropbox - Simplify your life!
Your virtual HD wherever you go, anywhere!

Link to comment
Share on other sites

Is there a way to remove a registry key with a security protection like:

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Enum

I 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 + Server
Localization.au3 - localize your scripts
TLI.au3 - type information on COM objects (TLBINF emulation)
TLBAutoEnum.au3 - auto-import of COM constants (enums)
AU3Automation - export AU3 scripts via COM interfaces
TypeLibInspector - OleView was yesterday

Coder's last words before final release: WE APOLOGIZE FOR INCONVENIENCEĀ 

Link to comment
Share on other sites

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=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.

http://forum.autoitbrasil.com/ (AutoIt v3 Brazil!!!)

Somewhere Out ThereJames Ingram

somewh10.png

dropbo10.pngDownload Dropbox - Simplify your life!
Your virtual HD wherever you go, anywhere!

Link to comment
Share on other sites

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 + Server
Localization.au3 - localize your scripts
TLI.au3 - type information on COM objects (TLBINF emulation)
TLBAutoEnum.au3 - auto-import of COM constants (enums)
AU3Automation - export AU3 scripts via COM interfaces
TypeLibInspector - OleView was yesterday

Coder's last words before final release: WE APOLOGIZE FOR INCONVENIENCEĀ 

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...