Quantcast
Channel: Microsoft Deployment Toolkit forum
Viewing all 11297 articles
Browse latest View live

"Unable to determine destination partition, disk or drive" when Media deployment is used

$
0
0

We are heavy users of MDT 2013's "media" deployments -- in fact, once we finish testing a new image build on our lab server, media is created and is the sole method we use to deploy new systems due to many limitations.

We ran into the following issue lately when using USB sticks or hard drives for our deployment media. Deployment of an OS image fails at the "Inject Drivers" stage. The hard disk inside the computer is formatted properly, but the TS fails with the error "Unable to determine destination partition, disk or drive".

I dug into the logs, and it appears that "Inject drivers" does a check for where the \Drivers folder should be placed. The problem is that most USB hard disks and many higher-end USB sticks show up as "hard drives" rather than "removable media" when plugged into the machine. Adding another physical disk that appears as a fixed disk with an NTFS partition apparently confuses MDT and you get this error message. I think any "ReadyBoost enabled" USB stick has to show up on the system as a fixed disk rather than removable, so if you use these you might have this problem.

The only workaround is to explicitly specify the disk number and partition number to use when you invoke "Install Operating System." The drivers step must take this information when determining where to put the driver store.

Is there any other explanation for why this would be happening? We're stuck with media deployment for the foreseeable future, and until Microsoft fixes the problem with handling of split WIM files, we have to use NTFS formatted disks/sticks...this might be making it harder for the MDT logic to determine where to put the OS.


MDT/Bitlocker Win7 two partitions, 1 TPM, 1 KEY - not working

$
0
0

Hi,

Now it's my turn to ask you all for any advice regarding a problem I experience at a customer where I've configured a new MDT environment which deploys Windows 7 Enterprise in combination with Bitlocker.

Bitlocker's supposed to store the recovery keys keys in Active Directory, and although that works perfectly, it encrypts only one of the two designated partitions. And perhaps I'm overlooking something obvious here.

I have setup my MDT environment as following:

[Settings]
Priority=ByLaptop, ByDesktop, Model, Default
Properties=MDTStatus

[ByLaptop]
subsection=Laptop-%IsLaptop%

[Bydesktop]
subsection=Desktop-%IsDesktop%

[VMware Virtual Platform]
TaskSequenceID=OSD001
OSDComputerName=WIN7VDI

[Desktop-True]
OSDComputerName=DT-%SerialNumber%

[Laptop-True]
DoNotCreateExtraPartition=YES
TaskSequenceID=OSD002
OSDComputerName=LAP-%SerialNumber%
Administrators001=Local_Admins

; Domain Join Information
JoinDomain=xxxx
DomainAdmin=ZZDomainJoin
DomainAdminDomain=xxxx
DomainAdminPassword=xxxx
MachineObjectOU=OU=Laptop,OU=Workstations,OU=xxxx,DC=xxxx,DC=elan

; Bitlocker Information
BDEInstall=TPM
BDEInstallSuppress=NO
BDEDriveLetter=S:
BDEDriveSize=500
BDEKeyLocation=\\xxxx003\BitLockerKey$
; BDERecoveryKey=AD
; BDEWaitForEncryption=False

And configured my task sequence like this:

  • Configure Bitlocker - TPM (Operating System Drive
  • Set TS Variable - BDEInstall=KEY
  • Set TS Variable - OSDBitLockerTargetDrive=D:
  • Configure Bitlocker - Key (D: Drive)

In between are the two TS VAR's for drive D and then another Configure Bitlocker step, which configures Bitlocker for a specific drive (Drive D:) and also stores this recovery key in active directory.

This results in the following: not even a single encrypted partition?

When I look in my bdd.log I see the following:

As we can see above the ZTIBDE.wsf checks if TPM is enabled and activated, which says it does, however 1 line later, it states that TPM is enabled and says it's FALSE (in Dutch)

But I know for sure, TPM is enabled and activated. DELL CCTK echoes this back to me. After that I do a reboot to make sure the changes are in effect before Bitlocker is even configured.

Here is the link to my bdd.log and smsts.log: https://onedrive.live.com/redir?resid=5BB81623DAF90351!50214&authkey=!AGcIlXVhFexoQ3M&ithint=folder%2clog

And the strange part of it all is, the customer has a pre-existing MDT environment identically configured like I have described above, with the same bitlocker properties and rules in their customsettings.ini.

The only difference is they use a database to store these values in, and I use customsettings.ini. And with their deployment finished, I have two nicely encrypted drives.

And lastly, since I'm currently testing, I'm deploying with an USB boot stick, when the stick is still attached to the laptop, I'm seeing the following message: Configuring BitLocker Drive Encryption on computers with more than 1 pre-existing partition is not supported in this version.

Any help, good suggestion or guidance in the right direction would be much appreciated.

Many thanks :)

