Solved What is "oobe\bypassnro"


Of all of all of the usual workarounds, the oobe\bypassnro is actually the official method introduced by MS at request from business IT depts as some pcs are air gapped for security reasons. Fortunately, MS never restricted it to Enterprise versions.
 

My Computer

System One

  • OS
    Windows 10 Pro + others in VHDs
    Computer type
    Laptop
    Manufacturer/Model
    ASUS Vivobook 14
    CPU
    I7
    Motherboard
    Yep, Laptop has one.
    Memory
    16 GB
    Graphics Card(s)
    Integrated Intel Iris XE
    Sound Card
    Realtek built in
    Monitor(s) Displays
    N/A
    Screen Resolution
    1920x1080
    Hard Drives
    1 TB Optane NVME SSD, 1 TB NVME SSD
    PSU
    Yep, got one
    Case
    Yep, got one
    Cooling
    Stella Artois
    Keyboard
    Built in
    Mouse
    Bluetooth , wired
    Internet Speed
    72 Mb/s :-(
    Browser
    Edge mostly
    Antivirus
    Defender
    Other Info
    TPM 2.0
That only comes up with windows pro. This is home... With pro, you don't need to run about script, it gives you the option to use offline account out of the box... I was replying to the context of the conversation... Using the oobe\bypassnro script
 

My Computer

System One

  • OS
    windows 11
That only comes up with windows pro. This is home... With pro, you don't need to run about script, it gives you the option to use offline account out of the box... I was replying to the context of the conversation... Using the oobe\bypassnro script
Not true with 22H2. 22H2 does not display an option to create a local account any longer, even with Pro. You need to use one of the "workarounds" now to do so.

Another method that works regardless of whether the edition is Home or Pro, network connected or not, is to use a simple unattended answer file. I say "simple" only because you don't need to perform a full unattended installation, you can use a short, simplified answer file that does nothing more than create a local user account. The rest of the installation can be a guided setup as usual if you so wish.
 

My Computers

System One System Two

  • OS
    Win11 Pro 23H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    Home Built
    CPU
    Intel i7-11700K
    Motherboard
    ASUS Prime Z590-A
    Memory
    128GB Crucial Ballistix 3200MHz DRAM
    Graphics Card(s)
    No GPU - CPU graphics only (for now)
    Sound Card
    Realtek (on motherboard)
    Monitor(s) Displays
    HP Envy 32
    Screen Resolution
    2560 x 1440
    Hard Drives
    1 x 1TB NVMe Gen 4 x 4 SSD
    1 x 2TB NVMe Gen 3 x 4 SSD
    2 x 512GB 2.5" SSDs
    2 x 8TB HD
    PSU
    Corsair HX850i
    Case
    Corsair iCue 5000X RGB
    Cooling
    Noctua NH-D15 chromax.black cooler + 10 case fans
    Keyboard
    CODE backlit mechanical keyboard
    Mouse
    Logitech MX Master 3
    Internet Speed
    1Gb Up / 1 Gb Down
    Browser
    Edge
    Antivirus
    Windows Defender
    Other Info
    Additional options installed:
    WiFi 6E PCIe adapter
    ASUS ThunderboltEX 4 PCIe adapter
  • Operating System
    Win11 Pro 23H2
    Computer type
    Laptop
    Manufacturer/Model
    Lenovo ThinkBook 13x Gen 2
    CPU
    Intel i7-1255U
    Memory
    16 GB
    Graphics card(s)
    Intel Iris Xe Graphics
    Sound Card
    Realtek® ALC3306-CG codec
    Monitor(s) Displays
    13.3-inch IPS Display
    Screen Resolution
    WQXGA (2560 x 1600)
    Hard Drives
    2 TB 4 x 4 NVMe SSD
    PSU
    USB-C / Thunderbolt 4 Power / Charging
    Mouse
    Buttonless Glass Precision Touchpad
    Keyboard
    Backlit, spill resistant keyboard
    Internet Speed
    1Gb Up / 1Gb Down
    Browser
    Edge
    Antivirus
    Windows Defender
    Other Info
    WiFi 6e / Bluetooth 5.1 / Facial Recognition / Fingerprint Sensor / ToF (Time of Flight) Human Presence Sensor
I just did a test install of pro to confirm, you CAN get local account on pro. Choose Work, then click Sign in Options, next choose "Domain", and it will take you to closing a local account user and password.

Of course, these options are missing from home. And home is where I also can't get any work-arounds to work, now that I've updated my installer to 22h2... I used to be able to boot install with Ethernet cable connected, then disconnect it during user setup and it would say, oops, something went wrong. Then it would send me to local account user...
 

My Computer

System One

  • OS
    windows 11
I used to be able to boot install with Ethernet cable connected, then disconnect it during user setup
When clean installing don't connect the WiFi when asked to, instead use bypassnro at this point.
 

My Computers

System One System Two

  • OS
    Windows 11 Home
    Computer type
    Laptop
    Manufacturer/Model
    Acer Aspire 3 A315-23
    CPU
    AMD Athlon Silver 3050U
    Memory
    8GB
    Graphics Card(s)
    Radeon Graphics
    Monitor(s) Displays
    laptop screen
    Screen Resolution
    1366x768 native resolution, up to 2560x1440 with Radeon Virtual Super Resolution
    Hard Drives
    1TB Samsung EVO 870 SSD
    Internet Speed
    50 Mbps
    Browser
    Edge, Firefox
    Antivirus
    Defender
    Other Info
    fully 'Windows 11 ready' laptop. Windows 10 C: partition migrated from my old unsupported 'main machine' then upgraded to 11. A test migration ran Insider builds for 2 months. When 11 was released on 5th October it was re-imaged back to 10 and was offered the upgrade in Windows Update on 20th October. Windows Update offered the 22H2 Feature Update on 20th September 2022. It got the 23H2 Feature Update on 4th November 2023 through Windows Update.

    My SYSTEM THREE is a Dell Latitude 5410, i7-10610U, 32GB RAM, 512GB ssd, supported device running Windows 11 Pro (and all my Hyper-V VMs).

    My SYSTEM FOUR is a 2-in-1 convertible Lenovo Yoga 11e 20DA, Celeron N2930, 8GB RAM, 256GB ssd. Unsupported device: currently running Win10 Pro, plus Win11 Pro RTM and Insider Beta as native boot vhdx.

    My SYSTEM FIVE is a Dell Latitude 3190 2-in-1, Pentium Silver N5030, 4GB RAM, 512GB NVMe ssd, supported device running Windows 11 Pro, plus the Insider Beta, Dev, and Canary builds as a native boot .vhdx.
  • Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Dell Lattitude E4310
    CPU
    Intel® Core™ i5-520M
    Motherboard
    0T6M8G
    Memory
    8GB
    Graphics card(s)
    (integrated graphics) Intel HD Graphics
    Screen Resolution
    1366x768
    Hard Drives
    500GB Crucial MX500 SSD
    Browser
    Firefox, Edge
    Antivirus
    Defender
    Other Info
    unsupported machine: Legacy bios, MBR, TPM 1.2, upgraded from W10 to W11 using W10/W11 hybrid install media workaround. In-place upgrade to 22H2 using ISO and a workaround. Feature Update to 23H2 by manually installing the Enablement Package. Also running Insider Beta, Dev, and Canary builds as a native boot .vhdx.

    My SYSTEM THREE is a Dell Latitude 5410, i7-10610U, 32GB RAM, 512GB ssd, supported device running Windows 11 Pro (and all my Hyper-V VMs).

    My SYSTEM FOUR is a 2-in-1 convertible Lenovo Yoga 11e 20DA, Celeron N2930, 8GB RAM, 256GB ssd. Unsupported device: currently running Win10 Pro, plus Win11 Pro RTM and Insider Beta as native boot vhdx.

    My SYSTEM FIVE is a Dell Latitude 3190 2-in-1, Pentium Silver N5030, 4GB RAM, 512GB NVMe ssd, supported device running Windows 11 Pro, plus the Insider Beta, Dev, and Canary builds as a native boot .vhdx.
I just did a test install of pro to confirm, you CAN get local account on pro. Choose Work, then click Sign in Options, next choose "Domain", and it will take you to closing a local account user and password.
Yes, that is one of the "workarounds". The point is that it doesn't make that choice obvious. Also, be aware that this option only works if you have an Internet connection.
 

My Computers

System One System Two

  • OS
    Win11 Pro 23H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    Home Built
    CPU
    Intel i7-11700K
    Motherboard
    ASUS Prime Z590-A
    Memory
    128GB Crucial Ballistix 3200MHz DRAM
    Graphics Card(s)
    No GPU - CPU graphics only (for now)
    Sound Card
    Realtek (on motherboard)
    Monitor(s) Displays
    HP Envy 32
    Screen Resolution
    2560 x 1440
    Hard Drives
    1 x 1TB NVMe Gen 4 x 4 SSD
    1 x 2TB NVMe Gen 3 x 4 SSD
    2 x 512GB 2.5" SSDs
    2 x 8TB HD
    PSU
    Corsair HX850i
    Case
    Corsair iCue 5000X RGB
    Cooling
    Noctua NH-D15 chromax.black cooler + 10 case fans
    Keyboard
    CODE backlit mechanical keyboard
    Mouse
    Logitech MX Master 3
    Internet Speed
    1Gb Up / 1 Gb Down
    Browser
    Edge
    Antivirus
    Windows Defender
    Other Info
    Additional options installed:
    WiFi 6E PCIe adapter
    ASUS ThunderboltEX 4 PCIe adapter
  • Operating System
    Win11 Pro 23H2
    Computer type
    Laptop
    Manufacturer/Model
    Lenovo ThinkBook 13x Gen 2
    CPU
    Intel i7-1255U
    Memory
    16 GB
    Graphics card(s)
    Intel Iris Xe Graphics
    Sound Card
    Realtek® ALC3306-CG codec
    Monitor(s) Displays
    13.3-inch IPS Display
    Screen Resolution
    WQXGA (2560 x 1600)
    Hard Drives
    2 TB 4 x 4 NVMe SSD
    PSU
    USB-C / Thunderbolt 4 Power / Charging
    Mouse
    Buttonless Glass Precision Touchpad
    Keyboard
    Backlit, spill resistant keyboard
    Internet Speed
    1Gb Up / 1Gb Down
    Browser
    Edge
    Antivirus
    Windows Defender
    Other Info
    WiFi 6e / Bluetooth 5.1 / Facial Recognition / Fingerprint Sensor / ToF (Time of Flight) Human Presence Sensor
Hi there
If you just want to skip the Internet thing just to avoid having to use an Ms account then (OK you still need internet) but the old rubbish email address and password still works OK -- you'll get "OOPS something went wrong" and then you can select next and it carries on setting up as a local account. (Nobody@nobody.com with pw Boll--ks works).

I'm not sure though how people in future are expected to install this stuff on "secure" systems which for one reason or other aren't allowed access to the Internet,

Cheers
jimbo
 

My Computer

System One

  • OS
    Windows XP,7,10,11 Linux Arch Linux
    Computer type
    PC/Desktop
    CPU
    2 X Intel i7
Will this OOBE\BYPASSNRO method still work in my use case.
I cannot go up to 22H2 just now as it breaks things on my pc. I have a new ssd I want to clean install Win11 on, I have an old USB drive with the original version of Win11 on it. Will this workaround let me install Win11 offline, then go online with my MS account, and get updates excluding 22H2?
I rolled-back 22H2 to the previous version as I had that option, but a clean install won't have that, and I assume an internet connection will automatically put me on 22H2.
 

My Computer

System One

  • OS
    Windows 11 Pro
    Computer type
    PC/Desktop
    Manufacturer/Model
    Self Build
    CPU
    AMD Ryzen 2600
    Motherboard
    Gigabyte
I was installing a brand new laptop with Windows 11 and happened to appear the Connect to a Network dialog.
I pressed F10 to open the command prompt and typed OOBE\BYPASSNRO.
It returned "OOBE is not recognized as an internal or external command" I felt disappointed thinking Microsoft changed or didn't include it anymore on new equipment.
I also thought it was actually a command but thanks to this post, I navigated to the OOBE path and ran the Bypassnro.cmd script.

Thanks a lot! (y)
:-)
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    Self
    CPU
    AMD Ryzen 7 5700G
    Motherboard
    ASUS ROG STRIX B450-F GAMING II
    Memory
    16GB DDR4-3200MHz
    Graphics Card(s)
    AMD Radeon Vega
    Monitor(s) Displays
    ASUS VA24E & HP 24x
    Keyboard
    Logitech MX Keys
    Mouse
    Logitech MX Master 3
    Internet Speed
    200Mbps
