Skip to content

OSD Failed to create instance for IMTCTokenHandler interface, hr=0x80070005

Featured Replies

I get the above error in my OSD task sequence.This happens after is has installed the configmgr client if I add applications they seem to install ok and then it errors again.

 

 

The log file contents:

<![LOG[install succeeded. Blocking other instances of ccmsetup.]LOG]!><time="22:59:52.026-60" date="03-16-2013" component="OSDSetupHook" context="" type="0" thread="2072" file="installclient.cpp:1097">
<![LOG[installed Client]LOG]!><time="22:59:52.026-60" date="03-16-2013" component="OSDSetupHook" context="" type="0" thread="2072" file="installclient.cpp:1155">
<![LOG[start to cleanup TS policy]LOG]!><time="22:59:52.026-60" date="03-16-2013" component="OSDSetupHook" context="" type="0" thread="2072" file="utils.cpp:3055">
<![LOG[TS Deleted 0 instances]LOG]!><time="22:59:52.463-60" date="03-16-2013" component="OSDSetupHook" context="" type="0" thread="2072" file="utils.cpp:3098">
<![LOG[TS Policy cleanup done]LOG]!><time="22:59:52.463-60" date="03-16-2013" component="OSDSetupHook" context="" type="0" thread="2072" file="utils.cpp:3099">
<![LOG[End TS policy cleanup]LOG]!><time="22:59:52.463-60" date="03-16-2013" component="OSDSetupHook" context="" type="0" thread="2072" file="utils.cpp:3103">
<![LOG[setting variable to indicate a client installation was done]LOG]!><time="22:59:52.463-60" date="03-16-2013" component="OSDSetupHook" context="" type="0" thread="2072" file="installclient.cpp:1166">
<![LOG[Registering the task sequence with the execution manager in the newly installed operating system.]LOG]!><time="22:59:52.495-60" date="03-16-2013" component="OSDSetupHook" context="" type="0" thread="2072" file="installclient.cpp:1170">
<![LOG[Active request handle is empty, registering with new active request handle. This is expected if the TS was started from a media/PXE.]LOG]!><time="22:59:52.495-60" date="03-16-2013" component="OSDSetupHook" context="" type="2" thread="2072" file="utils.cpp:4522">
<![LOG[saving the new active request handle for the task sequence: {7994ECED-7413-4ECE-A7ED-E6273E52257A}]LOG]!><time="22:59:52.495-60" date="03-16-2013" component="OSDSetupHook" context="" type="1" thread="2072" file="utils.cpp:4535">
<![LOG[Failed to create instance for IMTCTokenHandler interface, hr=0x80070005]LOG]!><time="22:59:52.573-60" date="03-16-2013" component="OSDSetupHook" context="" type="0" thread="2072" file="utils.cpp:4552">
<![LOG[Waiting for ccmexec process to start]LOG]!><time="22:59:52.573-60" date="03-16-2013" component="OSDSetupHook" context="" type="0" thread="2072" file="utils.cpp:4553">
<![LOG[Failed to create instance for IMTCTokenHandler interface, hr=0x80070005]LOG]!><time="22:59:57.604-60" date="03-16-2013" component="OSDSetupHook" context="" type="0" thread="2072" file="utils.cpp:4552">
<![LOG[Waiting for ccmexec process to start]LOG]!><time="22:59:57.604-60" date="03-16-2013" component="OSDSetupHook" context="" type="0" thread="2072" file="utils.cpp:4553">
<![LOG[CoCreateInstance succeeded]LOG]!><time="23:00:04.213-60" date="03-16-2013" component="OSDSetupHook" context="" type="0" thread="2072" file="utils.cpp:4564">
<![LOG[Launching command shell.]LOG]!><time="23:00:04.776-60" date="03-16-2013" component="OSDSetupHook" context="" type="1" thread="2092" file="debugwindow.cpp:202">
<![LOG[Windows station: WinSta0]LOG]!><time="23:00:04.776-60" date="03-16-2013" component="OSDSetupHook" context="" type="1" thread="2092" file="utils.cpp:43">
<![LOG[Desktop: Default]LOG]!><time="23:00:04.776-60" date="03-16-2013" component="OSDSetupHook" context="" type="1" thread="2092" file="utils.cpp:62">
<![LOG[executing command: D:\WINDOWS\system32\cmd.exe /k]LOG]!><time="23:00:04.776-60" date="03-16-2013" component="OSDSetupHook" context="" type="1" thread="2092" file="debugwindow.cpp:63">
<![LOG[executed command: D:\WINDOWS\system32\cmd.exe /k]LOG]!><time="23:00:04.792-60" date="03-16-2013" component="OSDSetupHook" context="" type="1" thread="2092" file="debugwindow.cpp:80">
<![LOG[succesfully registered the tasksequence with the execution manager]LOG]!><time="23:00:06.510-60" date="03-16-2013" component="OSDSetupHook" context="" type="1" thread="2072" file="utils.cpp:4597">
<![LOG[Command line for extension .exe is "%1" %*]LOG]!><time="23:00:07.620-60" date="03-16-2013" component="OSDSetupHook" context="" type="0" thread="2072" file="commandline.cpp:228">
<![LOG[set command line: "D:\WINDOWS\system32\_SMSOSDSetup\TsProgressUI.exe" /Unregister]LOG]!><time="23:00:07.620-60" date="03-16-2013" component="OSDSetupHook" context="" type="0" thread="2072" file="commandline.cpp:731">
<![LOG[Executing command line: "D:\WINDOWS\system32\_SMSOSDSetup\TsProgressUI.exe" /Unregister]LOG]!><time="23:00:07.620-60" date="03-16-2013" component="OSDSetupHook" context="" type="1" thread="2072" file="commandline.cpp:827">
<![LOG[==========[ TsProgressUI started in process 1984 ]==========]LOG]!><time="23:00:07.807-60" date="03-16-2013" component="TsProgressUI" context="" type="1" thread="2332" file="winmain.cpp:330">
<![LOG[unregistering COM classes]LOG]!><time="23:00:07.807-60" date="03-16-2013" component="TsProgressUI" context="" type="1" thread="2332" file="winmain.cpp:204">
<![LOG[shutdown complete.]LOG]!><time="23:00:07.823-60" date="03-16-2013" component="TsProgressUI" context="" type="1" thread="2332" file="winmain.cpp:512">
<![LOG[Process completed with exit code 0]LOG]!><time="23:00:07.823-60" date="03-16-2013" component="OSDSetupHook" context="" type="1" thread="2072" file="commandline.cpp:1123">
<![LOG[successfully unregistered TS Progress UI.]LOG]!><time="23:00:07.823-60" date="03-16-2013" component="OSDSetupHook" context="" type="1" thread="2072" file="utils.cpp:2320">
<![LOG[Moving logs to SMS client directory]LOG]!><time="23:00:07.823-60" date="03-16-2013" component="OSDSetupHook" context="" type="1" thread="2072" file="basesetuphook.cpp:1495">
<![LOG[LOGGING: Resetting log path.]LOG]!><time="23:00:07.823-60" date="03-16-2013" component="OSDSetupHook" context="" type="1" thread="2072" file="tslogging.cpp:1803">

  • Author

