Solved

The procedure entry point SHCreateThreadRef could not be located in the dynamic link library SHLWAPI.DLL

Posted on 2004-10-15
3
21,220 Views
Last Modified: 2009-12-05
This is more a comment that a question, but concerns the cause and solution for the error message described in the title.

There appears to be a potential problem brewing out there in relation to Windows XP SP2 and application of the subsequent SP2 (Security Bulletin MS04-038, update KB834707) critical update.  I live in one consultant in a small community and so far I have had two clients with this problem, so I thought I would just put out the information that I have found.  Please excuse the length of this post.  The problem occurs when KB834707 is applied to a computer in which SP2 was not fully installed.  I know this should not be able to occur, but it does.  The two clients that I have fixed resulted from two different circumstances.  In the first, SP2 was applied, and then KB834707 was applied before rebooting the system.  In the second, the SP2 installation was canceled (gracefully) when the user determined that they simply did not have enough time to complete it at that time.  Returning to Windows Update the next day, the automatic process acted as if SP2 was fully installed, and prompted them to install KB834707, which they did.   Now both situations involve a mistake on the part of the user, albeit very understandable ones that many users would be likely to make.  The real problem sees to be that KB834707 does not adequately check its own prerequisites before installing.   The result is that the user can boot and logon, but they then get a message “The procedure entry point SHCreateThreadRef could not be located in the dynamic link library SHLWAPI.DLL”.  The Start button and desktop icons are not displayed, indicating that Explorer.exe is never loaded.  The user can Ctl-Alt-Delete to get to task manager to shut down.  The same problem occurs when booting in Safe Mode.  The solution (finally, if that is what you are looking for) is to uninstall KB834707.  I was able to do this in both instances using the following procedure

1.      Boot to the Recovery Console (and hope you have the admin password)
2.      Type    cd $ntservicepackuninstall$\spuninst
3.      Type     batch spuninst.txt
4.      The screen will scroll around, saying “files missing”, “access denied” and also copying files about.  Just wait for this all to finish
5.      Reboot.  I was able to reboot in normal mode
6.      Re-install SP2 (You must do this or the problem will recurr at step 7).  REBOOT
7.      Install KB834707

I hope this helps the next person.  Regards.

0
Comment
Question by:virtualjay
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 65

Expert Comment

by:SheharyaarSaahil
ID: 12320482
Hello virtualjay =)

That's Superb..... thanx jay for sharing this wonderful explaiantion with us :)
0
 
LVL 27

Expert Comment

by:Asta Cu
ID: 12320579
Top Notch!
0
 
LVL 59

Accepted Solution

by:
LeeTutor earned 0 total points
ID: 12327360
Thank you very much, virtualjay, for sharing the info.  I will PAQ this question for use by others with this common problem that has afflicted many computers.  Refunding the points...

LeeTutor
Experts-Exchange Page Editor for Windows 3.x, 9x, ME, and XP
0

Featured Post

[Webinar] Code, Load, and Grow

Managing multiple websites, servers, applications, and security on a daily basis? Join us for a webinar on May 25th to learn how to simplify administration and management of virtual hosts for IT admins, create a secure environment, and deploy code more effectively and frequently.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

cPanel is a Unix based web hosting control panel that provides a graphical interface and automation tools designed to simplify the process of hosting a web site. cPanel utilizes a 3 tier structure that provides functionality for administrators, rese…
When you start your Windows 10 PC and got an "Operating system not found" error or just saw  "Auto repair for startup" or a blinking cursor with black screen. A loop for Auto repair will start but fix nothing.  You will be panic as there are no back…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question