Jan 292013
 

In MDT2012, the x86 or x64 boot images deploy any/all OSes (regardless of architecture), excluding a small subset of scenarios, which I can discuss further, if desired. MDT2010 boot images only supported deploying the OS of the booted architecture, i.e. the x86 boot image only displayed the x86 Task Sequences. If you want 2012 to still behave like this, use the “WizardSelectionProfile” Custom Settings INI rule/property to display only a subset of Task Sequences, specified with a Selection Profile.

1. Create 2 selection profiles, one containing the desired x86 Task Sequences and one for x64.
x86 Selection Profile
2. Update your Custom Settings INI (Rules) to display only the appropriate Task Sequences.
CSUpdates
3. Test changes…
SelectionsAfterCSUpdates

-BG

Share
Jan 182012
 

In many Organizations, the AD support team is separated from the team in charge of Imaging.  The AD team naturally is protective with their setup and fight any GPO setting that would result in more responsibility to their staff.  So that leaves us in some occasions having to turn to Local Group Policy to apply the settings we want.  I’ve recently come across some great tools provided by Microsoft (very quietly) for Government usage.  These tools allow you to basically back up your LGPO settings to a txt file and apply them on demand with a script silently.

MS link: http://blogs.technet.com/cfs-file.ashx/__key/communityserver-components-postattachments/00-03-05-16-48/LGPO_2D00_Utilities.zip
BackUp link: https://panaconsulting.egnyte.com/h-s/20120118/077e07ba18c74413

How to use:

  1. Apply desired settings on a Windows 7 test machine, using the gpedit.msc MMC snap-in.
  2. Run the “ImportRegPol.exe” with the /parseonly and /log to pull settings and save to a specified LOG file.
    User settings and machine settings need to be captured separately:
    LGPO User Settings
    Capture User Example
    ImportRegPol.exe /u  C:\Windows\System32\GroupPolicy\User\registry.pol /parseonly /log <PathToSettingsFile>.log
    LGPO Machine Settings
    Capture Machine Settings Example:
    ImportRegPol.exe /m  C:\Windows\System32\GroupPolicy\Machine\registry.pol /parseonly /log <PathToSettingsFile>.log
  3. Use the Apply_LGPO_Delta.exe utility to apply the settings silently.  On restart the settings will take effect.
    Apply_LGPO_Delta.exe <PathToSettingsFile>.log /log <PathToLogFile>.log
  4. This can easily be added to an SCCM or MDT Task Sequence and tied to logic to ensure the correct settings get pushed to the appropriate target systems/users.

Command Line help for LGPO Tools:

Apply_LGPO_Delta.exe inputfile0 [inputfile1 ...] [/log LogFile] [/error ErrorLogFile] [/boot]

inputfileN             One or more input files specifying the changes to make.  Input files must be security template files, or registry-based policy files using a custom file format described below.  Apply_LGPO_Delta automatically determines whether a file is a custom policy file or a security template.  Security templates can be created using the “Security Templates” MMC snap-in.

/log LogFile           Writes detailed results to a log file.  If this option is not specified, output is not logged nor displayed.

/error ErrorLogFile   Writes error information to a log file.  If this option is not specified, error information is displayed in a message box dialog.

/boot                  Reboots the computer when done.

 

ImportRegPol.exe –m|-u path\registry.pol [/parseOnly] [/log LogFile] [/error ErrorLogFile] [/boot]

-m path\registry.pol   [for Computer configuration] or

-u path\registry.pol   [for User configuration]

Path\registry.pol specifies the absolute or relative path to the input registry policy file (which does not need to be named “registry.pol”).

/parseOnly             Reads and validates the input file but does not make changes to local group policy.  In conjunction with the /log option, can be used to convert a registry policy file to an input file for Apply_LGPO_Delta.

/log LogFile           Writes detailed results to a log file.  If this option is not specified, output is not logged nor displayed.  The logged results for the registry policy settings can be used as input for Apply_LGPO_Delta.

/error ErrorLogFile   Writes error information to a log file.  If this option is not specified, error information is displayed in a message box dialog.

/boot                  Reboots the computer when done.

 

-Brian G

Share
Jul 272011
 

This error appears when the Litetouch script is run under user account instead of an administrator account.image

To workaround this error, simply create a .bat file in the root of your Deployment Share to map the z: drive and call the Litetouch.wsf script.  .Bat files can be Right-Clicked and “Run as Administrator”.
image
image

Share
Jun 152011
 

In A LOT of cases, MDT fails to clean up properly after a Failed or even Successful Task Sequence.  These leftover files are a nuisance, and can cause the following error (The task sequence has been suspended).

TSSuspendedError

Ive come accustomed to using the Diskpart tool to perform a “Clean” against “Disk 0” to ensure all files are removed.

TSSuspendedErrorFix

 

BUT There is a BETTER way!  Johan put together an excellent tool to clean these leftover files before running LTI, so no more error messages in WinPE.  The only problem is that his blog entry only explains how to update a boot.wim for a onetime update.  When a user performs an “Update Deployment Share” it would wipe out the changes.

Note: If using the “Refresh” or “Sysprep And Capture” Task Sequences, this process will clear the MININT and start a new Deployment after rebooting into WinPE, so keep a backup of the “Unattend_PE_x86.xml”.  This will give you the ability to revert back to the default WinPE image.

I put together a quick .ZIP that can be used to use the script.

image

image

File name: ZTICleanSetupInprogress.zip
Website link: https://panaconsulting.egnyte.com/h-s/20110615/dae8ca6c6fbf4f03

Source: http://www.deploymentresearch.com/Blog/tabid/62/EntryId/32/Leftover-junk-prevents-new-installation-in-MDT-2010.aspx

Share