Create windows user from linux

I have a dual boot laptop with Win8 + Ubuntu installed on 2 separate partitions. Yesterday, as a result of a series of tweaking and things I shouldn’t have been doing, I’m facing the evil user profile service failed the logon. User profile cannot be loaded error on Win8, hence being unable to login to my windows system.
Having Ubuntu as my guardian angel, I think creating a new user from the Linux system would be the easiest method to solve this problem. Any ideas on how to do this?

Notes (The question ends here, this is just extra notes for clarifying the situation and reasoning my solution):
1. I’m aware of this thread: Create a Windows XP user from a linux partition
But the solution posted for this one included changing the password, but what I’m facing won’t get fixed by changing the password.

2. This solution includes a way to fix it through registry. However, running «regedit» using wine from Ubuntu, I checked the «Profilelist» key in registry. Noticed that there are no sub-keys at all. Either they were deleted, or they don’t exist in Windows 8 (which is unlikely); which again, leads to my current solution: «Creating an entirely new user».

3. My windows 8 currently only loads into safe mode (sicne windows 8 doesn’t provide the good old F8 escape key), and I used «chntpw» to enable the Administrator account, to which I still failed to login and received the same User Profile error.

4. net.exe encounters some serious errors while being run through wine.

Community's user avatar

asked Jun 12, 2013 at 3:57

DarrenVortex's user avatar

2

If you can load to the log in screen, use Linux to rename the c:/windows/system32/sethc.exe file to c:/windows/system32/sethc2.exe, then rename cmd.exe to c:/windows/system32/sethc.exe.

when you get to the log on screen, press shift 5 times to engage stickykeys. instead of a sticky keys window, you’ll get an administrator command prompt. from that, you can use the net user «» command to set up a new user account.

answered Mar 4, 2016 at 5:01

Guest's user avatar

GuestGuest

711 silver badge2 bronze badges

3

You must log in to answer this question.

Not the answer you’re looking for? Browse other questions tagged

.

Asked

Viewed
2k times

Possible Duplicate:
Is it possible to run a command on windows server from Linux?

I have a stupid task (really stupid) — can i create windows user from linux machine.
We have next:
Linux with Samba (which mount windows partition with permission rwx)
and Windows 2008 server (mounting some linux folder as net disk).

Im dont see somethings before and therefore it is asking.
Can someone help?

Community's user avatar

asked Jun 27, 2012 at 8:54

Valintinr's user avatar

1

If your Samba install is in the same AD domain as the Server 2008 user, you can get around having to install cygwin. The command to do this is:

net ads user add username password

This will create a new AD user which then can be assigned access on the 2008 server.

answered Jun 27, 2012 at 14:15

sysadmin1138's user avatar

sysadmin1138sysadmin1138

133k18 gold badges176 silver badges300 bronze badges

2

Not the answer you’re looking for? Browse other questions tagged

.

If you can load to the log in screen, use Linux to rename the c:/windows/system32/sethc.exe file to c:/windows/system32/sethc2.exe, then rename cmd.exe to c:/windows/system32/sethc.exe.

when you get to the log on screen, press shift 5 times to engage stickykeys. instead of a sticky keys window, you’ll get an administrator command prompt. from that, you can use the net user «» command to set up a new user account.

Related videos on Youtube

Environment Variables : Linux Tutorial #11

05 : 08

Environment Variables : Linux Tutorial #11

Linux Training - HOW TO Create Users and Groups in Linux

10 : 08

Linux Training — HOW TO Create Users and Groups in Linux

Create a Bootable Windows USB on Linux 2021 Guide

06 : 58

Create a Bootable Windows USB on Linux 2021 Guide

Linux for Programmers #8 - Environment Variables On Linux

13 : 31

Linux for Programmers #8 — Environment Variables On Linux

Create Windows 8 User From Linux Environment

01 : 46

Create Windows 8 User From Linux Environment

Comments

  • I have a dual boot laptop with Win8 + Ubuntu installed on 2 separate partitions. Yesterday, as a result of a series of tweaking and things I shouldn’t have been doing, I’m facing the evil user profile service failed the logon. User profile cannot be loaded error on Win8, hence being unable to login to my windows system.
    Having Ubuntu as my guardian angel, I think creating a new user from the Linux system would be the easiest method to solve this problem. Any ideas on how to do this?

    Notes (The question ends here, this is just extra notes for clarifying the situation and reasoning my solution):
    1. I’m aware of this thread: Create a Windows XP user from a linux partition
    But the solution posted for this one included changing the password, but what I’m facing won’t get fixed by changing the password.

    2. This solution includes a way to fix it through registry. However, running «regedit» using wine from Ubuntu, I checked the «Profilelist» key in registry. Noticed that there are no sub-keys at all. Either they were deleted, or they don’t exist in Windows 8 (which is unlikely); which again, leads to my current solution: «Creating an entirely new user».

    3. My windows 8 currently only loads into safe mode (sicne windows 8 doesn’t provide the good old F8 escape key), and I used «chntpw» to enable the Administrator account, to which I still failed to login and received the same User Profile error.

    4. net.exe encounters some serious errors while being run through wine.

    • This not the error where it says «Temporary profile will be created»? Because thatb one usually resolves itself (just shut down and reboot).

    • No. I rebooted several times and nothing changes.

  • That’s actually a pretty clever workaround, but you probably want to COPY cmd, rather than just changing it outright.

  • Agreed — this is a beautiful workaround… it works perfectly on Windows 7, 8, and 10. And yes… copy the cmd rather than renaming it is a very good idea.

  • Can I use Narrator.exe if sticky keys are disabled?

Recents

Related

I have a dual boot laptop with Win8 + Ubuntu installed on 2 separate partitions. Yesterday, as a result of a series of tweaking and things I shouldn’t have been doing, I’m facing the evil user profile service failed the logon. User profile cannot be loaded error on Win8, hence being unable to login to my windows system.
Having Ubuntu as my guardian angel, I think creating a new user from the Linux system would be the easiest method to solve this problem. Any ideas on how to do this?

Notes (The question ends here, this is just extra notes for clarifying the situation and reasoning my solution):
1. I’m aware of this thread: Create a Windows XP user from a linux partition
But the solution posted for this one included changing the password, but what I’m facing won’t get fixed by changing the password.

2. This solution includes a way to fix it through registry. However, running «regedit» using wine from Ubuntu, I checked the «Profilelist» key in registry. Noticed that there are no sub-keys at all. Either they were deleted, or they don’t exist in Windows 8 (which is unlikely); which again, leads to my current solution: «Creating an entirely new user».

3. My windows 8 currently only loads into safe mode (sicne windows 8 doesn’t provide the good old F8 escape key), and I used «chntpw» to enable the Administrator account, to which I still failed to login and received the same User Profile error.

4. net.exe encounters some serious errors while being run through wine.

Если ваша установка Samba находится в том же домене AD, что и пользователь Server 2008, вы можете обойтись без установки cygwin. Для этого используется следующая команда:

net ads user add username password

Это создаст нового пользователя AD, которому затем может быть назначен доступ на сервере 2008 года.

ответ дан
3 December 2019 в 21:46

Ссылка

  • Create windows image windows 10
  • Creative sb1070 драйвер windows 10
  • Creative audigy se sb0570 sound card pci драйвер для windows 10 64 bit
  • Creative audigy sb0570 windows 7 driver
  • Create windows bootable usb from linux