Accidentally moving kernel32.dll to desktop

G

Guest

Hi I accidentally moved kernel32.dll from the system32 folder to my desktop
and now my pc will not start correctly and now goes in an infinite loop.

Would be greatlful for any assistance.

Thanks.
 
J

John John

How did you mangage to move this file? The file is always in use by
Windows and cannot be moved, and if you had somehow managed to move this
"unmovable" file WFP would have almost certainly immediately replaced it
with a copy from the DLLCache

If you truly did mangage to move the file it could be copied from the
dll cache back to the System32 folder by booting to the Recovery Console
and using the copy command:

copy %Systemroot%\system32\dllcache\kernel32.dll
%Systemroot%\system32\kernel32.dll

or

copy c:\windows\system32\dllcache\kernel32.dll
c:\windows\system32\kernel32.dll

http://support.microsoft.com/kb/314058

The problem that you describe is more consistent with the removal of the
Userinit.exe file than moving kernel32.dll. Or changing the drive
letter assignement in the registry, or changing values refering to
Userinit.exe in the registry's Winlogon key.

John
 
M

M.I.5¾

Lord said:
Hi I accidentally moved kernel32.dll from the system32 folder to my
desktop
and now my pc will not start correctly and now goes in an infinite loop.

Would be greatlful for any assistance.

Move it back.

Of course you can't do it in its present state because you can't boot up.
Connect the disk drive to another machine as a slave drive and move it
there.
 
G

Guest

Hi John John,

Thanks for the quick response.

This was done in safe mode.

The pc will not go past the Windows XP 2003 screen, and does not boot but
switches off and attempts to boot again.

Is there anything i can do in dos or the recovery console as I have a
windows xp 2003 cd?
 
J

John John

Did you try moving or copying the file back to the System32 folder?

When does the computer go into the reboot loop? After you enter your
username and password or before?

John
 
J

John John

Sorry, you already answered that question in your previous post, speed
reading isn't too good if you skip half of the reading material...

You say that you moved the file in Safe-Mode, what previous problem were
you having that required you to boot to safe mode, what were you trying
to repair? Can you still boot to safe mode or are you completely unable
to reboot?

Is Windows set to give a BSOD on failure or is it set to restart? Using
the F8 boot option disable the Automatically reboot on failure option
and see if you get a BSOD.

John
 

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