Cheers! Rens


If this post is helpful please click "Mark for answer", thanks! Kind regards


MDT 2013: Deploy a bootable Windows PE VHD with custom task sequence leaves dirty environment

$
0
0

Hello guys,

we want to deploy a Windows PE VHD to an empty machine and run our deployment through that VHD, using MDT 2013.
If we deploy that VHD through my custom scripts and a custom task sequence it works fine, the first Windows7 VHD deployment using the Windows PE VHD works fine too, but if we try to deploy another Windows 7 VHD to the machine, it returns a dirty environment.

Here are the steps I took:
First I made a Windows PE VHD from a WIM file.
Using a custom task sequence (I disabled the "Install Application" step) in which I run certain scripts we successfully deploy the VHD to the empty machine.

The first script cleans the disk, creates a primary partition formats the partition, assigns letter C to it and sets it as active.
I then copy the VHD file from a network share to the c: partition using another script. After that I attach the VHD and assign the letter V to it. Set "bcdboot v:\windows /s c:" so we can boot from the VHD. After that I detach the VHD again and the task sequence is finished. Note that I only use my own scripts to do that, without using any other steps.

To deploy the VHD we boot from a WINPE DVD and select the task sequence to deploy the WINPE VHD, it runs without returning any errors. Upon clicking "finish" the PC reboots and successfully enters the Windows PE routine from the now bootable VHD.
I select a basic "Deploy to Client VHD" Task sequence with a Windows7 WIM file to deploy the OS VHD. This works without problems, I can boot into that OS and everything works. But if I try to deploy another Windows7 VHD to the same machine using another"Deploy to Client VHD" Task sequence, it says it found an ongoing Deployment and asks whether I want to skip it or not (the Dirty Environment error message)

I have checked if the MININT and _SMSTS folders get deleted and they do get removed after the Windows PE VHD task sequence, the only thing that remains on the PC are the logs. I already checked, if it is the Win7 VHDs that causes the problem, negative. I tried to have the "post apply" Task sequence step added to the WinPE VHD task sequence, didn`t help either.

EDIT: If I try to use the Client Deploy to VHD task sequence to deploy the WINPE VHD it just keeps rebooting into WINPE, loads the "Microsoft solution accelerators screen and then reboots again. I don`t know what causes that problem either.

I am really desperate right now, can someone help me to solve that problem?

Best regards,
Daniel



Setup Bootstrapper crashes

$
0
0

Using MDT 2013 on a Win 2012R2 Server to deploy a Win 8.1 Ent image

First time I attempt to image a new PC. it injects the drivers, applies the image, goes through the 'Getting Devices Ready' phase, then when it boots into windows, after a short wait an error appears:

Microsoft Setup Bootstrapper has stopped working

and the deployment fails.

Now, if i reboot the machine, and re-try the deployment, it deploys without issue..

Any ideas??

MDT 2013 Task Sequence to refresh/upgrade Drivers on a Target Machine?

$
0
0

Good morning.  Has anyone tried making a custom task sequence that refreshes/upgrades drivers on a target machine?

What's the recommended method and procedures for achieving this?

comand line, powershell, inject drivers, install application, install updates offline?

Thanks!

EDIT:

I wanted to clarify...

I'd like to run cscript LiteTouch.vbs from a target PC/Server and have a custom task sequence/application that refreshes/updates the drivers on that target device.

Thanks!

MDT 2012 Win7 x64 capture fails - boot loop

$
0
0

Hi everyone,

I'm pretty new to MDT and having a problem capturing a Win7 x64 reference image.

