CusrMgr Main Topic | Previous

CusrMgr Examples


Setting a new password for a user on the local computer

cusrmgr -u UserName -P NewUserPassword

Setting "User must change Password at next login" property for a user on the local computer

cusrmgr -u UserName +s MustChangePassword

Setting a new password for a user at the domain level

\\PdcName is the primary domain controller of the domain to which the UserName belongs.

cursmgr -u UserName -P NewUserPassword -m \\PdcName

Setting "User must change Password at next login" property for a user at the domain level

cursmgr -u UserName +s MustChangePassword -m \\PdcName