Sign in to follow this  
Followers 0
alinuzzu

Change Windows User Password and name

2 posts in this topic

#1 ·  Posted (edited)

Hello,

I am trying to change (not delete and create new!) a User's profile name and password and want to run the script at login time. Has anyone dealt with this problem before?

Any help will be appreciated.

LE: I would like do it silently not via GUI.

Edited by alinuzzu

Share this post


Link to post
Share on other sites



@allinuzu

It is not recommended to change the name of the profile this will currupt the user environment.

Better way is to log on to the new user and copy all relevant data from the old profile to the new profile.

This can change a password

Dim $objComputer

$objComputer = ObjGet("LDAP://CN=computername,DC=WINDOWS2000,DC=COM")
$objComputer.SetPassword ("computername$")

Regards

ptrex

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0