It seems to start out fine doing the Sysprep and so on, but then it has to restart the computer and after that it goes into a boot loop. After this, I have been forced to format and reinstall Win7 on the computer. This picture shows what it loops through in about 20 seconds - and it shows nothing else than what's on these pictures :)

www.jaded.dk/boot_loop.png

I have been Google'ing alot, but can't find any post with the same issue, since most other get an error msg which I dont.

Here is some info about the setup.

I'm deploying the task sequence locally using these commands:

net use * \\mdtserver\DeploymentShare$ /user:domain\username

cscript \\mdtserver\DeploymentShare$\Scripts\LiteTouch.wsf


Server running MDT 2012 U1 - Win server 2008 R2, 64 bit

The laptop on which i'm trying to capture the ref img is a HP Elitebook 8470p. It is fully patched with windows updates and I have installed a few apps like Office 2010, flash player, reader etc.

The "Rules" on my MDT Workbench is like this:

[Settings]
Priority=Default
Properties=MyCustomProperty

[Default]
OSInstall=Y
SkipCapture=NO
SkipAdminPassword=YES
SkipProductKey=YES
SkipComputerBackup=YES
SkipBitLocker=YES
SkipTimeZone=YES
SkipLocaleSelection=YES
InputLocale=0406:00000406
KeyboardLocale=0406:00000406
KeyboardLocalePE=0406:00000406
SystemLocale=0406:00000406
UILanguage=0406
UserLocale=0406:00000406

My task sequence looks like this:

www.jaded.dk/task_seq.png

I don't know where to find a log of the capture, to get a hint of what has gone wrong.

Hope you can help me out here :) And please let me know if you need more info.

Thanks

Morten




MDT 2012 Update 1 - Attempting to capture Windows Thin PC but it keeps looping after reboot.

$
0
0

I have been trying to capture a master image of Windows Thin PC we have prepared using MDT 2012 Update 1 but to no avail. When attempting the capture process using LiteTouch.vbs it syspreps and then reboots as it normally would and then it simply keeps rebooting over and over in a loop.

I am unsure of how to bypass this and correctly capture Windows Thin PC using MDT 2012 Update 1. If anyone has any advice or feedback they can offer I would greatly appreciate it. Thank you.

Imported Wim Files

$
0
0

hello

I have some old sccm 2007 wim files, i know these work with sccm 2007.

But when i import them into MDT2013 im unable to see them in DeploymentWorkbench although i can see them in DEPLOYMENTSHARE\OPERATING SYstems.

Any ideas,?

Or how do i convert them so that i can import these into MDT 2013 DeploymentWorkbench

thanks


Error before TS menu appears on client

$
0
0

There we are again.  I have made updates to a base image. Then sysprepped and captured it, imported the image in MDT deploymentshare. Updated the deployment share and then in WDS made a new bootimage loaded the litetouch_x86.wim which was created in the \\deploymentshare\boot folder.

Booting the client from network and choose the option from the bootimage Windows 7 is it called (this is from the file litetouch_x86.wim earlier added bootimage).

Then on the client just BEFORE the menu appears with the different Task sequences it gives a error. Failure, change of hardware settings etc. a normal boot error for Windows 7. Error 0x0000017.

So every time i update the deploymentshare ater a imported edited image it goes wrong..

Could it be the drivers in the "out of the box drivers" which i have imported for new dell models? Although the deploy are not to that new machines but to older ones. I will remove those drivers and update the deploymentshare again see if that works but then i have another problem: how to import those drivers for new systems.... how to see which driver is the problem if it are those drivers..

Update: deleting the drivers has no success. Makes no difference.


freddie


MDT 2013 - Windows 2012 R2 - Need Assistance !!

$
0
0

I have my original question posted here . Below are my few questions.

i) Do i need to have MDT installed on another server ? I basically want to take entire image of ServerA (including application,settings,regkeys etc) ,create .iso and deploy on other servers. 

ii) I have MDT installed on ServerA (same server of which i want to take an image), i followed instructions from "Quick Start Guide for Lite Touch Installation.docx", i do see that my LiteTouch.iso file is only 300MB, i would expect this file to be around 5gb. I am assuming this is the file i would copy on to other baremetal servers and have it restored? 

iii) Also what option should i select for task sequence, should it be "Standard Client Task Sequence" or "Sysprep"

