How to fix “The security account manager (SAM) or local security authority (LSA) server was in the wrong state to perform the security operation. [ERROR_INVALID_SERVER_STATE (0x548)]” – Error Code 1352
Error Code 1352
Error code Error Code 1352
is a common Windows issue that typically arises from “The security account manager (SAM) or local security authority (LSA) server was in the wrong state to perform the security operation. [ERROR_INVALID_SERVER_STATE (0x548)]”.
Overview
In this article, we’ll focus on resolving the issue described as: “The security account manager (SAM) or local security authority (LSA) server was in the wrong state to perform the security operation. [ERROR_INVALID_SERVER_STATE (0x548)]”. This error, identified by the error code Error Code 1352, can impede your system’s performance, and here’s how you can fix it.
Identifying the Problem
Error Code 1352 is encountered primarily when performing tasks involving user accounts and security permissions on Windows systems. It typically arises due to underlying issues within the Security Account Manager (SAM) or Local Security Authority (LSA), which are responsible for managing user accounts and security policies.
Common Fixes
1. Restart the Security Account Manager (SAM) Service:
Restarting the SAM service can resolve temporary glitches causing Error Code 1352.
- Press Windows Key+R to open the Run dialog.
- Type services.msc and click OK.
- Locate the Security Account Manager service, right-click it, and select Restart.
2. Repair Registry Errors:
Corrupted registry entries can also trigger Error Code 1352. To repair them, use the System File Checker (SFC) tool:
- Press Windows Key+X and select Command Prompt (Admin).
- Type sfc /scannow and press Enter.
- Allow the scan to complete and restart your system.
3. Disable Antivirus Software Temporarily:
Overzealous antivirus software might interfere with SAM or LSA operations, leading to Error Code 1352. Temporarily disable antivirus and check if the issue persists.
Advanced Troubleshooting
1. Manually Reset SAM Database Security Descriptor:
- Press Windows Key+X and select Computer Management.
- Navigate to System Tools > Local Users and Groups > Users.
- Right-click on the Administrator user, select Properties, and go to the Security tab.
- Click Advanced and then Owner.
- Select Administrators and click Apply.
- Uncheck the Inherit from parent the permission entries that apply to child objects checkbox.
- Click OK to save changes.
2. Perform System Restore:
If other solutions fail, consider performing a System Restore to revert your system to a previous point when Error Code 1352 was not present.
Conclusion
Fixing Error Code 1352 requires a methodical approach, starting with common fixes and progressing to advanced troubleshooting. By following the steps outlined in this article, you can effectively resolve the issue and restore your system’s functionality.
To prevent future occurrences, ensure regular system updates, avoid unnecessary modifications to security settings, and consider implementing a robust antivirus solution. Adhering to these practices can help maintain a healthy and secure system environment.