Showing posts with label MDT. Show all posts
Showing posts with label MDT. Show all posts

Friday, October 5, 2012

To get Model String

For Drivers deployment , we need to find the exact Manufacturer and Model to deploy using SCCM. s We need to create WMI Query to install the Driver Package based on Make & Model.


Set objShell = CreateObject("WScript.Shell")
Set objWMIService = GetObject("winmgmts:\\.\root\cimv2")
strWinDir = objShell.ExpandEnvironmentStrings("%WinDir%")

Set colItems = objWMIService.ExecQuery("SELECT * FROM Win32_ComputerSystem")
For Each objItem In colItems
        Manufacturer = objItem.Manufacturer
        Model = objItem.Model
Next

strThisComputer = Manufacturer & " - " & Model

intRetVal = InputBox("Use model string below for Drivers.xml", "Get Make and Model", strThisComputer)

Friday, June 22, 2012

How to add Drivers in MDT 2012

How to add drivers in MDT
Select the deployment share you wish to add the drivers to (C:\Deployment Share)

How to Import Packages in MDT 2012

Importing OS Packages or Hotfixes
In our example, we will import a hotfix kb2028749 within our MDT Packages console. Similarly you can add any other package like Language packs.

1.       Download the OS Package and Import it in a folder on MDT server

Friday, May 4, 2012

User State Migration Tool (USMT) 4.0 update for Office 2010

I came across a scenario where I needed to migrate Windows XP with Office 2003 installed to Windows 7 with Office 2010 along with the user data and backup.
In my setup I used Microsoft Deployment Toolkit (MDT 2012) on Windows 2008 R2 SP1. I used the default USMT migration process, it migrated the Office components along with data and user outlook settings. But it didn’t attach the pst which was saved in D drive rather than the default location.
Then I came across the USMT 4 update for Microsoft Office 2010. You can request and download the hotfix from HERE. The update includes fixes and support for migration scenarios for when the source or destination computer has Microsoft Office 2010 installed.

Monday, April 30, 2012

SCCM/MDT: WMI Script to check computer Make & Model

Below is the WMI script to check computer Make & Model, output of which can be used in SCCM/MDT for make & model based driver deployment query.

Hope, this will find a place in your requirement J.
Go to Start and open Run.
1.       WBEMTEST

Sunday, April 29, 2012

Configure MDT Database For Dynamic Naming and OU

The dynamic computer naming process outlined uses integration points and the ability to run something called UserExit scripts which allows for the extension of the MDT inbuilt logic. The UserExit script will dynamically build the computer name. The computer name generated by the UserExit script will be based on a location ID (two or morecharacters added as a custom property in MDT Deployment Database), the computer chassis typed (L for laptop, W for Workstation, V for Virtual and X if the chassis cannot be identified), and the first 7 characters of the computer serial number (removing spaces and replacing them with minus (-) for situations where the serial number contains spaces such as virtual machines serial numbers). These three properties are then glued together and provided as the OSDComputername variable for use in the deployment process so the computer name will look like: UK (location ID) L (Chassis ID) 1234567 (Serial Number ID).

Steps to follow to achieve this.
1) Create a new property in the MDT Deployment Database (for the location ID).
2) To add a custom property to the MDT Deployment Database we need to edit this table.
Open the MDT Deployment Database() using SQL Management Studio and navigate to the dbo.Settings table


Friday, April 27, 2012

MDT: Deploy Windows 7 without DHCP

We came across a scenario at one of our esteemed clients where we needed to deploy Windows 7 on hundreds of machine without the DHCP environment. So all the clients had Static IP assigned to it. When system boots into WinPE it doesn’t get the IP. It is easy in NEW COMPUTER scenario as when the system boots up into WinPE you can assign the Static IP from Welcome screen. But in case of REFRESH scenario we don’t get the Welcome screen in MDT 2010. To achieve the above requirement i have done the customization in the Task Sequence with script as shown below.

Thursday, April 26, 2012

Use ImageX to capture a Windows 7 Image

In the EARLIER post we showed you how to create WinPE boot disk to capture the Windows 7 reference machine. Now we will discuss the steps to be used to capture the reference machine using ImageX.

