Link to home
Start Free TrialLog in
Avatar of aideb
aideb

asked on

VBScript that will query registry permissions

We have a bad application in our environment which has broken the permissions on a registry key.

I am looking to create a VBScript that will check if 'SYSTEM' has permissions on a registry key HKLM\Software\Application\Component

If SYSTEM does not have permission on the key then I want it to delete from HKLM\Software\Application down as the application will be reinstalled and it will repopulate the key with the correct permissions. As the permissions have been stripped out, the installation will not work.

Thanks

Aidan
ASKER CERTIFIED SOLUTION
Avatar of RobSampson
RobSampson
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of aideb
aideb

ASKER

Many thanks for your help with this.

Cheers

Aidan
No problem. Thanks for the grade.

Regards,

Rob.