The Deployment Guys

Helping to deploy your world automagically...

Configuring default settings for Windows image deployment

Configuring default settings for Windows image deployment

  • Comments 72
  • Likes

This post has been superseded by an updated post found here: http://blogs.technet.com/deploymentguys/archive/2009/10/29/configuring-default-user-settings-full-update-for-windows-7-and-windows-server-2008-r2.aspx.  Please update any links or favorites accordingly.

 

 

Disclaimer: The information on this site is provided "AS IS" with no warranties, confers no rights, and is not supported by the authors or Microsoft Corporation. Use of included script samples are subject to the terms specified in the Terms of Use. 

 

This post was contributed by Michael Murgolo a Senior Consultant with Microsoft Services, U.S. East Region.

 

  • Ben- Thanks,I really appreciate you being there to help with this stuff! I'll test today. I didn't capture an image with Bitlocker enabled- Only apps installed.Getting closer!

    Andrea

  • Ben- Is there some secret over at microsoft? i thought the tools would be easy to get. I spent a good part of yesterday trying to locate them. I am now on the phone with a second customer support (kb 930063)for software assurance, and am now being transferred to the Bitlocker support group. The software assurance support knows nothung about this tool or download. Is it hiding somewhere where I could of actually found it more readily? I can't even think to tell my boss this one, may set him over the edge. why isn't it included in the MDT?

    Andrea

  • Ben- TI did finally get someone from support for the Bitlocker team who was very helpfull in getting me the Bitlocker drive prep tools. I copied the files as instructed but am still getting errors. I've looked at the log files but all they say to me are the same errors I see at the TS detail screen.

    This is from the BDDLog file:

    2008" component="ZTIBde" context="" type="1" thread="" file="ZTIBde">

    <![LOG[Running: \\WS4401\Distribution$\Tools\X86\BdeHdCfg.exe -target D: merge -quiet]LOG]!><time="23:50:42.000+000" date="02-26-2008" component="ZTIBde" context="" type="1" thread="" file="ZTIBde">

    <![LOG[About to run command: \\WS4401\Distribution$\Tools\X86\BdeHdCfg.exe -target D: merge -quiet]LOG]!><time="23:50:42.000+000" date="02-26-2008" component="ZTIBde" context="" type="1" thread="" file="ZTIBde">

    <![LOG[Return code from command = -2147009791]LOG]!><time="23:50:43.000+000" date="02-26-2008" component="ZTIBde" context="" type="1" thread="" file="ZTIBde">

    <![LOG[Unable to merge BDE partition BdHdCfg Code:-2147009791]LOG]!><time="23:50:43.000+000" date="02-26-2008" component="ZTIBde" context="" type="3" thread="" file="ZTIBde">

    <![LOG[Unable to merge BDE partition]LOG]!><time="23:50:43.000+000" date="02-26-2008" component="ZTIBde" context="" type="3" thread="" file="ZTIBde">

    <![LOG[ZTI ERROR - Non-zero return code by ZTIBde, rc = 1]LOG]!><time="23:50:43.000+000" date="02-26-2008" component="ZTIBde" context="" type="3" thread="" file="ZTIBde">

    <![LOG[Non-zero return code executing command "C:\MININT\Tools\X86\TsmBootstrap.exe" /env:SAContinue, rc = -2147467259]LOG]!><time="23:50:43.000+000" date="02-26-2008" component="LiteTouch" context="" type="2" thread="" file="LiteTouch">

    <![LOG[LTI deployment failed, rc = -2147467259  0x80004005]LOG]!><time="23:50:43.000+000" date="02-26-2008" component="LiteTouch" context="" type="1" thread="" file="LiteTouch">

    <![LOG[Property RetVal is now = -2147467259]LOG]!><time="23:50:43.000+000" date="02-26-2008" component="LiteTouch" context="" type="1" thread="" file="LiteTouch">

    <![LOG[CleanStartItems Complete]LOG]!><time="23:50:43.000+000" date="02-26-2008" component="LiteTouch" context="" type="1" thread="" file="LiteTouch">

    <![LOG[About to run command: MSHTA.exe "C:\MININT\Scripts\Wizard.hta" /definition:Summary_Definition_ENU.xml]LOG]!><time="23:50:43.000+000" date="02-26-2008" component="LiteTouch" context="" type="1" thread="" file="LiteTouch">

    <![LOG[Property WizardComplete is now = N]LOG]!><time="23:50:44.000+000" date="02-26-2008" component="Wizard" context="" type="1" thread="" file="Wizard">

    This is from the ZTIbde log:

    <![LOG[The task sequencer log is located at C:\Users\ADMINI~1\AppData\Local\Temp\SMSTSLog\SMSTS.LOG.  For task sequence failures, please consult this log.]LOG]!><time="23:50:42.000+000" date="02-26-2008" component="ZTIBde" context="" type="1" thread="" file="ZTIBde">

    <![LOG[Starting search for removable drive]LOG]!><time="23:50:42.000+000" date="02-26-2008" component="ZTIBde" context="" type="1" thread="" file="ZTIBde">

    <![LOG[The search for a USB drive failed]LOG]!><time="23:50:42.000+000" date="02-26-2008" component="ZTIBde" context="" type="1" thread="" file="ZTIBde">

    <![LOG[sOSDBitLockerMode=TPM]LOG]!><time="23:50:42.000+000" date="02-26-2008" component="ZTIBde" context="" type="1" thread="" file="ZTIBde">

    <![LOG[sOSDBitLockerWaitForEncryption=False]LOG]!><time="23:50:42.000+000" date="02-26-2008" component="ZTIBde" context="" type="1" thread="" file="ZTIBde">

    <![LOG[sOSDBitLockerStartupKeyDrive=C:]LOG]!><time="23:50:42.000+000" date="02-26-2008" component="ZTIBde" context="" type="1" thread="" file="ZTIBde">

    <![LOG[sOSDBitLockerTargetDrive=]LOG]!><time="23:50:42.000+000" date="02-26-2008" component="ZTIBde" context="" type="1" thread="" file="ZTIBde">

    <![LOG[<Message containing password has been suppressed>]LOG]!><time="23:50:42.000+000" date="02-26-2008" component="ZTIBde" context="" type="1" thread="" file="ZTIBde">

    <![LOG[OS drive encryption requested. Drive:C:]LOG]!><time="23:50:42.000+000" date="02-26-2008" component="ZTIBde" context="" type="1" thread="" file="ZTIBde">

    <![LOG[====== Current disk information ======]LOG]!><time="23:50:42.000+000" date="02-26-2008" component="ZTIBde" context="" type="1" thread="" file="ZTIBde">

    <![LOG[Disk 0 (removable = False) contains drive C: which is 74245MB and NTFS, bootable = True]LOG]!><time="23:50:42.000+000" date="02-26-2008" component="ZTIBde" context="" type="1" thread="" file="ZTIBde">

    <![LOG[Disk 0 (removable = False) contains drive D: which is 2046MB and NTFS, bootable = False]LOG]!><time="23:50:42.000+000" date="02-26-2008" component="ZTIBde" context="" type="1" thread="" file="ZTIBde">

    <![LOG[====== End of current disk information ======]LOG]!><time="23:50:42.000+000" date="02-26-2008" component="ZTIBde" context="" type="1" thread="" file="ZTIBde">

    <![LOG[Total Disk size in bytes79999073280]LOG]!><time="23:50:42.000+000" date="02-26-2008" component="ZTIBde" context="" type="1" thread="" file="ZTIBde">

    <![LOG[Found existing BDE Drive at D:]LOG]!><time="23:50:42.000+000" date="02-26-2008" component="ZTIBde" context="" type="1" thread="" file="ZTIBde">

    <![LOG[Attempting to merge]LOG]!><time="23:50:42.000+000" date="02-26-2008" component="ZTIBde" context="" type="1" thread="" file="ZTIBde">

    <![LOG[Running: \\WS4401\Distribution$\Tools\X86\BdeHdCfg.exe -target D: merge -quiet]LOG]!><time="23:50:42.000+000" date="02-26-2008" component="ZTIBde" context="" type="1" thread="" file="ZTIBde">

    <![LOG[About to run command: \\WS4401\Distribution$\Tools\X86\BdeHdCfg.exe -target D: merge -quiet]LOG]!><time="23:50:42.000+000" date="02-26-2008" component="ZTIBde" context="" type="1" thread="" file="ZTIBde">

    <![LOG[Return code from command = -2147009791]LOG]!><time="23:50:43.000+000" date="02-26-2008" component="ZTIBde" context="" type="1" thread="" file="ZTIBde">

    <![LOG[Unable to merge BDE partition BdHdCfg Code:-2147009791]LOG]!><time="23:50:43.000+000" date="02-26-2008" component="ZTIBde" context="" type="3" thread="" file="ZTIBde">

    <![LOG[Unable to merge BDE partition]LOG]!><time="23:50:43.000+000" date="02-26-2008" component="ZTIBde" context="" type="3" thread="" file="ZTIBde">

    <![LOG[ZTI ERROR - Non-zero return code by ZTIBde, rc = 1]LOG]!><time="23:50:43.000+000" date="02-26-2008" component="ZTIBde" context="" type="3" thread="" file="ZTIBde">

    I though maybe it was becasue it couldn't find a removeable drive, so at this moment I'm trying it with it in there.

    Any suggestions?

    Varon from tech support (the person who got me the tools) is going to call me tomorrow to see how far I've gotten.

    Do you think I'm getting closer?

    Thanks for getting me closer to my goal!

    Andrea

    Andrea

  • Hi Wael,

    That general process should work. You really need to post your customsettings.ini file before we can help you anymore.

    Thanks,

    Ben

  • Hi Ben,

    I have a XP SP2 image that has copied the default location to save in the administrator/desktop for any new user.  Have you ever seen this happen after sysprep?

  • Hi David,

    This is the default behaviour since XP SP2. During the sysprep process it copies the administrator profile over the Default USer profile.

    Thanks,

    Ben

  • Hi DavidM,

    Was an old-style manual profile copy done before running Sysprep?  This is listed as one of the symptoms of a method "A" profile copy (item 2. e. in that section above).

    Mike

  • Hi Mike,

    No, an older style copy wasn't done before.  This was a fresh image and collection process using Sysprep 2.0.  What I believe happened after thinking about it for a while, was that I downloaded adobe reader or something else I shouldn't have done with the pre-imaged machine and brought along the "HKCU\Software\Microsoft\Internet Explorer\Download Directory" key from the administrator profile.

    This seems to make since with the way Sysprep 2 works (thanks Ben).  I deleted the key from the image offline, and the issue went away.

    David

  • I was wondering if anyone tried testing SP1 for Vista and using BDD 2007 to create a custom deployable image?  

    If you are trying to create a custom deployable image and you updated ie7 or windows defender, it will cause your image to fail during the build creation process in BDD 2007.  Will SP1 have this same effect?

    thanks

    -Charles

  • I am having issues getting custom Vista SP1 imaged deployed and unattended join of the domain.  If I do an unatended of the install disk of Vista with SP1 everythin works fine.

    I can then make a custom image and everything is fine, but somewhere in the process of updating that custom image (deploying it, adding additional software, syspreping etc) I can deploy the image, but it wont do an unattended join to our domain and give the following messages in the "Panther/UnattendGC/setupact.log"

    2008-03-10 14:16:28, Info                         [unattendedjoin.exe] Unattended Join: Joining domain [ursulinestl]...

    2008-03-10 14:16:28, Info                         [unattendedjoin.exe] Unattended Join: Calling DsGetDcName for ursulinestl...

    2008-03-10 14:16:43, Warning                      [unattendedjoin.exe] Unattended Join: DsGetDcName failed: 0x54b, last error is 0x79, will retry in 5 seconds...

    2008-03-10 14:17:03, Warning                      [unattendedjoin.exe] Unattended Join: DsGetDcName failed: 0x54b, last error is 0x79, will retry in 5 seconds...

    2008-03-10 14:17:23, Warning                      [unattendedjoin.exe] Unattended Join: DsGetDcName failed: 0x54b, last error is 0x79, will retry in 5 seconds...

    2008-03-10 14:17:43, Warning                      [unattendedjoin.exe] Unattended Join: DsGetDcName failed: 0x54b, last error is 0x79, will retry in 5 seconds...

    2008-03-10 14:18:03, Warning                      [unattendedjoin.exe] Unattended Join: DsGetDcName failed: 0x54b, last error is 0x79, will retry in 5 seconds...

    2008-03-10 14:18:23, Warning                      [unattendedjoin.exe] Unattended Join: DsGetDcName failed: 0x54b, last error is 0x79, will retry in 5 seconds...

    2008-03-10 14:18:43, Warning                      [unattendedjoin.exe] Unattended Join: DsGetDcName failed: 0x54b, last error is 0x79, will retry in 5 seconds...

    2008-03-10 14:19:03, Warning                      [unattendedjoin.exe] Unattended Join: DsGetDcName failed: 0x54b, last error is 0x79, will retry in 5 seconds...

    2008-03-10 14:19:23, Warning                      [unattendedjoin.exe] Unattended Join: DsGetDcName failed: 0x54b, last error is 0x79, will retry in 5 seconds...

    2008-03-10 14:19:43, Warning                      [unattendedjoin.exe] Unattended Join: DsGetDcName failed: 0x54b, last error is 0x79, will retry in 5 seconds...

    2008-03-10 14:20:03, Warning                      [unattendedjoin.exe] Unattended Join: DsGetDcName failed: 0x54b, last error is 0x79, will retry in 5 seconds...

    2008-03-10 14:20:23, Warning                      [unattendedjoin.exe] Unattended Join: DsGetDcName failed: 0x54b, last error is 0x79, will retry in 5 seconds...

    2008-03-10 14:20:43, Warning                      [unattendedjoin.exe] Unattended Join: DsGetDcName failed: 0x54b, last error is 0x79, will retry in 5 seconds...

    2008-03-10 14:21:03, Warning                      [unattendedjoin.exe] Unattended Join: DsGetDcName failed: 0x54b, last error is 0x79, will retry in 5 seconds...

    2008-03-10 14:21:23, Warning                      [unattendedjoin.exe] Unattended Join: DsGetDcName failed: 0x54b, last error is 0x79, will retry in 5 seconds...

    2008-03-10 14:21:43, Warning                      [unattendedjoin.exe] Unattended Join: DsGetDcName failed: 0x54b, last error is 0x79, will retry in 5 seconds...

    2008-03-10 14:22:03, Warning                      [unattendedjoin.exe] Unattended Join: DsGetDcName failed: 0x54b, last error is 0x79, will retry in 5 seconds...

    2008-03-10 14:22:23, Warning                      [unattendedjoin.exe] Unattended Join: DsGetDcName failed: 0x54b, last error is 0x79, will retry in 5 seconds...

    2008-03-10 14:22:43, Warning                      [unattendedjoin.exe] Unattended Join: DsGetDcName failed: 0x54b, last error is 0x79, will retry in 5 seconds...

    2008-03-10 14:23:03, Warning                      [unattendedjoin.exe] Unattended Join: DsGetDcName failed: 0x54b, last error is 0x79, will retry in 5 seconds...

    2008-03-10 14:23:23, Warning                      [unattendedjoin.exe] Unattended Join: DsGetDcName failed: 0x54b, last error is 0x79, will retry in 5 seconds...

    2008-03-10 14:23:28, Error                        [unattendedjoin.exe] Unattended Join: NetJoinDomain failed error code is [1355]

    2008-03-10 14:23:28, Error                        [unattendedjoin.exe] Unattended Join: Unable to join; gdwError = 0x54b

    2008-03-10 14:23:28, Info                         [unattendedjoin.exe] Unattended Join: Exit, returning 0x0

    I have posted this on several sites and have gotten NO where - if anyone has seen this before let me know what to do - we had/have no problems with our non SP1 images and I can update and redeploy non SP1 all day :)

    SP1 seems to be handling something with domain joining a little odd...

    if you want you can even email me at

    dbaker [at] ursulinestl [dot] org

    Thanks,

    Dan

  • Hi Dan,

    SP1 should handle domain joins in the same manner. I have seen this error when the client does not have the required network drivers.

    Thanks,

    Ben

  • Hi

    I am having the same problem as Wael.

    When I get to the "Capture" step, I just get the network wizard for specifing what network I have and nothing else. The system doesn't restart as it should.

    My CutomSettings.ini looks like this:

    [Settings]

    Priority=Default

    Properties=MyCustomProperty

    [Default]

    OSInstall=Y

    And nothing else. What am I doing wrong here?

    Thanks.

  • Hi

    Is there a way to use custom commands for the capture process. For example I want to use the "/compress max" flag when capturing. Can it be done?

    Thanks

  • Is there a way to insert a wait command before running sysprep so I could make some modifications? I want to change windows update settings the way I like them. Or better.

    Can windows Update settings be altered without my intervention by using a script? I searched in all those scripts but couldn't find anything.

  • Ben Hunter provided a suggestion for pausing a Task Sequence on another forum:

    ----------------

    The way I pause the task sequence is by creating a task that launches notepad, when I want to resume the process I simply close notepad, Here are details on how to do this:

    To do this I create an application that includes the text file and a VB script containing the lines below  and then add this application to the task sequence:

    set oShell= CreateObject("Wscript.Shell")

    oShell.Run " C:\windows\Notepad.exe ManualTasks.txt ",3,True

    ----------------

    However, you configure the Automatic Updates agent in a numbers of automated ways.  The best method is Group Policy.  But you can also set the registry directly.  Both methods are documented in the WSUS deployment doc.  The latest version is here: http://go.microsoft.com/fwlink/?LinkId=79983.

    Mike

Your comment has been posted.   Close
Thank you, your comment requires moderation so it may take a while to appear.   Close
Leave a Comment