Deployment Artist
   Minimize

 

The deployvista.com site is finally put to rest...

You find new content on the Deployment Research site, a site filled with articles and video-tutorials on how to deploy operating systems. If you are missing something on the new site, please let me know. You can find me on twitter on my @jarwidmark alias.

You can also search the old deployvista.com article archive below.

Regards / Johan Arwidmark


 Print   
 Blog_List Minimize

 Print   
 Blog_Archive Minimize

 Print   
 New_Blog Minimize
You must be logged in and have permission to create or edit a blog.

 Print   
 MDT 2010 Annoyances #7 - ZTI Task Sequence may hang in State Restore phase when deploying Windows 7 x64 Minimize
Location: BlogsJohan Arwidmark    
Posted by: johan 1/11/2010

When using MDT 2010 Zero Touch to deploy Windows 7 x64 the Task Sequence may hang in State Restore phase. The hang occurs when the Use MDT Toolkit Action tries to run.

Cause:
It's actually not MDT's fault, its a bug in ConfigMgr, and it will occur for every script/action that tries to use the Microsoft.SMS.TSEnvironment. The root cause is an invalid registry entry preventing tscore.dll from registering.

Workaround:
Fix the registry by adding the following code to ZTISCCM.wsf, here is the updated script: ZTISCCM.zip

Dim tmpShell, tmpFSO
Set tmpShell = CreateObject("WScript.Shell")
Set tmpFSO = CreateObject("Scripting.FileSystemObject")
If tmpFSO.FileExists(tmpShell.ExpandEnvironmentStrings("%WINDIR%\SysWOW64\CCM\TSCore.DLL")) then
  On Error Resume Next
  tmpShell.RegWrite "HKCR\TypeLib\{D5E1749D-832D-4587-AFC3-9462187FE2F5}\1.0\0\win64\", tmpShell.ExpandEnvironmentStrings("%WINDIR%\SysWOW64\CCM\TSCore.DLL")
   On Error Goto 0
End if

 

Permalink |  Trackback

Comments (3)  
Re: MDT 2010 Annoyances #7 - ZTI Task Sequence may hang in State Restore phase when deploying Windows 7 x64    By kris.titeca@belgacom.be on 3/17/2010
This solution didn't work for me, but the following command did solve it for me: cmd.exe /c copy "%SystemRoot%\SysWOW64\CCM\TsCore.dll" "%SystemRoot%\SysWOW64\"

Regards,
Kris

Re: MDT 2010 Annoyances #7 - ZTI Task Sequence may hang in State Restore phase when deploying Windows 7 x64    By johan on 3/27/2010
Thanks for the feedback, I have updated the workaround actually fix the borken registry...

Re: MDT 2010 Annoyances #7 - ZTI Task Sequence may hang in State Restore phase when deploying Windows 7 x64    By Evan on 4/28/2010
This is very good information, however the link that contains the ZTISCCM.zip file, I am unable to access. The address it shows is http:///Portals/0/ZTISCCM.zip In advance thanks for your help in this matter


  
 Search_Blog Minimize

 Print   
Copyright Deployvista.com 2006-2012 (c)   Terms Of Use  Privacy Statement
DotNetNuke® is copyright 2002-2017 by DotNetNuke Corporation