How to bypass domain password policy for local user on Windows

I had to create a new local user on a domain member server with a password too simple for complexity requirement (complexity is enabled on active directory domain via GPO).
A temporary solution (until next GPO refresh) is this:

secedit /export /cfg C:\new.cfg

Edit new.cfg and change line “PasswordComplexity = 1” to “PasswordComplexity = 0”

secedit /configure /db %windir%\security\new.sdb /cfg C:\new.cfg /areas SECURITYPOLICY

You are now able to set a password that do not fulfill complexity requirement.

Via: http://serverfault.com/questions/134094/windows-web-server-2008-r2-server-core-local-password-complexity

Advertisements

2 thoughts on “How to bypass domain password policy for local user on Windows

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s