[SOLVED] Corrupt tpcps.dll and .NET Framework 4.5.2 Recurrent Updates

VinceS

Contributor
Joined
May 16, 2015
Posts
7
Location
Newcastle NSW Australia
For some weeks now every time I start a software package that could use a touch sensitive screen (eg AutoCAD) I get an error "tpcps.dll is either not designed to run on windows or it contains an error". Press OK and the program loads normally. Today I noticed that for the third day in a row I have been presented with three .NET Framework 4.5.2 security update files and the history shows they were successfully installed each time. Checking Control Panel - Programs & Features - Installed Updates shows they are indeed installed, but Windows Updates still has the same three Important Updates to go. These are KB3037581, KB3035490 & KB3023224.

HitmanPro finds no virus activity.

I ran sfc / scannow elevated and found a few items which SFCFix couldn't eliminate. Then I did per this guide and that cleaned out a couple but the already installed updates are still being offered. This is the SFCFix current status of what is left (I have a Win 7 64 sp1 cd, but it didn't seem to look at it when requested):

SFCFix version 2.4.3.0 by niemiro.
Start time: 2015-05-16 20:17:57.416
Microsoft Windows 7 Service Pack 1 - amd64
Not using a script file.

AutoAnalysis::
CORRUPT: C:\Windows\winsxs\amd64_microsoft-windows-t..latform-input-proxy_31bf3856ad364e35_6.1.7601.17514_none_17df77c92191ecec\tpcps.dll
CORRUPT: C:\Windows\winsxs\amd64_microsoft-windows-t..recognition-gesture_31bf3856ad364e35_6.1.7600.16385_none_1053a150ee4d2f9f\mshwgst.dll
CORRUPT: C:\Windows\winsxs\amd64_microsoft.ink_31bf3856ad364e35_6.1.7600.16385_none_e2ed1727ba090daa\Microsoft.Ink.dll

SUMMARY: Some corruptions could not be fixed automatically. Seek advice from helper or sysnative.com.
CBS & SFC total detected corruption count: 3
CBS & SFC total unimportant corruption count: 0
CBS & SFC total fixed corruption count: 0
SURT total detected corruption count: 0
SURT total unimportant corruption count: 0
SURT total fixed corruption count: 0
AutoAnalysis:: directive completed successfully.

Successfully processed all directives.
SFCFix version 2.4.3.0 by niemiro has completed.
Currently storing 2 datablocks.
Finish time: 2015-05-16 20:22:07.845
----------------------EOF-----------------------

I couldn't attach the file CbsPersist_20150516055228.cab as it is 8Mb which I suspect is over the forum limit, so here is the rest of the Logs\CBS directory:

View attachment SFCFix.txt
View attachment CBS (2).zip
View attachment CheckSUR.log
View attachment CheckSUR.persist.log

Thank you for any assistance you can kindly provide to clear up these issues
 
It appears I have two separate issues and have fixed the .NET Framework one by using Microsoft's cleanup_tool.exe version 6.0.3790.0 dated June 24th 2014 (comes in dotnetfx_cleanup_tool.zip). One by one cleaned up each .NET version shown, restarted PC then ran NDP452-KB2901907-x86-x64-AllOS-ENU.exe to put back 4.5.2 then windows update to add in security fixes and that seems to have sorted it - will do one more restart to be sure.

Re the supposedly corrupt files relating to the use of pressure sensitive devices I can see these files all exist with a copy in each the 32 and 64 bit directories as follows:

C:\Program Files\Common Files\Microsoft Shared\ink\tpcps.dll 99.0 KB (101,376 bytes); created Sunday, ‎21 ‎November ‎2010, ‏‎2:25:10 PM
C:\Program Files\Common Files\Microsoft Shared\ink\mshwgst.dll 48.5 KB (49,664 bytes); created Tuesday, ‎14 ‎July ‎2009, ‏‎10:02:39 AM
C:\Program Files\Common Files\Microsoft Shared\ink\Microsoft.Ink.dll 496 KB (507,904 bytes); created Tuesday, ‎14 ‎July ‎2009, ‏‎9:04:30 AM

C:\Program Files (x86)\Common Files\microsoft shared\ink\tpcps.dll 40.0 KB (40,960 bytes); created ‎Tuesday, ‎14 ‎July ‎2009, ‏‎9:46:26 AM
C:\Program Files (x86)\Common Files\microsoft shared\ink\mshwgst.dll 43.0 KB (44,032 bytes); created ‎Tuesday, ‎14 ‎July ‎2009, ‏‎9:47:27 AM
C:\Program Files (x86)\Common Files\microsoft shared\ink\Microsoft.Ink.dll 496 KB (507,904 bytes); created ‎Tuesday, ‎14 ‎July ‎2009, ‏‎8:46:50 AM

Weird huh - sure doesn't look like these are corrupt files. Any idea what's going on? Thank you
 
OK restarted and WU failed with error 80244019. But running MicrosoftFixit.wu.Run.exe resolved that and now WU reports it is up to date. So I re-ran SFC / scannow and SFCFixit and got exactly the same results previously advised. So I am hoping for input now please as seem to be at the end of what I can achieve for myself. Thank you.
 
Hi and welcome to Sysnative. First, great job so far on fixing the .NET issue. Those are nasty to fix and sometimes doing the steps you did is the only option. Now let's get the other three corruptions fixed for you. The files can exist but still be corrupt. Please do the following.

Step#1 - SFCFix Script
Warning: this fix is specific to the user in this thread. No one else should follow these instructions as it may cause more harm than good. If you are after assistance, please start a thread of your own.

  1. Download SFCFix.exe (by niemiro) and save this to your Desktop. If you still have this on your desktop from downloading previously, you don't need to re-download.
  2. Download the file below, SFCFix.zip, and save this to your Desktop. Ensure that this file is named SFCFix.zip - do not rename it.
  3. Save any open documents and close all open windows.
  4. On your Desktop, you should see two files: SFCFix.exe and SFCFix.zip.
  5. Drag the file SFCFix.zip onto the file SFCFix.exe and release it.
  6. SFCFix will now process the script.
  7. Upon completion, a file should be created on your Desktop: SFCFix.txt.
  8. Copy (Ctrl+C) and Paste (Ctrl+V) the contents of this file into your next post for me to analyse please

Step#2 - SFC Scan


  1. Click on the Start
    Start%20Orb.jpg
    button and in the search box, type Command Prompt
  2. When you see Command Prompt on the list, right-click on it and select Run as administrator
  3. When command prompt opens, copy and paste the following commands into it, press enter after each

    sfc /scannow

    Wait for this to finish before you continue

    copy %windir%\logs\cbs\cbs.log %userprofile%\Desktop\cbs.txt
  4. This will create a file, cbs.txt on your Desktop. Please zip/attach this to your next post.

Please Note:: if the file is too big to upload to your next post please upload via a service such as Dropbox or One Drive or SendSpace and just provide the link.



Items for your next post
1. SFCFix log
2. CBS log
 

Attachments

Thank you very much Brian, that script seems to have cleared the issues. SFC /scannow reports 100% clean, although I note when I search for "corrupt" in the cbs.log file the culprits still get a mention, but I guess the permission changes made in the script allowed it to do repairs. Interestingly the actual listed files mentioned earlier have remained identical. Oops, just looked in winsxs directory and realised I really don't have a clue how this system level stuff hangs together!

The cbs.txt file is attached and this is SFCFix.txt:

SFCFix version 2.4.3.0 by niemiro.
Start time: 2015-05-18 13:04:45.978
Microsoft Windows 7 Service Pack 1 - amd64
Using .zip script file at D:\Vince\Downloads\SFCFix(1).zip [0]

PowerCopy::
Successfully took permissions for file or folder C:\Windows\winsxs\amd64_microsoft.ink_31bf3856ad364e35_6.1.7600.16385_none_e2ed1727ba090daa\Microsoft.Ink.dll
Successfully took permissions for file or folder C:\Windows\winsxs\amd64_microsoft-windows-t..recognition-gesture_31bf3856ad364e35_6.1.7600.16385_none_1053a150ee4d2f9f\mshwgst.dll
Successfully took permissions for file or folder C:\Windows\winsxs\amd64_microsoft-windows-t..latform-input-proxy_31bf3856ad364e35_6.1.7601.17514_none_17df77c92191ecec\tpcps.dll

