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:

  1. Boot from a Windows CD or BartPE.
  2. At Welcome to Setup screen, press “R” to start repair option and open up a Recovery Console’s command prompt window.
  3. Select the Windows installation to use, normally is C:\Windows and just one option. If so, press “1″ and hit Enter.
  4. If prompted for administrator password, enter the password (normally blank) and hit Enter.
  5. Make a backup of existing GDI32.dll in system folder with following command:

    REN C:\Windows\System32\GDI32.dll C:\Windows\System32\GDI32.dll.orig

    Replace “C” of the drive letter of your Windows installation drive if necessary.

  6. 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.dll

    Replace “C” with your own system drive letter if applicable.

  7. 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.

50 Responses to “Windows XP SP3 BSoD Endless Reboot Loop with Stop c0000139 on GDI32.dll Error”

Pages: 1 2

  1. CC
    April 24th, 2010 01:38
    50

    Do a Google search for ERD commander. This is guaranteed to get your computer up & running!

  2. Raul Abella
    December 28th, 2009 05:50
    49

    Reboot Loop After Installing Windows XP SP3

    To solve this problem you have to grab a pen, a piece of paper and the Windows XP Disc. Make a nice drinks or coffee or tea to make you feel relax…

    1. Start the computer and keep tapping F8 button when the system starting until you see the “Windows Advanced Options Menu” Please select an option:
    select the “Disable automatic restart on system failure” then press enter.

    2. Now we’re on the Blue Screen Of Death (BSOD) showing the symptom that causes the illness. Write down the name of the file….

    3.Put the Windows XP Disc into CD/DVD Drive and press the reset button to restart the computer, then press any key when the system starting for the Windows XP Disc. Now you see a “Window Setup” with blue screen background and please wait until it settle down.

    4. Press R for Recovery Console… We are on the “Microsoft Windows XP (TM)Recovery Console” press 1 to log on…then press enter.

    5. Administrator Password is the main password when you install the Windows XP. If no main password then press enter.

    6. As you can see the “C:\WINDOWS>” This is where we type the DOS COMMAND PARAMETERS….

    7. Now we have to make a backup of the file you wrote in the system folder. Type this command parameters;

    CD C:\WINDOWS\SYSTEM32\

    press enter

    RENAME NTDLL.dll NTDLL.orig (change NTDLL.dll to the name of file you wrote)

    press enter

    8. Then copy the NTDLL.dll from C:\WINDOWS\SERVICEPACKFILES\I386\ to the system folder with the right command parameters:

    CD C:\WINDOWS\SERVICEPACKFILES\I386\

    press enter

    COPY NTDLL.dll C:\WINDOWS\SYSTEM32\

    press enter

    To restart the computer type EXIT then press enter….

    ©Copyrighted 091226-2012 Rolfy Microsoft TechNet Resources for IT Professionals

  3. Rolfy
    December 26th, 2009 12:57
    48

    THE RIGHT COMMAND PARAMETERS

    before you correctly make a backup of existing GDI32.dll in system folder You have to do the right following command:

    CD C:\Windows\System32\

    press enter

    RENAME GDI32.dll C:\Windows\System32\GDI32.dll.orig

    press enter

    Then copy the backup GDI32.dll from C:\WINDOWS\SERVICEPACKFILES\I386\GDI32.DLL to the system folder with the right command parameters:

    CD C:\WINDOWS\SERVICEPACKFILES\I386\

    press enter

    COPY GDI32.DLL C:\WINDOWS\SYSTEM32\

    press enter

    To restart the computer type EXIT then enter….

    Hope it will work for your computer…..
    The GDI32.DLL still didn’t fix the Windows XP SP3 REBOOT LOOP of my computer.

  4. Jim
    August 16th, 2009 06:06
    47

    Is there any workaround for the “access denied” response to ren and copy commands?

  5. Windows XP SP3 with Service Pack 3 Full Installation CD ISO Image Relased on MSDN/TechNet » Tip and Trick
    August 16th, 2009 01:23
    46

    [...] 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 [...]

  6. Rich
    August 3rd, 2009 11:14
    45

    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]

  7. Alex
    April 21st, 2009 01:10
    44

    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.

  8. Alvin
    December 13th, 2008 14:00
    43

    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.

  9. Landie
    November 24th, 2008 22:13
    42

    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.

  10. Falcon
    November 4th, 2008 23:47
    41

    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.”

  11. Dave Henderson
    September 18th, 2008 08:11
    40

    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!

  12. Windows XP Service Pack 3 - Hints & Download Links Below | Tech Supersite Network
    September 17th, 2008 04:33
    39

    [...] in a reboot loop reported by some users at the Microsoft TechNet Windows XP SP3 forums, check out this guide for repairing your [...]

  13. Ivan
    September 5th, 2008 10:00
    38

    Thanks! Worked great. Had this issue with SP3 v.3264. Wonder what other surprises await me. :-( )

  14. Ben
    June 23rd, 2008 16:51
    37

    BRILLIANT!!!

    Just saved me a whold lot of time and effot with this simple fix.

    Thank you

  15. Hazal
    May 20th, 2008 01:30
    36

    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?

  16. DocPaul
    May 19th, 2008 23:17
    35

    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!!

  17. bsod xp service pack 3
    May 15th, 2008 18:55
    34

    [...] [...]

  18. MS Windows und ein zerpfuschtes Servicepack | Knutshome.de - Not the polar bear [The Blog]
    May 12th, 2008 00:50
    33

    [...] dem Internet war die Lösungsstrategie relativ schnell [...]

  19. Mac
    May 10th, 2008 02:28
    32

    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

  20. Windows XP SP3 - A reparação. « errorStream
    May 9th, 2008 18:38
    31

    [...] Solução essa que que acabei por encontrar aqui. [...]

  21. Manjerico
    May 9th, 2008 17:22
    30

    Thanks a HOLE lot, fixed my OS.

  22. chris
    May 8th, 2008 23:47
    29

    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.

  23. Chris
    May 8th, 2008 04:15
    28

    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?

  24. Wolfgang
    May 7th, 2008 05:33
    27

    Thanx! Worked well, greetings from Austria (The Europe oone) ^^

  25. blog.jondor.com » Vorsicht vor Windows XP SP3
    May 5th, 2008 06:12
    26

    [...] Ergebnisse auf Foren beschränken in denen nur polemische Sprüche abgelassen werden, helfen die englischen durchaus [...]

