Link to home
Start Free TrialLog in
Avatar of mallony
mallonyFlag for Switzerland

asked on

Windows 8.1 and 7 local password Group Policy

I use the local users group policy to force the users to change their password every 90 days. One thing I have noticed is that by using the line: "net accounts /maxpwage:90"  net accounts (see attached picture) I don't:

 - Lockout Threshold: to Never - which it should be 10 times
 - Mininum password length: to 0 - which should be minimum 8 characters long

This is only for local machine policy!

Can we add to this code line "net accounts /maxpwage:90" those additional options?


Please advice.
Local-policy---Password-policy.PNG
Avatar of McKnife
McKnife
Flag of Germany image

According to your screenshot, the minimum length is set to 8 already.
But for a complete command, take
net accounts /MINPWLEN:8 /maxpwage:90 /lockoutthreshhold:10

Open in new window

Avatar of mallony

ASKER

I have try that but it seems to have a error "The syntax of this command is: "message after pressing enter.

Can you spot this line above. There is a syntax error on it"
ASKER CERTIFIED SOLUTION
Avatar of McKnife
McKnife
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of mallony

ASKER

it works. Thanks!
Avatar of mallony

ASKER

I've requested that this question be closed as follows:

Accepted answer: 0 points for mallony's comment #a40856995

for the following reason:

excellent.
Why did you select your own comment as answer?
Avatar of mallony

ASKER

excellent.