I have restarted the whole process now and am getting some other errors but thanks for the reply. I am now having a problem after build and capture. I am getting an error saying windows could not parse or process the unattend answer file but I do not have one selected. Is there a default answer file I need to edit?

  • 1 month later...

Hello,

 

I have pretty much the same problem (SCCM 2012 SP1)

I can not install any application during my build and capture task sequence.

 

I attached some content from the smsts.log and clientmsi.log

 

If anyone has an idea ?

 

Thank you.

 


post-17351-0-90894800-1366811181_thumb.png

post-17351-0-10099200-1366811187_thumb.png

Well I think it's because of my Network Access Account but It's already defined in the SCCM configuration and I still get the following message in the DataTransferService.log.
I am going to change my network access account, I hope It will work

[CCMHTTP] ERROR: URL=http://XXXXXXXXX:80/SMS_DP_SMSPKG$/Content_45b86d06-8f1e-4f13-a62b-53d97255501b.1, Port=80, Options=224, Code=0, Text=CCM_E_BAD_HTTP_STATUS_CODE DataTransferService 24/04/2013 17:59:11 1592 (0x0638)
Raising event:
instance of CCM_CcmHttp_Status
{
ClientID = "GUID:F0AA71BE-B432-4EBC-97D0-B14D87477EB2";
DateTime = "20130424155911.015000+000";
HostName = "XXXXXXXXX";
HRESULT = "0x87d0027e";
ProcessID = 1504;
StatusCode = 401;
ThreadID = 1592;
};
DataTransferService 24/04/2013 17:59:11 1592 (0x0638)
Successfully sent location services HTTP failure message. DataTransferService 24/04/2013 17:59:11 1592 (0x0638)
Error sending DAV request. HTTP code 401, status 'Unauthorized' DataTransferService 24/04/2013 17:59:11 1592 (0x0638)
GetDirectoryList_HTTP('http://XXXXXXXXX:80/SMS_DP_SMSPKG$/Content_45b86d06-8f1e-4f13-a62b-53d97255501b.1') failed with code 0x80070005. DataTransferService 24/04/2013 17:59:11 1592 (0x0638)
Job {21180503-3F08-4FF6-819F-5FF0DEA33707} impersonating Network Access Account. DataTransferService 24/04/2013 17:59:11 1592 (0x0638)
[CCMHTTP] ERROR: URL=http://XXXXXXXXX:80/SMS_DP_SMSPKG$/Content_45b86d06-8f1e-4f13-a62b-53d97255501b.1, Port=80, Options=224, Code=0, Text=CCM_E_BAD_HTTP_STATUS_CODE DataTransferService 24/04/2013 17:59:13 1592 (0x0638)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.