Pages: 1 2

Leave a Reply

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Subscribe to comments feature has been disabled. To receive notification of latest comments posted, subscribe to My Digital Life Comments RSS feed or register to receive new comments in daily email digest.

New Articles

Incoming Search Terms for the Article

c0000139 - XP SP3 BSOD - gdigetbitmapbitsize - SP3 BSOD - Gdi32.dll sp3 - xp sp3 blue screen - sp3 blue screen - xp sp3 gdi32.dll - c0000139 GDI32.dll - xp sp3 reboot - c0000139 sp3 - sp3 gdi32.dll - sp3 reboot - gdi32.dll gdigetbitmapbitsize - gdi32.dll xp sp3 - Stop: c0000139 - windows xp sp3 blue screen - xp sp3 reboot loop - windows xp sp3 bsod - stop c0000139 - xp sp3 bluescreen - Windows XP SP3 reboot - stop:c0000139 - bsod sp3 - stop: c0000139 gdi32.dll - SP3 c0000139 - all - gdigetbitmapbitsize gdi32.dll - sp3 reboot loop - Stop c0000139 GDI32.dll - sp3 bluescreen - sp3 gdi32 - bsod xp sp3 - sp3 loop - windows xp reboot loop - windows xp sp3 gdi32.dll - gdi32.dll blue screen - STOP: c0000139 {Entry Point Not Found} - Gdi32.dll error - service pack 3 bsod - xp sp3 c0000139 - xp sp3 reboots - sp3 reboots - gdi32.dll - windows xp sp3 bluescreen - c0000139 error - c0000139 xp sp3 - c0000139 entry point not found - gdi32.dll BSOD - windows xp sp3 reboot loop - gdi32 sp3 - xp sp3 rebooting - XP SP3 loop - Windows SP3 blue screen - xp sp3 endless reboot - windows xp sp3 reboots - windows xp sp3 ENDLESS reboot - windows - xp sp3 gdi32 - GDI32.dll error SP3 - gdi32.dll c0000139 - the procedure entry point GDIGetBitmapBitSize could not be located in the dynamic link library GDI32.dll - windows xp sp3 restart - xp sp3 restart - stop error c0000139 - stop c0000139 entry point not found gdi32.dll - c0000139 gdigetbitmapbitsize - stop c0000139 sp3 - sp3 endless reboot - xp service pack 3 reboot loop - sp3 boot loop - windows sp3 BSOD - service pack 3 reboot loop - sp3 restart - sp3 GdiGetBitmapBitSize -