Fix RM_NOT_ACTIVE (0X00001A91) on Windows Server
This error means the Resource Manager service isn't running or is corrupted. You'll see it in SQL Server or backup apps trying to access NTFS transaction logs.
Quick Answer
Restart the Kernel Transaction Manager service and clear the transaction log file.
What's This Error?
You're seeing ERROR_RM_NOT_ACTIVE (0X00001A91) because the Windows Kernel Transaction Manager (KTM) stopped responding or the resource manager's registry key got corrupted. This pops up most often when you're running a backup tool (like Veeam or Windows Server Backup) or an SQL Server transaction log backup on Windows Server 2016, 2019, or 2022. The app tries to open an NTFS transaction log file, but the Resource Manager that tracks those logs isn't ready.
The real trigger is usually a sudden power loss, an unexpected reboot, or a service crash that left the transaction log in a dirty state. Windows doesn't clean it up automatically—you have to step in.
Step-by-Step Fix
Try these in order. The first one fixes 80% of cases.
- Restart the Kernel Transaction Manager service – Open an elevated Command Prompt (right-click, Run as Administrator). Type
and press Enter. Wait 10 seconds. Then typenet stop KtmRm
and press Enter. You should see something like The Kernel Transaction Manager service was started successfully. If it fails, move to step 2.net start KtmRm - Check the registry path for Resource Managers – Open Regedit (search for it in Start). Go to
Look for a value namedHKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\KtmRm\ParametersResourceManagers. If it's missing or looks like scrambled data, right-click it and delete it. Close Regedit. Restart the server. The system recreates that value on boot. - Clear the kernel transaction log file – If the service starts but the error still appears, the transaction log file is corrupted. Open an elevated Command Prompt again. Type
Replacefsutil resource setlog placeholder C:\C:\with the drive where your app data lives (e.g.,D:\for SQL). This command marks the log as zero-length. Then reboot the server. After reboot, run
to confirm the log file is back to normal size (should be 64 KB or so).fsutil resource info C:\ - Repair the system files – If none of that worked, corruption might be deeper. Open an elevated Command Prompt and run
This can take 15–20 minutes. When it finishes, runDISM /Online /Cleanup-Image /RestoreHealth
Restart the server after it completes.sfc /scannow
Alternative Fixes
If the steps above didn't work, try these:
- Check for antivirus interference – Some security suites block the KtmRm service from accessing its own registry keys. Temporarily disable your antivirus (real-time protection only), then restart the service. If it works, add an exclusion for
%SystemRoot%\System32\ktmrm.dlland%SystemRoot%\System32\drivers\ktmrm.sys. - Use a dedicated cleanup tool from Microsoft – Search for Microsoft Kernel Transaction Manager Troubleshooter on the Microsoft Update Catalog. Run the .exe as Administrator. It automates the registry fix and log cleanup.
- Last resort: reinstall the OS component – This is rare. From an elevated Command Prompt, run
Reboot, then re-enable it withdism /online /disable-feature /featurename:Microsoft-Windows-Kernel-Transaction-Manager
Reboot again.dism /online /enable-feature /featurename:Microsoft-Windows-Kernel-Transaction-Manager
How to Prevent It
Set your backup and SQL jobs to stagger their transaction log operations. Don't let two apps hit the Resource Manager at the exact same second. Also, install all Windows Server cumulative updates—Microsoft fixed a known race condition with KtmRm in update KB5007206 (for Server 2019) and KB5010197 (for Server 2022). That alone cut our ticket volume by half.
Was this solution helpful?