Skip to content

Bmg remove admin for check#4

Open
bmgarza wants to merge 2 commits intoorev:masterfrom
bmgarza:bmg_remove_admin_for_check
Open

Bmg remove admin for check#4
bmgarza wants to merge 2 commits intoorev:masterfrom
bmgarza:bmg_remove_admin_for_check

Conversation

@bmgarza
Copy link
Copy Markdown

@bmgarza bmgarza commented Jul 30, 2021

I updated the main powershell script to no longer require admin rights to check the status of the DPST bit.

Pretty straight forward, just moved where the check is done to after the ifelse statement that currently exists since the check case never actually makes it that far. Additionally, I removed some spare spaces at the end of one of the lines because I saw them and it bothered me.

Seems to me like the only command that really needs Admin is the Set-ItemProperty command at the end of the script. Additionally, and the main reason I did this to begin with, it makes it easier to create a script to automatically disable the bit.

If I'm missing something here let me know.

bmgarza added 2 commits July 30, 2021 16:18
…the current status of that bit is for easier startup scripting. Updated the readme to indicate that checking the dpst state doesn't require admin.
@Laicure
Copy link
Copy Markdown

Laicure commented Aug 16, 2023

"Bmg" remove admin for check
what's bmg?

@bmgarza
Copy link
Copy Markdown
Author

bmgarza commented Aug 16, 2023

"BMG" would be my initials. That's just the convention I use for branches at work.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants