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

    70Pcs imaging all unbranded

    Scheduled Pinned Locked Moved
    General Problems
    5
    22
    2.4k
    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.
    • D
      dijsil
      last edited by dijsil

      thanks all, I installed windows 10 on a virtual machine on my server, did the changes in audit mode and sysprepped it using the unattended file (followed this video https://www.youtube.com/watch?v=SeZj1jTn2Jg ) my question is my virtual os is switched off and I need to take an image. How can I do that as when I booted to network I only have deploy image and not backup image or something like that.

      I tried from fog server and going to capture image however most probably it will not work if my pc is on the network boot fog page or switched off am I right? How can I capture image after sysprepping it.

      thanks for your reply @george1421 one step at a time šŸ™‚ after capturing image will fiddle on how to deploy the apps šŸ˜›

      R george1421G 2 Replies Last reply Reply Quote 0
      • R
        ragnurenson @dijsil
        last edited by

        @dijsil If I am right, you have your golden machine with the OS installed, configured and with sysprepped, after all this, you shutdown the vm. This is the right time to upload the image to the FOG server. You must to create a upload image task for this machine, and if you have it in the fog server configured like a host, the machine will boot WOL, and load the FOG client, for upload the image to the server.

        This is the image you must to deploy later to the other machines. You don’t need to make nothing more before upload the image, as long the image is a capture of the OS.

        1 Reply Last reply Reply Quote 1
        • george1421G
          george1421 Moderator @dijsil
          last edited by

          @dijsil said in 70Pcs imaging all unbranded:

          I tried from fog server and going to capture image however most probably it will not work if my pc is on the network boot fog page or switched off am I right? How can I capture image after sysprepping it.

          First let me say that @ragnurenson is spot on with his instructions.

          Since you built the golden image by hand in audit mode, I would have made a suggestion before you sysprep’d it. Take a vm snapshot of the image before running sysprep. That gives you an option to backup if something needs to be tweaked in your image. Since you built it by hand your only option now is to start over if you need to tweak. I suggest this because I had to tweak my golden image many times when I was first creating it.

          For me I have my build out VM registered with FOG. Since I use MDT to build my golden image, the default boot device is the cdrom which is where I have the MDT iso mounted. The second device in the boot order is PXE boot. When I want to create the golden image I have it boot from the cdrom, when I want to capture the image I untick the mount cdrom in the configuration then it pxe boots. When I’m ready to capture the image I sysprep it with the command line option to have sysprep power off the VM. Its important to ensure the VM is powered off correctly and not just shutdown via the start button. If you don’t have sysprep power off the VM use the shutdown -f -s -t 0 command to ensure windows is powered off correctly. Once the VM is shutdown, then I go to the FOG console and schedule a capture task and ensure that I tick the power off after capture option in the scheduled task. If you miss this the golden image VM will reboot after capture and start WinSetup and OOBE loosing any chance to ā€œadjust thingsā€ in the golden image. Once the task is scheduled then I untick the cdrom mount option in the configuration and let the golden image VM pxe boot. The VM sees the scheduled FOG capture and uploads it image to the FOG server then powers off.

          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!

          1 Reply Last reply Reply Quote 0
          • D
            dijsil
            last edited by

            I took a vm snapshot just before I sysprep, I am still trying to enter all the answerfile in order to have an automatic installation as I also would like to just keep the built in admin user enabled with a password and no other user configured on the system.

            in order to had it captured I selected the capture icon, forced the task to begin, waited 5 mins and as soon as I started the VM it went straight to imaging.

            george1421G 2 Replies Last reply Reply Quote 0
            • george1421G
              george1421 Moderator @dijsil
              last edited by

              @dijsil said in 70Pcs imaging all unbranded:

              forced the task to begin, waited 5 mins

              I’m not sure I understand about forcing a task to begin?? When you schedule a task for immediate execution the task should be running waiting for the target computer. It will sit and wait until the target checks in even if its 7 days latter it will be still waiting.

              As for the 5 minute wait. The task it launched immediately. There is no need to wait, schedule the capture and pxe boot that fast.

              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!

              1 Reply Last reply Reply Quote 0
              • george1421G
                george1421 Moderator @dijsil
                last edited by

                @dijsil with the unattend.xml file, just fwiw, there are some pretty good online unattend.xml file generators like this one: http://www.windowsafg.com/ if you use one, just don’t include confidential information like license keys or anything that can personally identify your company. Make the data appropriately. What these tools do is give you a great baseline unattend.xml file to start your customization. The rest you can do by hand or with WAIK.

                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!

                D 1 Reply Last reply Reply Quote 0
                • D
                  dijsil @george1421
                  last edited by

                  @george1421 thanks managed to get it working. Issue I am encountering now is when the image is ready how fog will deploy images through pdq using snippets

                  george1421G 1 Reply Last reply Reply Quote 0
                  • george1421G
                    george1421 Moderator @dijsil
                    last edited by

                    @dijsil https://forums.fogproject.org/topic/9577/webcast-imaging-with-fog-managing-with-pdq

                    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!

                    1 Reply Last reply Reply Quote 0
                    • D
                      dijsil
                      last edited by dijsil

                      not sure why but when deploying the image I am encountering this issue when joining the pc with domain.

                      • after installing outlook it is freezing on opening page
                      • installing sage same issue
                      • when clicking on start and start typing the typing doesn’t come

                      when logging in with local admin user everything works fine. sfc /scannow didn’t fix the issue, after deloying and doing sysprep again it is working fine, so I guess it has to do with the unattended file.

                      I downloaded the file from: http://www.windowsafg.com/ and choose (Win10 MBR as my pcs are using Bios mode Legacy) and the only thing I amended was the first part so that it would copy the profile settings to the default profile

                      <!--*************************************************
                      Windows 10 Answer File Generator
                      Created using Windows AFG found at:
                      ;http://www.windowsafg.com
                      
                      Installation Notes
                      Location: MT
                      Notes: Enter your comments here...
                      
                      
                      <?xml version="1.0" encoding="utf-8"?>
                      <unattend xmlns="urn:schemas-microsoft-com:unattend">
                      **************************************************-->
                      
                      <unattend xmlns="urn:schemas-microsoft-com:unattend">
                          <settings pass="specialize">
                              <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>
                                      <ShowInternetExplorer>true</ShowInternetExplorer>
                                  </WindowsFeatures>
                                  <CopyProfile>true</CopyProfile>
                              </component>
                          </settings>
                          <cpi:offlineImage cpi:source="wim:D:/Sources/install.wim#Windows 10 Pro" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
                      <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>0809:00000809</InputLocale>
                      <SystemLocale>en-US</SystemLocale>
                      <UILanguage>en-US</UILanguage>
                      <UILanguageFallback>en-US</UILanguageFallback>
                      <UserLocale>en-GB</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>0809:00000809</InputLocale>
                      <SystemLocale>en-US</SystemLocale>
                      <UILanguage>en-US</UILanguage>
                      <UILanguageFallback>en-US</UILanguageFallback>
                      <UserLocale>en-GB</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>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>Administrator</FullName>
                      <Organization></Organization>
                      <ProductKey>
                      <Key>W269N-WFGWX-YVC9B-4J6C9-T83GX</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>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>Administrator</FullName>
                      <Organization></Organization>
                      <ProductKey>
                      <Key>W269N-WFGWX-YVC9B-4J6C9-T83GX</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>true</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>true</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>0809:00000809</InputLocale>
                      <SystemLocale>en-GB</SystemLocale>
                      <UILanguage>en-GB</UILanguage>
                      <UILanguageFallback>en-GB</UILanguageFallback>
                      <UserLocale>en-GB</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>0809:00000809</InputLocale>
                      <SystemLocale>en-GB</SystemLocale>
                      <UILanguage>en-GB</UILanguage>
                      <UILanguageFallback>en-GB</UILanguageFallback>
                      <UserLocale>en-GB</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>W269N-WFGWX-YVC9B-4J6C9-T83GX</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>W269N-WFGWX-YVC9B-4J6C9-T83GX</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>MYPASSWORD</Value>
                      <PlainText>true</PlainText>
                      </Password>
                      <Enabled>true</Enabled>
                      <Username>Administrator</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>123456789</Value>
                      <PlainText>true</PlainText>
                      </Password>
                      <Description></Description>
                      <DisplayName>Administrator</DisplayName>
                      <Group>Administrators</Group>
                      <Name>Administrator</Name>
                      </LocalAccount>
                      </LocalAccounts>
                      </UserAccounts>
                      <RegisteredOrganization></RegisteredOrganization>
                      <RegisteredOwner>Administrator</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 0 /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>
                      </FirstLogonCommands>
                      <TimeZone>W. Europe 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>MYPASSWORD</Value>
                      <PlainText>true</PlainText>
                      </Password>
                      <Enabled>true</Enabled>
                      <Username>Administrator</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>MYPASSWORD</Value>
                      <PlainText>true</PlainText>
                      </Password>
                      <Description></Description>
                      <DisplayName>Administrator</DisplayName>
                      <Group>Administrators</Group>
                      <Name>Administrator</Name>
                      </LocalAccount>
                      </LocalAccounts>
                      </UserAccounts>
                      <RegisteredOrganization></RegisteredOrganization>
                      <RegisteredOwner>Administrator</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 0 /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>
                      </FirstLogonCommands>
                      <TimeZone>W. Europe Standard Time</TimeZone>
                      </component>
                      </settings>
                      </unattend>
                      

                      aaaaa.JPG

                      1 Reply Last reply Reply Quote 0
                      • sudburrS
                        sudburr
                        last edited by sudburr

                        Add this to your C:\Windows\Setup\Scripts\SetupComplete.cmd

                        REM "C:\Windows\Setup\Scripts\SetupComplete.cmd is executed as final step of coming out of Sysprep under SYSTEM account"
                        REM "Clean up problems caused by using COPYPROFILE=TRUE"
                        rd /s /q "C:\Users\Administrator\AppData\Local\Microsoft\Windows\WebCache"
                        rd /s /q "C:\Users\Administrator\AppData\Local\Microsoft\Windows\INetCache"
                        del /f /q /a:sh "C:\Users\Administrator\AppData\Local\Microsoft\Windows\WebCacheLock.dat"
                        
                        rd /s /q "C:\Users\Default\AppData\Local\Microsoft\Windows\WebCache"
                        rd /s /q "C:\Users\Default\AppData\Local\Microsoft\Windows\INetCache"
                        del /f /q /a:sh "C:\Users\Default\AppData\Local\Microsoft\Windows\WebCacheLock.dat"
                        

                        [ Standing in between extinction in the cold and explosive radiating growth ]

                        1 Reply Last reply Reply Quote 1
                        • D
                          dijsil
                          last edited by dijsil

                          This post is deleted!
                          1 Reply Last reply Reply Quote 0
                          • D
                            dijsil
                            last edited by dijsil

                            @sudburr thanks for the script seems to have fixed the issue, managed to get the pc to join to domain automatically, added apps to be installed using choclatey via snapin (script below just in case someone needs it) as each time the files are downloaded and will have always the latest versions installed with no intervention.
                            Also uninstalled windows assessment and deployment kit since I used the website to get the answer file

                            Got another question:

                            1- When using groups it doesn’t tell you what snapins are selected just the ones that are available any idea why and how to know which ones are selected?
                            2- When the software in the snippets is being installed in the background, can I install other software manually?
                            .
                            Capture.JPG

                            @"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"
                            
                            choco feature enable -n allowGlobalConfirmation
                            choco upgrade chocolatey
                            
                            
                            choco install VLC
                            choco install googlechrome
                            choco install 7zip
                            choco install Winrar
                            choco install notepadplusplus
                            choco install office365business
                            

                            Removed VM tools with the below script:

                            wmic product where name="VMware Tools" call uninstall
                            
                            1 Reply Last reply Reply Quote 0
                            • D
                              dijsil
                              last edited by dijsil

                              I need to deploy the image I created from the virtual machine (legacy) onto uefi is that possible or do I need to create another image?

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

                              147

                              Online

                              12.0k

                              Users

                              17.3k

                              Topics

                              155.2k

                              Posts
                              Copyright Ā© 2012-2024 FOG Project