Windows XP SP3 BSoD Endless Reboot Loop with Stop c0000139 on GDI32.dll Error
Microsoft spent couple of weeks to fix endless and repetitive system restart loop issue when users attempt to Windows Vista SP1, but the computer cannot startup with continuous reboot loop problem spreads to Windows XP as well. After users installed Windows XP SP3 beta or RC release or a hotfix, and restart the PC, the computer will repetitively and automatically reboot suddenly nonstop, unable to log on to Windows desktop with the infamous BSoD (Blue Screen of Death) with the following error messages.
STOP: c0000139 {Entry Point Not Found}
The procedure entry point GdiGetBitmapBitSize could not be located in the dynamic link library GDI32.dll.
Or,
STOP: c0000139
The procedure entry point SMapLS_IP_EBP_24 could not be located in the daynamic link library Kernel32.dll.
The BSoD reboot loop may happen right after installation of Windows XP SP3 too without computer restarting. The computer cannot even to boot to Safe Mode, and hence has no way to uninstall the Service Pack 3 for Windows XP to try to restore to previous state to resolve the problem.
Shashank Bansal explained in TechNet forums that the issue happens when users install SP3 with build version v.3311 or v.3244 or earlier. A security update KB948590 (MS08-021) which contains updated and newer GDI32.dll stops installation of SP3 version of GDI32.dll on the system due to file version differences. Hence the system encounters conflict and stop halt. If users doesn’t disable the setting to reboot the computer on error, the Windows will force to restart.
The solution is to restore the GDI32.dll from the service pack into Windows system folder with the following steps:
- Boot from a Windows CD or BartPE.
- At Welcome to Setup screen, press “R” to start repair option and open up a Recovery Console’s command prompt window.
- Select the Windows installation to use, normally is C:\Windows and just one option. If so, press “1″ and hit Enter.
- If prompted for administrator password, enter the password (normally blank) and hit Enter.
- Make a backup of existing GDI32.dll in system folder with following command:
REN C:\Windows\System32\GDI32.dll C:\Windows\System32\GDI32.dll.origReplace “C” of the drive letter of your Windows installation drive if necessary.
- Then copy backup GDI32.dll from c:\windows\servicepackfiles\i386\gdi32.dll to the system folder with the following commands:
copy C:\Windows\ServicePackFiles\i386\GDI32.dll C:\Windows\System32\GDI32.dllReplace “C” with your own system drive letter if applicable.
- Restart computer.
If you don’t have the original Windows XP CD, or been asked for administrator password which you don’t have or doesn’t set and hence unable to run restore options, try to boot from any other bootable floppy diskette, or bootable CD/DVD. If you’re on dual-boot system, it’s possible to boot from another OS to access the Windows XP installation, but make sure you use the proper path.
To avoid the reboot loop issue cause by GDI32.dll, and ensure that the system doesn’t expose to exploit vulnerability, install Windows XP SP3 RC2 Refresh v.5508, which has latest and updated GDI32.dll version 6.0.2900.3316 installed by KB948590.
Related Articles
- Endless Reboot Loop While “Configuring Updates: Stage 3 of 3″ During Vista SP1 Installation
- System Halt 0xc0000034 Error When Boot Up After Installing Windows Vista SP1
- Fix Deleted SAM File Causing Windows Vista Unable to Boot Error
- 0X80070002 License Check Failure and Unable to Logon Error After Installing Windows XP SP3
- Windows Vista Fails to Boot After Installing SP1 with ntoskrnl.exe 0xc0000098 Error
- 0×80070002 Is Preventing Windows from Accurately Checking the License Error
- Windows Vista Failed to Start with ntkrnlpa.exe or ntoskrnl.exe 0xc0000428 Error Status
- Error 1721: There Is A Problem With This Windows Installer Package When Install or Uninstall on Vista
- Error Code 0×80070002 During Windows Vista SP1 Setup Install
- Windows Vista 0×80070426 Activation Service Not Started or Validation Not Genuine Error










































