• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. jemerson93
    J
    • Profile
    • Following 1
    • Followers 1
    • Topics 10
    • Posts 77
    • Best 3
    • Controversial 0
    • Groups 0

    jemerson93

    @jemerson93

    3
    Reputation
    265
    Profile views
    77
    Posts
    1
    Followers
    1
    Following
    Joined Last Online

    jemerson93 Unfollow Follow

    Best posts made by jemerson93

    • RE: PXE issue and FOG

      @george1421 George, thank you. The issue has actually been resolved. For some reason, checking what was using .1.25 did not cross my mind. As soon as I did a scan of our network, I found that someone had booted up our old imaging server which was located at 1.25. Once I turned it back off, Fog returned back to normal.

      Issue has been resolved!

      posted in General Problems
      J
      jemerson93
    • RE: Issues with MBR images and disk guid

      @Junkhacker

      Thank you for the assistance. This issue was resolved. I’m not sure how to mark this as resolved though.

      posted in FOG Problems
      J
      jemerson93
    • RE: Boot loop after imaging UEFI

      @quinniedid Sure!

      Base steps were I created a new image in GPT format.

      Afterwards, on the FOG server itself I edited the config file located at /var/www/fog/service/ipxe/refind.conf

      Below are what I have the values at. This was after some troubleshooting so some may be back to their default values.

      timeout -1
      scanfor internal,external (I also have both lines commented out at the moment)
      uefi_deep_legacy_scan is uncommented
      scan_delay 5

      From my memory that is all that is changed. After the imaging is completed in UEFI, it will boot straight to the OS instead of pushing itself through FOG and/or rEFInd.

      Hope this works for you!

      posted in General Problems
      J
      jemerson93

    Latest posts made by jemerson93

    • RE: Error after sysprep and capture (FOG related)

      Hi Sebastian,

      With all of the other posts I had up, this was related to my unattend script and completely unrelated to FOG. This is resolved!

      Thank you for the help.

      posted in FOG Problems
      J
      jemerson93
    • RE: Assistance with unattend script

      @george1421 said in Assistance with unattend script:

      @jemerson93 said in Assistance with unattend script:

      windows could not finish configuring the system. to attempt to resume configuration, restart the computer

      Yeah that one is a pain to solve. There are logs in c:\windows\panther that should explain what it is having issues with.

      I can say from past experiences that

      1. Having the wrong product key in the unattend.xml causes problems. I’ve removed that stanza from my unattend.xml and activate windows post setup with a first run command.
      2. Having the unattend.xml in the wrong place or where windows setup can’t find it will cause a problem. ALWAYS, put the unattend.xml file in c:\windows\panther that is the first place that windows setup will look. If you notice in my previous link I also call out the exact location of the unattend.xml file when I run sysprep.
      3. Having 2 unattend.xml files will cause unexplained issues.
      4. Having a bad driver that causes the winsetup to spontaneously reboot causes an issue. I haven’t seen this much of a problem in Win10 over Win7.
      5. Having the fog client enabled when the system is sysprepped will cause a similar issue. The fog client (if used) should be installed in your golden image but configured as a disabled service, then in your setupcomplete.cmd file reenabled and started. This is to prevent the fog client from changing the system name and rebooting before winsetup and oobe have finished. ref: https://wiki.fogproject.org/wiki/index.php/FOG_Client#FOG_Client_with_Sysprep

      Hi George,

      I took some time to manually re-create my unattend.xml following your advice above and managed to fix all of the issues. Convientely, I also no longer need to have separate unattend scripts for Windows 7 and Windows 10 MBR and Windows 10 GPT.

      The new script lacks all of the manual partitioning and only contains the amd64 edits (I didn’t think I needed the x86).

      After a few days of testing, everything seems to be working perfect!

      Thank you for the assistance, this is resolved.

      posted in Windows Problems
      J
      jemerson93
    • RE: Small local disk and the rest unallocated

      @Sebastian-Roth said in Small local disk and the rest unallocated:

      @jemerson93 said in Small local disk and the rest unallocated:

      windows could not finish configuring the system. to attempt to resume configuration, restart the computer

      Are you sure this image deployed without an issue before? I am not exactly sure but this sounds like some kind of sysprep issue to me.

      Hey Sebastian,

      Sorry for the late response. You are right, as before I did have an issue with nvme drives not expanding, other issues were unrelated and were an issue with my unattend.xml. I spent some time on Thursday and Friday and manually re-created it, and re-created the image and so far I have had no issues with expanding or errors.

      Those inits definitely fixed the nvme drives not expanding correctly.

      This is resolved, thank you for all of the assistance!

      posted in FOG Problems
      J
      jemerson93
    • RE: Small local disk and the rest unallocated

      @Sebastian-Roth said in Small local disk and the rest unallocated:

      @jemerson93 I’ve found a bug in the resize scripts just two days ago. It only effects machines with NVMe drives…

      Download the latest init files here: https://dev.fogproject.org/blue/organizations/jenkins/fos/detail/master/88/artifacts/ (init.xz and init_32.xz)

      Put those in /var/www/html/fog/service/ipxe/ - rename the original ones to have a backup copy of those. As well go to the FOG web UI -> FOG Configuration -> FOG Settings -> FTP Server and increase KERNEL RAMDISK SIZE from 127000 to 275000.

      Hi Sebastian,

      I copied over the latest init files and I’m receiving an error upon deployment now.

      windows could not finish configuring the system. to attempt to resume configuration, restart the computer

      Any idea?

      posted in FOG Problems
      J
      jemerson93
    • RE: Assistance with unattend script

      @george1421 said in Assistance with unattend script:

      @jemerson93 I’d have to load it into waik to be sure, but everything looks good. I would take a few exceptions.

      1. The auto login, do you need to define a count. Typically you would set it to 1 or more depending on how many time you needed the system to auto login.
      2. Your first run commands update hkcu. Those settings will only change the user that is auto logging on not every user. You will need to account to have something run the first time every user logs in if you don’t have a default profile set (I know win10 doesn’t have such a thing but there are ways to get the same results, google is your friend).
      3. I have seen at the end of the synchronous commands the last steps is a shutdown -r to restart the system. That way the IT tech knows the install is done when its sitting at a login prompt.

      Thanks for the input. I’m going to continue working on this.

      Getting this error, windows could not finish configuring the system. to attempt to resume configuration, restart the computer so I still need to figure out where this is going wrong. Whether it is my unattend script or something more.

      posted in Windows Problems
      J
      jemerson93
    • RE: Assistance with unattend script

      @george1421 said in Assistance with unattend script:

      Yes, I would first get rid of the partitioning settings. They are not needed/wanted if you are using FOG to push out the image. If you were building from bare metal then yes you would need them.

      Here is an example unattend.xml, it maybe from Win7, but we are using the same unattend.xml file today with Win10 1809 with very few changes: https://forums.fogproject.org/topic/11920/windows-10-1803-sysprep-problem/7 I have no clue with 1903 since getting 1809 to work was enough pain for us for another 6 months (not related to FOG).

      Would I be able to just remove the entire component and down for both partitioning parts? Do I need to add anything to expand?

      I’m looking at this now…

      <?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="x86" 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-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>
      </settings>
      <settings pass="offlineServicing">
      <component name="Microsoft-Windows-LUA-Settings" processorArchitecture="x86" 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="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="x86" 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="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="x86" 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-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-Security-SPP-UX" processorArchitecture="x86" 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-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="x86" 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-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="x86" 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>-PC</ComputerName>
      <ProductKey>redacted</ProductKey>
      </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>-PC</ComputerName>
      <ProductKey>redacted</ProductKey>
      </component>
      </settings>
      <settings pass="oobeSystem">
      <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" 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>redacted</Value>
      <PlainText>true</PlainText>
      </Password>
      <Enabled>false</Enabled>
      <Username>redacted</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>1</ProtectYourPC>
      </OOBE>
      <UserAccounts>
      <LocalAccounts>
      <LocalAccount wcm:action="add">
      <Password>
      <Value>redacted</Value>
      <PlainText>true</PlainText>
      </Password>
      <Description></Description>
      <DisplayName>redacted</DisplayName>
      <Group>Administrators</Group>
      <Name>redacted</Name>
      </LocalAccount>
      </LocalAccounts>
      </UserAccounts>
      <RegisteredOrganization></RegisteredOrganization>
      <RegisteredOwner>redacted</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="tnp" set PasswordExpires=false</CommandLine>
      <Description>Password Never Expires</Description>
      </SynchronousCommand>
      </FirstLogonCommands>
      <TimeZone>Pacific Standard Time</TimeZone>
      </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>redacted</Value>
      <PlainText>true</PlainText>
      </Password>
      <Enabled>false</Enabled>
      <Username>redacted</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>1</ProtectYourPC>
      </OOBE>
      <UserAccounts>
      <LocalAccounts>
      <LocalAccount wcm:action="add">
      <Password>
      <Value>redacted</Value>
      <PlainText>true</PlainText>
      </Password>
      <Description></Description>
      <DisplayName>redacted</DisplayName>
      <Group>Administrators</Group>
      <Name>tnp</Name>
      </LocalAccount>
      </LocalAccounts>
      </UserAccounts>
      <RegisteredOrganization></RegisteredOrganization>
      <RegisteredOwner>redacted</RegisteredOwner>
      <DisableAutoDaylightTimeSet>false</DisableAutoDaylightTimeSet>
      <FirstLogonCommands>
      <SynchronousCommand wcm:action="add">
      <Description>SetupComplete</Description>
      <Order>1</Order>
      <CommandLine>C:\PowershellPolicy.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 0 /f</CommandLine>
      <RequiresUserInput>true</RequiresUserInput>
      </SynchronousCommand>
      <SynchronousCommand wcm:action="add">
      <Order>3</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>4</Order>
      <RequiresUserInput>false</RequiresUserInput>
      <CommandLine>cmd /C wmic useraccount where name="tnp" set PasswordExpires=false</CommandLine>
      <Description>Password Never Expires</Description>
      </SynchronousCommand>
      </FirstLogonCommands>
      <TimeZone>Pacific Standard Time</TimeZone>
      </component>
      </settings>
      </unattend>
      posted in Windows Problems
      J
      jemerson93
    • Assistance with unattend script

      Hey all,

      I’m having various issues after sysprep with Windows booting. I’m starting to think something has changed in 1903 that is affecting my unattend.xml file. Can anyone give this a look over and let me know what can be removed? More specifically, I think it is the partitioning that is giving issues.

      <?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="x86" 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-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="x86" 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>Local Disk</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>redacted</FullName>
      <Organization></Organization>
      <ProductKey>
      <Key>redacted</Key>
      </ProductKey>
      </UserData>
      </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>Local Disk</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>tnp</FullName>
      <Organization></Organization>
      <ProductKey>
      <Key>redacted</Key>
      </ProductKey>
      </UserData>
      </component>
      </settings>
      <settings pass="offlineServicing">
      <component name="Microsoft-Windows-LUA-Settings" processorArchitecture="x86" 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="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="x86" 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="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="x86" 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-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-Security-SPP-UX" processorArchitecture="x86" 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-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="x86" 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-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="x86" 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>-PC</ComputerName>
      <ProductKey>redacted</ProductKey>
      </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>-PC</ComputerName>
      <ProductKey>redacted</ProductKey>
      </component>
      </settings>
      <settings pass="oobeSystem">
      <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" 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>redacted</Value>
      <PlainText>true</PlainText>
      </Password>
      <Enabled>false</Enabled>
      <Username>redacted</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>1</ProtectYourPC>
      </OOBE>
      <UserAccounts>
      <LocalAccounts>
      <LocalAccount wcm:action="add">
      <Password>
      <Value>redacted</Value>
      <PlainText>true</PlainText>
      </Password>
      <Description></Description>
      <DisplayName>redacted</DisplayName>
      <Group>Administrators</Group>
      <Name>redacted</Name>
      </LocalAccount>
      </LocalAccounts>
      </UserAccounts>
      <RegisteredOrganization></RegisteredOrganization>
      <RegisteredOwner>redacted</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="tnp" set PasswordExpires=false</CommandLine>
      <Description>Password Never Expires</Description>
      </SynchronousCommand>
      </FirstLogonCommands>
      <TimeZone>Pacific Standard Time</TimeZone>
      </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>redacted</Value>
      <PlainText>true</PlainText>
      </Password>
      <Enabled>false</Enabled>
      <Username>redacted</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>1</ProtectYourPC>
      </OOBE>
      <UserAccounts>
      <LocalAccounts>
      <LocalAccount wcm:action="add">
      <Password>
      <Value>redacted</Value>
      <PlainText>true</PlainText>
      </Password>
      <Description></Description>
      <DisplayName>redacted</DisplayName>
      <Group>Administrators</Group>
      <Name>tnp</Name>
      </LocalAccount>
      </LocalAccounts>
      </UserAccounts>
      <RegisteredOrganization></RegisteredOrganization>
      <RegisteredOwner>redacted</RegisteredOwner>
      <DisableAutoDaylightTimeSet>false</DisableAutoDaylightTimeSet>
      <FirstLogonCommands>
      <SynchronousCommand wcm:action="add">
      <Description>SetupComplete</Description>
      <Order>1</Order>
      <CommandLine>C:\PowershellPolicy.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 0 /f</CommandLine>
      <RequiresUserInput>true</RequiresUserInput>
      </SynchronousCommand>
      <SynchronousCommand wcm:action="add">
      <Order>3</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>4</Order>
      <RequiresUserInput>false</RequiresUserInput>
      <CommandLine>cmd /C wmic useraccount where name="tnp" set PasswordExpires=false</CommandLine>
      <Description>Password Never Expires</Description>
      </SynchronousCommand>
      </FirstLogonCommands>
      <TimeZone>Pacific Standard Time</TimeZone>
      </component>
      </settings>
      </unattend>```
      posted in Windows Problems
      J
      jemerson93
    • RE: Error after sysprep and capture (FOG related)

      Hi Sebastian,

      I am going to work on getting the information you requested. I’m still running into this issue (same for legacy systems (MBR)).

      posted in FOG Problems
      J
      jemerson93
    • RE: Error after sysprep and capture (FOG related)

      @Sebastian-Roth

      Hi Sebastian,

      I just wanted to add something. Before your post I was attempting to sysprep and capture with a different unattend file. Please see my information below.

      I have 2 different unattend scripts that are mostly similar. For UEFI images (gpt partition, it creates 4 partitions (4 being set to extend) and the legacy creates 2 partitions.

      I have issue with it capturing the entire drive with the UEFI script. I tested with the MBR script (Legacy) and it captured it fine again and only 11.2GB.

      posted in FOG Problems
      J
      jemerson93
    • RE: Error after sysprep and capture (FOG related)

      @Sebastian-Roth said in Error after sysprep and capture (FOG related):

      @jemerson93 Usually when the “update database” fails you get an error in the apache and/or PHP-FPM logs. See my signature on where to find the logs and post here.

      when it does expanding drive dev/vda4, it states fixed size.

      Quite possibly yes! Can you please post the contents of the following files you find in the image directory on your FOG server: d1.partitions, d1.minimum.partitions and d1.fixed_size_partitions

      Hi Sebastian,

      I’ll be able to get you this information in the morning. I still haven’t downloaded and replaced the Kernel’s you mentioned to fix my other issue either (with the unallocated space with nvme drives). Trying to work through all issues 🙂 Thanks for the help.

      posted in FOG Problems
      J
      jemerson93