Re: Damaged registry/logon accounts!

From: Eric Fitzgerald [MSFT] (ericf_at_online.microsoft.com)
Date: 05/14/03


Date: Wed, 14 May 2003 12:00:56 -0700


If you have another OS installation on the machine, and backup copies of
your SAM and SECURITY hives, then you could boot to the other OS and restore
the SAM and SECURITY files from your backup to c:\windows\system32\config .
I don't believe that repair has an option to restore these files
automatically anymore, after NT4.

You could also do this with the recovery console (boot from the install CD
or boot directly into recovery console, if installed).

However, I think the skipped SP3 files are going to pretty much rule out a
repair at this point, because it will be difficult to return the system to
bootable condition.

Eric

-- 
Eric Fitzgerald
Program Manager, Windows Auditing and Intrusion Detection
Microsoft Corporation
This posting is provided "AS IS" with no warranties, and confers no rights.
"Steven L Umbach" <sumbach@ameritech.net> wrote in message
news:yHbva.11821$%_3.6305504@newssrv26.news.prodigy.com...
>       I don't remember repair asking for a bunch of files, but I would go
> for it if you have files available - possibly you would need service pack
3
> in a directory already extracted.  If you have fat32 you can boot from a
> floppy and attempt to copy a repair registry yourself, otherwise you would
> have to put the drive in another computer or do a parallel installation to
> attempt it. Look in winnt/repair and you should find copy of original
> registry. There may be a newer copy if there is a subfolder there - you
can
> check dates on files. Try copying the contents of the folder (or subfolder
> if it exists) to the winnt/system32/config folder. I would suggest copying
> the contents of the /config folder to another folder on your drive
somewhere
> to have just in case. Doing the copy of the repair  folder will also
replace
> your sam from a backup copy. Just beware that the older sam file may have
> only the original administrator account and original password to it. So
you
> may not want to not copy the sam file from the repair folder first try.
Yes,
> you could attemp to copy the sam from another W2K Pro computer. Again back
> up original sam just in case you need it. Sam is located in
> winnt/system32/config folder. Be sure  to read links before
roceeding.  ---
> Steve
>
> http://support.microsoft.com/?kbid=238359
> http://is-it-true.org/nt/nt2000/atips/atips71.shtml
>
> "DV" <guest@ntua.gr> wrote in message news:3EBD2D2B.C1507DEE@ntua.gr...
> > - I tried Last good config but it didn't work.
> > - I tried a repair but since I have SP3 installed,
> > it asked me to replace a whole banch of files.
> > I chose no and ...it didn't work. Is it OK to
> > replace all these files?
> > - Is it possible that the logon service doesn't
> > start because of a corrupted account database
> > (is this the SAM file?). Can I use another SAM
> > file from another PC? Which files/paths have I
> > to replace?
> >
> > Thanks,
> >
> >
> > Steven L Umbach wrote:
> > >
> > >      If that does not work try a reair install. Boot from cdrom and it
> will
> > > ask if this is new installation or repair existing installation.
Select
> > > repair and then fast repair option which should copy original
> installation
> > > registry (or at least most of it)over exising registry. If that works
> you
> > > still may not be able to log on locally, but that can be dealt with
also
> if
> > > you can access that computer from the network via administrator share,
> mmc,
> > > etc..  --- Steve
> > >
> > > "F1Com" <f1com@NOSPAMpobox.com> wrote in message
> > > news:3EBBEADD.2BB2C64A@NOSPAMpobox.com...
> > > > DV wrote:
> > > > >
> > > > > Hi all,
> > > > >
> > > > > Being stupid enough to play along with the registry
> > > > > (regedit32, hkey_local_machine\security) and also
> > > > > with the Local Policies audit settings, it seems that
> > > > > I have erased/disabled ALL users (including me!) from
> > > > > logging in my Win2000/SP3 box!
> > > > >
> > > > > So now, when the Win2000 boots up, I get no logon
> > > > > window, nothing! Just a background screen with no
> > > > > icons on it. Safe/command prompt, etc didn't help.
> > > > > The only way to boot and see somethings in DOS mode
> > > > > is my old Win98 Boot Disk (I have FAT32).
> > > > >
> > > > > - Any ideas to fix this? (I have in the HD a recent
> > > > > text-backup file of my registry. Can it be used somehow?)
> > > > >
> > > > > - If I won't avoid the re-installation, can I make
> > > > > it in a new directory and then manage to apply/copy
> > > > > my current settings/applications/profile/etc?
> > > > >
> > > > > Thanks in advance,
> > > > > D.
> > > >
> > > > You could try Last Known Good Configuration. At boot, like going to
> safe
> > > > mode you should be able to access it.
> > > >
> > > >
> > > >
> > > > Terry
>
>


Relevant Pages

  • Re: Problem with DVD RW in Windows XP after upgrading motherboard to NF7-S
    ... Did you repair this installation? ... off the XP CD, choose to install, then it will find the existing Windows ... installation and offer to repair it, press R to repair and then go from ... > The motherboard recognizes the DVDRW228, and I can boot to Safe Mode ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Problem with DVD RW in Windows XP after upgrading motherboard to NF7-S
    ... Did you repair this installation? ... off the XP CD, choose to install, then it will find the existing Windows ... installation and offer to repair it, press R to repair and then go from ... > The motherboard recognizes the DVDRW228, and I can boot to Safe Mode ...
    (microsoft.public.windowsxp.hardware)
  • Re: Problem with DVD RW in Windows XP after upgrading motherboard to NF7-S
    ... Did you repair this installation? ... off the XP CD, choose to install, then it will find the existing Windows ... installation and offer to repair it, press R to repair and then go from ... > The motherboard recognizes the DVDRW228, and I can boot to Safe Mode ...
    (microsoft.public.windowsxp.general)
  • RE: Login Password requested
    ... xp cd and repair the installation will i loose any of my saved ... "Mark L. Ferguson" wrote: ... The boot cd could take you to Recovery Console. ... Boot from cd and repair the ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Windows explorer wont start for nonadministrator accounts
    ... I tried a windows 2000 repair, ... further corruption so that I can't boot. ... > Now we are going to do an Inplace Upgrade Installation. ...
    (microsoft.public.win2000.setup)