用pspasswd修改本地/远程管理员密码

PsPasswd changes passwords on a local or remote system.

Usage: pspasswd [//[computer[,computer,[,...]|Domain]|@file] [-u Username [-p Password]]] Username [NewPassword]
     computer    Direct PsPasswd to perform the command on the remote
                 computer or computers specified. If you omit the computer
                 name PsPasswd runs the command on the local system,
                 and if you specify a wildcard (//*), PsPasswd runs the
                 command on all computers in the current domain.
     @file       PsPasswd will change the password on the computers listed
                 in the file.
     -u          Specifies optional user name for login to remote
                 computer.
     -p          Specifies optional password for user name. If you omit this
                 you will be prompted to enter a hidden password.
     Username    Specifies name of account for password change.
     NewPassword New password. If ommitted a NULL password is applied.

pspasswd也是SysInternal工具包之一,可以从微软免费下载。个人觉得主要有两点方便:一是便于管理不在域中的远程系统;二是简化了某些管理脚本。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值