Category: Deployment

MDT 2010 Importing automatically the right driver

By Ward, July 19, 2010

Toolkit 2010 has some nice improvements to handle drivers. I will describe how I like to manage drivers in .

Some time I wrote i article about how to get the Name & Model from a computer. This is very important when you want to import only the right drivers automatically.

First we have to build the ‘Out-of-Box Drivers’ folder structure and import drivers. I have subdirectories for each architecture, brand and model.  This is what my folder tree looks like:

MDT 2010 - Out-of-Box Drivers

However, you can build your own structure, as long as you respect the proper model & brand (make) name of the vendors.

Build Out-of-Box Drivers tree

To build up the folder structure you have to know the model name of your hardware. To retrieve the proper computer name execute at powershell command prompt: ‘Get-WmiObject -Class win32_computersystemproduct | fl Name,Model,UUID,Identifyingnumber,Vendor’, to get the exact name WMI queries to determine the computer model. In my case the computer name is “Latitude D830”.

Now that we have drivers imported in our Share, it’s time to move on.

. DriverGroups

DriverGroups existed in MDT 2008 already, although the MDT Team added subdirectory support in .

At phase MDT uses WMI to query the proper computer model and only the current model drivers will be injected. In order to get this working properly, you have to use the EXACT model name in your Out-of-Box Driver tree.

Inject the correct drivers in your Task Sequence

Add a new step in your Task Sequence to inject the correct drivers. MDT will query the computer name and inject the drivers which corresponds with the computer name from the Out-of-Box folder structure, right before applying the image at .

MDT 2010 - Set Task Sequence Variable (Add Task) MDT 2010 - Set Task Sequence Variable (DriverGroup)

I use ‘DriverGroup_001’ as Task Sequence Variable, and Win7×64\%Make%\%Model% as value for my 7 x64. You have to adapt this to your Out-of-Box tree.

MDT 2010 - Set Task Sequence Variable

As I use a DriverGroup I’ve disabled the ‘Inject Drivers’ task.

Customsettings.ini

As my Task Sequence handles everything, there isn’t anything needed here.

If you don’t like to use a new Task in your TS, you can add DriverGroup variables in customsettings.ini like this:

DriverGroup_001=%Make%\%Model%

DriverGroup_002=Printers

2. Selection Profiles

New in are DriverSelectionProfiles. These are easy for new MDT admins, very straight forward and easy to use.

Overview:

MDT 2010 - Selection Profiles Overview

First you have to create a Profile (or use one of the default profiles):

MDT 2010 - Selection Profiles, select folders

You can even select Packages and Applications, use it for “bad drivers” aka driver setup packs.

Select what drivers you want to add to the profile;

MDT 2010 - Selection Profiles, add profile

After making the profiles you can use them in your Task Sequences. The default ‘Inject Drivers’ settings are on the left, the customized one on the right:

MDT 2010 - Selection Profiles, task sequence MDT 2010 - Selection Profiles, task sequence

You can add  Selection Profiles for drivers/packages or whatever you want. Just add an extra step in your task sequence like above.

Customsettings.ini

As with DriverGroups you can choose to handle the DriverSelectionProfile in customsettings.ini or in your TS.

Example:

DriverSelectionProfile=Dell Latitude D520 x64

Post to Twitter

Related posts

Microsoft Deployment Toolkit (MDT) 2010 Update 1 is RTM

By Ward, July 8, 2010

has released a new version of named Update .

It’s a great tool im loving it.

What new:

For Configuration Manager 2007 users:

  • New “User Driven Installation” method. An easy-to-use UDI Wizard allows users to initiate and customize an OS on their PCs that’s tailored to their individual needs.

  • Support for Configuration Manager R3 “Prestaged Media.” For those deploying and along with new PCs, a custom OS image can easily be loaded in the factory and then customized once deployed.

For Lite Touch Installation:

  • Support for . Easily configure installation and settings through the Workbench and integration with the Office Customization Tool.
  • Improved driver importing. All drivers are inspected during the import process to accurately determine what platforms they really support, avoiding common inaccuracies that can cause issues.

Bug Fixes and small improvements

  • LTI Wizard performance improvement. The LTI Wizard now takes less time to initialize and shows up faster.
  • Issue in validating connection to the server fixed. In a few scenarios, used to report the error message, "A connection to the distribution share could not be made" when a task sequence is run. The Support article, “Error message when you use : ‘Multiple connections to a server or shared resource by the same user, using more than one user name, are not allowed,’” at http://support.microsoft.com/kb/977566 describes this issue in detail. This issue has been fixed in Update .
  • Support for installing roles and features. Update adds support for installation of operating system roles and features.
  • Looping issue with x64 custom images fixed. In , ZTI– Configuration Manager deployments could get into an infinite loop when deploying an x64 image captured by LTI. This issue has been fixed in Update
  • Error handling improvements in MDT task sequence templates. In , task sequences appear to finish successfully even when they really failed. These issues are fixed in Update .

Download the new version HERE :D

Post to Twitter