1.       Configure Windows 7 the reference machine as per the requirement (applications and settings).
2.       Make sure you have 2 partitions on reference machine, one OS partition and other to capture and save the image.
3.       Go to Windows 7 reference machine Start type cmd , run the command prompt as administrator.

Create WinPE boot disk with ImageX

To create a build of Windows 7 we need to capture Windows 7 image from the reference machine with required configurations. We can do this using MDT or SCCM but here I am going to demonstrate you how you can create WinPE image with ImageX and use it to capture Windows 7 image. Below are the steps to create WinPE image using WAIK tools.

1.       Install Windows Automated Installation Kit (WAIK) on your technician machine

Thursday, April 19, 2012

Unable to load DLL "wimgapi.dll" the specified module could not be found ( Exeption 0X800700E7 )

Issue:-
When you try to import OS in MDT Workbench you receive an error: Unable to load DLL "wimgapi.dll" the specified module could not be found (Exception 0X800700E7)
Resolution:-

After you installed Windows AIK you'll find wimgapi.dll is located in C:\Program Files\Windows AIK\Tools\x86
Copy the wimgapi.dll file to this location C:\Windows\System32. Then everything works fine as expected.

Hope this helps!!!

Wednesday, April 11, 2012

DISM Commands for inserting drivers into Image file

DISM Commands

For Mounting Image File-
DISM.exe /Mount-Wim /wimfile:"C:\DeploymentShare\Operating
Systems\WIN7ENT\WIN7ENT.wim" /index:1 /MountDir:C:\Mount

*Note- In "" your .wim file path. Also its one continues command.

For Adding Drivers-
DISM.exe /Image:C:\Mount /Add-Driver /Driver:C:\Users\Administrator\Desktop\LAN_Broadcom_14.4.2.2_W7x64 /Recurse

*Note- The Above is one continues command.

For Commitiing changes-
DISM.exe /Commit-Wim /MountDir:C:\Mount

For Dismounting WIM File-
DISM.exe /Unmount-Wim /MountDir:C:\Mount /Discard

Tuesday, April 10, 2012

MDT: BootStrap Settings for Deployment

Below is the MDT 2010 Update 1 Bootstrap Settings for Windows 7 Deployment

[Settings]
Priority=Default


[Default]
DeployRoot=\\MDTSRV\DeploymentShare$

MDT: Custom Settings for Refesh Deployment

Below is the MDT 2010 Update 1 Custom Settings for Refresh (XP to Windows 7) scenario automated Deployment

[Settings]
Priority=Default
Properties=MyCustomProperty

MDT: Custom Settings for New Computer Deployment

Below is the MDT 2010 Update 1 Custom Settings for New Computer scenario automated Deployment

[Settings]
Priority=Default
Properties=MyCustomProperty

Thursday, April 5, 2012

MDT: XP to Windows 7 Migration (Refresh)

Steps to perform upgrade user data from Windows XP to Windows 7
When doing the Windows 7 installation on a Windows XP machine through MDT LiteTouch.vbs script to upgrade the user data and settings, Please follow the below steps:
Start the Windows XP machine and open the deployment share folder located on MDT Server. Navigate to DeploymentShare$ -> Scripts -> LiteTouch.vbs and run LiteTouch.vbs.

MDT 2010 Deployment and Configuration

In this blog we will cover step by step process to install and configure Microsoft Deployment Toolkit for Windows 7 Deployment.

Pre-requisite:-


Windows Automated Installation Kit (WAIK) Installation Procedure
Please note that installing WAIK for Win7 on Windows Server 2008 doesn’t need these pre-requisites to be installed.

Launch Startcd.exe utility and install MSXML6.0 and .NET Framework 2.0 if you have not already installed via Windows Update or any other means.





Sunday, March 25, 2012

Disk Configuration Wizard Customization: MDT (WSIM)

This is regarding the activity recently I have completed at global IT services and consulting company . Their IT manager had a requirement that after creating the media when we boot up as per the LTI automation it automatically formats the drive and install new OS. But they want to see thewizard for format and partition during installation so that their IT engineer can manually decide on the partition to install and proceed with Windows 7 installaion.

Azure Policy support for remediating tags for existing resources

Use Azure policy to remediate tags for existing resources. https://azure.microsoft.com/en-us/updates/azure-provides-at-scale-tags-managem...