• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    trying to sysprep windows 10 to upload to fog. PLEASE HELP

    Scheduled Pinned Locked Moved Unsolved
    Windows Problems
    6
    48
    19.1k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ryan.mckenzieR
      ryan.mckenzie @Joe Schmitt
      last edited by

      @Joe-Schmitt Here is the reseal.cmd and the SetupComplete.cmd files too.1_1485975329176_SetupComplete.cmd 0_1485975329175_reseal.cmd

      1 Reply Last reply Reply Quote 0
      • george1421G
        george1421 Moderator @ryan.mckenzie
        last edited by

        @ryan.mckenzie Well I feel you need a bit more details in your specialize:Microsoft-Windows-Shell-Setup section. I don’t think you can have some of the fields blank you do.

        ref:

        <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
          <ComputerName/>
          <ProductKey/>
          <RegisteredOrganization/>
          <RegisteredOwner/>
          <TimeZone/>
          <CopyProfile>true</CopyProfile>
        </component></settings>
        

        I might try something more like this

        <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">
            <ComputerName>*</ComputerName>
            <CopyProfile>true</CopyProfile>
            <RegisteredOrganization>My Company</RegisteredOrganization>
            <RegisteredOwner>My Company</RegisteredOwner>
            <TimeZone>Eastern Standard Time</TimeZone>
         </component>
        

        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

        ryan.mckenzieR 1 Reply Last reply Reply Quote 0
        • ryan.mckenzieR
          ryan.mckenzie @george1421
          last edited by

          @george1421 ok next question. Some of these questions are in the pass 7 settings. Isn’t it redundant to have these answers in Pass 4 and 7?
          That’s why I left blank in pass 4

          george1421G 1 Reply Last reply Reply Quote 0
          • george1421G
            george1421 Moderator @ryan.mckenzie
            last edited by

            @ryan.mckenzie said in trying to sysprep windows 10 to upload to fog. PLEASE HELP:

            @george1421 ok next question. Some of these questions are in the pass 7 settings. Isn’t it redundant to have these answers in Pass 4 and 7?
            That’s why I left blank in pass 4

            I can’t honestly answer that. I can say that your error (from screen shot) is in the section I quoted, and the example I provided is very similar to what I deploy today, but that code was copied from the internet. So the decision is yours… I’m only looking for footprints in the snow.

            Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

            ryan.mckenzieR 3 Replies Last reply Reply Quote 0
            • ryan.mckenzieR
              ryan.mckenzie @george1421
              last edited by

              @george1421 ok thank you! I will try it out

              1 Reply Last reply Reply Quote 0
              • ryan.mckenzieR
                ryan.mckenzie @george1421
                last edited by

                @george1421 Failed with the same error after changing answer file to look like yours

                1 Reply Last reply Reply Quote 0
                • ryan.mckenzieR
                  ryan.mckenzie @george1421
                  last edited by

                  @george1421 0_1485983496062_upload-8e76b156-fd8f-4845-9965-a9f82163bf40

                  1 Reply Last reply Reply Quote 0
                  • Scott AdamsS
                    Scott Adams
                    last edited by

                    I have attached a copy of my unattend.xml that I use with Windows 10 (edited to take out our private info). I can image Windows 10 without issues.0_1485985103092_unattend.xml

                    ryan.mckenzieR 2 Replies Last reply Reply Quote 0
                    • ryan.mckenzieR
                      ryan.mckenzie @Scott Adams
                      last edited by

                      @Scott-Adams ok thank you I will take a gander at it

                      1 Reply Last reply Reply Quote 0
                      • ryan.mckenzieR
                        ryan.mckenzie @Scott Adams
                        last edited by

                        @Scott-Adams CopyProfile is set to false is this correct?

                        0_1485985519321_upload-5a4b5c8c-4737-4007-b2b2-86845a9a5f9e

                        george1421G 1 Reply Last reply Reply Quote 0
                        • george1421G
                          george1421 Moderator @ryan.mckenzie
                          last edited by

                          @ryan.mckenzie You probably want that set to true to copy the profile from the admin user to the default user.

                          Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

                          ryan.mckenzieR 1 Reply Last reply Reply Quote 0
                          • ryan.mckenzieR
                            ryan.mckenzie @george1421
                            last edited by

                            @george1421 ok just making sure thank you. One more question do you set up in audit mode or not?

                            george1421G 1 Reply Last reply Reply Quote 0
                            • george1421G
                              george1421 Moderator @ryan.mckenzie
                              last edited by george1421

                              @ryan.mckenzie Me personally, no. We use MDT to build our reference image using the lite touch method (i.e. unattended setup once MDT starts).

                              We use MDT so we get a consistent reference image each time we rebuild the reference image (once a quarter). All of the common software is installed by MDT. When the system is ready for sysprep, we run sysprep and then capture and deploy with fog. Also by using MDT to build the reference image each time from the start we don’t have to worry about the rearm count or having to reset it each time we make a change.

                              Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

                              ryan.mckenzieR 2 Replies Last reply Reply Quote 0
                              • ryan.mckenzieR
                                ryan.mckenzie @george1421
                                last edited by

                                @george1421 ok thank you. i appreciate it

                                1 Reply Last reply Reply Quote 0
                                • ryan.mckenzieR
                                  ryan.mckenzie @george1421
                                  last edited by

                                  @george1421 YOU ARE DA MAN!!! It finally worked! so it was in the unattend file that was causing my issues… yours looks like a windows 7 to me edited for windows 10… is this true?

                                  george1421G 1 Reply Last reply Reply Quote 0
                                  • george1421G
                                    george1421 Moderator @ryan.mckenzie
                                    last edited by

                                    @ryan.mckenzie Yes that is true, we basically used our win7 unattend.xml file with a few tweaks for Win10.

                                    What did you find as the root of your problem? Your unattend.xml file “looked” ok as it were except for the blank fields.

                                    Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

                                    ryan.mckenzieR 1 Reply Last reply Reply Quote 0
                                    • x23piracyX
                                      x23piracy
                                      last edited by x23piracy

                                      Hi,

                                      i can also upload mine unattend.xml file, i use it with windows 10 but this may gives conclusion what is wrong with yours.

                                      <?xml version="1.0" encoding="utf-8"?>
                                      <unattend xmlns="urn:schemas-microsoft-com:unattend">
                                      <settings pass="windowsPE">
                                      <component name="Microsoft-Windows-International-Core-WinPE" 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">
                                      <SetupUILanguage>
                                      <UILanguage>de-DE</UILanguage>
                                      </SetupUILanguage>
                                      <InputLocale>0407:00000407</InputLocale>
                                      <SystemLocale>de-DE</SystemLocale>
                                      <UILanguage>de-DE</UILanguage>
                                      <UILanguageFallback>de-DE</UILanguageFallback>
                                      <UserLocale>de-DE</UserLocale>
                                      </component>
                                      <component name="Microsoft-Windows-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">
                                      <DiskConfiguration>
                                      <Disk wcm:action="add">
                                      <CreatePartitions>
                                      <CreatePartition wcm:action="add">
                                      <Order>1</Order>
                                      <Type>Primary</Type>
                                      <Size>100</Size>
                                      </CreatePartition>
                                      <CreatePartition wcm:action="add">
                                      <Extend>true</Extend>
                                      <Order>2</Order>
                                      <Type>Primary</Type>
                                      </CreatePartition>
                                      </CreatePartitions>
                                      <ModifyPartitions>
                                      <ModifyPartition wcm:action="add">
                                      <Active>true</Active>
                                      <Format>NTFS</Format>
                                      <Label>System Reserved</Label>
                                      <Order>1</Order>
                                      <PartitionID>1</PartitionID>
                                      <TypeID>0x27</TypeID>
                                      </ModifyPartition>
                                      <ModifyPartition wcm:action="add">
                                      <Active>true</Active>
                                      <Format>NTFS</Format>
                                      <Label>OS</Label>
                                      <Letter>C</Letter>
                                      <Order>2</Order>
                                      <PartitionID>2</PartitionID>
                                      </ModifyPartition>
                                      </ModifyPartitions>
                                      <DiskID>0</DiskID>
                                      <WillWipeDisk>true</WillWipeDisk>
                                      </Disk>
                                      </DiskConfiguration>
                                      <ImageInstall>
                                      <OSImage>
                                      <InstallTo>
                                      <DiskID>0</DiskID>
                                      <PartitionID>2</PartitionID>
                                      </InstallTo>
                                      <InstallToAvailablePartition>false</InstallToAvailablePartition>
                                      </OSImage>
                                      </ImageInstall>
                                      <UserData>
                                      <AcceptEula>true</AcceptEula>
                                      <FullName>admin</FullName>
                                      <Organization>organization</Organization>
                                      </UserData>
                                      <EnableFirewall>true</EnableFirewall>
                                      </component>
                                      </settings>
                                      <settings pass="offlineServicing">
                                      <component name="Microsoft-Windows-LUA-Settings" 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">
                                      <EnableLUA>false</EnableLUA>
                                      </component>
                                      </settings>
                                      <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>1</SkipRearm>
                                      </component>
                                      </settings>
                                      <settings pass="specialize">
                                      <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>0407:00000407</InputLocale>
                                      <SystemLocale>de-DE</SystemLocale>
                                      <UILanguage>de-DE</UILanguage>
                                      <UILanguageFallback>de-DE</UILanguageFallback>
                                      <UserLocale>de-DE</UserLocale>
                                      </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-SQMApi" 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">
                                      <CEIPEnabled>0</CEIPEnabled>
                                      </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">
                                      <WindowsFeatures>
                                      <ShowMediaCenter>false</ShowMediaCenter>
                                      <ShowWindowsMail>false</ShowWindowsMail>
                                      </WindowsFeatures>
                                      <ShowWindowsLive>false</ShowWindowsLive>
                                      <DoNotCleanTaskBar>true</DoNotCleanTaskBar>
                                      <BluetoothTaskbarIconEnabled>false</BluetoothTaskbarIconEnabled>
                                      <ComputerName>ORGANIZATION-PC</ComputerName>
                                      <CopyProfile>true</CopyProfile>
                                      </component>
                                      <component name="Microsoft-Windows-IE-InternetExplorer" 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">
                                      <BlockPopups>yes</BlockPopups>
                                      <CompanyName>organization</CompanyName>
                                      <Home_Page>http://www.google.com</Home_Page>
                                      <DisableFirstRunWizard>true</DisableFirstRunWizard>
                                      </component>
                                      </settings>
                                      <settings pass="oobeSystem">
                                      <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>password</Value>
                                      <PlainText>true</PlainText>
                                      </Password>
                                      <Enabled>true</Enabled>
                                      <LogonCount>1</LogonCount>
                                      <Username>retsch</Username>
                                      </AutoLogon>
                                      <OOBE>
                                      <HideEULAPage>true</HideEULAPage>
                                      <HideOEMRegistrationScreen>true</HideOEMRegistrationScreen>
                                      <HideOnlineAccountScreens>true</HideOnlineAccountScreens>
                                      <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
                                      <NetworkLocation>Work</NetworkLocation>
                                      <SkipUserOOBE>true</SkipUserOOBE>
                                      <SkipMachineOOBE>true</SkipMachineOOBE>
                                      <ProtectYourPC>3</ProtectYourPC>
                                      </OOBE>
                                      <UserAccounts>
                                      <LocalAccounts>
                                      <LocalAccount wcm:action="add">
                                      <Password>
                                      <Value>password</Value>
                                      <PlainText>true</PlainText>
                                      </Password>
                                      <Description></Description>
                                      <DisplayName>retsch</DisplayName>
                                      <Group>Administrators</Group>
                                      <Name>retsch</Name>
                                      </LocalAccount>
                                      </LocalAccounts>
                                      </UserAccounts>
                                      <RegisteredOrganization>organization</RegisteredOrganization>
                                      <RegisteredOwner>admin</RegisteredOwner>
                                      <DisableAutoDaylightTimeSet>false</DisableAutoDaylightTimeSet>
                                      <FirstLogonCommands>
                                      <SynchronousCommand wcm:action="add">
                                      <Description>SetupComplete</Description>
                                      <Order>1</Order>
                                      <CommandLine>C:\Windows\Setup\Scripts\SetupComplete.cmd</CommandLine>
                                      <RequiresUserInput>false</RequiresUserInput>
                                      </SynchronousCommand>
                                      <SynchronousCommand wcm:action="add">
                                      <Description>Control Panel View</Description>
                                      <Order>2</Order>
                                      <CommandLine>reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel" /v StartupPage /t REG_DWORD /d 1 /f</CommandLine>
                                      <RequiresUserInput>false</RequiresUserInput>
                                      </SynchronousCommand>
                                      <SynchronousCommand wcm:action="add">
                                      <Description>Control Panel Icon Size</Description>
                                      <Order>3</Order>
                                      <CommandLine>reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel" /v AllItemsIconView /t REG_DWORD /d 1 /f</CommandLine>
                                      <RequiresUserInput>false</RequiresUserInput>
                                      </SynchronousCommand>
                                      </FirstLogonCommands>
                                      <TimeZone>W. Europe Standard Time</TimeZone>
                                      </component>
                                      </settings>
                                      </unattend>
                                      

                                      I am using Windows 10 OEM where SetupComplete.cmd doesn’t work, this is the reason for first logon command where i trigger that file and todo this i need 1 auto logon within unattend.xml 😉

                                      After that FOG will do the rest, rename reboot, join ad reboot.

                                      Regards X23

                                      ║▌║█║▌│║▌║▌█

                                      1 Reply Last reply Reply Quote 0
                                      • ryan.mckenzieR
                                        ryan.mckenzie @george1421
                                        last edited by

                                        @george1421 I am assuming that my file had fields left blank where your file didn’t even have these fields. That’s the only thing I can see that was very different. So honestly I don’t know why it didn’t like my file.

                                        1 Reply Last reply Reply Quote 0
                                        • ryan.mckenzieR
                                          ryan.mckenzie
                                          last edited by

                                          @x23piracy Thank you I appreciate it! I am still going to look into this to see if I can find the root problem.

                                          1 Reply Last reply Reply Quote 0
                                          • ryan.mckenzieR
                                            ryan.mckenzie
                                            last edited by

                                            one more issue. FOG is not restarting after I disable it to run sysprep. I have a disable command in my reseal.cmd file and a re-enable command in my SetupComplete.cmd. If I go in and manually turn it on it joins to AD and does everything it is suppose to do. Any ideals on how to get FOG to restart after the image capture?

                                            1_1486047432473_SetupComplete.cmd

                                            0_1486047432473_reseal.cmd

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 2 / 3
                                            • First post
                                              Last post

                                            272

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project