30
Jul/09
0

Sort Drivers in MDT 2008 DriverGroups.xml

Came to my mind to do the same thing for the Driver Groups :)
This little utility sorts the DriverGroups.xml File in your Microsoft Deployment Toolkit which makes it easier to select the Driver Groups you want to assign to Distribution Points and WinPE images.

Download: MDTSortDriversGUI

Expand Screenshots

Print This Post
(5 votes, average: 4.60 out of 5)
Loading ... Loading ...
332 views
26
Jul/09
0

Update CustomSettings.ini and Bootstrap.ini on remote Deployment Points

When it comes down to only change Custom Settings or Bootstrappers on Distribution Points the “Update Deployment Point” command is definitely not your friend, since it does an xcopy from your whole Distribution Share to the Deployment point.
This little PowerShell code will update all Deployment Points with their corresponding CustomSettings.ini and Bootstrap.ini files located on the Master Server.

Make sure to change the $DistributionSourceServer variable to match your LAB Server

Note: I added a choice for additional purposes like updateing the unattended.txt file. The Script is not finished yet.

?View Code POWERSHELL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
$DistributionSourceServer = "\\MDTSERVER\Distribution$"
 
Function Parse-IniFile ($file) {
	$ini = @{}
	switch -regex -file $file {
	    "^\[(.+)\]$" {
	      $section = $matches[1]
	      $ini[$section] = @{}
	     }
	    "(.+)=(.+)" {
	      $name,$value = $matches[1..2]
	      $ini[$section][$name] = $value
	    }
	  }
	  $ini
	}
 
Function Update-CustomSettings {
 
	$FolderList = get-ChildItem $DistributionSourceServer\Control -filter *-*
 
	foreach ($Folder in $FolderList) {
		$iniValue 		= Parse-IniFile -file $DistributionSourceServer\Control\$Folder\Bootstrap.ini
		$CurrentServer 	= $iniValue["Default"]["DeployRoot"]
		$SrcFolder 		= $DistributionSourceServer + "\Control\" + $Folder
		$DstFolder 		= $CurrentServer + "\Control"
 
		Write-Host "Updating " -NoNewline -ForegroundColor "White"
		Write-Host $DstFolder -ForegroundColor "Red"
 
		Copy-Item -Path $SrcFolder\Bootstrap.ini -Destination $DstFolder -Force -ErrorAction SilentlyContinue
		Copy-Item -Path $SrcFolder\CustomSettings.ini -Destination $DstFolder -Force -ErrorAction SilentlyContinue
		}
}
 
switch (Read-Host '
	[1] Update Customsettings.ini Files on Remote Servers
	[2] Synchronize Unattend.txt Files
	[3] Synchronize Applications
	') {
	1 {Update-CustomSettings; break}
	2 {'chose 2'; break}
	3 {'chose 3'; break}
	default {$null}
	}
Print This Post
(1 votes, average: 5.00 out of 5)
Loading ... Loading ...
697 views
23
Jul/09
0

Customizing the Setup Dialogue’s Company Name

In order to replace the “IT Organization” subject during the setup, add the following line to the [Default] section of your CustomSettings.ini (Deployment Point Rules)

1
_SMSTSOrgName=Microtom Corporation

waik_itorganization
waik_microtom

Print This Post
(1 votes, average: 5.00 out of 5)
Loading ... Loading ...
109 views
23
Jul/09
0

Sort Applications in MDT 2008 Applications.xml

While adding more and more applications to the Deployment Workbench, I noticed that the Application list is a bit cunfusing as it is unsorted.
If you want to sort your Application List, feel free to download this little tool. For those interested, I’ll post the C# code.
The following Lists will be displayed alphabetically after you have generated the new Applications.xml file using this tool:

  • Application List during Setup
  • Application List displayed for Distribution Points
  • Application List displayed when adding dependencies

Download: MDTSortApplicationsGUI

MDTSortApplicationsGUI

Print This Post
(2 votes, average: 5.00 out of 5)
Loading ... Loading ...
1,127 views