General discussion


Remote Password Change with CUSRMGR

By dante.cinelli ·
I'm a DoD contractor

This conversation is currently closed to new comments.

2 total posts (Page 1 of 1)  
Thread display: Collapse - | Expand +

All Comments

Collapse -

by lowlands In reply to Remote Password Change wi ...

Not sure if there would be a way around the 12 character limit for cusrmgr. But you could use a script like below

strComputer = "testcomputer"
Set objUser = GetObject("WinNT://" & strComputer & "/username, user")
objUser.SetPassword "1234567890abcdef"

Collapse -

by lowlands In reply to

The above script can be run remotely (replace "testcomputer" and "username" with valid entries)
You can also use 'net user <username> <pwd>", but that will have to run locally on the pc's. So you could make it run on logon/startup using a GPO.

Back to Windows Forum
2 total posts (Page 1 of 1)  

Related Discussions

Related Forums