dpst-control
dpst-control copied to clipboard
Bmg remove admin for check
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.
"Bmg" remove admin for check what's bmg?
"BMG" would be my initials. That's just the convention I use for branches at work.