Archive

Archive for January, 2010

TechNet Live Meeting – Hoe kan je Windows7 en Windows 2008 R2 installaties automatiseren?

January 26th, 2010 Ben De Vriese No comments

Op 4 februari kan je een Microsoft TechNet Live Meeting volgen over het automatiseren van Windows 7 en Windows 2008 R2 installaties.

Tijdens deze livemeeting zullen we u tonen hoe u aan de hand van onze bestaande tools zoals “Microsoft Deployment toolkit” en de “Windows Deployment Services” heel snel Windows 7 en Windows Server 2008 R2 kan installeren. Verder gaan we dieper in op de “boot from VHD” functionaliteit.
U zal ook merken dat we in Windows 7 en Windows Server 2008 R2 nieuwe mogelijkheden hebben om de installatie te vergemakkelijken en automatiseren.

Taal/talen: Nederlands.

Product(en): Windows 7,Windows Server 2008 R2.

Doelgroep(en): Infrastructuurspecialisten,IT-besluitvormer,IT-generalist,IT-implementeerder,IT-manager,Specialist voor desktop/eindgebruikers,Technisch persoon met invloed op BDM.

Duur: 120 Minuten

Begindatum: donderdag 4 februari 2010 14:00

Registreer voor dit event.

Categories: Deployment, Server 2008 R2, Windows 7 Tags:

VMWare network drivers for WinPE 3.0

January 20th, 2010 Ben De Vriese 6 comments

When capturing a reference image using VMWare Workstation/Server your WinPE image needs the right nic driver to contact the Deployment Share.

Here is how to obtain and inject these vmware drivers into your WinPE boot image.

First download the drivers from VMWare (link updated Sept 2010). (PCnet Family network adapter, NDIS5 Driver)

Import them (I used \WinXP_SignedDriver\netamd.inf, pcntpci5.cat and PCNTPCI5.sys) into your deployment share:

MDT 2010 WinPE drivers

Make sure drivers are injected into your WinPE images:

MDT 2010 - Inject drivers into WinPE

And rebuild the Deployment Share, to regenerate the WinPE boot images.

MDT 2010 Update Deployment Share

Last step: import the new WinPE boot images into your PXE boot server. (or rewrite your bootcd’s with the WinPE ISO file)

Categories: MDT 2010 Tags: , ,

MDT 2010: SQL server does not exist or access denied

January 18th, 2010 Ben De Vriese No comments

While setup some MDT lab environments this SQL error crossed my path a couple of times.

ZTI error opening SQL Connection. SQL server does not exist or access denied.

Unable to establish database connection using [CSETTINGS] properties. SQL Server does not exist or access denied.

Unable to establish database connection using [CROLES] properties. SQL Server does not exist or access denied.

MDT 2010 cannot contact SQL Server

I’m using a hidden share on the SQL Server box that MDT will use for authentication to the SQL Server. The same credentials are used to connect to the MDT database. So I had granted sufficient share and NTFS permissions to the hidden share and granted this user the db_datareader role on the MDT database.

If we read the error again it is clear that MDT cannot contact the SQL Server, it even cannot find the server.

Troubleshooting-time!

I hit F8 during deployment to get into a command prompt. Once in the command prompt I could contact the SQL Server box with the ping command.

A ping to the server gave a response of a wrong IP address. Turns out that the DNS server was holding an old IP address from the previous MDT and SQL Server installation. Deleting this A-record and register (ipconfig /registerdns) the SQL Machine again, was the solution for this issue.

In another lab environment I could ping and map a share on the SQL Server box.

net use * \\Servername\Hiddenshare$

Turns out that we forgot to open the Windows Firewall for SQL Server. Add an exception for sqlservr.exe and sqlbrowser.exe is enough. You don’t have to turn the complete firewall off.

With the firewall configured as it should and all DNS records registered, no error occurred and deployment went successfully.

Categories: Deployment, MDT 2010 Tags:

Manage drivers in MDT 2010

January 7th, 2010 Ben De Vriese 12 comments

Microsoft Deployment Toolkit 2010 has some nice improvements to its successors in the driver handling department. I will describe how I like to manage drivers in MDT 2010.

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 command prompt: ‘wmic csproduct get name’, to get the exact name WMI queries to determine the computer model. In my case the computer name is “Latitude E5500”. My colleague for example, uses a HP laptop “HP Compaq 6730b (GW687AV)”. Use this info to build up folders in MDT’s Out-of-Box Drivers (you can make your own structure, as long as the computer and Model names are correct).

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

 

MDT has two different methods to manage drivers (actually three, but we skip DriverPaths used in BDD 2007, as support will probably be removed in future versions).

 

1. DriverGroups

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

At deployment 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. You don’t want to query dead horses.

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

MDT2010 - Add a Task Sequence VariableMDT2010 - Set Task Sequence Variable for DriverGroup

I use ‘DriverGroup001’ as Task Sequence Variable, and Win7x64\%Make%\%Model% as value for my Windows 7 x64 TS . You have to adapt this to your Out-of-Box tree. (Don’t use an underscore in your TS variable variable name as I intentional did. thanks Tom!)

MDT 2010 - Set Task Sequence DriverGroup variable

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:

DriverGroup001=%Make%\%Model%
DriverGroup002=Printers

 

2. Selection Profiles

New in MDT 2010 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 printer 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

 

Please do comment if you have any suggestions.

Categories: Deployment, MDT 2010, Windows 7 Tags: