Title seas it all... I'm logged in to Ubuntu and I want to add new user to Windows 7 which is on some other partition on the same computer. Is it possible ?
2 Answers
I would say You actually can. But i guess this option will use Windows a little bit too.
Create a liveUSB with Ubuntu, in the moment, the actual version is 16.04.01, I don't think it really matters. With this, you will be able to run Ubuntu on your computer.
Boot your device using your LiveUSB and open the 'try' Ubuntu version.
In the file things, get to : /'your os drive name'/Windows/System32/
. If you can't find the drive, look for the drive that has the Windows file in it.
Find sethc.exe
, name it sethc2.exe
find cmd.exe
. Make a backup copy (I have to say i have installed the whole ubuntu thing, i was kind of deseperate .. hahaha)
Rename cmd.exe
as sethc.exe
. Good to go, let's restart the engine!
So now when you will open Windows, when you get to the log in page, press Shift multiple times, and the command prompt should appear.
Then, the fun part :
Create a new windows user acount from that command prompt : net user [Name] [password] /ADD
for example : net user Gege 123 /ADD
If you want to go without any password : net user Gege "" /ADD
and then if you want to make it 'administrator' here are the magic words :
net localgroup administrators [Name] /ADD
For me it would be : net localgroup administrators Gege /ADD
I hope this can help.

- 86
- Short answer: No, you can't with one click!
WARNING: The below option may lead to an unbootable Windows 7 installation - use at your own risk.
- Long answer: theoretically you can create the folders manually and add the registry keys to
HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList
with wine'sregedit
. For this you have to make some research how Windows is creating users, and what it needs to be functional. I don't recommend this through. (This is just a theory, I have not tested it!)
-
Wrong. User accounts are stored in HKLM\SAM hive (in booted Windows only accessible from SYSTEM account, like
psexec -s -i regedit
). ProfileList is just a list of user profiles, after they're already created. But creating a new user only creates an entry in SAM, and Windows handles creating the profile and all related shenanigans on the first login. But if you never logged in, your user won't have an entry in ProfileList (or a profile in C:\Users). – p0358 Dec 18 '23 at 21:13
l33t
and not "pro" :P – ish Jun 14 '12 at 09:09