Rapid Rollback: Disabling CompactOS on Target Hardware

Topic

This article describes the process to disable CompactOS on Windows 10 operating systems.

Environment

  • Microsoft Windows 10 (all versions)
  • Rapid Rollback

Description

Microsoft's CompactOS feature is currently incompatible with the Datto Rapid Rollback utility. To reliably perform a rollback, you will need to disable the feature on your target hardware before performing the restore.

Performing a Rapid Rollback from any previous snapshot taken when CompactOS was enabled on the production machine may produce unreliable results. To ensure a successful restore, CompactOS must be disabled on both the production machine and in the snapshot.

Procedure

  1. Determine if CompactOS is enabled on the target hardware by using the command compact.exe /compactos:query from a Windows Command Prompt session on the production machine.
  2. If the feature is enabled, you will see the following output:


Figure 1: CompactOS enabled

Also, one or more Rapid Rollback logs may contain the error message "Argument list too long (7)"

  1. Disable the feature by using the command compact.exe /compactos:never.
  2. Attempt the rollback again.

NOTE  You can perform the same steps in a local virtualization of the point you are restoring to check the snapshot for CompactOS before performing the rollback; however, you will not be able to make configuration changes to the snapshot.

Additional Resources