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

Golden image problem

Scheduled Pinned Locked Moved Unsolved
Windows Problems
2
3
438
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.
  • B
    baovipboy156
    last edited by baovipboy156 Oct 3, 2023, 4:56 AM Oct 3, 2023, 10:55 AM

    Dear all,

    I using fog 1.5.10 on Ubuntu 22.04, I created a golden image followed these step:

    1. install a fresh window 10 using MDT/WDS
    2. update window, update all application,…etc
    3. sysprep using unattend file
    4. capture image using fog

    summary the problem:

    1. The first boot up after deployment, it take over 30mins to get to welcome screen.
    2. after joined domain, the bootup and shutdown process take time sightly slower a PC deployed with MDT/WDS
      • MDT/WDS ~30 second for it boot up to welcome screen
      • fog deployed PC take ~1 for boot up to welcome screen
    3. The disk usage 100 (check by open task manager):
      • MDT/WDS take ~2 mins from 100% disk to 0%
      • fog take ~5 mins from 100% disk to 0%
        I ran all the method of disk defrag, optimize, disk clean up, check file system, dism… , disable unnessary startup service, ran window update, updated all hardware driver
        here is my unattend.xml
    <?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>en-US</UILanguage>
                </SetupUILanguage>
                <InputLocale>0409:00000409</InputLocale>
                <SystemLocale>en-US</SystemLocale>
                <UILanguage>en-US</UILanguage>
                <UILanguageFallback>en-US</UILanguageFallback>
                <UserLocale>en-US</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">
                <UserData>
                    <AcceptEula>true</AcceptEula>
                    <FullName>Administrator</FullName>
                    <Organization>TEST</Organization>
                    <ProductKey>
                        <Key />
                        <WillShowUI>Never</WillShowUI>
                    </ProductKey>
                </UserData>
            </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>true</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>0409:00000409</InputLocale>
                <SystemLocale>en-US</SystemLocale>
                <UILanguage>en-US</UILanguage>
                <UILanguageFallback>en-US</UILanguageFallback>
                <UserLocale>en-US</UserLocale>
            </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">
                <ComputerName></ComputerName>
                <RegisteredOrganization>TEST</RegisteredOrganization>
                <RegisteredOwner>Windows 10 TEST</RegisteredOwner>
                <DoNotCleanTaskBar>True</DoNotCleanTaskBar>
            </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>123456789</Value>
                        <PlainText>true</PlainText>
                    </Password>
                    <Enabled>true</Enabled>
                    <Username>Administrator</Username>
                    <LogonCount>3</LogonCount>
                </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>123456789</Value>
                                <PlainText>true</PlainText>
                            </Password>
                            <Description />
                            <DisplayName>Administrator</DisplayName>
                            <Group>Administrators</Group>
                            <Name>Administrator</Name>
                        </LocalAccount>
                    </LocalAccounts>
                </UserAccounts>
                <RegisteredOrganization>TEST</RegisteredOrganization>
                <RegisteredOwner>Windows 10 TEST</RegisteredOwner>
                <DisableAutoDaylightTimeSet>false</DisableAutoDaylightTimeSet>
                <FirstLogonCommands>
                    <SynchronousCommand wcm:action="add">
                        <Description>Control Panel View</Description>
                        <Order>1</Order>
                        <CommandLine>reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel" /v StartupPage /t REG_DWORD /d 1 /f</CommandLine>
                        <RequiresUserInput>true</RequiresUserInput>
                    </SynchronousCommand>
                    <SynchronousCommand wcm:action="add">
                        <Order>2</Order>
                        <Description>Control Panel Icon Size</Description>
                        <RequiresUserInput>false</RequiresUserInput>
                        <CommandLine>reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel" /v AllItemsIconView /t REG_DWORD /d 1 /f</CommandLine>
                    </SynchronousCommand>
                    <SynchronousCommand wcm:action="add">
                        <Order>3</Order>
                        <RequiresUserInput>false</RequiresUserInput>
                        <CommandLine>cmd /C wmic useraccount where name="Administrator" set PasswordExpires=false</CommandLine>
                        <Description>Password Never Expires</Description>
                    </SynchronousCommand>
                    <SynchronousCommand wcm:action="add">
                        <Order>4</Order>
                        <RequiresUserInput>false</RequiresUserInput>
                        <CommandLine>cmd /C del C:\Windows\System32\Sysprep\auto.xml</CommandLine>
                    </SynchronousCommand>
                </FirstLogonCommands>
                <TimeZone>SE Asia Standard Time</TimeZone>
            </component>
        </settings>
        <cpi:offlineImage cpi:source="" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
    </unattend>
    

    Hope my unattend file may help someone need it and hope someone can help me 🙂

    Thanks and regard,
    Bao.

    G 1 Reply Last reply Oct 3, 2023, 5:50 PM Reply Quote 0
    • G
      george1421 Moderator @baovipboy156
      last edited by Oct 3, 2023, 5:50 PM

      @baovipboy156 said in Golden image problem:

      install a fresh window 10 using MDT/WDS
      update window, update all application,…etc
      sysprep using unattend file
      capture image using fog

      This is the process we’ve used for years. I think we were at about 12 minutes from bare metal to first login. So it shouldn’t take 30 that’s abnormal.

      Here is a copy of my sanitized unattend.xml file: https://forums.fogproject.org/topic/11920/windows-10-1803-sysprep-problem/6

      Just glancing through yours it looks complete but I didn’t go over every line,

      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!

      B 1 Reply Last reply Oct 4, 2023, 3:24 AM Reply Quote 0
      • B
        baovipboy156 @george1421
        last edited by Oct 4, 2023, 3:24 AM

        @george1421
        My golden image include these software:
        chrome, firefox, egde, acrobat reader, skype, thunder bird, trellix endpoint security, osquery.

        I don’t know if i doing something wrong.

        Thank for your unattend file, i will try sysprep again with your, hope it work 🙂

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

        152

        Online

        12.1k

        Users

        17.3k

        Topics

        155.3k

        Posts
        Copyright © 2012-2024 FOG Project