So, I know the question seems a little weird, but let me explain. We are in higher education, and we have public computers. So on these computers, we enable all users within our department to be administrators on those machines. This is because they may need to test a driver, install software, etc. We mitigate this by using DeepFreeze, which no can remove without us know. So any changes will be reverted after a restart.

I just started a few months ago, and I am really pushing PowerShell for our automation and reporting needs (not to mention it's free versus using paid software). While working on a report script, I discovered using simple remote commands like Get-Service -ComputerName LABPC-01 could be executed from a standard user, but they are an administrator on that computer. However, users cannot start a PS session. This concerns me, because even though we have DeepFreeze, some donkey can just restart the computer if a student has been working on academic studies.

So after about five hours of reading numerous posts, I found a PowerShell script that will allow me to modify WMI permissions. However, I am having problems removing the Administrator group. Each time, I remove access, the system just adds them back. I know usually I would want this, but this is the one time, I want to remove that group. Even if they cannot execute something as serious as restarting, we do not want any wanting to read data remotely (besides IT). I know the obvious answer to remove every one from the admin group, and we are considering that (actually going to use Unified Write Filter), but in this type of environment, a change like that has to go through a chain of events, and will take a while to complete for 500 machines.

Any help is greatly appreciated!

New contributor
Herc08 is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.
  • You can configure a firewall on the computers to avoid this... Allow remote connections from your management VLAN/workstations only – Swisstone Sep 11 at 18:45
  • Well that's the thing. We actually want to use WMI for reports and other automation. It just seems weird that we can remove Administrators from folder permissions, but not WMI permissions. I was even able to remove the group from DCOM properties. Again, turning off the Firewall is one of the obvious answers, but DeepFreeze does use some WMI for it's processes. – Herc08 Sep 12 at 1:33

Your Answer

Herc08 is a new contributor. Be nice, and check out our Code of Conduct.

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.