| 网站首页 | 新闻中心 | 系统安全 | 网络安全 | 安全技术 | 下载中心 | 
课件制作网.
收藏本站
设为首页
安全365
更改客户端administrator密码的几种方法
更改客户端administrator密码的几种方法
作者:佚名 文章来源:不详 点击数: 更新时间:2007-1-23 20:18:50
总结和测试了以下几种方法,都是利用微软自己的东西,第一种方法比较适合小环境下使用,第二和第三个方法比较适合有域的环境下使用

  一,How to Use the Cusrmgr.exe Tool to Change Administrator Account Password on Multiple Computers

  The following .bat file will change the local administrator password to newpass on the //pc1, //pc2, and //pc3 computers: 
  cusrmgr.exe -u Administrator -m //pc1 -P newpass
  cusrmgr.exe -u Administrator -m //pc2 -P newpass
  cusrmgr.exe -u Administrator -m //pc3 -P newpass 
  To run this .bat file successfully, the user must have administrative privileges on //pc1, //pc2, and //pc3. Also, note that you must use a capital P for the -P switch, because a lowercase p sets the account password to a random string. 
  How to Rename the Local Administrator Account and Change the Password
  NOTE: In the following example, the .bat file is named Example2.bat.

  The following .bat file will rename the local administrator account on //pc1 to pc1admin and change the password to a random string. 
  cusrmgr.exe -u Administrator -m //pc1 -r pc1admin -p 
  To run this .bat file successfully, the user must have administrative privileges on //pc1. The .bat file will rename the user account, and then change its password.

  这个命令不太适合域环境下大批量用户使用,使用这个命令的时候,一定要注意P这个参数大小写的区别

  二,组策略中启动脚本
  在启动脚本里面可以调用一个BAT文件,BAT文件内容可以如下:net user administrator test

  这个script脚本默认是隐藏起来的,存放在C:/windows/system32/GroupPolicy/Machine/Scripts/Startup下(由于条件受限,我都是在自己的机器上测试,同样适用于域环境)

  缺点就是用户可以看到这个隐藏的文件,在高安全的环境下可能有点欠缺

  三,组策略-管理模板-系统-登陆-“在用户登陆时运行这些程序”

  显示-添加命令即可【转自世纪安全网 http://www.21safe.com】
文章录入:admin    责任编辑:admin 
  • 上一篇文章:

  • 下一篇文章:
  • 【字体: 】【发表评论】【加入收藏】【告诉好友】【打印此文】【关闭窗口
      网友评论:(只显示最新10条。评论内容只代表网友观点,与本站立场无关!)
     
     
     
    模拟河南网通宽带客户端
    中移动强令QQ客户自写短
    QQ邮件客户端设计缺陷导
    Fetchmail POP3客户端缓
    Opera Mail客户端附件欺
    Vista加入InfoCard身份认
    如何更改 .WMA 文件的 T
    如何更改 Excel 电子表格
    如何更改 Active Direct
    如何更改计算机的说明?

    Copyright © 2006-2008 www.anquan365.com 安全365
    建议使用1024*768分辨率及第三方浏览器对本站进行浏览