Can't open add/remove windows components.

message received after trying to open add/remove windows

components,

Setup library msdtcstp.dll could not be loaded, or function OcEntry could not be found.

Contact your system administrator. The specific error code is 0x7e.

 

Question Info


Last updated March 26, 2018 Views 3,513 Applies to:
Answer

Hi Dtrain50USA,

 

·        Did you make any changes to the computer before this issue started?

 

Step 1

 

You may try to expand the dll file to your computer and check if it helps you fix the issue.

 

To expand the dll file to the computer, follow the steps below:

To use Expand.exe from the Run line, follow these steps:

a.  Insert your Windows XP installation disk into your CD drive or DVD drive.

b.  ClickStart, click Run, type expand  source destination (where source is the path to the file that you want to expand on the Windows XP installation disk, anddestination is the path to the location where you want to save the file), and then clickOK.

c.  Assuming your CD drive is D: the command would be “expand D:\i386\msdtcstp.dl_  c:\windows\system32\” without quotes and press enter.

Restart the computer and check if it helps you access add or remove programs.

Step 2

 

If the above steps fail, you may try to run a System File Checker (SFC Scan).

 

To run SFC Scan follow these steps:

a.  Click Start, and click on run. 

b.  Type cmd in the box and click on Ok.

c.  At the command prompt, the following line, and then press ENTER: sfc /scannow 

 

Access the link below to know more about running System File Checker.

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

Check if it helps you fix the issue.

 

Hope this helps. Let us know the results.

 

Thanks and Regards,

 

Srinivas R

Microsoft Support.

Visit our Microsoft Answers Feedback Forum and let us know what you think.

Did this solve your problem?

Sorry this didn't help.

Great! Thanks for marking this as the answer.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this response?

Thanks for your feedback.

Answer
Using Add/Remove Programs and Add/Remove Windows Components, you see this message:

Setup library msdtcstp.dll could not be loaded, of function OcEntry could not be found.
Contact your system administrator.  The specific error code is 0x7e.

The msdtcstp.dll file is either missing or corrupt, your system PATH variable is incorrect or your system is afflicted with malicious software (or all of the above).

Using Windows Explorer, browse and see if the file is present. 

The msdtcstp.dll file should be in this folder:

c:\windows\system32\setup

Since it is one of the 3498 files that is covered under Windows File Protection, if it ever was installed and working, it should never be "missing" unless something else is wrong, but you can just go ahead and replace it with a known good copy and then work on any remaining issues.

You can search your system for copies of msdtcstp.dll and copy one into the correct folder replacing the missing or suspicious file.  You need to replace the file if it is missing, or overwrite the afflicted file if it is suspicious.

There should be a a copy of msdtcstp.dll file in this folder:

c:\windows\system32\dllcache

Just copy c:\windows\system32\dllcache\msdtcstp.dll and paste it into the c:\windows\system32\setup folder to replace it.

Respond in the affirmative if asked to overwrite the existing file.

Test your system now.


If you can't find the file and have a genuine bootable XP installation CD installed and the CD is drive X, expand the file from the i386 folder on the CD into your c:\windows\system32\setup folder by entering this command from a Command Prompt window:

expand x:\i386\msdtcstp.dl_  c:\windows\system32\setup\msdtcstp.dll

Respond in the affirmative if asked to overwrite the existing file and then you should see a message that 1 file(s) was expanded.

Test your system now.

Please report back your results.

Your system could also be afflicted with malicious software, so follow up your resolution with this:

Download, install, update and do a full scan with these free malware 
detection programs:

Malwarebytes (MBAM):  http://malwarebytes.org/
SUPERAntiSpyware: (SAS):  http://www.superantispyware.com/

They can be uninstalled later if desired.

When the scans run clean, then troubleshoot any remaining issues.

Don't guess what the problem might be - figure it out and fix it. I need YOUR votes and points for helpful replies and Propose as Answers. I am saving up for a pony!

 

Did this solve your problem?

Sorry this didn't help.

Great! Thanks for marking this as the answer.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this response?

Thanks for your feedback.