在Windows Server 2012上为客户端禁用cmd和PowerShell [英] Disable cmd and PowerShell on Windows Server 2012 for clients

查看:125
本文介绍了在Windows Server 2012上为客户端禁用cmd和PowerShell的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Windows Server 2012,并且想为客户端禁用cmd和PowerShell.我已经在组策略"中进行搜索,但是找不到在哪里可以执行此操作.请有人可以帮我吗?

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?

推荐答案

禁止访问powershell:

Disable access to powershell:

在这些用户的组策略"窗口的左侧,向下滚动到用户配置">管理模板">系统">不运行指定的Windows应用程序".

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.

在显示目录"窗口中添加-> powershell.exe

In the "Show Contents" window add --> powershell.exe

这篇关于在Windows Server 2012上为客户端禁用cmd和PowerShell的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