I faced some problems>
1. How to create username with space between names.
2. How to "blank" the password. With net command.
So I ended up with that code:
@echo off
@echo Lets make a new user and activate Administrator:
set /p id="Enter Username: "
net user "%id%" /ADD passwordreq:NO
net user "%id%" ""
net user Administrator /active:yes
1. How to create username with space between names.
2. How to "blank" the password. With net command.
So I ended up with that code:
@echo off
@echo Lets make a new user and activate Administrator:
set /p id="Enter Username: "
net user "%id%" /ADD passwordreq:NO
net user "%id%" ""
net user Administrator /active:yes