# Windows update recovery blocked: backup rejects legacy heartbeat config, so Doctor cannot run

**URL:** <https://community.openclaw.ai/t/windows-update-recovery-blocked-backup-rejects-legacy-heartbeat-config-so-doctor-cannot-run/501>\
**Category:** Start Here\
**Tags:** troubleshooting\
**Created:** [November 21, 2026, 1:31am UTC](https://community.openclaw.ai/t/windows-update-recovery-blocked-backup-rejects-legacy-heartbeat-config-so-doctor-cannot-run/501 "2026-11-21T01:31:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dashiesty](https://avatars.discourse-cdn.com/v4/letter/d/ba8739/32.png) [@Dashiesty](https://community.openclaw.ai/u/Dashiesty)\
**Post date:** [November 21, 2026, 1:31am UTC](https://community.openclaw.ai/t/windows-update-recovery-blocked-backup-rejects-legacy-heartbeat-config-so-doctor-cannot-run/501/1 "2026-11-21T01:31:19Z")

</div>

Hi, I’m looking for help recovering an existing OpenClaw Windows installation after an apparent package update. I have several configured agents and would like to preserve their sessions, configuration, and workspaces.

## Installation

- Windows Store/MSIX installation, managed through `clawctl`

- Previous package: `2026.11.100.0`, bundled OpenClaw `2026.11.1`

- Currently installed package: `2026.11.11073.0`, bundled OpenClaw `2026.11.6`

- Update status: `stable (default)`, package up to date

## What happened

The gateway initially reported that it was listening, but the Control UI returned “Internal Server Error.” Logs showed workers failing to load this file from the previous package:

```auto
text

```

`OpenClawFoundation.OpenClawGateway_2026.11.100.0_x64__rfcbke2p71se2\node\native-redirect.mjs`

After running:

```auto
powershell

```

`clawctl gateway-service restart`

the gateway failed during startup. Logs reported pending database migrations:

- Agent databases: schema `27 → 38`

- Shared-state database: schema `22 → 36`

## Recovery blocker

I tried the protected repair command:

```auto
powershell

```

`clawctl gateway-service repair --yes`

It returned:

```auto
text

```

`The bundled OpenClaw state operation failed (exit 1).`  
`The gateway remains stopped. Doctor did not run.`

I then checked backup preparation:

```auto
powershell

```

`openclaw backup create --dry-run --json`

It failed with:

```auto
text

```

`Backup discovery failed at ~\.openclaw\openclaw.json:`  
`Unrecognized key: "heartbeat".`  
`Agent and plugin ownership could not be resolved.`

`openclaw update status` identifies the key as:

```auto
text

```

`agents.defaults: Unrecognized key: "heartbeat"`

It also reports:

```auto
text

```

`Client credential migration is incomplete or stale;`  
`run openclaw doctor --fix before using this client.`  
`gateway.maintenance_required`

Read-only Doctor confirms the database migrations and a legacy heartbeat migration are required. I declined repairs during that diagnostic run.

## Current state

The gateway is stopped. I have not uninstalled or reset the app, manually edited the databases, removed the heartbeat setting, or run `openclaw doctor --fix` directly. I have collected diagnostic bundles and can provide reviewed/redacted logs.

## Question

What is the supported, data-preserving recovery procedure when the protected repair needs a backup, but backup discovery rejects the legacy configuration that Doctor needs to migrate?

Is there a supported way to secure a full backup and complete the migrations, or is a Windows package fix or supported rollback required?

Thanks for any guidance.

---

<div class="post-metadata">

**Author:** ![Dashiesty](https://avatars.discourse-cdn.com/v4/letter/d/ba8739/32.png) [@Dashiesty](https://community.openclaw.ai/u/Dashiesty)\
**Post date:** [November 21, 2026, 1:33am UTC](https://community.openclaw.ai/t/windows-update-recovery-blocked-backup-rejects-legacy-heartbeat-config-so-doctor-cannot-run/501/2 "2026-11-21T01:33:56Z")

</div>

I also checked Get-Command openclaw, clawctl -All. It finds only the WindowsApps application aliases for both commands; no duplicate npm/Git launcher appears. The remaining blocker is that full backup discovery rejects agents.defaults.heartbeat, preventing the protected repair from running Doctor.

---

<div class="post-metadata">

**Author:** ![Dashiesty](https://avatars.discourse-cdn.com/v4/letter/d/ba8739/32.png) [@Dashiesty](https://community.openclaw.ai/u/Dashiesty)\
**Post date:** [November 21, 2026, 3:06pm UTC](https://community.openclaw.ai/t/windows-update-recovery-blocked-backup-rejects-legacy-heartbeat-config-so-doctor-cannot-run/501/3 "2026-11-21T15:06:37Z")

</div>

Latest diagnostics identify the startup blocker beneath the supervisor’s restart-handoff error.

Windows Store package: `2026.11.11073.0`  
Bundled OpenClaw: `2026.11.6` (`06afb10`)  
Failed launch: November 21, 2026, 15:03:34–15:03:41 UTC.

The matching gateway log rejects both `main` and `openclaw` agent databases at schema 27, requiring schema 38, then fails bootstrap. The supervisor reports “bundled Gateway restart handoff command failed (exit 1); no replacement was started.”

`clawctl gateway-service repair --yes` previously failed before Doctor ran. `openclaw backup create --dry-run --json` is also blocked by the unrecognized `agents.defaults.heartbeat` setting.

Additionally, invoking host-side `openclaw doctor --help` exited with code 0, after which the Windows launcher automatically attempted gateway startup.

Please provide the supported, data-preserving procedure to back up the isolated-session state and run the required migrations when the packaged repair path fails before Doctor. Should the heartbeat configuration issue be handled by the package’s recovery tooling, and how can Doctor be invoked without an automatic gateway start afterward?
