Copy the Below and paste in notepad (Save as .bat)
@echo off
title This Script create a hidden user.
echo.
echo This is a sample batch file By Subhash
echo.
echo To create hideen Users which will not in Welcome Screen
echo.
set /p UserName= Type the User name you want to add –
set /p UserPass= The password for the USer –
echo.
echo Creating User…
net user %UserName% %UserPass% /add
echo.
echo.
echo The user %UserName% has been created successfully.
echo.
set /p Group=Do you want to add the user %UserName% in administrators group. (Y/N)..
Goto %Group%
:y
echo Adding User to Administrators…
net localgroup administrators %UserName% /add
:n
echo Updating Registry…
echo Windows Registry Editor Version 5.00 > %TEMP%\HideUser.reg
echo. >> %TEMP%\HideUser.reg
echo [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\SpecialAccounts\UserList] >> %TEMP%\HideUser.reg
echo “%UserName%”=dword:00000000 >> %TEMP%\HideUser.reg
regedit /s %TEMP%\HideUser.reg
del %TEMP%\HideUser.reg
echo.
echo The user %UserName% has been created successfully.
set /p hit= Press Enter to continue.