取消Hyper-V密碼複雜原則

Step1.在cmd執行
secedit /export /cfg c:\sec.cfg
Step2.修改sec.cfg
PasswordComplexity = 0
Step3.在cmd執行
secedit /configure /db c:\windows\security\sec.sdb /cfg c:\sec.cfg /areas SECURITYPOLICY
Step4.在cmd執行
gpupdate /force
secedit /export /cfg c:\sec.cfg
Step2.修改sec.cfg
PasswordComplexity = 0
Step3.在cmd執行
secedit /configure /db c:\windows\security\sec.sdb /cfg c:\sec.cfg /areas SECURITYPOLICY
Step4.在cmd執行
gpupdate /force