Discussion Locked

Remote Password Change with CUSRMGR

0 helpful
2 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I'm a DoD contractor

2 replies

by lowlands

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"
objUser.SetInfo

by lowlands

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

This discussion is closed to new replies.