tcilmo Posted June 19, 2014 Report post Posted June 19, 2014 I have been working at implementing an HTA file to password protect my SCCM 2012 R2 task sequences as discussed here and various places throughout the web. I a looking for some clarification why the "Use Toolkit Package" is needed in the task sequence before the .WSF script (below) can run? I assume it is because it is calling the ZTIutility.vbs script which is part of MDT, but I don't understand what is actually happening. Could someone explain? <job id="setEnv"> <script language="VBScript" src="..\ZTIUtility.vbs"/> <script language="VBScript"> Dim oTSProgressUI set oTSProgressUI = CreateObject("Microsoft.SMS.TSProgressUI") oTSProgressUI.CloseProgressDialog() On error resume next Dim fso, WShell, oFile Set WShell = CreateObject("WScript.Shell") Set fso = CreateObject("scripting.filesystemobject") scriptroot = oEnvironment.Item("SCRIPTROOT") MsgBox "Please click OK to shutdown the computer.",0, "Task Sequence Aborted" WShell.Run "wpeutil shutdown",0, True </script> </job> Also, it there any other way to gracefully shut down the task sequence with out integrating MDT into SCCM to get the "Use Toolkit Package" option? --Tony Quote Share this post Link to post Share on other sites More sharing options...
Peter van der Woude Posted June 20, 2014 Report post Posted June 20, 2014 See: http://social.technet.microsoft.com/Forums/en-US/78751d25-2e3d-44df-be86-fc1b5b054bf9/password-protect-osd-task-sequence?forum=configmanagerosd Quote Share this post Link to post Share on other sites More sharing options...
tcilmo Posted June 24, 2014 Report post Posted June 24, 2014 Thanks Peter! -Tony Quote Share this post Link to post Share on other sites More sharing options...