When installing Windows 11, if you want to get around having to connect to the internet and login with a MS account, you can enter the command prompt and run:
oobe\bypassnro

I always thought oobe was the command and \bypassnro was an option switch, and I found it completely odd there was no space in there. I was wrong. The command prompt opens in C:\Windows\System32. In \Windows\System32, is a folder called oobe. And inside the oobe folder is bypassnro.cmd. So, that is what you are running with the command oobe\bypassnro.

The bypassnro.cmd is a script which contains:
@echo off
reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\OOBE /v BypassNRO /t REG_DWORD /d 1 /f
shutdown /r /t 0

So, it is really a registry key that causes oobe to not require a network, and then subsequently allow you to create a local account on a clean install.
On some HP models, the OOBE is actually MSOOBE, in the c:\windows\system32\OOBE directory.
If you type in the OOBE /bypassnro, it will simply tell you that the file or directory does not exist.
If you type in MSOOBE /bypassnro, it will work.
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
On some HP models, the OOBE is actually MSOOBE, in the c:\windows\system32\OOBE directory.
If you type in the OOBE /bypassnro, it will simply tell you that the file or directory does not exist.
If you type in MSOOBE /bypassnro, it will work.
Is the script itself still the same?

I've passed Brink a link to your post along with the suggestion that your information is included in the Clean install tutorial.

