Search This Blog

Monday, March 5, 2012

Password Reset Using Active Directory Users & Computers Fails with Error "The System cannot find the path specified"

Password Reset Using Active Directory Users & Computers Fails with Error "The System cannot find the path specified"

sbs 2003, a badly corrupted server

I tried a method on the net, but wont work, that post is about using adsiedit,msc to edit user's usrparamenter by clearing it. that didn't work for me.

I tried dsmod , no luck

http://support.microsoft.com/kb/2001522/en-us

eventtually tried ldifde cmd
http://oreilly.com/pub/a/windows/2004/03/30/serverhacks_passwords.html?page=last&x-maxdepth=0

ldifde -i -f ChangePwd.ldif -t 636 -s dcname

the trick is to convert the password to some based-unicode, so there is a stringconverter to convert you fav password

dn: CN=Jane Doe,OU=Boston,DC=testdomain,DC=local
changetype: modify
replace: unicodePwd
unicodePwd::IgBwAGEAcwBzAHcAbwByAGQAIgA=
-

notice the - at the end of file is required

finally I changed someone's password at the end of the day



No comments:

Post a Comment