如何禁用Microsoft Hyper-V Server 2008 R2上的密码复杂性要求?
请记住,login到服务器时,唯一的UI是:
替代文字http://i30.tinypic.com/30w6o8z.jpg
你不能运行gpedit.msc :
C:\Users\Administrator>gpedit.msc 'gpedit.msc' is not recognized as an internal or external command, operable program or batch file.
因为Microsoft Hyper-V Server 2008 R2中没有安装.mscpipe理单元。
问题出现在您尝试向服务器添加帐户的情况下,因此您可以pipe理它,但不喜欢大多数密码:
替代文字http://i31.tinypic.com/28clj6b.jpg
而且,可以预见的是,打字
NET HELPMSG 2245
给你
The password does not meet the password policy requirements. Check the minimum p assword length, password complexity and password history requirements.
我希望这将是一个友好的用户体验,并且:
Server Core的默认密码复杂度为:
密码必须包含以下四个类别中的三个字符:
1.英文大写字母(A到Z)。
2.英文小写字母(a到z)。
3.基地10位(0到9)。
4.非字母字符(例如,!,$,#,%)。
更新 :2k意见? 所以很多人不断地来到它:投票!
您可以导出安全设置:
secedit /export /cfg X:\new.cfg
然后你编辑new.cfg(这是ini格式),并将“PasswordComplexity = 1”行改为“PasswordComplexity = 0”。 将其应用于Hyper-V服务器上:
secedit /configure /db C:\Windows\security\new.sdb /cfg X:\new.cfg /areas SECURITYPOLICY
你可以在这篇博文中find更多的细节。
通过单击“开始”button“开始”button的图片,在search框中键入secpol.msc,然后单击“secpol”。需要pipe理员权限如果系统提示您inputpipe理员密码或进行确认,请键入密码或提供确认。
在左窗格中,双击帐户策略,然后单击密码策略。
双击您要更改的策略列表中的项目,更改设置,然后单击确定。