Click here to get back home

Need solution to force all passwords in an OU to exipre, thereby forcing users to change password immediately

 HomeNewsGroups | Search | About
 microsoft.public.windows.server.security    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Need solution to force all passwords in an OU to exipre, thereby forcing users to change password immediately Mike Matheny 07-05-2006
Posted by Mike Matheny on July 5, 2006, 5:12 pm
Please log in for more thread options
Due to a security breach, we need to immediately expire all passwords (not
force a change on next logon - I want immediate denial of access to
resources!). I have searched the internet till I'm blue in the face, only
thing can find is forcing a change on next logon - well, some people don't
relogon for days!

Any help would be greatly appreciated!

--

Mike Matheny




Posted by Joe Richards [MVP] on July 5, 2006, 7:59 pm
Please log in for more thread options
I helped Mike with this offline, you can do it specifically what he
asked for with an a combination of admod and adfind...

(all one line)

adfind -b BASE_DN -f "matching filter" -dsq | admod pwdlastset::0 -unsafe

or if you know about how many you will need to update

adfind -b BASE_DN -f "matching filter" -dsq | admod pwdlastset::0 -safety x

where x is the number you want to be able to update or bail out.


One thing to note though... Expiring passwords will not lock users out
immediately, nor will disabling them. If users already have their
kerberos ticket for a resource they will continue being able to use the
resource, there is no way around that that I am aware of. Kerb tickets
don't expire for 10 hours by default.

Also, expiring a password is the same as setting user must change
password on next logon.



--
Joe Richards Microsoft MVP Windows Server Directory Services
Author of O'Reilly Active Directory Third Edition
www.joeware.net


---O'Reilly Active Directory Third Edition now available---

http://www.joeware.net/win/ad3e.htm



Mike Matheny wrote:
> Due to a security breach, we need to immediately expire all passwords (not
> force a change on next logon - I want immediate denial of access to
> resources!). I have searched the internet till I'm blue in the face, only
> thing can find is forcing a change on next logon - well, some people don't
> relogon for days!
>
> Any help would be greatly appreciated!
>

Posted by Steven L Umbach on July 5, 2006, 11:05 pm
Please log in for more thread options
Why not disable the services used for those resources on the servers such as
server service for shares, enable the Windows Firewall on those that have it
to block unwanted access, or even shut them down?? --- Steve


> Due to a security breach, we need to immediately expire all passwords (not
> force a change on next logon - I want immediate denial of access to
> resources!). I have searched the internet till I'm blue in the face, only
> thing can find is forcing a change on next logon - well, some people don't
> relogon for days!
>
> Any help would be greatly appreciated!
>
> --
>
> Mike Matheny
>
>
>



Similar ThreadsPosted
Web Browser Password Change Solution Needed September 13, 2007, 10:56 am
mass change passwords on tasks October 17, 2006, 10:23 pm
Product to Automatically Change Local Passwords? August 31, 2006, 4:07 am
IISADMPWD solution for AD expired password ? December 7, 2007, 10:30 am
Problem in Change Password! Password Recovery August 27, 2005, 1:24 am
Password Expired / Cannot Change Password May 9, 2006, 9:46 am
How to reset / change password age? December 9, 2005, 7:26 am
do not prompt for change password June 29, 2007, 10:39 am
Change user password with hash March 2, 2006, 11:52 am
Grace Period to Change Password May 6, 2006, 4:07 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap