how to add desktop icons to sysprep image Solved

  1.    01 Feb 2018 #1

    how to add desktop icons to sysprep image


    Can you tell me how to keep the icons I set in my customized windows 10 image. I add them and do a sysprep with copyprofile but when i image the new computer, my desktop and network, and user - etc icons are not there. Also can you or someone show me how to keep the "select which icons appear on taskbar" (ie .. "always show all icons in notification area".
    when i sysprep the image, this too turns off and goes to default. Much appreciated any help given
      My ComputerSystem Spec

  2. Kari's Avatar
    Posts : 15,163
    Windows 10 Pro
       01 Feb 2018 #2

    CopyProfile = True, copying current built-in admin desktop and settings to default user profile only works when image is generalized. Most probably you have forgotten to use the /generalize switch.

    Correct Sysprep command to generalize image:

    %windir%\system32\sysprep\sysprep.exe /generalize /oobe

    In case your answer file has any other name than unattend.xml or if it is not stored in %windir%\system32\sysprep folder, add /unattend switch to tell Sysprep where to find the answer file:

    %windir%\system32\sysprep\sysprep.exe /generalize /oobe /unattend:X:\MyAnswerFile.xml

    Kari
      My ComputerSystem Spec

  3.    02 Feb 2018 #3

    thanks for response, but i already understand what you replied. I am talking about the startmenu and taskbar.
    I know that the startmenu uses the export-startlayout cmd.. and that works just fine.. my issue is according to what i read.. i want to inclde the taskbar .. but when you export.. the taskbar doesnt show up in the exported file.

    here is an example :
    Code:
    <LayoutModificationTemplate xmlns:defaultlayout="http://schemas.microsoft.com/Start/2...lDefaultLayout" xmlns:start="http://schemas.microsoft.com/Start/2014/StartLayout" Version="1" xmlns="http://schemas.microsoft.com/Start/2...utModification">
      <LayoutOptions StartTileGroupCellWidth="6" />
      <DefaultLayoutOverride>
        <StartLayoutCollection>
          <defaultlayout:StartLayout GroupCellWidth="6">
            <start:Group Name="apps">
              <start:DesktopApplicationTile Size="2x2" Column="0" Row="0" DesktopApplicationLinkPath="%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\TightVNC\TightVNC Viewer.lnk" />
              <start:DesktopApplicationTile Size="2x2" Column="4" Row="0" DesktopApplicationLinkPath="%APPDATA%\Microsoft\Windows\Start Menu\Programs\Accessories\Internet Explorer.lnk" />
            </start:Group>
          </defaultlayout:StartLayout>
        </StartLayoutCollection>
      </DefaultLayoutOverride>
    </LayoutModificationTemplate>

    I thought from what i read i needed to tailor this file and then to import .. But i error out.. according to what i read now ..i need something else than import-startlayout cmd ??

    what i am trying to do is remove the store icon and put a could of other icons on the task bar.. but so far no luck doing so..
    can you assist??

    One other thing.. when i sysprep the machine.. i add the computer to the domain but for some reason the domain adds it in but it says the domain has a problem with the computer being reconized (the security database on the server does not have the computer account for this workstation trust relationship), i had to re-add it in, then everything worked.. any idea why the computer shows as part of domain but still couldnt login in as a domain user?? is there something special in the sysprep i need to do... here is an example of my unattend script:

    Code:
    <?xml version="1.0" encoding="utf-8"?>
    <unattend xmlns="urn:schemas-microsoft-com:unattend">
        <settings pass="generalize">
            <component name="Microsoft-Windows-Security-SPP" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                <SkipRearm>8</SkipRearm>
            </component>
        </settings>
        <settings pass="specialize">
            <component name="Microsoft-Windows-Deployment" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                <RunSynchronous>
                    <RunSynchronousCommand wcm:action="add">
                        <Order>1</Order>
                        <Path>net user administrator /active:yes</Path>
                    </RunSynchronousCommand>
                </RunSynchronous>
            </component>
            <component name="Microsoft-Windows-Security-SPP-UX" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                <SkipAutoActivation>true</SkipAutoActivation>
            </component>
            <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                <TimeZone>Eastern Standard Time</TimeZone>
                <ProductKey></ProductKey>
                <CopyProfile>true</CopyProfile>
            </component>
            <component name="Microsoft-Windows-UnattendedJoin" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                <Identification>
                    <Credentials>
                        <Domain>*****.org</Domain>
                        <Password>***********</Password>
                        <Username>addcomputer</Username>
                    </Credentials>
                    <JoinDomain>********.org</JoinDomain>
                    <MachineObjectOU>OU=Computers,OU=Domain Computers,DC=****,DC=org</MachineObjectOU>
                </Identification>
            </component>
        </settings>
        <settings pass="oobeSystem">
            <component name="Microsoft-Windows-International-Core" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                <InputLocale>en-us</InputLocale>
                <UILanguage>en-us</UILanguage>
                <UILanguageFallback></UILanguageFallback>
                <UserLocale>en-us</UserLocale>
                <SystemLocale>en-us</SystemLocale>
            </component>
            <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                <AutoLogon>
                    <Password>
                        <Value>********************</Value>
                        <PlainText>false</PlainText>
                    </Password>
                    <Enabled>true</Enabled>
                    <LogonCount>1</LogonCount>
                    <Username>administrator</Username>
                </AutoLogon>
                <FirstLogonCommands>
                    <SynchronousCommand wcm:action="add">
                        <CommandLine>cscript //b c:\windows\system32\slmgr.vbs /ipk  *******************</CommandLine>
                        <Order>1</Order>
                        <RequiresUserInput>false</RequiresUserInput>
                    </SynchronousCommand>
                    <SynchronousCommand wcm:action="add">
                        <CommandLine>cscript //b c:\windows\system32\slmgr.vbs /ato</CommandLine>
                        <Order>2</Order>
                        <RequiresUserInput>false</RequiresUserInput>
                    </SynchronousCommand>
                </FirstLogonCommands>
                <OOBE>
                    <ProtectYourPC>1</ProtectYourPC>
                    <HideEULAPage>true</HideEULAPage>
                </OOBE>
                <UserAccounts>
                    <AdministratorPassword>
                        <Value>*******</Value>
                        <PlainText>false</PlainText>
                    </AdministratorPassword>
                    <LocalAccounts>
                        <LocalAccount wcm:action="add">
                            <Password>
                                <Value>**********</Value>
                                <PlainText>false</PlainText>
                            </Password>
                            <DisplayName>Administrator</DisplayName>
                            <Group>Administrators</Group>
                            <Name>Administrator</Name>
                        </LocalAccount>
                    </LocalAccounts>
                </UserAccounts>
                <RegisteredOrganization>*******</RegisteredOrganization>
                <RegisteredOwner>Lan Administrator</RegisteredOwner>
            </component>
        </settings>
     <cpi:offlineImage cpi:source="wim:c:/installed%20apps/install.wim#Windows 10 Pro" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
    </unattend>

    thanks for all the help in advance
    Last edited by Brink; 02 Feb 2018 at 11:17. Reason: code box
      My ComputerSystem Spec

  4.    19 Feb 2018 #4

    wds and dism giving different results


    hi.....

    I just want to that the tutorials are great.. I have solved most of all my issues..BUT ONE>>>

    I followed the the Customizing & Capturing a Windows image by George Babichev from your site..

    I followed the dism comand line and everything worked great. no surprises. .. (first 1/2 of video)

    I then followed the wds capture process (2nd part of video) and everything works fine.. BUT when i actually go to install the sysprep'd image .. if fails..
    The first action of "Copying Windows Files" happens in about 2 seconds, showing a successful green checkmark.
    Then the second action (Getting files ready for installation) ends up displaying the following message:
    Windows cannot install required files. Make sure all files required for installation are available, and
    restart the installation.
    I have tried this several times .. each to the same end.. Here is where is strange.. I use the same sysprep'd image and instead of using the capture image of wds feature .. i use the dism command again and load it manually .. and it works fine..

    ANY THOUGHTS >>>>>would be greatly apreciated..........
      My ComputerSystem Spec


 

Related Threads
Installation & Upgrade Customize Windows 10 Image in Audit Mode with Sysprep in Tutorials
First a quote from Microsoft TechNet: Understanding Audit Mode: The Audit Mode, although originally intended to be used in corporate environment in preparing Windows images for deployment (a fancy geek word ;), installing same image on multiple...
hi. So I have imaged a Windows 10 HE that I have sysprep /generalize to OOBE on virtualbox. And written back that image (YES disk image not vm disk, don't ask me how) to my HP Stream 10 netbook. After fixing issue with the boot process, it...
Hi I used the sysprep tutorial to create an image for the classroom - during sysprep I created a users profile and locked all the personalization settings - in the system group policy I set a default lock screen image and set to not allow changes to...
Failure in Sysprep building install image in Installation and Upgrade
I am the manager of a group refurbishing computers for children and needy adults. We were doing Windows 7 until it was stopped. I am trying to build an image in Windows 10 which maintains the look and feel of the Win 7 machine. I have not made any...
Hello, I'm trying to create some custom buttons for my PC using Rainmeter, and part of what I need is high resolution/quality icons from the programs I use. I notice that for quite a few programs, since I've set my icons to large, come up very...
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 19:31.
Find Us