Results 1 to 4 of 4

Thread: Change password for users with blank password: Error

  1. #1
    Join Date
    Oct 2004
    Posts
    55

    Change password for users with blank password: Error

    I’m running a Windows Server 2003 with AD, there are about 100 users connected to this domain among which few users have blank password due to some reason. Now, what I am planning to do is implement password policy for every users, where each user will need to have atleast 8 character password. Hence I created a password policy in test AD to see if its working fine. The policy is as follows:
    Enforce password history 0 passwords remembered
    Maximum password age 0
    Minimum password age 0 days
    Minimum password lenght 8 characters
    Password must meet complexity requirements Disabled
    Store passwords using reversible encryption Disabled
    To make it application I ran gpupdate / force on the DC and set the option “User must change password at next logon” for all users who are currently having blank password. But instead I get the following error message:

    “The following Active Directory error occured: Unable to update the password. The value provided for the new password does not
    meet the length, complexity, or history requirement of the domain.”


    Please help.

  2. #2
    Join Date
    Jan 2006
    Posts
    4,221

    Re: Change password for users with blank password: Error

    I don’t know what could be reason for the error message but what you can also do the same using Command Line as follows:

    Set objUser = GetObject _
    ("LDAP://CN=myerken,OU=management,DC=Fabrikam,DC=com")

    objUser.Put "pwdLastSet", 0
    objUser.SetInfo
    You can get more info about the same here: gallery.technet.microsoft.com/scriptcenter/7e44bd45-f49f-4e47-ae00-b18f544e478f

  3. #3
    Join Date
    Oct 2004
    Posts
    55

    Re: Change password for users with blank password: Error

    Thank you very much for the help Zachary.

    It works - will use scripting then - thanks a lot!

  4. #4
    Join Date
    Sep 2004
    Posts
    105

    Re: Change password for users with blank password: Error

    Alternatively you can simply set the option "User must change password at next logon" before changing the password policy.

Similar Threads

  1. Regular Domain Users can't change expired password
    By tim.creemers in forum Active Directory
    Replies: 3
    Last Post: 23-04-2012, 05:11 PM
  2. old password usable after a password change
    By ADAMEE in forum Active Directory
    Replies: 1
    Last Post: 22-05-2011, 06:05 AM
  3. Need Password Reset Disk to change password for Windows 7
    By Alfanumeric in forum Operating Systems
    Replies: 3
    Last Post: 11-01-2011, 04:06 PM
  4. Users are unable to change domain password
    By Kevin M in forum Vista Help
    Replies: 9
    Last Post: 10-03-2010, 10:49 PM
  5. Change password/disable account - password cached?
    By gbug in forum Active Directory
    Replies: 3
    Last Post: 25-04-2008, 05:09 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,716,441,157.11936 seconds with 17 queries