Skip to content

Instantly share code, notes, and snippets.

@mattmorganpdx
Last active June 5, 2026 18:21
Show Gist options
  • Select an option

  • Save mattmorganpdx/9c3ff7e46a1026ef15c4cd8a93e7db05 to your computer and use it in GitHub Desktop.

Select an option

Save mattmorganpdx/9c3ff7e46a1026ef15c4cd8a93e7db05 to your computer and use it in GitHub Desktop.
Proxmox Ephemeral Windows 11 First Boot Instructions

Proxmox Windows 11 / Tiny11 Local Account Bypass Playbook

Follow these steps immediately upon hitting the very first Windows setup screen (Language/Region selection) to create a local user and permanently disable the Out-of-Box Experience (OOBE) loop.


Step 1: Initialize the Local Profile Protocol

  1. Press Shift + F10 (or Fn + Shift + F10) to open the Command Prompt.

  2. Type the following command to launch the hidden local-only account creator, then hit Enter: start ms-cxh:localonly

  3. Complete the immediate prompts on screen to set your desired local Username and Password.

Step 2: Clear the Setup Flags & Nuke Ghost Profiles

Once the user profile is created, do not reboot or click Next. Click back into your black Command Prompt window (press Shift + F10 again if it closed) and run the following three commands to permanently kill the wizard sequence:

  1. Flag the machine setup as completely finished reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\OOBE /v SkipMachineOOBE /t REG_DWORD /d 1 /f

  2. Prevent the setup engine from intercepting the next boot reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\OOBE /v LaunchUserOOBE /t REG_DWORD /d 0 /f

  3. Delete the temporary setup account so it cannot hijack auto-login net user defaultuser0 /delete

Step 3: Final Safe Reboot

Execute a forced reboot from the command line to apply the modifications cleanly: shutdown /r /t 0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment