How to modify the AD Password Policy

How do I set the GPO to enforce the password change to take effect tomorrow?    We are setting up our policy to change the password every 90 days and I want it to begin tomorrow.

Also, I need to exclude a few staff from this policy, how?   Should I disable the Default Domain Policy and create a separate policy and apply it to only certain OU's?
J.R. SitmanIT DirectorAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Shaun VermaakTechnical Specialist IVCommented:
How do I set the GPO to enforce the password change to take effect tomorrow?    We are setting up our policy to change the password every 90 days and I want it to begin tomorrow.
It depends on the current account password age. Changes are your accounts' password age is already more than 90 days so it will expire ones you enable it

Also, I need to exclude a few staff from this policy, how?   Should I disable the Default Domain Policy and create a separate policy and apply it to only certain OU's?
Create a password setting object. Different GPOs do not work

You can get a link to the process on how to create a PSO in my article How to create an Intelligent Password Policy for Active Directory
https://www.experts-exchange.com/articles/33078/How-to-create-an-Intelligent-Password-Policy-for-Active-Directory.html
1
J.R. SitmanIT DirectorAuthor Commented:
We currently have no expiration policy.  The article did not address my question
0
Shaun VermaakTechnical Specialist IVCommented:
We currently have no expiration policy
Not policy, attribute on the user account. Look at pwdLastSet

From my article
https://blogs.technet.microsoft.com/canitpro/2013/05/29/step-by-step-enabling-and-using-fine-grained-password-policies-in-ad/
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

J.R. SitmanIT DirectorAuthor Commented:
ok the article was good and simple.  How do I make sure that this policy gets applied to a specific user and not the Default domain policy?  

What I am attempting to accomplish is to set a separate policy for our company President
0
J.R. SitmanIT DirectorAuthor Commented:
Also, do I disable the Default policy?
0
David Johnson, CD, MVPOwnerCommented:
You've already tinkered with the default domain policy. Create a new policy and exclude the samaccount of the CEO and sometime when you think the minimum # of users will be logging in prior to the date you want the users passwords to have to be reset
$users = get-aduser -filter * | select-object samaccountname
foreach ($user in $users)
  {
  if ($user.samaccountname -ne 'CEOSAMACCOUNTNAME')
    {
    Set-ADUser -Identity $user.samaccountname -ChangePasswordAtLogon $true
    }
  }

Open in new window

0
Shaun VermaakTechnical Specialist IVCommented:
Also, do I disable the Default policy?
No

How do I make sure that this policy gets applied to a specific user
It is the applies to member field. You specify a group or a user

If you use the script from David, exclude service accounts and resource accounts otherwise you are in for a fun day
0
J.R. SitmanIT DirectorAuthor Commented:
Thanks
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
gpos

From novice to tech pro — start learning today.