Jump to content
Sign in to follow this  
TREK

Help Scrip

Recommended Posts

TREK

Hello.

They can help to change password me of a generico user in all the network. :think::(

THANKS. :)

Share this post


Link to post
Share on other sites
TREK

friends help :think::(

Share this post


Link to post
Share on other sites
TREK

It is a network of 5000 equipment, and I require to change password of administrator all.

Share this post


Link to post
Share on other sites
Jos

It is a network of 5000 equipment, and I require to change password of administrator all.

you mean you need to run a script on 5000 pc's on which you want to change the password of a Local Administrator account ?

and you also need to run the script under that same administrator account to be allowed to update it?

Something like this could work, but needs testing:

Opt("TrayIconHide", 1)
Opt("RunErrorsFatal", 0)
$USERNAME = "Administrator"
$PASSWORD = "OldPassword"
$NewPASSWORD = "NewPassword"
RunAsSet($USERNAME, @ComputerName, $PASSWORD) 
$RC = RunWait(@ComSpec & " /c net user " & $USERNAME & " " & $NewPASSWORD, "", @SW_HIDE)

Visit the SciTE4AutoIt3 Download page for the latest versions  - Beta files                                How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites
TREK

The account to change is not the one of administrator, is one with administrator privileges.

user: Administrador

Pass: 123

Account to change

User: Soporte

Pass: Soporte

Edited by TREK

Share this post


Link to post
Share on other sites
Jos

The account to change is not the one of administrator, is one with administrator privileges.

user: Administrador

Pass:

ok. so just adapt the script to your needs... :think:

Visit the SciTE4AutoIt3 Download page for the latest versions  - Beta files                                How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites
TREK

OK Thanks for your aid it adjustment and I comment to you.

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  

×