bsharath
asked on
Reset passwords of each user in an OU in AD with random passwords that are complex say 8 Apha numerical with a special character and email to users.
Hi,
Reset passwords of each user in an OU in AD with random passwords that are complex say 8 Apha numerical with a special character and email to users.
I need help to reset every users password each to be different and then email the password to user.
A defined data that needs to be in the body with a word attachment. thats going to be common.
regards
Sharath
Reset passwords of each user in an OU in AD with random passwords that are complex say 8 Apha numerical with a special character and email to users.
I need help to reset every users password each to be different and then email the password to user.
A defined data that needs to be in the body with a word attachment. thats going to be common.
regards
Sharath
If the password is reset, how will the user logon to get their email?
ASKER
Its not that specific Domain password. its for a different domain but the email will reach him on his current logged in Domain
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thank you... WIll this reset the password for each user different passwords?
Yes, each password will be unique.
ASKER
I get this
D:\Reset_Password.vbs(145, 17) CDO.Message.1: The system cannot find the file specified.
D:\Reset_Password.vbs(145,
You mentioned that you wanted to attach a Word document to the email. If you haven't already, you'll need to specify the path to that file in the "User Variables" area
strEmailAttachment = "c:\myfile.doc"
strEmailAttachment = "c:\myfile.doc"
ASKER
I have mentioned the file. as
strEmailAttachment = "c:\UserMoveRpt.txt"
strEmailAttachment = "c:\UserMoveRpt.txt"
That should work fine too. The error you see should only happen if that file does not already exist. Is it on your c:\ already?
ASKER
thanks its perfect i wronly mentione D drive