PDA

View Full Version : Changing a local user account (W2K)



guyver_news
05-16-2002, 01:23 PM
Dear all,

How can I use VB scripting to change a particular local user account password on a Windows 2000 machine so that i may change this on a number of PC's.

Any suggestions?

Thanks and kind regards

<P ID="edit"><FONT class="small">Edited by guyver_news on 05/16/02 07:27.</FONT></P>

king_ging
05-16-2002, 02:03 PM
appz you can combine with scripting are CUSRMGR.exe(resource kit) net user.exe

i would use cusrmgr

good luck

guyver_news
05-16-2002, 03:09 PM
Cheers,works a treat.

I am also having difficulties in how to disable a local user account. Is there a similiar way to do this?

Thanks

Andy

king_ging
05-16-2002, 03:31 PM
Net user <username> /Active:No

good luck

ps doesn't work on built in accounts

<P ID="edit"><FONT class="small">Edited by king_ging on 05/16/02 09:32.</FONT></P>