Hacker News new | ask | show | jobs
by beAbU 1210 days ago
This issue has been bugging me since Windows 7.

Only "proper" solution is to /not/ sign into your MS account when seeting up the new machine for the first time. Create a local account with the name as you want it, and then only afterwards link it with your MS account (if you have to).

Only problem is, latest Win11 installer does not allow you to create a local account anymore at all. So you need to install Win10, do the work-around-dance, and then upgrade to Win11. I only relaized this after halway through my most recent format.

Every time when I ssh into one of my other boxen, I have to remember now to go 'SSH myname@ip' else windows helpfully defaults to 'mynam@IP'

3 comments

If you can't bypass the Win11 online account requirement by being offline during install, then try this:

In the "Let's connect you to a network" page, use these steps:

* Use the Shift + F10 keyboard shortcut to open Command Prompt.

* Type the following command to release the current network configuration and press Enter: oobe\bypassnro

Note: The command is a single phrase without spaces.

Note2: This will reboot the machine and restart the installer again (why?? because fu for not wanting a MS account that's why)

I just use a@a.com which is a locked account someone setup for this purpose. It kicks you to local user setup due to being locked.
Here's the way to do it in video form: https://youtu.be/EOUcvgqOV-0 (JayzTwoCents Youtube channel)
I tried exactly this process, and it did not work. The commands were not found by the command prompt. Possibly because I was installing Win11 Home?
I believe Rufus lets you bypass microsoft account setup on windows 11 when creating a bootable USB

https://rufus.ie/en/

In case that might help you:

You can create a file ".ssh/config" in your user directory, just like under linux, and inside of it put "User myname", and ssh will use that as a default and you won't have to specify it with @ everytime.