Customize Windows 10 Image in Audit Mode with Sysprep  


  1. Posts : 17,661
    Windows 10 Pro
    Thread Starter
       #670

    omman said:
    How to Boot to audit mode automatically on a new installation 1803 with .iso image ?
    Boot Windows to Audit Mode or OOBE | Microsoft Docs
      My Computer


  2. Posts : 3
    Windows 10 Pro 1809 17763.1
       #671

    This is my xml code..but i want in audit System
    Code:
    <?xml version='1.0' encoding='utf-8'?>
    <unattend xmlns="urn:schemas-microsoft-com:unattend">
    <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">
                <FirstLogonCommands>
                    <SynchronousCommand wcm:action="add">
                        <CommandLine>%systemroot%\ASUS\OOBEProc\AsLogon.vbs</CommandLine>
                        <Description>Install the localize application</Description>
                        <Order>1</Order>
                    </SynchronousCommand>
    				<SynchronousCommand wcm:action="add">
                        <CommandLine>"%COMMONPROGRAMFILES%\Microsoft Shared\ClickToRun\OfficeClickToRun.exe" scenario=CULTUREREFRESH RemoveNonClientCultures=True displaylevel=False</CommandLine>
                        <Description>Office Culture Refresh</Description>
                        <Order>2</Order>
                    </SynchronousCommand>
                </FirstLogonCommands>								
    	    <OEMName>ASUS</OEMName>
    	    <Themes>
     				<ThemeName>ASUS</ThemeName>
     				<WindowColor>Automatic</WindowColor>
     				<DesktopBackground>c:\windows\asus\wallpapers\asus.jpg</DesktopBackground>
     				<UWPAppsUseLightTheme>false</UWPAppsUseLightTheme>
    				<DefaultThemesOff>false</DefaultThemesOff>
            </Themes>
            <ConvertibleSlateModePromptPreference>1</ConvertibleSlateModePromptPreference>
            <SignInMode>2</SignInMode>       
    	</component>
    	<component name="Security-Malware-Windows-Defender" 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">
    		<TrustedImageIdentifier>{28943447-asus-cj86-gji4-asuscomputer}</TrustedImageIdentifier> 
    	</component>
    </settings>
    
    <settings pass="auditUser" wasPassProcessed="true">
            <component name="Microsoft-Windows-Deployment" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                <RunSynchronous>
                    <RunSynchronousCommand wcm:action="add">
                        <Path>C:\eSupport\Factory\ProcTool\ImageProc\AsFacCtrl.exe</Path>
                        <Description>Install the Application Part1</Description>
                        <Order>1</Order>	
                    </RunSynchronousCommand>				
                </RunSynchronous>
            </component>
    </settings>
    
    <settings pass="specialize" wasPassProcessed="true">
           <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">            	    
    	    <Home_Page>http://asus17win10.msn.com/?pc=ASTE</Home_Page>    
    	    <FavoritesList>
                    <FavoriteItem wcm:action="add">
                        <FavID>1</FavID>
                        <FavTitle>ASUS E-Service\ASUS Homepage</FavTitle>
                        <FavURL>http://www.asus.com</FavURL>
                    </FavoriteItem>
    				<FavoriteItem wcm:action="add">
                        <FavID>2</FavID>
                        <FavTitle>ASUS E-Service\ASUS Member</FavTitle>
                        <FavURL>https://account.asus.com</FavURL>
                    </FavoriteItem>
    				<FavoriteItem wcm:action="add">
                        <FavID>3</FavID>
                        <FavTitle>ASUS Download Center</FavTitle>
                        <FavURL>https://www.asus.com/support/Download-Center</FavURL>					
                    </FavoriteItem>
                </FavoritesList>
            </component>		
    	<component name="Microsoft-Windows-GPIOButtons" 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">
    		<ConvertibleSlateMode>1</ConvertibleSlateMode>
    	</component>
    	<component name="Microsoft-Windows-Internet-Browser-Configuration" 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">
                <PartnerSearchCode>ASTS</PartnerSearchCode>
        </component>
       </settings>
    </unattend>
      My Computer


  3. Posts : 17,661
    Windows 10 Pro
    Thread Starter
       #672

    omman said:
    This is my xml code..but i want in audit System
    I already gave you a link to Microsoft Docs, to a support article which will explain all options to boot to Audit Mode.


    Kari said:
    omman said:
    How to Boot to audit mode automatically on a new installation 1803 with .iso image ?
    Boot Windows to Audit Mode or OOBE | Microsoft Docs
      My Computer


  4. Posts : 3
    Windows 10 Pro 1809 17763.1
       #673

    So I fixed my problem it was i need a deployment for the os so i am using a windows server 2019 in vmware.
    1) I Install Windows kit Latest in server
    2) Also MDT tools 8409
    3) Make a Deployment share environment in server
    No i can manage in Operating System what i need....
      My Computer


  5. Posts : 2
    Windows 10
       #674

    @Kari

    Why is this unattend.xml file for W10 still asking me to accept EULA and to accept all services like Cortana, Location, Speech recognition, Relevant Ads, etc. ?
    I'm using W10 1803 image.

    Code:
    <?xml version="1.0" encoding="utf-8"?>
    <unattend xmlns="urn:schemas-microsoft-com:unattend">
        <settings pass="oobeSystem">
            <component name="Microsoft-Windows-International-Core" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                <InputLocale>0c0a:0000040a</InputLocale>
                <SystemLocale>es-ES</SystemLocale>
                <UILanguage>es-ES</UILanguage>
                <UILanguageFallback>es-ES</UILanguageFallback>
                <UserLocale>es-ES</UserLocale>
            </component>
            <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="wow64" 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>
                    <Enabled>true</Enabled>
                    <LogonCount>1</LogonCount>
                    <Username>Administrador</Username>
                    <Password>
                        <Value>QQBzAHQAZQByAGkAeAAxAFAAYQBzAHMAdwBvAHIAZAA=</Value>
                        <PlainText>false</PlainText>
                    </Password>
                </AutoLogon>
                <OOBE>
                    <HideEULAPage>true</HideEULAPage>
                    <HideLocalAccountScreen>true</HideLocalAccountScreen>
                    <HideOEMRegistrationScreen>true</HideOEMRegistrationScreen>
                    <HideOnlineAccountScreens>true</HideOnlineAccountScreens>
                    <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
                    <ProtectYourPC>3</ProtectYourPC>
                    <UnattendEnableRetailDemo>false</UnattendEnableRetailDemo>
                </OOBE>
                <UserAccounts>
                    <AdministratorPassword>
                        <Value>QQBzAHQAZQByAGkAeAAxAEEAZABtAGkAbgBpAHMAdAByAGEAdABvAHIAUABhAHMAcwB3AG8AcgBkAA==</Value>
                        <PlainText>false</PlainText>
                    </AdministratorPassword>
                </UserAccounts>
            </component>
        </settings>
        <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">
                <OEMInformation>
                    <Logo>C:\Windows\oem\3.bmp</Logo>
                    <Manufacturer>ADF Ibéria S.A.</Manufacturer>
                    <SupportHours></SupportHours>
                    <SupportPhone></SupportPhone>
                    <SupportURL></SupportURL>
                    <Model>Windows 10 Enterprise Image 2.0</Model>
                </OEMInformation>
                <CopyProfile>true</CopyProfile>
                <OEMName></OEMName>
                <RegisteredOrganization>ADF Ibérica S.A.</RegisteredOrganization>
                <RegisteredOwner></RegisteredOwner>
                <TimeZone>Romance Standard Time</TimeZone>
                <ComputerName>Default_Name</ComputerName>
            </component>
            <component name="Microsoft-Windows-Deployment" processorArchitecture="wow64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                <RunSynchronous>
                    <RunSynchronousCommand wcm:action="add">
                        <Description>Enable Administrador account</Description>
                        <Order>1</Order>
                        <Path>net user Administrador Asterix1 /active:yes</Path>
                    </RunSynchronousCommand>
                </RunSynchronous>
            </component>
        </settings>
        <settings pass="windowsPE">
            <component name="Microsoft-Windows-Setup" processorArchitecture="wow64" 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>
                                <Size>500</Size>
                                <Type>Primary</Type>
                            </CreatePartition>
                            <CreatePartition wcm:action="add">
                                <Order>2</Order>
                                <Size>100</Size>
                                <Type>EFI</Type>
                            </CreatePartition>
                            <CreatePartition wcm:action="add">
                                <Extend>true</Extend>
                                <Order>4</Order>
                                <Type>Primary</Type>
                            </CreatePartition>
                            <CreatePartition wcm:action="add">
                                <Order>3</Order>
                                <Size>16</Size>
                                <Type>MSR</Type>
                            </CreatePartition>
                        </CreatePartitions>
                        <ModifyPartitions>
                            <ModifyPartition wcm:action="add">
                                <Format>NTFS</Format>
                                <Label>WinRE</Label>
                                <Order>1</Order>
                                <PartitionID>1</PartitionID>
                                <TypeID>DE94BBA4-06D1-4D40-A16A-BFD50179D6AC</TypeID>
                            </ModifyPartition>
                            <ModifyPartition wcm:action="add">
                                <Format>FAT32</Format>
                                <Label>System</Label>
                                <Order>2</Order>
                                <PartitionID>2</PartitionID>
                            </ModifyPartition>
                            <ModifyPartition wcm:action="add">
                                <Format>NTFS</Format>
                                <Label>Windows</Label>
                                <Letter>C</Letter>
                                <Order>4</Order>
                                <PartitionID>4</PartitionID>
                            </ModifyPartition>
                            <ModifyPartition wcm:action="add">
                                <Order>3</Order>
                                <PartitionID>3</PartitionID>
                            </ModifyPartition>
                        </ModifyPartitions>
                        <DiskID>0</DiskID>
                        <WillWipeDisk>true</WillWipeDisk>
                    </Disk>
                    <WillShowUI>OnError</WillShowUI>
                </DiskConfiguration>
                <ImageInstall>
                    <OSImage>
                        <InstallTo>
                            <PartitionID>4</PartitionID>
                            <DiskID>0</DiskID>
                        </InstallTo>
                    </OSImage>
                </ImageInstall>
                <UserData>
                    <ProductKey>
                        <WillShowUI>Never</WillShowUI>
                    </ProductKey>
                </UserData>
            </component>
        </settings>
        <settings pass="generalize">
            <component name="Microsoft-Windows-Security-SPP" processorArchitecture="wow64" 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>
        <cpi:offlineImage cpi:source="wim:c:/users/llavina001/desktop/w10%20auto/install.wim#Windows 10 Enterprise" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
    </unattend>
    Last edited by Nanaki; 15 Nov 2018 at 04:21.
      My Computer


  6. Posts : 17,661
    Windows 10 Pro
    Thread Starter
       #675

    Nanaki said:
    @Kari

    Why is this unattend.xml file for W10 still asking me to accept EULA and to accept all services like Cortana, Location, Speech recognition, Relevant Ads, etc. ?
    The configuration pass WinPE is missing localization settings. See this tutorial, especially steps 3.5 to 3.9: Create media for automated unattended install of Windows 10 | Tutorials

    Kari
      My Computer


  7. Posts : 2
    Windows 10
       #676

    Kari said:
    The configuration pass WinPE is missing localization settings. See this tutorial, especially steps 3.5 to 3.9: Create media for automated unattended install of Windows 10 | Tutorials

    Kari
    Thank you! I also noticed some of my "components" were wow64 and not amd64, not sure if this could also cause problems. Anyway, it works perfect now!
      My Computer


  8. Posts : 4
    windows 10
       #677

    Kari said:
    Since version 1709, Edge works in Audit Mode. In fact, quite a lot has been changed in Windows since the tutorial was made. When I just find time enough, I will redo the whole tutorial.


    Kari
    Have you been able to update this tutorial kari ?
      My Computer


  9. Posts : 17,661
    Windows 10 Pro
    Thread Starter
       #678

    imperialcactus said:
    Have you been able to update this tutorial kari ?
    I think it's time for this tutorial to retire, time has gone by it.

    Use these tutorials instead:

    Kari
      My Computer


  10. Posts : 1
    WIndows 10
       #679

    What do you do if your source has a install.wim that is showing as an archive file to be opened with a .zip program. My Windows 10 is from the Microsoft Open License and it contain multiple version. I have run the power shell to see what Index is the version that I need. When I try to export that file it create a folder called install.wim but it is an archive file also. I can't get or find the install.wim file like you used in your video. I am loading version 1809. Thanks for any help you can provide.
      My Computer


 

Tutorial Categories

Customize Windows 10 Image in Audit Mode with Sysprep Tutorial Index Network & Sharing Instalation and Upgrade Browsers and Email General Tips Gaming Customization Apps and Features Virtualization BSOD System Security User Accounts Hardware and Drivers Updates and Activation Backup and Restore Performance and Maintenance Mixed Reality Phone


  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

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




Windows 10 Forums