Select the product you need help with
- Internet Explorer
- Windows Phone
- More products
"Security Accounts Manager Initialization Failed" Error Message When You Start Windows XP
Article ID: 316751 - View products that this article applies to.
This article was previously published under Q316751
When you start your Windows XP Home Edition or Windows XP Professional-based computer, you may receive the following error message:
When you start the computer in Safe mode, you receive the same error message.
Security Accounts Manager initialization failed because of the following error: A device attached to the system is not functioning.
Error Status: 0xc0000001.
Please click OK to shut down this system and reboot into Safe Mode, check event log for more detailed information.
This issue may occur if the Security Accounts Manager file (SAM) is corrupted or missing.
To resolve this issue, either restore or replace the SAM file.
Note You cannot use the repair process or the recovery console to resolve this issue. These methods require authentication, which cannot occur if the SAM file is corrupted or missing.
To resolve this issue, use one of the following methods.
Method 1: Restore the SAM File from BackupIf you used the Backup utility in Windows XP to back up the system state, you can restore the SAM (and all other registry settings) from the disk or archived copy by using the Restore Wizard or the Automated System Recovery Wizard.
Note ASR is not supported on Windows XP Home Edition.
For additional information about using the Backup utility in Windows XP, click the following article number to view the article in the Microsoft Knowledge Base:
(http://support.microsoft.com/kb/309340/EN-US/ )HOW TO: Use Backup to Restore Files and Folders on Your Computer in Windows XP
Method 2: Copy the SAM File from the Repair FolderIf you cannot restore the SAM file by using the Windows Backup utility, copy the SAM file from the following location
C:\WINDOWS\repairand paste it to this location:
Note When you do this, you will lose all accounts or groups that had been created. You will also need credentials that were valid at the time that the ASR was run. This will restore the SAM back to the last instance that Automated System Recovery (ASR) was run, or to when the system was first installed. To do this, follow these steps:
Method 3: Reinstall Windows XPIf you cannot restore the SAM file by using either Method 1 or Method 2, you must reinstall Windows XP to replace the SAM file.
Note You must use the New Installation option to replace the SAM file. If you perform use the In-Place Upgrade (Reinstallation) option for Windows XP, the SAM file is not replaced. This method may require that you reformat the partition that Windows XP is installed to. Before you continue with this method, make sure that you have a backup of your My Documents folder, or select an option to install Windows XP to a different partition than where Windows is currently installed.
For additional information about how to install Windows XP, click the following article number to view the article in the Microsoft Knowledge Base:
(http://support.microsoft.com/kb/316941/EN-US/ )HOW TO: Install Windows XP