Hi, I wanted to add users, however, I wanted the username to be chosen by the installer. And since I didn't know how to do it, I made a batch file. The file I made look like this: CLS @ECHO OFF Title Create User COLOR 0A CLS ECHO Please type the name of the user, which you want to be created. start /w wscript.exe "C:\user.vbs" call "C:\~user.cmd" del "C:\~user.cmd" del "C:\user.vbs" net user %user% /add net localgroup Administrators %user% /add net accounts /maxpwage:unlimited Then, I want to add Autologon, but to be able to use %user% variable, it must be in the batch file (haven't tested it, but I think so). So is there a kind person who would convert this to REG ADD command? Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon] "DefaultUserName"="%user%" "AutoAdminLogon"="1" Thanks!