Successfully copied file C:\Users\Vince\AppData\Local\niemiro\Archive\winsxs\amd64_microsoft.ink_31bf3856ad364e35_6.1.7600.16385_none_e2ed1727ba090daa\Microsoft.Ink.dll to C:\Windows\winsxs\amd64_microsoft.ink_31bf3856ad364e35_6.1.7600.16385_none_e2ed1727ba090daa\Microsoft.Ink.dll.
Successfully copied file C:\Users\Vince\AppData\Local\niemiro\Archive\winsxs\amd64_microsoft-windows-t..recognition-gesture_31bf3856ad364e35_6.1.7600.16385_none_1053a150ee4d2f9f\mshwgst.dll to C:\Windows\winsxs\amd64_microsoft-windows-t..recognition-gesture_31bf3856ad364e35_6.1.7600.16385_none_1053a150ee4d2f9f\mshwgst.dll.
Successfully copied file C:\Users\Vince\AppData\Local\niemiro\Archive\winsxs\amd64_microsoft-windows-t..latform-input-proxy_31bf3856ad364e35_6.1.7601.17514_none_17df77c92191ecec\tpcps.dll to C:\Windows\winsxs\amd64_microsoft-windows-t..latform-input-proxy_31bf3856ad364e35_6.1.7601.17514_none_17df77c92191ecec\tpcps.dll.

Failed to reset file attributes for file or folder C:\Windows\winsxs\amd64_microsoft.ink_31bf3856ad364e35_6.1.7600.16385_none_e2ed1727ba090daa\Microsoft.Ink.dll with error code ERROR_ACCESS_DENIED.
Successfully restored ownership for C:\Windows\winsxs\amd64_microsoft.ink_31bf3856ad364e35_6.1.7600.16385_none_e2ed1727ba090daa\Microsoft.Ink.dll
Successfully restored permissions on C:\Windows\winsxs\amd64_microsoft.ink_31bf3856ad364e35_6.1.7600.16385_none_e2ed1727ba090daa\Microsoft.Ink.dll
Failed to reset file attributes for file or folder C:\Windows\winsxs\amd64_microsoft-windows-t..recognition-gesture_31bf3856ad364e35_6.1.7600.16385_none_1053a150ee4d2f9f\mshwgst.dll with error code ERROR_ACCESS_DENIED.
Successfully restored ownership for C:\Windows\winsxs\amd64_microsoft-windows-t..recognition-gesture_31bf3856ad364e35_6.1.7600.16385_none_1053a150ee4d2f9f\mshwgst.dll
Successfully restored permissions on C:\Windows\winsxs\amd64_microsoft-windows-t..recognition-gesture_31bf3856ad364e35_6.1.7600.16385_none_1053a150ee4d2f9f\mshwgst.dll
Failed to reset file attributes for file or folder C:\Windows\winsxs\amd64_microsoft-windows-t..latform-input-proxy_31bf3856ad364e35_6.1.7601.17514_none_17df77c92191ecec\tpcps.dll with error code ERROR_ACCESS_DENIED.
Successfully restored ownership for C:\Windows\winsxs\amd64_microsoft-windows-t..latform-input-proxy_31bf3856ad364e35_6.1.7601.17514_none_17df77c92191ecec\tpcps.dll
Successfully restored permissions on C:\Windows\winsxs\amd64_microsoft-windows-t..latform-input-proxy_31bf3856ad364e35_6.1.7601.17514_none_17df77c92191ecec\tpcps.dll
PowerCopy:: directive completed successfully.

Successfully processed all directives.
SFCFix version 2.4.3.0 by niemiro has completed.
Currently storing 5 datablocks.
Finish time: 2015-05-18 13:04:46.577
Script hash: XGt6XANX3zhG+jsyKWTZYWDYsaH0DfyhAOpG0JCSSvo=
----------------------EOF-----------------------
 

Attachments

Thank you Brian. I really appreciate what you guys are doing here and have kicked in $20 towards the cause. Can't do much more as had no income for some years, but about to fix that by my own efforts. Thanks again for what you and people on this forum do to make the world a better place.
 

Has Sysnative Forums helped you? Please consider donating to help us support the site!

Back
Top