Replacing SAM file causes a big problem

by mistake  ! I replace SAM file with SAM empty file (size is zero KB) then the result is :

1. I cannot logon GUI and recieve a message says that the lsass.exe has problem

2. I tried to use Advanced stratop Options and didn't help me but face the same result in case 1 .

3. I cannot use Recovery Console but instead It request password and when I type the password it says that incorrect ,  (the SAM is empty)

4. I have to keep my data and program settings in other words I need to my pervious settings

5.I made ASR floppy before the mistake occured but I lost it can I creat it from another machine ?

6.I have backed up all my machine  with 12 GB Important data

please help me
nader alkahtaniNetwork EngineerAsked:
Who is Participating?
CrazyOneConnect With a Mentor Commented:

Try a parallel installation to get the SAM from repair folder mentioned above

although this is about Win2000 the idea is the same.

HOW TO: Perform a Parallel Installation of Windows 2000;en-us;266465

Then you can remove the parallel installation by deleting it when you have the original one up and running
KenneniahConnect With a Mentor Commented:
If your hard drive is partitioned with FAT you can boot to a DOS disk to try and copy back a good copy of the SAM file. If NTFS, you'd either need a program like NTFS Dos to to this, or do a repair install of Windows XP.

How to Perform an In-Place Upgrade (Reinstallation) of Windows XP;en-us;315341&Product=winxp
KenneniahConnect With a Mentor Commented:
"Security Accounts Manager Initialization Failed" Error Message When You Start Windows XP;en-us;316751&Product=winxp

Cloud Class® Course: Microsoft Exchange Server

The MCTS: Microsoft Exchange Server 2010 certification validates your skills in supporting the maintenance and administration of the Exchange servers in an enterprise environment. Learn everything you need to know with this course.

nader alkahtaniNetwork EngineerAuthor Commented:
thanks for your comment , but it partitioned with NTFS
Unfortunately then, without the ASR (and no you can't use one from another machine since each computer has specific security identifiers), and without a program like NTFSDos Professional, or ERD Commander from, you'll most likely have to do the repair install of Windows XP.
MihailoConnect With a Mentor Commented:
You have a copy of SAM in WINDOWS\REPAIR
Yes there is a copy of SAM in Windows\Repair, however without the ability to boot to the Recovery Console, or a DOS boot disk with NTFS support, there's no way to copy it over.
One other possibility though would be if you could put the hard drive into a working Windows XP system and copy the file from C:\Windows\Repair to C:\Windows\System32\Config that way.
> I cannot use Recovery Console but instead It request password and when I type the password it says that incorrect

Try with Windows 2000 Rec. cons., it won't ask you for password on XP installation (I'm not shure this will work, maybe RC checks for SAM but not ask for password - because of a bug)
GuyPaddockConnect With a Mentor Commented:
You may try a blank password; the RC will always ask for a password if its the XP version, even if the Administrator account has no password set. Try pressing enter at the password prompt and see if that doesn't just let you in.

One work of caution when using NTFSDos: If you copy the SAM file over using NTFSDos, the SAM will NOT work properly. NTFSDos doesn't set security permissions on the NTFS volume. XP will NOT boot at all with a SAM file if it does not have the proper security credentials, even if the file is formatted properly. The RC WILL properly set them if you use it to do the copying. Just a behavior I've noticed. The ERD commander, because it is actually Windows (I think that's the product that boots off of a CD and actually runs Windows 2000, no?), will properly copy over the SAM.
nader alkahtaniNetwork EngineerAuthor Commented:
I missed Product Key for XP pro can I try a parallel installation ?
Did you register XP with Microsoft? If so contact them they might be able to help.
nader alkahtaniNetwork EngineerAuthor Commented:
I didn't register it .

Thank you all

recently I have found product key

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.