XP logs out immediately

T

Tom C.

I know I really screwed things up, but I was removing
unwanted executables and playing with the registry. Now
when I boot up, I can choose a user but am logged out
immediately (I am using XP Home OS). I would try a repair,
but my XP CD has never been bootable (I have always
reformatted with ME and then put a minimal OS so that I can
run the XP CD).

Can anyone either help fix the problem outright or give me
clues on how to re-install XP without wiping the HDD?

Thank you in advance,
Tom C
 
J

Jody Atkins

I can offer you (2) suggestions:

First one necessitates a Windows 2000 or XP or 2003 CD. It doesn't matter
which because any will get you into recovery console. If you can't get
into recovery console then I suggest you take the H/D out nad put it into
another system as a secondary H/D and then follow the steps below but you
would do it within windows:

(All steps that follow invole editing registry keys so follow EXACTLY to
avoid any further damage)

Once in recover Console you need to perform the following steps:

At the Recovery Console command prompt, type the following lines, pressing
ENTER after you type each line:

md tmp
copy c:\windows\system32\config\system c:\windows\tmp\system.bak
copy c:\windows\system32\config\software c:\windows\tmp\software.bak
copy c:\windows\system32\config\sam c:\windows\tmp\sam.bak
copy c:\windows\system32\config\security c:\windows\tmp\security.bak
copy c:\windows\system32\config\default c:\windows\tmp\default.bak

delete c:\windows\system32\config\system
delete c:\windows\system32\config\software
delete c:\windows\system32\config\sam
delete c:\windows\system32\config\security
delete c:\windows\system32\config\default

copy c:\windows\repair\system c:\windows\system32\config\system
copy c:\windows\repair\software c:\windows\system32\config\software
copy c:\windows\repair\sam c:\windows\system32\config\sam
copy c:\windows\repair\security c:\windows\system32\config\security
copy c:\windows\repair\default c:\windows\system32\config\default


Type exit to quit Recovery Console. Your computer will restart.
Note This procedure assumes that Windows XP is installed to the C:\Windows
folder. Make sure to change C:\Windows to the appropriate windows_folder if
it is a different location.

If you have access to another computer, to save time, you can copy the text
in step two, and then create a text file called "Regcopy1.txt" (for
example). To create this file, run the following command when you start in
Recovery Console:
batch regcopy1.txt

With the batch command in Recovery Console, you can process all the
commands in a text file sequentially. When you use the batch command, you
do not have to manually type as many commands.

If you are able to get H/D installed as a second drive and look at it from
another O/S then you could perform the following steps:

Make a folder called tmp in the root of the windows directory of the second
H/D. (X:\ equals the drive letter of the second H/D) I suggest open this
folder and have it minimized to the task bar.

Click start then run and perform the following commands one at a time:

copy x:\windows\system32\config\system x:\windows\tmp\system.bak
copy x:\windows\system32\config\software x:\windows\tmp\software.bak
copy x:\windows\system32\config\sam x:\windows\tmp\sam.bak
copy x:\windows\system32\config\security x:\windows\tmp\security.bak
copy x:\windows\system32\config\default x:\windows\tmp\default.bak

Click the tmp folder in the task bar and verify that the 5 files above
exist and have .bak extensions.

Next:, open a command window and perform the following:

cd .. (till you are at the root of your second H/D (x:\))
delete x:\windows\system32\config\system
delete x:\windows\system32\config\software
delete x:\windows\system32\config\sam
delete x:\windows\system32\config\security
delete x:\windows\system32\config\default

copy x:\windows\repair\system x:\windows\system32\config\system
copy x:\windows\repair\software x:\windows\system32\config\software
copy x:\windows\repair\sam x:\windows\system32\config\sam
copy x:\windows\repair\security x:\windows\system32\config\security
copy x:\windows\repair\default x:\windows\system32\config\default

Now move the H/D back to your original PC and start the PC.

The articile for these steps is:

http://support.microsoft.com/default.aspx?kbid=307545

If the PC does not start then I suggest you perform a inplace upgrade:

http://support.microsoft.com/default.aspx?scid=KB;[LN];315341

If that fails I suggest a parallel and this will allow you to get to your
files and back them up before you rebuild completely:

http://support.microsoft.com/?kbid=266465

Good Luck

This will get your files up to date

Best Regards,
Jody Atkins
Microsoft Online Support Engineer
Get Secure! - www.microsoft.com/security
=====================================================
When responding to posts, please "Reply to Group" via
your newsreader so that others may learn and benefit
from your issue.
=====================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
Let me know if you have any other questions or if I can help.


--------------------
| Content-Class: urn:content-classes:message
| From: "Tom C." <[email protected]>
| Sender: "Tom C." <[email protected]>
| Subject: XP logs out immediately
| Date: Tue, 14 Sep 2004 11:49:49 -0700
| Lines: 13
| Message-ID: <[email protected]>
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="iso-8859-1"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| thread-index: AcSai50Dudl6i9FIRr2/KJW0azoFGw==
| X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4925.2800
| Newsgroups: microsoft.public.windowsxp.setup_deployment
| NNTP-Posting-Host: tk2msftngxa06.phx.gbl 10.40.1.53
| Path: cpmsftngxa06.phx.gbl!TK2MSFTNGXA06.phx.gbl
| Xref: cpmsftngxa06.phx.gbl
microsoft.public.windowsxp.setup_deployment:122800
| X-Tomcat-NG: microsoft.public.windowsxp.setup_deployment
|
| I know I really screwed things up, but I was removing
| unwanted executables and playing with the registry. Now
| when I boot up, I can choose a user but am logged out
| immediately (I am using XP Home OS). I would try a repair,
| but my XP CD has never been bootable (I have always
| reformatted with ME and then put a minimal OS so that I can
| run the XP CD).
|
| Can anyone either help fix the problem outright or give me
| clues on how to re-install XP without wiping the HDD?
|
| Thank you in advance,
| Tom C
|
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top