Any help is highly appreciated.

<o:p></o:p>


Skipping Custom Wizard in MDT-LiteTouch Deployment

$
0
0

I have one deployment share in which I generate media from to create a gold image, sysprep and capture, and than a deployment where the gold image and other things are performed. As part of the deployment of the Gold Image, I want to incorporate a custom wizard to prompt if the user wants to wipe the hard drive as I need to accomplish something greater than the included reformat once. It needs to obviously run before the format and partitioning occurs, and I only want it to appear in one of my three media. 

I have created a custom XML file, made the entry DeployWiz_Definition_ENU.xml, and can successfully acknowledged the variable ("DoSanitize") value where I need to in my task sequence.... however, I am unable to skip the custom wizard the way I am with other pre-defined wizards. I have made the condition to skip it and I have placed the condition in my customsettings.ini. 

How can I skip a custom wizard if the variable is set in customsettings.ini?

Entry added to the customsettings.ini for the media I want to skip
======================================

SkipSanitize=YES

======================================

Entry added to DeployWiz_Definition_ENU.xml
======================================

<Pane id="SanitizeHardDrive" reference="DeployWiz_SanitizeDrive.xml">
<Condition><![CDATA[UCASE(Property("SkipSanitize"))<>"YES"]]></Condition>
</Pane>
======================================

Contents of DeployWiz_SanitizeDrive.xml

======================================

<Wizard>
  <Global>
  </Global>
  <Pane id="SanitizeHardDrive" title="Sanitize Hard Drive">
    <Body><![CDATA[
                <H1>Do you want to sanitize the Hard Drive?</H1>
<table>
<tr>
<td>
<input type=radio name="DoSanitize" id="CaptureRadio1" Value="YES">
</td>
<td>
<Label class="Larger" for=CaptureRadio1 language=vbscript >Sanitize the Hard Drive.</Label>
</td>
</tr>
<tr>
<td>
<input type=radio name="DoSanitize" id="CaptureRadio2" Value="NO" checked>
</td>
<td>
<Label class="Larger" for=CaptureRadio1 language=vbscript >Do not sanitize the Hard Drive.</Label>
</td>
</tr>
</table>]]></Body>
    <Condition><![CDATA[UCASE(Property("SkipSanitize"))<>"YES" or UCase(Property("DeploymentType"))<>"CAPTURE"]]></Condition>
  </Pane>
</Wizard>

======================================

The only end user facing media will have the Sanitize Drive option available so it is not show stopper, but more of an OCD thing for me. 

MDT 2012 : Install ccmsetup.exe using Application wizard

$
0
0

I'm trying to install ccmsetup.exe using CCMSETUP.EXE /mp:"SERVER" SMSSITECODE="CODE" SMSMP="Number" but its getting failed. Is there other way to install ccmsetup.exe through MDT 2012. Basically we copy ccmsetup.exe folder on local computer and run batch file which has below content and it gets install properly.

CCMSETUP.EXE /Uninstall

CCMSETUP.EXE /mp:"SERVER" SMSSITECODE="CODE" SMSMP="Number"

I want to install it via MDT application wizard. Anyone please help me with this. Im using windows 7 x64 OS for MDT Deployment.

Correctly Setting Langauge

$
0
0

Hi There,

I'm having issues getting the location/language settings correctly for Australia in my MDT. I'm deploying 8.1, and I've ended up getting three languages installed.

Settings in the cs.ini:

UILanguage=en-AU
KeyboardLocale=en-US
UserLocale=1033

However I've ended up with:

And I can't seem to figure this out to get JUST Australia configured. I've at one stage managed to get Australia and US configured, but never just Australia configured.

Cheers,


Ben

how to set customized wallpaper using MDT unattended.xml file

$
0
0

hello

I need to set own wallpaper  with OSD using MDT.
I have edited the unattended.xml file  as added below component to it, other customization with answer file worked except not getting set the wallpaper set and wallpaper  image is available at specified location.Please help to resolved this issue.

<settings pass="oobeSystem">
      
       <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      <Themes>
                <DesktopBackground>\\MDTSERVER\DeploymentShare$\pics\images.jpeg</DesktopBackground>
                <ThemeName>\\MDTSERVER\DeploymentShare$\pics\images.jpeg</ThemeName>
                <ScreenSaver></ScreenSaver>
            </Themes>
        </component>
    </settings> 
    




