Advertisement
Guest User

Untitled

a guest
Jun 20th, 2017
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. @ECHO off
  2. TITLE XP Acount creator ( FiNaLBeTa @ NFE )
  3. COLOR 0f
  4. set AC_PART=001
  5. :HEADER
  6. echo.
  7. ECHO   [INFO]
  8. ECHO   [-] Create a hidden user acount (U:%AC_NAME%; P:%AC_PASS%; G:%AC_GROUP%; H:%AC_HIDE% )
  9. echo     \
  10. GOTO %AC_PART%
  11.  
  12. :001
  13. SET /P AC_NAME=     [*] Acount name? :
  14. cls
  15. SET AC_PART=002
  16. GOTO HEADER
  17.  
  18. :002
  19. SET /P AC_PASS=     [*] Acount password? :
  20. cls
  21. SET AC_PART=003
  22. GOTO HEADER
  23.  
  24. :003
  25. SET /P AC_COMMENT=     [*] Acount Comment? :
  26. cls
  27. SET AC_PART=004
  28. GOTO HEADER
  29.  
  30. :004
  31. ECHO     [* The following groups are available on the machine.
  32. ECHO.
  33. net localgroup | find "*"
  34. ECHO.
  35. SET /P AC_GROUP=     [*] Group? :
  36. cls
  37. SET AC_PART=005
  38. GOTO HEADER
  39.  
  40. :005
  41. SET /P AC_OK=     [*] Creating acount now, Continue? (y/n) :
  42. IF NOT %AC_OK%==y GOTO 0051
  43. net user %AC_NAME% %AC_PASS% /add /COMMENT:"%AC_COMMENT%"
  44. net localgroup "%AC_GROUP%" %AC_NAME% /add
  45. ECHO.
  46. pause
  47.  
  48. :0051
  49. cls
  50. SET AC_PART=006
  51. GOTO HEADER
  52.  
  53. :006
  54. SET /P AC_HIDE=     [*] Do you want to hide the acount from the XP logon screen? (y/n) :
  55. IF NOT %AC_HIDE%==y GOTO END
  56. echo Windows Registry Editor Version 5.00>%TEMP%\addregistry.reg
  57. echo [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\SpecialAccounts\UserList]>>%TEMP%\addregistry.reg
  58. echo "%AC_NAME%"=dword:00000000>>%TEMP%\addregistry.reg
  59. Regedit /s %TEMP%\addregistry.reg
  60. Del %TEMP%\addregistry.reg
  61. :END
  62. ECHO.
  63. pause
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement