8 ms·
For those who care at the first setup screen instead of answering any of the questions press Shift + F10 CMD will open Type (no quotes) “net user Preffereduse
by Brett_Riverboat 11mo ago
For those who care at the first setup screen instead of answering any of the questions press Shift + F10
CMD will open
Type (no quotes) “net user Prefferedusername /add” (replacing Prefferedusername with the user name you wish to use) and press enter.
Next type “net localgroup administrators Prefferedusername /add” and press enter.
Next type “net user Prefferedusername /active:yes” and press enter.
Next type “net user Prefferedusername /expires:never” and press enter.
Next type “net user administrator /active:no” and press enter.
Next type “net user defaultUser0 /delete” (this is case sensitive make sure the "U" is capitalized) and press enter.
Next type "regedit" and press enter.
This opens registry editor, navigate to "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\OOBE"
Delete "DefaultAccountAction", "DefaultAccountSAMName", and "DefaultAccountSID"
Right click on "LaunchUserOOBE" and rename it to "SkipMachineOOBE" and make sure the value is set to "1".
Close registry editor and type "shutdown /r /t 0"
- huflungdung 11mo ago[dead]
- xd1936 11mo agoThere's that Microsoft UX we know and love!
- esbeeb 11mo agoPeople complain about how they hate to use the command line in Linux. But they don't similarly complain about these ultra obscure, ugly commands. When Microsoft necessitates commands, somehow it's different.
- mcintyre1994 11mo agoYou're not supposed to do this, this is to get around a restriction on installing Windows 11 on certain hardware. If your computer is supported and you install it the way Microsoft wants you to, then you won't be typing any commands anywhere.
- mikkupikku 11mo ago> You're not supposed to do this, Clearly. You're not supposed to own your computer, you're supposed to be a docile loyal rentoid.
- greensoap 11mo agoGenerally curious, I don't see anything about hardware. Isn't this is about making a login that doesn't require you to login to MS's cloud. Also, what HW restriction does Microsoft want? Why do they care?
- mcintyre1994 11mo agoWindows 11 requires TPM 2.0, that's the actual reason a massive number of PCs can't update to it. There's apparently some way you can hack around that and install it. I assumed that's what these videos were about. But from the reddit post it looks like it's talking about both that and the account login issue which I wasn't familiar with. > including how to install Windows 11 without logging into a Microsoft account and how to install Windows 11 on unsupported hardware.
- Brett_Riverboat 11mo agoYes this is about a local login, it has nothing to do with hardware.
- 4ggr0 11mo ago> If your computer is supported That's not really the use-case for this. It's not possible anymore to use Windows with a local account (for a long time), the official UI only lets you login with a Microsoft Account. These commands are not used to install Windows on an unsupported PC, they're being used to create a local-only account. I for one still got a Windows boot partition next to my Linux, but I refuse to create an account for it. The only way I can install Windows on my supported PC with a local account is by using these commands. You used to be able to just press a small button. Then you had to disconnect the LAN cable and not connect a WLAN to create a local account. Then you had to open the Commandline and execute a single command. Now we're at the point where you have to execute multiple commands. If they actually manage to make it impossible to use Windows local-only, that will truly be the nail in the coffin for me. Currently use Windows to play games which aren't supported on Linux, but this will turn into a hate_for_online_forcing > appreciation_for_kernel_level_anticheat_shitgames.
- antisthenes 11mo agoYou didn't have to use to do this to your OS when Windows was still good. It's only the absolute shitfest that Win 10/11 ended up being that you have to conjure 300 arcane powershell commands just to get the OS to resemble a productive environment.
- broast 11mo agoI think every single Windows release has necessitated some registry hacks to bring back useful features from the previous version
- antisthenes 11mo agoYes, but more and more every version. Especially true since they ended the service pack model. Continuous updates and hostile feature pushing is absolute cancer.
- nonethewiser 11mo agoDo people complain about that? Like, life long windows/mac users who aren't interested in linux I guess? I always thought people loved being able to do everything from the command line.
- dylan604 11mo ago> People complain about how they hate to use the command line in Linux They do? How else does one use Linux if not via CLI? You mean those kiddies that like GNOME/KDE? pfffft, they're not "using" Linux. They're just using Linux to run other apps no different than using a ChromeBook
- eighthourblink 11mo agohmmm, news to me. i thought i used Linux all these years, but i guess i dont.
- 1718627440 11mo agoUnless you are somehow manually issuing syscalls, you aren't "using" Linux either. I guess you mostly use GNU/Linux.
- imiric 11mo ago... Or as I've recently taken to calling it, GNU plus Linux.
- samgranieri 11mo agoOr GNU / Systemd / Linux
- vpShane 11mo agoI learned bash and then needed to use powershell once later down the road; that was.. that was bad. Not bad for me, was actually great for me because now I just main Linux; but powershell, while I get it... don't do that to people.
- larrik 11mo ago"Linux is too hard for people"
- conartist6 11mo agoTake it down before Windows is ruined for everyone! Show not the devil's commands! All hail our Lord and Savior, constant surveillance without consent!
- mcintyre1994 11mo agoTo play devil's advocate, I'm guessing if you can get users to type stuff they don't understand into cmd and regedit then you can do some pretty damaging stuff. I can see why google would be concerned about malicious versions of these videos being posted, and being difficult to differentiate quickly from ones with the legitimate instructions. Or if those malicious videos were posted and reported, then I can see why a fairly dumb AI system would see the similar legitimate ones as the same thing. Probably a particularly bad scenario for automated moderation.
- antiloper 11mo agoThen maybe Microsoft should add a "Use local account" checkbox to the installation screen.
- AlexandrB 11mo agoWhat you're describing applies to just about every programming tutorial out there.
- nonethewiser 11mo ago>To play devil's advocate, I'm guessing if you can get users to type stuff they don't understand into cmd and regedit then you can do some pretty damaging stuff Are you just playing devils advocate or do you actually believe this?
- antiloper 11mo ago[flagged]
- ceejayoz 11mo agoIn the early 2000s a newbie to our forums got computer advice to do something nasty to their BIOS. Months later they came back incandescent with anger. It happens.
- cwillu 11mo agoAnd? Is your answer to “some people gave malicious advice on the internet” _really_ to outlaw giving _any_ advice on the internet?
- chkaloon 11mo agoLAN Manager legacy still hanging around after 40+(?) years
- totetsu 11mo agoSo setting up windows is just like what I studied for that redhat cert now.
- mapcars 11mo agoUpvoting before it gets deleted /sarcasm
- nonethewiser 11mo agoWhat does this accomplish?
- Brett_Riverboat 11mo agogets you a local account
- MattTheRealOne 11mo agoIt lets you use your computer without requiring a Microsoft account.
- saghm 11mo agoI guess I'm old and out of touch after only a bit over three decades, because I can't figure out why this would helpful to have as a video in the first place over the text summary you posted here. I could see screenshots maybe being slightly helpful, but to having this sort of thing as a video feels like an extreme inconvenience; I'd much rather see all of it at once and be able to visually scan (or even better, ctrl+f) to find specific parts over having to scrub around if I wanted to go back to a previous part or skip ahead. My eyes also don't require any sort of manual timing to pause on something I want to copy.
- duxup 11mo agoYoutube creators want to cover this, youtube is their chosen path, so video it is. Not so much about the best way to communicate as much as the creators see it as their best option, for them. I've seen a lot of tutorials that really just seem to be infotainment / social media news. Often forgetting critical steps and describing why you do a thing incorrectly. It's frustrating.
- moate 11mo agoExactly this. If I have 100,000 followers on YT for my software related content, why wouldn't I use that platform to post my content? Some people are also visual more visual learners and while straight text is helpful, having a trusted source going screen by screen/prompt by prompt and comparing to their machine is helpful. So it's both content and communication preferences. HN is a self-selecting group of a certain type, but not everyone on the planet thinks like the average HN dude
- dylan604 11mo agoJust yesterday there was a post to one of Geerling's pages where he posts the transcript to a video he's made. He could have just made a text blog and not spent the extra effort of making a video, but that's not what he does. Instead, he went the extra step to make the content available in text only. He could have just as easily left it as video only. (yes yes, creating a text only transcript of video in today's world is trivial, but an extra step nonetheless as it still needs to be added to his CMS to make the webpage)
- spacechild1 11mo agoThis is ridiculous! I'm still on Windows 10 Pro without a Microsoft Account. Back then I had to jump some hoops, but it wasn't that bad. Seems like they really doubled down with Windows 11.
- lelanthran 11mo agoWhat is the singular goal of doing all that? Avoid online-only accounts?
- mrguyorama 11mo agoI have a microsoft account. I made it for Windows Live to play Halo 2 for Windows Vista back in the day. Except, then Microsoft adjusted their account infrastructure, and now it's also an Xbox Live account. Then it became also a Windows Messenger account. Then it was required to login to Visual Studio. Then it ate my perfectly working Mojang account. Now I need it to install stuff from the Windows store like the damn Windows debugger you use to analyze BSOD dump files I do not want my computer preferences saved across machines. I want to set up each computer separately. I do not want cortana. I do not want to connect my local computer to my account. I gain nothing by using my microsoft account to log in to my local computer. The singular goal is that I just want to use my damn computer, to do local computer things.
- kirb 11mo agoNote: A Microsoft account isn’t required to download free apps from the Store, it works fully without extra prompts on a local account. (I like that it works this way, because it means you can install Firefox on a fresh install of Windows without even once opening Edge.)
- jazzyjackson 11mo agoMicrosoft has also implemented a package manager since a few years ago, winget, so now you can winget install -e --id Mozilla.Firefox
- 1718627440 11mo agoHas Microsoft removed the option to disable Microsoft Accounts via the Group Policy Editor?
- quinndexter 11mo ago
- Brett_Riverboat 11mo agoA few typos were brought to my attention in my previous comment and as the time frame to edit it has passed I am replying with the required edits so that if anyone does want to attempt this they don't have to wonder what went wrong I originally had “ net user Prefferedusername/active:yes” but there should have been no space before "net" and I should have put a space before the "/" after prefferedusername. so the corrected instructions are below. (hopefully without typos this time) at the first setup screen instead of answering any of the questions press Shift + F10 CMD will open Type (no quotes) “net user Prefferedusername /add” (replacing Prefferedusername with the user name you wish to use) and press enter. Next type “net localgroup administrators Prefferedusername /add” and press enter. Next type “net user Prefferedusername /active:yes” and press enter. Next type “net user Prefferedusername /expires:never” and press enter. Next type “net user administrator /active:no” and press enter. Next type “net user defaultUser0 /delete” (this is case sensitive make sure the "U" is capitalized) and press enter. Next type "regedit" and press enter. This opens registry editor, navigate to "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\OOBE" Delete "DefaultAccountAction", "DefaultAccountSAMName", and "DefaultAccountSID" Right click on "LaunchUserOOBE" and rename it to "SkipMachineOOBE" and make sure the value is set to "1". Close registry editor and type "shutdown /r /t 0"
- yohbho 11mo agoGood guide, thanks! präferiert (dt.) is often pronounced praefferiert in my head, too, but it is always written with only one f, in german and in english.
- OptionOfT 11mo agoAnd this actually makes sure that the folder in `C:\Users\<username>` matches your username and does not become `firstname000` like Microsoft does.
- auguzanellato 11mo agoDo people actually do this instead of just switching to linux? I thought Windows was the "user friendly" choice
- dingaling 11mo agoWindows will never succeed on the desktop if it relies on arcane CLI configuration...
- anticensor 11mo ago> Next type “net user administrator /active:no” and press enter. > Next type “net user defaultUser0 /delete” (this is case sensitive make sure the "U" is capitalized) and press enter. Why do we have to delete them?
- Brett_Riverboat 11mo agodefaultUser0 is used by windows for the OOBE if you don't delete it along with the registry keys it will just boot back to the OOBE again. defaultUser0 gets removed by the OOBE after setup leaving your system vulnerable. The administrator account is a built in account that is disabled by default but won't be disabled if you completely bypass the OOBE or don't use the old local account setup which you no longer can do because of microsofts removal of the feature.
- anticensor 11mo agoWhy not use with Administrator enabled but with a password and at highest UAC setting so that you'd still get a modal?
- t0bia_s 11mo agoToo complex. Download .iso of LTSC version of Win. Make bootable install disk via Rufus and tick options to create local account during install. Install Win from created bootable device. Done.
- nothercastle 11mo agoNot all heroes wear capes. You are a local hero
- Brett_Riverboat 11mo agoHey thanks, I needed a little boost today. You have been my little ray of light in a sea of darkness.
- neuralRiot 11mo agoOr use Rufus to create the install media, it will ask you what mods you want applied, after installing run win11 debloater, it will ask you what mods you want to apply. Then if you’re a sane person that just doesn’t want to learn to navigate your OS with every update, install openshell.
- StoneWhisper 11mo agoI found an Italian website that offers this and other procedures. To automate the modification, it suggests pressing SHIFT+F10 and then using the built-in Windows curl command to download a simple cmd script: https://www.ilsoftware.it/focus/windows-11-con-account-locale-e-senza-connessione-i-trucchi-che-funzionano-e-quelli-non-piu-validi/ https://www.ilsoftware.it/focus/windows-11-con-account-local... The cmd file can be run with the no-oobe username option, allowing you to choose the name of the local user account to be created. I hope this is helpful.
- Brett_Riverboat 11mo agoNice find. Those sort of thing always make me nervous however because it's not easy for the average user to tell if its running any sort of malicious scripts in the process. This one seems to be safe and I'm going to give it a try to see what happens. The article also suggests that "reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\OOBE /v BypassNRO /t REG_DWORD /d 1" still works as well which would be even better because thats local and easier to verify its integrity. that being said I think these are both valid suggestions if they work and I'm going to give them a try.
- StoneWhisper 11mo agoYes, before running anything, you need to analyze the source. Still, I trust it: it works well, and as the Italian website indicates, you just need to check the linked .cmd file via the URL shortening to see exactly what it does. This should be done before downloading it with curl and before executing it as a .cmd file. The no-oobe solution also has the advantage of allowing the bypass of the entire OOBE phase.
- ThePowerOfFuet 11mo agoOr just install Fedora Kinoite and don't look back.
- nilslindemann 10mo agoIf this Hack is necessary to use Windows 11 without registering online, then there will never be a Windows 11 for me.