Related posts

Deploy Office 2010 with Multiple Languages with MDT 2010

By Ward, June 24, 2010

I Like . For me it is the best Office version i ever worked with.
it’s great tool that created.
Now i will talk about how you deploy with Multilanguage packs with .

Step : Download the English version booth will be in x86 & x64

Step 2. Download the (language) Multilanguage iso only available from the Volume Licensing site. Both in x86 en x64.

Step 3. Add the English version to here office-2010-uitrollen-met-mdt-2010

Step 4. Extract the (language) Multilanguage iso with 7zip in the same application folder witch you created in Step 3.

Step 5. When you open management console and you go to the Application that you added in step 3. You wil see that MDT sees more the one language. In my case it was en-us and nl-nl. The Screenshot is from the older you MDT sees as Office 2007. MDT 2010 beta 1 supports . I found till now no issues deploying .

 image

Step 6. Check the languages that you want. Check the Screenshot how i did it.

Step 7. Deploy the a or 7 client with Multilanguage versions.

Step 8. You can check with Language Preferences or the languages that you configured are installed.
image

Step 9. Use Group Policy to set the language settings for users

    1. Download the policy template files to your computer. You will find them HERE

    2. Make a new GPO named languages settings it is a user policy.

    3. Under User Configuration in the console tree, right-click Administrative Templates.

    4. Click Add/Remove Templates, and then click Add.

    5. In the Policy Templates dialog box, click the template that you want to add, and then click Open.

    6. After you add the templates, click Close.

    7. Open the Group Policy object (GPO) for which you want to set policy.

    8. Double-click User Configuration and expand the tree under Administrative Templates.

    9. Locate language-related policies in the \ Language Settings node.

    10. Select the languages that you want to use for each setting.

    11. Save the GPO.

    12. Go Testing

    Post to Twitter

    Related posts

    Where to find the right MDT 2010 logs

    By Ward, June 11, 2010

    Each script automatically creates log files during its execution. The names of these log files match the name of the script—for example, ZTIGather.wsf creates a log file named ZTIGather.log. Each script also updates a common master log file (BDD.log) that aggregates the contents of the log files that scripts create. log files reside in C:\MININT\SMSOSD\OSDLOGS during the process. Depending on the type of being conducted, the log files are moved at the completion of the to either %WINDIR%\SMSOSD or %WINDIR%\TEMP\SMSOSD. For Lite Touch Installation (LTI) deployments, the logs start in C:\MININT\SMSOSD\OSDLogs. They end up in %WINDIR%\TEMP\DeploymentLogs when task sequence execution is complete.

    creates the following log files:

    BDD.log: This is the aggregated log file that is copied to a network location at the end of the if you specify the SLShare property in the Customsettings.ini file.

    LiteTouch.log: This file is created during LTI deployments. It resides in %WINDIR%\TEMP\DeploymentLogs unless you specify the /debug:true option.

    Scriptname.log: This file is created by each script. Scriptname represents the name of the script in question.

    SMSTS.log: This file is created by the Task Sequencer and describes all Task Sequencer transactions. Depending on the scenario, it may reside in %TEMP%, %WINDIR%\System32\ccm\logs, or C:\_SMSTaskSequence, or C:\SMSTSLog.

    Wizard.log: The wizards create and update this file. 

    WPEinit.log: This file is created during the PE initialization process and is useful for troubleshooting errors encountered while starting PE.

    DeploymentWorkbench_id.log: This log file is created in the %temp% folder when you specify a /debug when starting the Workbench.

    Post to Twitter

    Related posts

    MDT 2010 Update 1 Beta Released

    By Ward, May 14, 2010

    The Solution Accelerators Team have released Toolkit 2010 Update Beta and would like your feedback.

    Download the beta now at https://connect.microsoft.com/site14/Downloads/DownloadDetails.aspx?DownloadID=8689

    Update provides new capabilities, such as:

    · Support for .

    · A new User-driven Installation (UDI) method (formerly known as “Modena”) for Configuration Manager 2007. UDI gives information technology (IT) staff control over the experience while empowering users to interact with and customize their operating system through an easy-to-use wizard.

    · Improvements to the Workbench driver import process, detecting each driver’s true supported platforms.

    · Many bug fixes and other small improvements.

    This release supports the of the ® 7; ®; ; Server® ; Server 2008; and Server 2003 operating systems. See the Toolkit Documentation Library, which is included with Update , for the complete documentation for this release.

    Post to Twitter

    Related posts

    MDT HP,Lenovo,Dell tools for getting the right drivers for a specific model

    By Ward, May 12, 2010

    When you search a driver for a specific model you always go to the HP, Dell, Lenovo, Dell site and  then you go to download section and chose the model of your pc/laptop and os version and download the drivers.

    The Are some handy for you:

    Dell Tool:
    Dell makes drivers driver CABs which incluse all your drivers for your model and OS.
    image

    HP Tool:
    HP SoftPaq Download Manager provides a simple, powerful way to download software updates for the HP client PC models in your environment. HP SDM can significantly reduce the amount of time it takes to locate and download updates. SoftPaqs can be downloaded in as few as three easy steps from a single user interface after initial setup.

    SDM_IM 

    Lenovo Tool:
    ThinkVantage Update Retriever enables you to download update packages from the Lenovo Help Center Web site to a network share repository folder.
    This is a search tool. You give the model nummer en os and Update Retriever and scan the Lenovo Help Center Web site for the latest driver
    image

    Post to Twitter

    Related posts

    WAIK Add Drivers to a Wim File

    By Ward, May 9, 2010

    Some handy Waik commands to add drivers to a wim file.
    Before you start copy the wim file to your harddisk

    . Some information about the Wim:
    Dism /Get-WimInfo /WimFile:d:\boot.wim

    2. Mount the wim file to a folder:
    Dism /Mount-Wim /index: /WimFile:d:\boot.wim /MountDir:d:\mountpe

    3. Add the Driver:
    Dism /Image:d:\mountpe /Add-Driver /Driver:d:\nic\b57nd60x.inf

    4. Close the wim file and saving the file:

    Dism /Unmount-Wim /MountDir:d:\mountpe /Commit

    Post to Twitter

    Related posts

    Restore an Windows 7 Capture with MDT 2010

    By Ward, April 23, 2010

    Step1: Import the Capture Image.

    You can find the capture file at  \\server\deploymentshare$\Capture or x:\deploymentshare\capture.

    image image
    If you have already imported 7 DVD.
    You can chose for Sysprep and Setup files are not needed. The Setup will copy them automatically when de Capture wil be deployed. 
    image image
    image  image

    Step 2. Create a Normal Client Task with the OS Capture that you imported.

    Post to Twitter

    Related posts

    Capture an Existing Windows 7 install with MDT

    By Ward, April 21, 2010

    You can With MDT capture an existing Install.
    . Creating the Task in MDT
    2010-04-18_134159 2010-04-18_134127
    Jou must Chose the OS version witch you want to capture.

    2010-04-18_134151 2010-04-18_134213
    2010-04-18_134231 2010-04-18_134317
    2010-04-18_134327 2010-04-18_134336

    2. Create a copy from the Customsettings.ini
        Edit the Customsettings.ini with de following text.

    [Settings]
    Priority=Default
    Properties=MyCustomProperty

    [Default]
    OSInstall=Y
    SkipAppsOnUpgrade=YES
    SkipCapture=NO
    SkipAdminPassword=YES
    SkipProductKey=YES

    4. Connect to the deployement share \\server\deploymentshare$ and go to the folder script and double click on LiteTouch.vbs
    2010-04-15_162332 2010-04-15_162453

    2010-04-15_1626352010-04-15_162645

    2010-04-15_162659
    4. Don’t forget after the Capture to restore the original customsettings.ini file.

    Post to Twitter

    Related posts

    Solution for "Multiple connections to a server or shared resource by the same user, using more than one user name, are not allowed"

    By Ward, April 20, 2010

    When you use MDT you see many times the following error:
    "Multiple connections to a server or shared resource by the same user, using more than one user name, are not allowed"

    Solution :
    To fix the problem you should edit the ztiutility.vbs file in the share under the scripts folder.  Open the file in notepad and replace the following code in the MapNetworkDriveEX function:

    Case Else
    ‘ Case &h800704C3 ‘ Multiple connections to a server or shared resource by the same user, using more than one user name, are not allowed.
    ‘ Case &h8007052E ‘ Logon failure: unknown user name or bad password.
    ‘ There was a some kind of fatal error.
    If ErrDesc <> "" then
                 MapNetworkDriveEx = ErrDesc
    Else
                 MapNetworkDriveEx = "Unable to map UNC Path " & sShare & " :" & "( 0x" & hex(HasError) & " ) "
    End if
    oLogging.CreateEntry MapNetworkDriveEx & "", iLogType
    Exit function
    End select

    With this code:

    Case Else
    Err.Clear
    On Error Resume Next
    oNetwork.MapNetworkDrive  chr(sDrive)&":", sShare, False
    HasError = err.number
    ErrDesc = err.Description
    On Error Goto
    If Err.Number <> Then
    ‘ There was a some kind of fatal error.
                 If ErrDesc <> "" then
                                            MapNetworkDriveEx = ErrDesc
                 Else
                                            MapNetworkDriveEx = "Unable to map UNC Path " & sShare & " :" &    "( 0x" & hex(HasError) & " ) "
                 End if
                 oLogging.CreateEntry MapNetworkDriveEx & "", iLogType
                 Exit function
    Else
          Exit Function
    End If 

    End select

    Solution 2

    Download ZTIUtility.7z and replace the ztiutility.vbs with the one in the ZTIUtility.7z. You need 7zip to unpack the file.

    http://support.microsoft.com/kb/977566

    Post to Twitter

    Related posts

    OfficeFolders theme by Themocracy

    Ward Vissers is Digg proof thanks to caching by WP Super Cache