Denis
 

My Computer

System One

  • OS
    Windows 11 Home x64 Version 23H2 Build 22631.3447
Is the script itself still the same?

I've passed Brink a link to your post along with the suggestion that your information is included in the Clean install tutorial.

Denis
I'd also like to add, that on the HP in question, while you are in the command line, go ahead and drop a net user owner /add to the deal, to prevent it from creating a "generic" account upon reboot, and telling you the password is incorrect.
If you create a user with no password at the command line, it will boot straight into the new profile.
I ended up using a bootable utilities disk, from sergeistrelec.name, and the password unlocker program on the machine, to create a new profile, and wipe the password from the $DefaultProfile that the machine made upon reboot.
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
It can bypass network sign-in during Windows setup which also allows you to create a local account rather than a Microsoft account.
 

My Computer

System One

  • OS
    Windows 11 Pro for Workstations
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom Built (ASUS, Intel, Nvidia, Creative Labs, Corsair, Seasonic, Lian Li)
    CPU
    Intel® Core™ i9-9900K
    Motherboard
    ASUS ROG MAXIMUS XI EXTREME
    Memory
    Corsair Vengeance RGB Pro 128GB (4x32GB) ‎CMW128GX4M4E3200C16
    Graphics Card(s)
    Nvidia GeForce RTX 3080 TI Founders Edition
    Sound Card
    Creative Sound Blaster AE-9
    Monitor(s) Displays
    MSI Creator PS321URV 32 Inch HDR600
    Screen Resolution
    3840 x 2160 (4K)
    Hard Drives
    Samsung 970 Pro 1TB
    Samsung 980 Pro 1TB
    PSU
    Seasonic Prime TX 1000
    Case
    Lian Li 011 Dynamic XL ROG Edition
    Cooling
    ASUS ROG STRIX LC II 360 ARGB AIO, 10x UNI FAN SL-INFINITY Fans
    Keyboard
    Razer Huntsman Elite (Silent keys)
    Mouse
    Logitech MX Master 3s
    Internet Speed
    500 Mb/s Down and 20 Mb/s Up
    Browser
    Microsoft Edge
    Antivirus
    Windows Defender
    Other Info
    Speakers: Vanatoo Transparent One Encore with a REL HT/1003 Subwoofer
Back
Top Bottom