Disable cmd and PowerShell on Windows Server 2012 for clients

krusty picture krusty · Apr 17, 2015 · Viewed 69.7k times · Source

I'm using Windows Server 2012, and I want to disable the cmd and the PowerShell for the clients. I've searched in the Group Policies but i didn't find where I can do this. Please can somebody help me?

Answer

Carlos Tenorio Pérez picture Carlos Tenorio Pérez · Apr 7, 2017

Disable access to powershell:

In the Group Policy window for those users, on the left-hand side, scroll down to User Configuration > Administrative Templates > System > Don’t run specified Windows applications.

In the properties window that opens, click the “Enabled” option and then click the “Show” button.

In the “Show Contents” window add --> powershell.exe