How to get admin power to delete especial Registry key?

  • Thread starter Thread starter yxq
  • Start date Start date
Y

yxq

Hello everyone,
I want to delete some especial power Registry key(i.e.
HKEY_CURRENT_USER\Software\Microsoft\Protected Storage System Provider),
but Registry.CurrentUser.DeleteSubKeyTree("Software\Microsoft\Protected
Storage System Provider") does not work, because has not the admin power.

How to get the power to delete the subkey?

Thank you
 
How to get the power to delete the subkey?

You ask your administrator. Of course there's no programmatic way to
circumvent the ACL on the key, then the whole security system would be
useless.



Mattias
 
What key are you talking about firstly?

Why don't you just use registry permissions?

Crouchie1998
BA (HONS) MCP MCSE
 
Back
Top