Jump to content


Nordland

UDI - Is it possible to have a user choose to Deploy Win7 or 2008 through the UDI Wizard's Image Selection?

Recommended Posts

Is it possible to have a user choose between Win7 and 2008 R2 through the UDI Wizard's Image Selection?

 

Or do I need different task sequences for each OS?

 

Also, in the UDI Wizard during deployment it wants to install Windows do D:\Windows instead of C:. Is there a way for me to force it to C?

 

By the way, this is not an image directly from the Windows 7 DVD. It installs fine as a non UDI task sequence.... The only difference I can see is that UDF TS has a partition for Bitlocker.

 

Thanks

post-15596-0-49065900-1336765613_thumb.jpg

Share this post


Link to post
Share on other sites

Wondering this myself. Doesn't seem to matter what image I choose, it still picks the image specified when I created the UDI task sequence. It's quite annoying. Anybody know how to fix this?

Share this post


Link to post
Share on other sites

Are both of these Operatting systems part of the same image? This is how it should work by design. From what I recall, you cannot have multiple WIMs in a task sequence. I've not tried this since the early days for ConfigMgr 2007 through standard OSD. I've not done it through MDT or UDI before, so it may not be the case.

 

If you are trying with multiple WIMS, then your TS variable name might be incorrect. I added this vbscript to my task sequence to write all the variables to a text file. It might be worthwhile looking at to find the correct variable to use. Just run it in a standard TS so it can pull the relevant info first:

'==========================================================================
' test to Log TS variables
'==========================================================================

Dim sNewComputerName, oTaskSequence, sTSMachineName, bPromptName
Dim objFSO, strLogFile, oTSEnv
Set oTaskSequence = CreateObject ("Microsoft.SMS.TSEnvironment")
strComputer = "."
Const ForAppending = 8
Set objFSO = CreateObject("Scripting.FileSystemObject")
strLogFile = "C:\TS_Variables.log"

Set oTSEnv = CreateObject("Microsoft.SMS.TSEnvironment")
For Each oVar In oTSEnv.GetVariables
set objFile = objFSO.OpenTextFile(strLogFile, ForAppending, True)
objFile.WriteLine oVar & "=" & oTSEnv(oVar)
objFile.Close
Next

 

Make sure to run it as the last item in the TS so you capture all variables.

 

I hope it helps

Con

Edited by conorofarrell

Share this post


Link to post
Share on other sites

Did a workaround by creating one UDIWizard.xml file for every image I want to deploy, and locked the image in the designer. Then created one TS each for those xml files.

Share this post


Link to post
Share on other sites

How????????? Don't just write answer in one sentence, PLEASE! Make tutorial with pictures to help rest of community.

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
Reply to this topic...

×   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...