August 16th, 2009 06:06
Is there any workaround for the “access denied” response to ren and copy commands?
August 16th, 2009 01:23
[...] and install the service pack again, and most importanly, chance of encountering problems and errors during SP3 upgrade. There are many versions for Windows XP with Service Pack 3 CD ISO images been [...]
August 3rd, 2009 11:14
That worked Perfectly!!!!!
one thing though. I had to check instructions
and change one thing
the syntax on the first step of renaming
is
REN [drive][path][file to rename] [new name]
April 21st, 2009 01:10
I have a Compaq Presario V5000 laptop and I booted using UBUNTU CD Image (it is free – just google it) and was able to gain access to the hard drive. I ran the “try without changing your current setup” (or something like that) option. From there I went through the painful process of rummaging through the disk and renaming everything. Then it booted fine after. Thanks for the advice on how to fix it though. Could not have done it otherwise.
December 13th, 2008 14:00
Hi I tried to use the REN command & the Copy command but I get this “access denied”.
I read the whole post and it seems some other people have that problem too. Please contact me at, alvin.keung@gmail.com
Thanks.
November 24th, 2008 22:13
I replaced the gdi32.dll as described above but i still get the reboot loop.
How do i restart the computer normally when in recovery mode ? I just pushed the power button.
November 4th, 2008 23:47
This problem has worked. to copy the GDI32.DLL from the servicepackfiles map.
Be carefull with the service pack 3 RC2 v5503
I is NOT a regulated update.
I will quote from the tech net forum :
“While this update is available for anyone, remember that it is pre-release software, is time-limited, and is intended for IT professionals, developers, and other technically-inclined individuals that are comfortable using pre-release software.”
September 18th, 2008 08:11
Yes, that worked. Silly Microsoft screwing up yet another Windows update. I used NTFS DOS and system boots again. Right into the “do you want to turn on auto update option” – which caused the problem in the first place, ironic!
September 17th, 2008 04:33
[...] in a reboot loop reported by some users at the Microsoft TechNet Windows XP SP3 forums, check out this guide for repairing your [...]
September 5th, 2008 10:00
Thanks! Worked great. Had this issue with SP3 v.3264. Wonder what other surprises await me.
)
June 23rd, 2008 16:51
BRILLIANT!!!
Just saved me a whold lot of time and effot with this simple fix.
Thank you
May 20th, 2008 01:30
I have the same problem with “No attached HDD found” error on the setup from the CD. how am i supposed to update my HDD drivers without being able to boot my PC properly? Any tips for that matter?
May 19th, 2008 23:17
I installed the official release of SP3 onto a friends XP Home (SP2) pc and experianced the GDI32.dll BSOD. Many thanks for the recovery tips – it worked a treat!!
May 15th, 2008 18:55
[...] [...]
May 12th, 2008 00:50
[...] dem Internet war die Lösungsstrategie relativ schnell [...]
May 10th, 2008 02:28
Just installed XP SP3 on 2 AMD based Computers, 1 HP 64 and 1 Gateway 64X2. Went to Safe Mode, did Run sc config intelppm start=disable, installed SP3 and everything works. Here is the link to the page with additional info.
http://msinfluentials.com/blogs/jesper/archive/2008/05/08/does-your-amd-based-computer-boot-after-installing-xp-sp3.aspx
Did not have to do GDI32.dll fix.
Hope this helps someone.
Thanks
May 9th, 2008 18:38
[...] Solução essa que que acabei por encontrar aqui. [...]
May 9th, 2008 17:22
Thanks a HOLE lot, fixed my OS.
May 8th, 2008 23:47
i start up my comp it loads fine till i get to windowxp screen it stalls there for about 20secs then my comp reboots its self over and over.
May 8th, 2008 04:15
I actually cannot get past the first few seconds of when the PC starts up. It does start up to destop and then it’s on there for like 20seconds then shuts off agian. But thats rare.. any idea’s?
May 7th, 2008 05:33
Thanx! Worked well, greetings from Austria (The Europe oone) ^^
May 5th, 2008 06:12
[...] Ergebnisse auf Foren beschränken in denen nur polemische Sprüche abgelassen werden, helfen die englischen durchaus [...]
May 2nd, 2008 05:19
[...] 3 Now! Maro, did you install the final version, or the RC/beta version? maybe this can help Windows XP SP3 BSoD Endless Reboot Loop with Stop c0000139 on GDI32.dll Error
May 2nd, 2008 03:13
[...] Get Windows XP Service Pack 3 Now! Maro, maybe this can help Windows XP SP3 BSoD Endless Reboot Loop with Stop c0000139 on GDI32.dll Error
April 30th, 2008 09:02
First I would like to appreciate for your instruction. It helps indeed.
I installed the SP3 today to total four computers (desktop/laptop both at home/office). 3 of the 4 computers got the issue. I reinstall the whole system in one laptop until I found this message. I replaced the GDI.dll file and now all the computers work.
I’m a little concern that some guy may only have one computer at hand and may not beware of this issue at all. After he/she updates the SP3 and got this issue, how frustrated they would be.
April 30th, 2008 08:18
Today I installed XP SP3 in my ThinkPad and Fujitsu laptop, both have the problem.
I already spend a couple of hours to reinstall the system and every software I need in Fujitsu.
Why Microsoft push a garbage software out without enough test??
April 30th, 2008 05:58
thanks for that, worked like a charm
April 30th, 2008 01:58
[...] encounter the Windows XP SP3 BSoD Endless Reboot Loop with Stop c0000139 on GDI32.dll Error, follow this guide to repair your XP installation. Thanks daPhoenix for the [...]
April 30th, 2008 01:55
[...] could not be located in the dynamic link library GDI32.dll. Fix/Work round is here It says Boot from a Windows CD or [...]
April 30th, 2008 01:05
how do you fix access denied in this case :C
cause every time i try to do something in recovery console i get “access denied”
April 29th, 2008 22:21
thanks, you saved my ass
April 29th, 2008 20:42
[...] encounter the Windows XP SP3 BSoD Endless Reboot Loop with Stop c0000139 on GDI32.dll Error, follow this guide to repair your XP installation. Thanks daPhoenix for the [...]
April 29th, 2008 20:14
[...] encounter the Windows XP SP3 BSoD Endless Reboot Loop with Stop c0000139 on GDI32.dll Error, follow this guide to repair your XP installation. Thanks daPhoenix for the tip! Link: Explanation on MSDN TechNet [...]
April 29th, 2008 13:14
thank u so much, i used Petter’s offline password editor to bypass the “access denied” error when trying to rename gdi32.dll from the recovery console (marvelous program)
you saved my life, thank you thank you thank you!!
April 29th, 2008 10:01
Muchas gracias !!!!
Exelente aporte
April 28th, 2008 09:47
Windows XP SP3 BSoD Endless Reboot Loop with Stop c0000139 on GDI32.dll Error
I have tried:
REN C:\Windows\System32\GDI32.dll C:\Windows\System32\GDI32.dll.orig
AND
copy C:\Windows\ServicePackFiles\i386\GDI32.dll C:\Windows\System32\GDI32.dll
But nothing is working, HELP.
email me with answers tmarkiewicz8@aol.com
April 27th, 2008 23:48
Thank you very much: Saved me big trouble, because I just updated the computer of my girlfriend yesterday and I run into the reboot loop. But now it works and everyone is happy here.
Thanks!
April 26th, 2008 00:40
I have a dell Inspion 700m and it is not letting me access my CD drive it doesn’t have a floppy so i cant use that.
I have a 250GB external hard drive and 1GB flash drive is there a way i can do this using one of them?
April 25th, 2008 11:09
A few of my friends pointed me in this direction because of my clumsy install of SP3.
I have this problem, but with a twist. I am using an Asus P4P800-E Deluxe MB and using the Raid functionality for performance and safety. My logical C drive is a Raid 0 made up of 2 10,000 RPM WD SATA Raptor drives. When I attempt a Windows repair, Windows does not see my logical drives. It does appear to recognize that there are 4 devices, but no useable partitions. This occurs even with loading the Intel Raid driver when requested by Windows. My current plan for consideration is to attach another SATA drive to one of my open SATA ports that are not managed by the Raid chipset. Once that happens and I am able to run Windows, I will try your procedure above and replace the GDI32.dll. Any other suggestions would be greatly appreciated.
April 25th, 2008 06:22
I get “access is denied” whenever I try the REN command
April 24th, 2008 22:24
You probably need to load the driver for your hard disk controller.
April 24th, 2008 21:09
This doesn’t work for me. The Recovery Console claims I have no harddrive attached to my computer.
I tried booting with a few Linux LiveCDs (Knoppix, Ubuntu, Damn Small Linux) and none of the can find my harddrive either.
Seems SP3 have destroyed my harddrive properly…
April 24th, 2008 14:49
omg!thank you sooo much! u saved my life!!!
April 23rd, 2008 16:26
Thanks!
That did the trick. Simple and straight forward.
Just did a complete reinstall on my laptop did SP2, saw SP3 was available and imagine my irritation on the BSOB with an endless loop!
Keep up the good work
April 22nd, 2008 10:29
Thank you so much! I just installed this on my laptop a couple of hours ago and I couldn’t believe that I had gotten the endless reboot! I’ve kept this one going in great condition for 3 years and plan on another great 3!
April 22nd, 2008 05:16
Thank you so much for the advice. I wish people were as helpful in real life as they are in the tech community!
April 20th, 2008 17:37
Great advice. Did the trick.
Thanks
Stap