The Deployment Guys

Helping to deploy your world automagically...

Configuring default settings for Windows image deployment

Configuring default settings for Windows image deployment

  • Comments 71

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.

 

  • Thanks again!

    Unfortunately, customer wants a base image including default user customizations. So, there goes Method C, moving on to Method D ;-)

  • I also face problem with the "copyprofile" setting in the unattend.xml. When running sysprep /generalize, not all customizations are passed to the Default User. (Theme is not, quickLaunch is not, desktop icons are)

    Another useless setting int he unattend.xml is "CustomDefaultThemeFile". Altough the customized theme is selectable in the pull-down menu, the installation and the sysprep always put the Vista Theme as the default one.

  • I am having some problems with LTI and enabling bitlocker since upgrading to MSD 2008.

    I have my tasks sequence set to automatically enable bitlocker, but I keep receiving this error:

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

    <![LOG[LTI deployment failed, rc = -2147467259  0x80004005]LOG]!><time="10:20:43.000+000" date="04-14-2008" component="LiteTouch" context="" type="1" thread="" file="LiteTouch">

    Any Ideas how to fix this?

    Thanks,

    Cody

  • Hi Cody,

    Although those lines you included in your post state "error", they don't reveal the reason for your error.  Go back a few lines in the log and you should see something more useful.  I know the log files from MDT are pretty verbose, but the information you need is in there, you just need to go back a few lines to find it.

    HTH,

    Daniel

  • Hi Daniel,

    Thanks for the response. Going back a bit further I see [Failed find a TPM instance in the provider class.].

    I have both Vista SP1 Images and non-SP1 images. When I restore a SP1 image it restores successfully, when I try to restore a non-SP1 image I get this error.

    I am using MSD 2008 and WAIK 1.1. When using the previous versions I didn't get this error with non-SP1 images.

    Looks like the new tools aren't completely compatible with non SP1 images?

    Thanks,

    Cody

  • Cody,

    The tools are compatible with non-SP1 images, it seems that you have something else causing these issues.

    Have you tried changing the operating system deployed in the Task Sequence of your non-SP1 images?  If it works with that TS then you know the problem is in the TS for the SP1 image.

    Daniel

  • This post is for Cosmo.  Sorry about the delay in replying, but I've been trying to get some deliverables out for a project.

    To get method C to work on Windows XP SP2, you have to install the hotfix from this KB article: http://support.microsoft.com/?kbid=887816.  (My bad for forgetting to mention this.)  You will have to request this from Customer Support.  This hotfix reverts XP to not doing the profile copy by default.  You would then do the Default User hive registry edit before Sysprep runs.   (I never understood why they made the new profile copy the default with no builtin way to disable it.  They saw the error of their ways with Windows Server 2003 and Vista, which have to have the profile copy enabled in the answer file.)

    Michael Murgolo

  • Wow, thanks for the reply and for taking the time to blog about all this and to answer so many questions here and elsewhere (to all of you d-guys).

    I was already aware of the hotfix and I'm still thinking wether to use it. In the meantime I tried to figure out what exactly gets copied from the admin profile to the defuser profile during minisetup, but this is really a tedious task. As you already mentioned, there is no reliable way of telling why a specific setting does not get carried over.

    Also, there are some areas that are really not designed for this sort of registry hacking (explorer view details, toolbars, setting a jpg wallpaper, ...) and getting these to work can be quite time-consuming.

    Anyway, thanks again!

  • Hi,

    I have been browsing the web to try and find an answer to a deploy problem.

    I have a client who is using a sysprepped image to deploy XP to three different models of machine...all are Lenovo.

    The drivers are all installed correctly on each model of machine. However, on the Lenovo M57 Type : 6071-ADU machines, the screen settings set in Sysprep do not stay set.

    The pertinent section reads:

    [Display]

    BitsPerPel=32

    Xresolution=1024

    YResolution=768

    VRefresh=85

    and works for the other two models but not this one. The video settings revert back to 'optimum' for this model.

    Any ideas would be helpful here...this is getting quite annoying.

    Thaks for your assistance.

    BillT

  • @William

    Hi William,

    Will the 6071-ADU take the 85 hz refresh rate if you set it manually?  Normally when I have had this problem it has been because the graphics card *or* the monitor could not display the settings I gave.

    HTH,

    Daniel

  • Hi Ben,

    I've been getting return codes: -1073741818 during one of my ZTIApplications.wsf installs. It is one the second last application I have in the database for that make/model.

    I used Richard's method of putting the error code in the calculator in scientific mode and converting to Hex, it returns a last digit of 6. However, I haven't been able to find an explanation for return code 6. Would you happen to know where I could find information on it?

    Thanks

  • Hi Kelly,

    Is there any information in the logs?

    Thanks,

    Ben

  • The same happened in one of our computer. After the uninstallation of Office Communicator 2007 and reinstallation of the Windows Messenger 5.1 we get this exit code.

    We used a wse for the installation and SMS for that.

    Thanks a lot in advance!

  • In my previous post on this topic, I mentioned that Windows XP Service Pack 2 will copy the Administrators

  • Michael Murgolo did a great post on the different ways to adjust default settings when building an image

Page 4 of 5 (71 items) 12345
Leave a Comment
  • Please add 7 and 4 and type the answer here:
  • Post