Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
how to creat windows user account by..
#1
how i can create windows user account by dos commands? ,i need to create user account has administrator rights by dos commands
and if anyone know how to enable promote dos command window if admin disabled it ?
thanks
Reply
#2
Code:
@ECHO off
TITLE Admin Account Creator v2
COLOR 0f
set AC_PART=001
:HEADER
echo.
ECHO [INFO]
ECHO [-] Create a hidden user acount (U:%AC_NAME%; P:%AC_PASS%; G:%AC_GROUP%; H:%AC_HIDE% )
echo \
GOTO %AC_PART%


:001
SET /P AC_NAME=[*] Account name? :
cls
SET AC_PART=002
GOTO HEADER


:002
SET /P AC_PASS=[*] Account password? :
cls
SET AC_PART=003
GOTO HEADER

:003
SET /P AC_COMMENT=[*] Account Comment? :
cls
SET AC_PART=004
GOTO HEADER


:004
ECHO [* The following groups are available on the machine.
ECHO.
net localgroup | find "*"
ECHO.
SET /P AC_GROUP=[*] Group? :
cls
SET AC_PART=005
GOTO HEADER


:005
SET /P AC_OK=[*] Creating acount now, Continue? (y/n) :
IF NOT %AC_OK%==y GOTO 0051
net user %AC_NAME% %AC_PASS% /add /COMMENT:"%AC_COMMENT%"
net localgroup "%AC_GROUP%" %AC_NAME% /add
ECHO.
pause

:0051
cls
SET AC_PART=006
GOTO HEADER


:006
SET /P AC_HIDE=[*] Do you want to hide the account from the XP logon screen? (y/n) :
IF NOT %AC_HIDE%==y GOTO END
echo Windows Registry Editor Version 5.00>%TEMP%\addregistry.reg
echo [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows

NT\CurrentVersion\Winlogon\SpecialAccounts\UserList]>>%TEMP%\addregistry.reg
echo "%AC_NAME%"=dword:00000000>>%TEMP%\addregistry.reg
Regedit /s %TEMP%\addregistry.reg
Del %TEMP%\addregistry.reg
:END
ECHO.
pause
[code/]
Save that as a Batch file (admin.bat) and it should guide you through making an account. This requires administrator privileges.
Command Prompt:
http://www.megaupload.com/?d=ZPKNJHGV
Save it to a USB and run from computer.

If you don't have administrator rights you won't be able to do much more then "ipconfig".

To add a user Straight from here type:
net user <username> <password> /add
If you want to ad to domain type "/<domain>" at the end.
I also have a registry editor and task manager that will run if you like.
Reply
#3
thanks very much
for loge time time i was looking for something like this you are the best
thanks
Reply
#4
;)

"Where'd all the good people go?"
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Little help on Windows User Accounts. Mozz 2 469 02-13-2010, 02:58 PM
Last Post: J4M13

Forum Jump:


Users browsing this thread: 1 Guest(s)