Windows logs off after logon

S

Stefan de Groot

I restored a Windows XP installation from an image. After that, Windows boots
normsly untill the welcome / logon screen. When I Log on to windows, it
automaticly logs off again.

So I created an image from an identical PC in the network and try to put
that one back. Same problem. Any idea on this problem? is it a security isue?

kind regards,

Stefan
 
P

Pegasus \(MVP\)

Stefan de Groot said:
I restored a Windows XP installation from an image. After that, Windows
boots
normsly untill the welcome / logon screen. When I Log on to windows, it
automaticly logs off again.

So I created an image from an identical PC in the network and try to put
that one back. Same problem. Any idea on this problem? is it a security
isue?

kind regards,

Stefan

It's not a security issue but a drive letter issue: Windows
now believes that its system drive is E: (for example) instead
of C:. The result is that the logon process is unable to locate
userinit.exe.
 
S

Stefan de Groot

Thanks Pegasus for your qick reply,

Is there any way around this?

gr.
Stefan
 
P

Pegasus \(MVP\)

Stefan de Groot said:
Thanks Pegasus for your qick reply,

Is there any way around this?

gr.
Stefan

I'm tempted to answer your question literally: "Yes, there is"
but then I assume that you really wanted to ask "How can
I resolve this issue?" (grin)

The method depends on your setup:
a) Is the machine networked?
b) Is its hard disk readily removable?
c) None of the above.
 
S

Stefan de Groot

:) I'm truly sorry. "How can I resolve this issue Pegasus?".

The XP Pro machine is hooked to a Windows 2000 network. The hard drive is
not removable.

grts.
Stefan
 
P

Pegasus \(MVP\)

Stefan de Groot said:
:) I'm truly sorry. "How can I resolve this issue Pegasus?".

The XP Pro machine is hooked to a Windows 2000 network. The hard drive is
not removable.

grts.
Stefan

This makes it easy. Try this procedure:
1. Start the problem PC. Do not attempt to log on.
2. Log on as Administrator on a networked PC.
3. Get a copy of psexec.exe from www.sysinternals.com.
4. Click Start / Run / cmd {OK}
5. Type this command:
psexec.exe \\NameOfProblemPC cmd{Enter}
6. Make a note of the drive letter you see. If you see
D:\Windows\System32 then the drive letter is D:.
7. Click Start / Run / regedit.exe {OK}
8. Navigate to HKLM\System\MountedDevices.
9. On the right-hand side, almost all the way down, there
are a number of values called "DOSDevices\E:" (for
example).
10. Right-click then one that carries the drive letter you
memorised in Step 6.
11. Rename it to \DosDevices\C:
12. Reboot the machine.

You should now be able to log on normally.
 
P

Pegasus \(MVP\)

Sorry, I just realised that I omitted an essential step,
7a. Click File / Open Network Registry and type the
name of your problem machine: \\NameOfProblemPC.

This makes it easy. Try this procedure:
1. Start the problem PC. Do not attempt to log on.
2. Log on as Administrator on a networked PC.
3. Get a copy of psexec.exe from www.sysinternals.com.
4. Click Start / Run / cmd {OK}
5. Type this command:
psexec.exe \\NameOfProblemPC cmd{Enter}
6. Make a note of the drive letter you see. If you see
D:\Windows\System32 then the drive letter is D:.
7. Click Start / Run / regedit.exe {OK}
8. Navigate to HKLM\System\MountedDevices.
9. On the right-hand side, almost all the way down, there
are a number of values called "DOSDevices\E:" (for
example).
10. Right-click then one that carries the drive letter you
memorised in Step 6.
11. Rename it to \DosDevices\C:
12. Reboot the machine.
 

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