Jump to content


  • 0
thadkew

Password Protect a Task Sequence?

Question

I have successfully set up our environment to PXE (thanks to Anyweb's many guides) and have the boot media set to use a password to get to the list of available Task Sequences, but I was wondering if there were a way to password protect a task sequence that is selected.

For example: anyone can select the task to deploy Windows XP or Windows7, however, if someone selects Windows Server 2008, something will prompt for another password and the sequence will fail if it's not correct.

 

Does that make any sense or is it possible?

 

Thanks in advance!

Share this post


Link to post
Share on other sites

Recommended Posts

  • 0

  1. integrate mdt 2010 update 1 with configmgr, go through the wizard in task sequences to create a Microsoft Deployment Toolkit task sequence, easy. done.

Share this post


Link to post
Share on other sites

  • 0

Thanks guys, this works great. However........Lets say a user inputs a wrong password.....and we shutdown!!!! Then a user boots again and.....i am guessing wrong password is saved in MININT directory on the local drive and there will be no more prompt to enter a password.

 

I am going to try to edit the script to delete MININT right before the shutdown from shutdown.wsf.

Share this post


Link to post
Share on other sites

  • 0

I tested and got this working this in MDT:

 

<job id="setEnv">

<script language="VBScript" src="..\ZTIUtility.vbs"/>

<script language="VBScript">

 

Dim oTSProgressUI

'set oTSProgressUI = CreateObject("Microsoft.SMS.TSProgressUI")

'oTSProgressUI.CloseProgressDialog()

 

 

' Clean up any existing C:\MININT directory

If oFSO.FolderExists("C:\MININT") then

On Error Resume Next

oFSO.DeleteFolder "C:\MININT", true

On Error Goto 0

End If

 

' Clean up any existing C:\_smstasksequence directory

If oFSO.FolderExists("C:\_smstasksequence") then

On Error Resume Next

oFSO.DeleteFolder "C:\_smstasksequence", true

On Error Goto 0

End If

 

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>

 

 

 

Share this post


Link to post
Share on other sites

Join the conversation

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

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...


×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.