Windows 8.1 Deploy is trying to sign onto Microsoft Live account.

$
0
0
I have a few Windows 8.1 machines running through MDT2013 just fine. They boot to the desktop as Administrator and finish a few jobs and completes fine. Now I have a Motion tablet, set up the same identical way, but rather than booting to the desktop as Admin, it stops at the logon screen with two generic icons to choose from - one a Microsoft Live account and the other a Local Account. I have to choose the Local account and type in Administrator and the password I've already put in the unattend. I only have 30 of these tablets, but I don't understand why they're not logging onto the desktop as the others do. The TS steps are exactly the same and so is the unattend. Any ideas?

Bitlocker preparation - bdehdcfg?

$
0
0

Greetings,

  We have a scenario where laptops with a C and D drive must be rebuilt preserving the D drive.

  My task sequence deletes everything except the D drive. It then creates a hidden drive (no drive letter) of 1.5GB which is set to active and then a C drive from the remaining space. Immediately after creating the C drive I pre-provision bitlocker on it (manage-bde "used"). This all happens in Winpe. I then use the "apply operating system" step to copy the image to the C drive. The trouble happens when I run the "setup windows and configmgr" TS step as the above process is not configured to boot properly. Obviously I want the System partition to be the hidden, unencrypted 1.5gb partition which points to boot partition on the C drive. Does bdehdcfg help here? I was looking at the merge option but that requires a drive letter and the "apply OS" step fails if my 1.5gb partition has a drive letter (unless I temporarily assign a drive letter, run bdehdcfg, and then remove the drive letter?).

Any ideas please?

Thanks

David Z

Getting "Windows could not parse or process the unattend answer file for pass [specialize]" with IE10 integration? Read this...

$
0
0
Hey guys,

I just discovered an issue with using MDT to integrate Internet Explorer 10 into Windows 7 & 2008 R2 image files. Building the images was no problem at all, but when I tried to deploy them it would bomb with this error every time:

"Windows could not parse or process the unattend answer file for pass [specialize]."

So a very annoying and cryptic error to say the least. Obviously the issue was with the unattend.xml file that gets auto-generated by MDT, but all the items under "specialize" had worked just fine when I built the image and the IE version was the only item that had changed. After comparing the Windows 7 & Server 2008 R2 unattend.xml files to my Windows 8 & Server 2012 unattend.xml files (because they have IE 10 native) I discovered that the following flag was missing from the Windows 8 & Server 2012 unattend.xml files:
<IEWelcomeMsg>false</IEWelcomeMsg>

So I simply commented it out like so:



Re-ran my test deployment and viola, 100% successful with zero errors. I was a little embarrassed/annoyed that this took me so long to track down, then I realized others might be struggling with this too so thought I'd share.

Hope my time spent saves someone else some grief!

MDT 2013 Windows 8.1 is ignoring Deployment Wizard Time Zone selection

$
0
0
When you select your time zone in the deployment wizard, (SkipTimeZone=No) , this setting is ignored when Windows 8.1 pro starts up. We are deploying to many different time zones and locales, so we just let the end users select their own time zones and locales. However no matter what time zone they select, it always reverts back to Pacific Standard Time. Can someone please help? Our service desk is being flooded with calls about the wrong time settings! I don't need any fancy scripts or fluff. I just need this one issue fixed.

Windows 8.1 file association

$
0
0

Hi, all!

I'm trying associate .tiff file against MODI 2007.

So, I've prepared reference .xml with associations with Dism /online

After that I've imported that xml to PC with Dism /online, dism says that operation completed correctly

Dism /online /get-defaultappassociation shows me that .tiff associated against MODI

But, nothing happens, tiff opens with photo vierwer

If I export xml from that PC it shows that .tiff associated against photo vierwer

What;s the problem? Does anybody know?

MDT database inaccessible server error

$
0
0

Hi

Every time I try and add a database connection, I get an error stating inaccessible server. I have tried this on various databases and mdt servers. I am running MDT2010 and sql server 2005 SP3

Thanks

Paul

Viewing all 11297 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>