MusaRai
DavidXanatos
DavidXanatos

patreon


SkipOOBE.cmd Script

Since starting with 24H2 the build in OOBE\BypassNRE method no longer works to install windows with a local account, I have created a script which allows to bypass the entire useless OOBE and directly boot into the Administrator account.

https://raw.githubusercontent.com/DavidXanatos/SysPrep/main/Scripts/SkipOOBE.cmd
After windows setup once booted into the new installation and the OOBE wants to annoy you and force you to sign up for a online account, you can instead press SHIFT+F10 to open a command prompt and from there run the script, for example from a USB stick.

The script will reboot the PC into setup mode apply a few registry tweaks and the reboot again directly into the built in administrator account, from there you can easily create a user account for your everyday use.

BTW: I'll use the repository to publish a few more useful scripts for preparing a new windows 10/11 installation for use by responsible adults whom don't need to be patronized by MSFT or other corporation ;)

Comments

Thanks for this. I can't believe it's come to this with windows. F$#*ing Microsoft.

Naugahyde

This looks good, but the command-line argument on the line: reg add "HKEY_LOCAL_MACHINE\SYSTEM\Setup" /v CmdLine /t REG_SZ /d "C:\Windows\Temp\SkipOOBE.cmd install" /f Should propably be called "SkipOOBE.cmd execute", instead of "SkipOOBE.cmd install". Because, when you check for arguments at the beginning: if "%~1"=="" goto install You're going to the "install" section, when no parameters are present, and you're going to the "execute" section whenever a parameter IS present. So, I mean, your code works, but the terminology is inconsistent from it's behavior.

Samuel Tekrenius


More Creators & Models