在Server2012R2上使用Powershell 设置本地组策略。


PowerShell交流中心分类: Questions在Server2012R2上使用Powershell 设置本地组策略。
0
Nasus asked 8 年 ago

Policy

Security Setting

1.Interactive logon: Display user information when the session is locked

Do not display user information

2.Interactive logon: Do not display last user name

Enabled

3.Interactive logon: Do not require CTRL+ALT+DEL

Disabled

4.Microsoft network server: Amount of idle time required before suspending session setting

Disconnect when idle time exceeds value:99999

5.Hide entry points for Fast User Switching

Enabled

6.Always use classic logon

Enabled

1 Answers
0
Mooser Lee 管理员 answered 8 年 ago

PowerShell没有内置的可以编辑本地策略的命令,只能借助于社区了,Dave Wyatt 写了一个工具 PolicyFileEditor,可以参考。