Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Requires Admin Privilege #38

Closed
piyatila opened this issue Jul 18, 2023 · 1 comment
Closed

Requires Admin Privilege #38

piyatila opened this issue Jul 18, 2023 · 1 comment
Assignees

Comments

@piyatila
Copy link

Hello, while I run the script and I want to save it as CSV file, however I encounter this kind of error to some of our configured policy.

How to bypass ?
image

@0x6d69636b 0x6d69636b self-assigned this Jul 18, 2023
@0x6d69636b
Copy link
Member

HardeningKitty checks if a user is admin before using functions that require admin rights. If you want to check these settings, you need to run the script as admin. You could theoretically modify the script and set $IsAdmin = true to bypass the check, but you'll get access denied and other error messages.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants