Jump to content

Recommended Posts

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
Posted

@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

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
×
×
  • Create New...