Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Disable cmd and PowerShell on Windows Server 2012 for clients

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?

like image 545
krusty Avatar asked Mar 17 '23 09:03

krusty


1 Answers

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

like image 127
Carlos Tenorio Pérez Avatar answered Apr 06 '23 00:04

Carlos Tenorio Pérez