My computer has accumulated some cruft that’s making it hard to manage, and resetting the PC seems like the most straightforward way to deal with it. I already have all my important files saved elsewhere. I also wanted to see if I could kill two birds with one stone and rid myself of the dependence on an MS account. I’ve seen there’s some terminal stuff you can do when installing Windows fresh that bypasses the mandatory account creation, but does that still work when resetting? Especially when resetting from the cloud?

And because someone is going to say “Just use Linux”, believe me, I’d love to, but the user experience sucks for literally anyone who isn’t a software developer and the accessibility has actually gotten worse over the 15 years I’ve tried to use it.

  • phanto@lemmy.ca
    link
    fedilink
    arrow-up
    57
    ·
    1 day ago

    Reset, once it’s done downloading (if you go cloud), pull your network cable. When it gets to “let’s get you online” hit shift f-10 which pulls up the terminal window. Type oobe\bypassnro and hit enter. Stay offline, and get back to the same spot in the install process but this time you’ll have a “I don’t have internet” link as an option. It’ll protest, but you can then move forward with a local account. I literally did it yesterday.

    Once you have a local account built, Windows will give you “sign in” alerts in settings and in security.

    Just for the record, I use Linux. I do however work in a Windows shop and understand that “just use Linux” isn’t at all helpful when someone asks a Windows question.

      • phanto@lemmy.ca
        link
        fedilink
        arrow-up
        2
        ·
        5 hours ago

        Hehe… Try installing VMware Player or Genshin Impact in Fedora! (Those are my two most recent headaches.) Any OS can be a pain, it just seems like Linux is getting friendlier every year and Microsoft becomes more overtly the enemy.

        • ☂️-@lemmy.ml
          link
          fedilink
          arrow-up
          1
          ·
          45 minutes ago

          to be fair genshin impact is supposed to have an anticheat that blocks it from running at all, no?

          at this point most linux issues comes from external factors, where on windows everything is tailor-made for it and windows itself breaks.

          dunno about vmware though, i tend to use the native options that work exceptionally well.

          • phanto@lemmy.ca
            link
            fedilink
            arrow-up
            1
            ·
            32 minutes ago

            Yeah, I would do the same… Loving toolbox! I have to support some clients with VMWare though…

    • kernelle@lemmy.dbzer0.com
      link
      fedilink
      arrow-up
      12
      arrow-down
      1
      ·
      edit-2
      20 hours ago

      BypassNRO was removed from system files in 25H2 last year, unless you happened to be served an old ISO this won’t work anymore.

      This is what I’ve been using since:

      • Complete the initial Windows 11 install and restart your PC.
      • When you reach the Secondary Keyboard Layout screen (before the Microsoft Account sign-up stage), press Shift + F10
      • In the console, type the command: start ms-cxh:localonly
      • Hit Enter, then press Escape to close the console.

      You can also use Rufus to make a setup drive which preconfigures the local account. This method and others are described in this article.

      PS: It still works if you copy the BypassNRO.cmd file from an old system to a new one when you’re in OOBE mode (Ctrl+Shift+F3) during setup. It’s just a powershell command that sets a registery key and reboots.

      • some_kind_of_guy@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        15 minutes ago

        This is odd because just yesterday I used it to reluctantly install Win11 as a quarantined VM for my lovely but stubbornly insistent wife. It was a tiny11 iso, though, so maybe it gets added back during image creation?

      • phanto@lemmy.ca
        link
        fedilink
        arrow-up
        2
        ·
        19 hours ago

        Huh, that’s weird that I’ve been able to use the bypass NRO trick pretty consistently at work and at home… I should have mentioned the Rufus thing too, but he was doing this as a reset, not as a new install, so I didn’t.

          • phanto@lemmy.ca
            link
            fedilink
            arrow-up
            2
            ·
            5 hours ago

            I just got top work and asked a senior tech: 24H2 + a 25H2 enablement package to make bypassnro still work for us. Geez.

            • kernelle@lemmy.dbzer0.com
              link
              fedilink
              arrow-up
              1
              ·
              5 hours ago

              Honestly I have no idea how they keep getting away with adding more and more hurdles for local account creation. Literally no other OS for mobile or PC has this.

              I’ve seen anything from devices with a local account automatically enabling bitlocker with no way of recovering if bitlocker trips to devices with an MS account tripping bitlocker only to find out the recovery keys are not saved to the MS account, absolutely bonkers.

      • Pika@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        6
        ·
        22 hours ago

        I want to reiterate the importance of the “pull the network cable” part. If you fail to unplug the cable before the setup wizard detects that there is the possibility of a network connection, on some systems it will actually prevent you from making a local account altogether, as it will force you to connect to a network which will skip the shift-f10 step.

        We had this issue setting up demo models on laptops for awhile, if you didn’t disable the wifi adapter before it saw there was networks available(even if they were password protected) it would require a second factory reset to even get to the point where it would let you setup a local account.

        • some_kind_of_guy@lemmy.world
          link
          fedilink
          arrow-up
          1
          ·
          13 minutes ago

          Fyi you can join a network and go up to the point of Microsoft login, then use start ms-cxh:localonly to force local account creation

        • early_riser@lemmy.worldOP
          link
          fedilink
          arrow-up
          1
          ·
          edit-2
          22 hours ago

          I always disable the card in the BIOS before I do anything that requires it to be disconnected. In this case I had both an Ethernet adapter and WiFi radio. Both were disabled and I’m currently typing from my newly decrappified and locally managed system.

          Here are my exact steps:

          1. go to “reset this PC”
          2. select the cloud install
          3. select the option to erase everything
          4. wait for the installer to download. The machine will restart. In my case my Windows bootloader is broken and it tries to boot using GRUB. I haven’t figured out how to fix it including “fix boot” or whatever the recovery option is, but that’s neither here nor there. I rebooted from GRUB, went into the BIOS, and disabled all networking hardware (Ethernet and WiFi).
          5. Rebooted again (I have to manually go into the one time boot menu every time) and go into Windows. Once it gets to the “Let’s get you connected” screen, I pressed shift+F10, then entered oobe\bypassnro.
          6. The computer immediately rebooted and started the install wizard again (asking about keyboard layouts and such).
          7. On the “Let’s get you connected” screen, there was now a tiny unhighlighted option I don't have internet. I clicked it and it let me create a local account.