The Deployment Guys

Helping to deploy your world automagically...

Browse by Tags

Related Posts
  • Blog Post: Script to Make ServiceUI.exe Easier to Use for OSD Custom User Interfaces

    Since Configuration Manager task sequences usually run as the System account, the task sequence cannot natively launch and display a user interface that will be visible on the screen. So MDT ships with an utility called ServiceUI.exe that allows executable to display on a different desktop than the System...
  • Blog Post: Dynamically Setting Variables as Over-writable during Gather

    During the MDT Gather process, almost all properties (variables) are treated as “first writer wins” (i.e. the value cannot be changed during Gather once it is set for the first time). ZTIGather.xml defines the “known” MDT variables for Gather. The ones that are able to be changed...
  • Blog Post: Writing Data to the MDT Database During Gather

    MDT allow you to query the MDT Database during a Gather step using database sections in CustomSetting.ini . This is great for retrieving settings to drive the deployment. However, there are occasions where you may want to write information back to the database. MDT provides no built-in way to do this...
  • Blog Post: Loading Scripts that Have VBScript Classes or that Don’t Have a UserExit Function as User Exit Scripts – Script Update

    In a previous post I provided a script that allows loading scripts that have VBScript Classes or that don’t have a UserExit function in them as User Exit scripts in CustomSetting.ini. This script also allows you to load multiple User Exit scripts in a single CustomSetting.ini section as in this...
  • Blog Post: Location Deployment Wizard for ConfigMgr 2007

    When working on deployment projects, there is often a requirement for a workstation to be customised on a location by location basis. Common workstation customisations which are applied in this manner include: Localisation settings (locales, keyboard settings, time zones, Windows (Windows Vista...
  • Blog Post: Using Device Aliases for Hardware Specific Application Installation

    15 Feb 2010 Update – To use techniques found in this post with MDT 2010 you will need to use one of the workarounds described in this post:  http://blogs.technet.com/deploymentguys/archive/2010/02/15/using-convertbooleantostring-with-ztigather-wsf-in-mdt-2010.aspx . In my last post I described how...
  • Blog Post: Making WinPE Wait for Network in LTI Deployments

    In some environments, network device drivers and/or infrastructure take longer to load than WinPE waits before running the task sequence. This can be due to congested DHCP scopes, link negotiation latency or slow loading network drivers. In these cases, it is necessary to delay the start of the task...
  • Blog Post: MDT Debugger 2.0

    Back in March of last year, I posted the MDT Debugger as a time/stress and frustration saving tool useful for debugging the scripts you develop for use with MDT. Over the last year, I've used the tool in every MDT project that I have worked on, which has given me the opportunity to (very slowly) address...
  • Blog Post: Deploying Win 7 to Boot From VHD with MDT 2010

    One of the more difficult scenarios that customers have found in the past is multi-booting a new OS. The effort needed to re-partition the drive to allow for the new OS is sometimes too great. One new solution that is gaining ground in deployment is Boot From VHD. This allows you to take a VHD file with...
  • Blog Post: Configuring Regional and Language Settings Online in an MDT Task Sequence

    Update 2015-02-27: I have updated the script. Read about the changes here: http://blogs.technet.com/b/deploymentguys/archive/2015/02/27/configuring-regional-and-language-settings-online-in-an-mdt-task-sequence-script-update.aspx . Both posts now have the updated script download. ...
  • Blog Post: Querying MDT/ConfigMgr Logs in MDT Scripts

    The Lite Touch Deployment Process end in a Summary Wizard pane that displays any warning or errors that were logged in the MDT master log (BDD.log). This is a great feature but customers have pointed out that this summary is not preserved after the Summary Wizard is closed. If you accidentally...
  • Blog Post: Updated Hardware Detection Script

    Or… How Not to Create Boolean Properties in an MDT Script 15 Feb 2010 Update – For information on using ConvertBooleanToString with MDT 2010, see the workarounds described in this post:  http://blogs.technet.com/deploymentguys/archive/2010/02/15/using-convertbooleantostring-with-ztigather-wsf-in...
  • Blog Post: Using ConvertBooleanToString with ZTIGather.wsf in MDT 2010

    Update 2010-07-08:   This issue has now been fixed in MDT 2010 Update 1.  You can now use ConvertBooleanToString directly without these workarounds in MDT 2010 Update 1. In a few of my previous posts I used the ConvertBooleanToString function found in ZTIGather.wsf to correctly set values of...
  • Blog Post: Banish GUIDs from CustomSettings.ini in MDT

    Another of my pet peeves about MDT CustomSettings.ini rules is that fact that you have to define entries for Applications and ManditoryApplications as GUIDs.  Here is the example for Applications from the MDT help file: [Settings] Priority=Default [Default] Applications001={1D7DF331-47B7-472C-87B3...
  • Blog Post: Updated Driver INF Information Script

    A few years ago I wrote an article for TechNet Magazine on how to Automate Device Driver Integration for Windows image builds and deployment. The article is now somewhat dated since BDD/MDT and System Center Configuration Manager now handle much of this for you. However, I included with that article...
  • Blog Post: Dealing With Duplicate User Profile Links in Windows Vista

    Overview of Windows Vista User Profiles In previous versions of Windows the user's profile was largely hidden away and only the more technically-minded of us would ever knowingly delve into its contents.  With Windows Vista there seems to have been a significant change in that the profile has been...
  • Blog Post: Useful Script Number 4 - Silent Installation of Windows AIK 1.1

    One of the things that you may need to do - particularly if you are tying to automate the creation of a deployment server in a lab environment - is install the Windows Automated Installation Kit. You may think that because Windows AIK is supplied as .msi files that this would be a simple process, however...
  • Blog Post: Using and Extending Model Aliases for Hardware Specific Application Installation

    Update 11 December 2009 – A few changes and additions inspired by the work being done by fellow MSC Senior Consultant Steven Markegene.  Of note are the changes to the Hyper-V model strings and a new one added by Steven.  The script download has been updated as well. In a post on his blog from...
  • Blog Post: Useful Script Number 6 - Pausing the Task Sequence

    Have you ever wanted to pause the task sequence in MDT 2008 or ConfigMgr 2007 for a few seconds while something catches up...? I had a requirement to do this recently where I ran a task to close and cancel the Windows Sidebar at the start of the State Restore phase of the task sequencer and then turn...
  • Blog Post: MDT Debugger 2.1

    As some of our regular readers will have seen, I released version 2.0 of the MDT Debugger a short time ago. This version 2.1 is just a minor update with the following changes/improvements: Fixed a bug in the output window that caused some process output not to be captured and displayed Added...
  • Blog Post: Using MDT and Custom Function Library Scripts as User Exit Scripts

    A fellow Deployment Guy wanted to use some of the functions in ZTIDiskUtility.vbs in his own User Exit script. Since ZTIGather.wsf does not include ZTIDiskUtility.vbs in its <script> elements, these functions are not available during the MDT rules processing. One way to solve this would be to simply...
  • Blog Post: Deprecation of the OSVersion Property and What to Do About It

    The OSVersion variable is populated with a short string representing the version of the operating system (e.g. XP, Vista, Win7Client, 2008, etc.). With MDT 2012, you may have noticed that when you deploy Window 8 that the value of the OSVersion variable gets set to “Other” instead of something...
  • Blog Post: Keeping An Eye On USMT Progress

    I recently did a project where all users had around 25Gb (don’t ask!) of data that had to be migrated with the USMT during the OS deployment. Because of the sheer volume of data, the USMT phases of the project took an extremely long time to complete, and because no on-screen feedback is given of the...
  • Blog Post: Approving Windows Updates in an MDT 2010 Standalone Environment from a ConfigMgr Software Update Point

    You’ve no doubt read some of the benefits around using the Software Update Point features of ConfigMgr. However, if you are already using MDT standalone as an Image Engineering environment – there is sometimes a duplication in having to manage software updates in both environments. The most common solution...
  • Blog Post: Useful Script Number 5 - Adjusting the Default User Registry Hive

    Michael Murgolo did a great post on the different ways to adjust default settings when building an image ( Configuring default settings for Windows image deployment ) and one of the options presented was to targeted changes to the Default User Registry hive and profile folders. I had to do this recently...