Windows Installer Error 1322: Administrator Account Disabled/Deleted Conflict
Why This Error Happens
Error 1322 occurs when the Windows Installer detects that a proposed change—typically during an install, repair, or uninstall operation involving user account configurations—would disable, delete, or lock out the built-in or last active Administrator account. This is a hardcoded safety mechanism in the Windows security subsystem designed to prevent a system from becoming inaccessible. It commonly surfaces when installer scripts attempt to modify local user account properties on a machine where the current user profile is tied to the only enabled administrator account, or when Group Policy and local security settings conflict with the installer’s account provisioning routine.
Step-by-Step Resolution Guide
Step 1: Verify Active Administrator Accounts
- Open Command Prompt as Administrator and run:
net user administrator - Confirm whether the built-in Administrator account is currently “Active: Yes” or “No.”
- If it’s disabled and no other enabled admin account exists, this is likely the direct trigger for Error 1322.
Step 2: Enable the Built-In Administrator Account Temporarily
- Run the following command to enable it:
net user administrator /active:yes - Set a strong temporary password using:
net user administrator * - Log off and sign in using this account, then retry the installation or configuration process that triggered the error.
Step 3: Check Local Security Policy and Group Policy Settings
- Navigate to
secpol.msc> Local Policies > Security Options. - Inspect the policy “Accounts: Administrator account status” and ensure it is not set in a way that conflicts with the installer’s requirements.
- Also check User Account Control (UAC) settings, as overly restrictive UAC policies can sometimes interfere with installer permission requests.
Step 4: Create a Secondary Administrator Account (If Needed)
- Go to Settings > Accounts > Other users > Add account.
- Assign this new account the Administrator role under “Account type.”
- Sign in with this new account and re-attempt the failed operation, since the installer now sees a valid, enabled admin account it isn’t trying to remove.
Step 5: Re-Run the Installer or System Operation
- Right-click the installer (.msi or .exe) and select Run as administrator.
- Confirm no pending Windows Updates or profile changes are queued that might interfere with account status mid-installation.
Alternative or Verification Steps
- After completing the steps above, run
net user administratoragain to confirm the account status is “Active: Yes,” then retry the original operation to verify Error 1322 no longer appears. - If the issue persists, boot into Safe Mode (Shift + Restart > Troubleshoot > Advanced Options > Startup Settings) and attempt the account modification or installation from there, as this bypasses certain third-party security software that may be blocking account changes.