Stuck in a loop with “Windows could not complete the installation. To install Windows on this computer, restart the installation”? Here’s how to fix it.
Why This Happens
- Installation interrupted during setup
- User account creation failed
- Sysprep or imaging issues
- Corrupted Windows installation
- Driver conflicts during setup
Quick Fixes
Fix 1: Open Command Prompt
At the error screen:
- Press Shift + F10
- Command Prompt opens
- Use methods below
Fix 2: Run OOBE Again
- At error, press Shift + F10
- Type:
msoobe.exe - Press Enter
- Setup wizard should appear
- Complete user account setup
Fix 3: Restart Setup
- Shift + F10 for Command Prompt
- Type:
cd oobe - Press Enter
- Type:
msoobe - Press Enter
Enable Administrator Account
Activate Hidden Admin
- At error screen, press Shift + F10
- Type these commands:
net user Administrator /active:yes - Press Enter
- Type:
shutdown /r /t 0 - Computer restarts
- Log in as Administrator
- Create your user account normally
Set Administrator Password
Optional - set password:
net user Administrator YourPassword
MMC Method
Open Computer Management
- Shift + F10 at error
- Type:
mmc - Press Enter
- File > Add/Remove Snap-in
- Add “Local Users and Groups”
- Expand Users
- Right-click Administrator > Properties
- Uncheck “Account is disabled”
- OK and restart
Registry Fix
Modify Setup Registry
- Shift + F10 for Command Prompt
- Type:
regedit - Navigate to:
HKEY_LOCAL_MACHINE\SYSTEM\Setup\Status\ChildCompletion - Find setup.exe
- Change value from 1 to 3
- Close registry
- Type:
shutdown /r /t 0 - Restart
Alternative Registry Path
- In Registry Editor
- Navigate to:
HKEY_LOCAL_MACHINE\SYSTEM\Setup - Find CmdLine
- Clear the value (make it empty)
- Find OOBEInProgress
- Set value to 0
- Find SetupPhase
- Set value to 0
- Restart
Automatic Repair
Access Recovery Options
- Restart computer 3 times during boot
- Or use Windows installation USB
- Select “Repair your computer”
- Troubleshoot > Advanced options
Reset This PC
- Troubleshoot > Reset this PC
- Choose “Keep my files”
- Follow prompts
- Windows reinstalls while keeping data
System Restore
If restore point exists:
- Troubleshoot > Advanced options
- System Restore
- Choose restore point before issue
- Complete restoration
Clean Install
When Other Methods Fail
- Back up important data first
- Boot from Windows installation USB
- Select “Custom: Install Windows only”
- Delete all partitions on drive
- Install fresh
- Complete setup normally
Sysprep Issues
For Imaged Systems
If this is from a cloned/imaged system:
- Boot to Safe Mode (if possible)
- Run:
%WINDIR%\System32\Sysprep\sysprep.exe /oobe /generalize - Let Sysprep complete
- Restart and complete OOBE
Clear Sysprep State
- Shift + F10 > regedit
- Navigate to:
HKEY_LOCAL_MACHINE\SYSTEM\Setup\Status\SysprepStatus - Set CleanupState to 7
- Set GeneralizationState to 7
- Restart
BIOS/UEFI Settings
Check Boot Mode
- Enter BIOS during startup
- Check if UEFI or Legacy boot
- Ensure matches installation type
- Try switching between modes
Secure Boot
- In BIOS, find Secure Boot
- Try disabling Secure Boot
- Attempt installation again
- Re-enable after if successful
Driver Issues
Remove Problem Drivers
- Shift + F10 at error
- Navigate to:
cd /d C:\Windows\System32\drivers - Rename problematic driver:
ren driverfile.sys driverfile.sys.old - Restart
Common Problem Drivers
- Graphics drivers
- Storage controller drivers
- USB 3.0 drivers
- Network drivers
Safe Mode Completion
Boot to Safe Mode
- At error, Shift + F10
- Type:
bcdedit /set {default} safeboot minimal - Restart
- Complete setup in Safe Mode
- After setup, remove safeboot:
bcdedit /deletevalue {default} safeboot
Hardware Considerations
Disconnect Peripherals
- Disconnect all USB devices except keyboard/mouse
- Remove extra drives
- Try installation with minimal hardware
- Add devices after successful setup
Check RAM
Faulty RAM causes installation issues:
- Test with single RAM stick
- Try different RAM slots
- Run memory diagnostic from recovery
Stuck in Installation Loop? Our Dallas technicians fix Windows installation errors and recovery issues. We can repair or reinstall Windows without losing your data. Same-day service throughout DFW.
Prevention
- Don’t interrupt Windows setup
- Ensure stable power during installation
- Use official Windows installation media
- Update BIOS before major updates
Dallas-Fort Worth Computer Repair
We fix Windows installation errors throughout DFW including Dallas, Fort Worth, Plano, Frisco, McKinney, Irving, Arlington, Richardson, and all surrounding areas.