如何:禁用 Hyper-V Server 2008 上的复杂密码策略?

Ian*_*oyd 10 security password hyper-v-server-2008-r2

如何在Microsoft Hyper-V Server 2008 R2上禁用密码复杂性要求?


请记住,当您登录服务器时,您拥有的唯一 UI 是:

替代文字

你不能运行gpedit.msc

C:\Users\Administrator>gpedit.msc
'gpedit.msc' is not recognized as an internal or external command, 
operable program or batch file.
Run Code Online (Sandbox Code Playgroud)

因为没有随 Microsoft Hyper-V Server 2008 R2 安装的.msc管理单元。


当您尝试向服务器添加帐户时会出现问题,因此您可以管理它,但它不喜欢大多数密码:

替代文字

而且,可以预见的是,打字

NET HELPMSG 2245
Run Code Online (Sandbox Code Playgroud)

给你

The password does not meet the password policy requirements. Check the minimum p
assword length, password complexity and password history requirements.
Run Code Online (Sandbox Code Playgroud)

我希望这将是一个友好的用户体验,或者:

  • 提供禁用密码策略
  • 告诉我如何禁用密码策略
  • 告诉我如何检查最小密码长度、密码复杂度和密码历史要求。

密码复杂性要求

微软服务器核心的默认密码复杂度是:

  • 密码不能包含用户的帐户名或超过两个连续字符的用户全名部分。
  • 密码长度必须至少为六个字符。
  • 密码必须包含来自以下四个类别中的三个类别的字符:

    1.英文大写字符(A到Z)。

    2.英文小写字符(a 到 z)。

    3.Base 10 数字(0 到 9)。

    4. 非字母字符(例如,!、$、#、%)。

外部链接

更新:2k 次观看?如此多的人不断来到它:投票!

Jos*_*ved 16

您可以通过以下方式导出安全设置:

secedit /export /cfg X:\new.cfg
Run Code Online (Sandbox Code Playgroud)

然后编辑 new.cfg(它是 ini 格式)并将行“PasswordComplexity = 1”更改为“PasswordComplexity = 0”。将其应用到 Hyper-V 服务器上:

secedit /configure /db C:\Windows\security\new.sdb /cfg X:\new.cfg /areas SECURITYPOLICY
Run Code Online (Sandbox Code Playgroud)

您可以在此博客文章中找到更多详细信息。