Skip to content

Published: September 17, 2015 | Applies to:

While upgrading Windows if you get "Windows 10 couldn't be installed. You can't install Windows while running in Audit Mode." message, then fix it here.

When Windows boots very first time on a machine, it can be booted into Windows Welcome Mode and Audit Mode.

Windows Welcome Mode, aka “out-of-box experience” (OOBE), is the first user experience. Windows Welcome prompts end users to customize their Windows installation. End users create user accounts, read and accept the Microsoft® Software License Terms, and select their language and time zones. By default, immediately after installation, Windows starts Windows Welcome.

While, Audit Mode is used to add customizations to Windows images. When you use Audit Mode, the system does not have to apply settings in Windows Welcome. Original Equipment Manufacturers (OEMs) and corporations should use Audit Mode to complete their manual customizations before shipping a computer to an end user.

In some cases, Windows keep running in Audit Mode and user has no idea about it. While upgrading to Windows 10, if your machine is running Audit Mode, the upgrade won’t progress. Here is what you’ll see while updating:

Windows 10 couldn’t be installed

You can’t install Windows while running in Audit Mode.

FIX - You Cant Install Windows While Running In Audit Mode

So in order to continue with Windows 10 installation, we first need to exit from Audit Mode. You can try either of these two ways, as per your convenience and take yourself out from Audit Mode:

FIX : You Can’t Install Windows While Running In Audit Mode

Method 1 – Using Command Prompt

1. Open the administrative or elevated Command Prompt.

2. Type following command and press Enter key:

CAUTION: Running sysprep command each time resets Windows licensing state to default. So if your Windows is activated and you run this command, you’ll need to reactivate Windows after executing this command.

sysprep /oobe /generalize

FIX - You Cant Install Windows While Running In Audit Mode

3. Once the command successfully executed, you’ll be out of Audit Mode. Now you can re-try to upgrade to Windows 10 and it should work.

Method 2 – Using Registry Editor

Registry Disclaimer: The further steps will involve registry manipulation. Making mistakes while manipulating registry could affect your system adversely. So be careful while editing registry entries and create a System Restore point first.

1. Press W8K + R and put regedit in Run dialog box to open Registry Editor (if you’re not familiar with Registry Editor, then click here). Click OK.

RegistryEditor

2. In the left pane of Registry Editor, navigate to following registry key:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\State

FIX - You Cant Install Windows While Running In Audit Mode

3. In the above shown window, highlight State registry key and come to its right pane. Now right click on ImageState named registry string (REG_SZ) and select Delete. Once you deleted the string, close Registry Editor and reboot.

So you can now try to upgrade to Windows 10 and you won’t face any issue since you’re now out of Audit Mode.

Hope this helps! If the issue still persists, go ahead and make a clean install of Windows 10.

Related: Windows could not complete the installation. To install Windows on this computer, restart the installation.


SHARE: Facebook Google+ Twitter

18 Comments

  • Registry steps did it all!!

  • Kapil Arya

    ^^ Thanks for feedback :)

  • the sysprep didnt worked
    Invalid command

  • Kapil Arya

    ^^ Try registry method then, it should help :)

  • it worked! your awesome kapil !

  • Kapil Arya

    ^^ Glad it worked! :)

  • i rebooted and it went back to audit mode please help

  • Kapil Arya

    ^^ Strange! Please try Method 1, in case if it helps.

  • In regedit ImageState data “IMAGE_STATE_UNDEPLOYABLE”
    I tried deleting it and restarted and it is back. Still in audit mode
    Please Help.

  • Kapil Arya

    ^^ See if Method 1 helps you!

  • I deleted the registry entry, rebooted, and still couldn’t update to windows 10 because of audit mode. The registry entry was gone, even after reboot.

    i tried the command prompt, but it doesn’t recognize my entry (sysprep/oobe/generalize or sysprep /oobe /generalize) and didn’t execute any command.

    Do you have any idea how I could fix this?

  • Kapil Arya

    ^^ In that case, you’ve to go for clean install.

  • awesome!!

  • Kapil Arya

    ^^ 😄

  • Decrypt the C: drive
    manage-bde -off C:
    also Goto Settings, Storage, Click on C: drive bar and delete the previous version of window and temp file.
    Restart and try the audit mode again.

  • Kapil Arya

    ^^ Thanks for your inputs!

  • I did it like the Registry Editor, and after restart it still said that windows was running in audit mode? Anything I can do?

  • Kapil Arya

    ^^ You need to go ahead with clean install then.

  • Leave a Reply

    Your email address will not be published. Required fields are marked *

    What's New


    Recent Comments

    • Balraj Chuhan : I am connecting my 20 or more pc with Homegroup. After join...

      5 hours ago

    • Kapil Arya : ^^ Great info, thanks for sharing 😊...

      12 hours ago

    • Arunabh : If the system32 does not have the LogonUI.exe file then just...

      12 hours ago

    • Taslimarif : solved my issue thanks...

      15 hours ago

    • Kapil Arya : ^^ Try creating empty sub-keys Explorer and WAU...

      1 day ago


    Windows Group Policy Troubleshooting