none
Win10 Image - Error in Unattend file ([auditUser]) on boot (Skype Room Systems)

    Question

  • Hey Everyone,

    So I am attempting to set up a Skype Room Systems image. It is basically a Win10 image that auto-launches the Skype Room Systems app upon booting up. I've made the image and have it on a USB. The image installs fine & reboots as instructed. However, when the device starts up, it hangs at the login screen (shows Administrator and the spinning circle) for about 5 minutes. Then, it will eventually give the following error:

    Windows could not parse or process the unattend answer file [C:\Windows\Panther\unattend.xml] for pass [auditUser]. A component or non-list setting is specified more than once in the answer file.

    I was following the instructions listed here: https://technet.microsoft.com/en-us/library/mt790558.aspx. I did modify the unattend.xml file as per the instructions (I am following the method of installing it on individual devices rather than mass-imaging).

    Thank you in advance and please let me know if I can provide any more information!

    EDIT: Below are the contents of the AutoUnattend.xml file. The issue seems to be tied specifically to the auditUser part. 

    <?xml version="1.0" encoding="utf-8"?>
    <unattend xmlns="urn:schemas-microsoft-com:unattend">
        <servicing>
            <package action="configure">
                <assemblyIdentity name="Microsoft-Windows-Foundation-Package" version="10.0.14393.0" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="" />
                <selection name="Client-DeviceLockdown" state="true" />
                <selection name="Client-EmbeddedLogon" state="true" />
                <selection name="Client-EmbeddedBootExp" state="true" />
                <selection name="Client-KeyboardFilter" state="true" />
                <selection name="Internet-Explorer-Optional-amd64" state="false" />
                <selection name="MediaPlayback" state="false" />
                <selection name="WindowsMediaPlayer" state="false" />
                <selection name="Microsoft-Hyper-V-Common-Drivers-Package" state="false" />
                <selection name="Microsoft-Hyper-V-Guest-Integration-Drivers-Package" state="false" />
                <selection name="Xps-Foundation-Xps-Viewer" state="false" />
                <selection name="WorkFolders-Client" state="false" />
                <selection name="SMB1Protocol" state="false" />
                <selection name="SearchEngine-Client-Package" state="false" />
                <selection name="Printing-Foundation-Features" state="false" />
                <selection name="FaxServicesClientPackage" state="false" />
                <selection name="Printing-Foundation-InternetPrinting-Client" state="false" />
                <selection name="Microsoft-Windows-Printing-XPSServices-Package" state="false" />
                <selection name="Microsoft-Windows-Printing-PrintToPDFServices-Package" state="false" />
                <selection name="Microsoft-Hyper-V-Hypervisor" state="true" />
                <selection name="Microsoft-Hyper-V-All" state="true" />
                <selection name="Microsoft-Hyper-V" state="true" />
            </package>
        </servicing>
        <settings pass="windowsPE">
            <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>
                                <Size>300</Size>
                                <Type>EFI</Type>
                            </CreatePartition>
                            <CreatePartition wcm:action="add">
                                <Order>2</Order>
                                <Extend>true</Extend>
                                <Type>Primary</Type>
                            </CreatePartition>
                        </CreatePartitions>
                        <DiskID>0</DiskID>
                        <WillWipeDisk>true</WillWipeDisk>
                    </Disk>
                    <WillShowUI>OnError</WillShowUI>
                </DiskConfiguration>
                <ImageInstall>
                    <OSImage>
                        <InstallTo>
                            <DiskID>0</DiskID>
                            <PartitionID>2</PartitionID>
                        </InstallTo>
                        <WillShowUI>OnError</WillShowUI>
                    </OSImage>
                </ImageInstall>
                <UseConfigurationSet>true</UseConfigurationSet>
            </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>
                <UILanguage>en-US</UILanguage>
            </component>
        </settings>
        <settings pass="offlineServicing">
            <component name="Microsoft-Windows-Embedded-KeyboardFilterService" 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">
                <Alt>Allowed</Alt>
                <AltF4>Blocked</AltF4>
                <AltSpace>Blocked</AltSpace>
                <AltTab>Blocked</AltTab>
                <AltWin>Blocked</AltWin>
                <Application>Blocked</Application>
                <BrowserBack>Blocked</BrowserBack>
                <BrowserFavorites>Blocked</BrowserFavorites>
                <BrowserForward>Blocked</BrowserForward>
                <BrowserHome>Blocked</BrowserHome>
                <BrowserRefresh>Blocked</BrowserRefresh>
                <BrowserSearch>Blocked</BrowserSearch>
                <BrowserStop>Blocked</BrowserStop>
                <ControlAltDelete>Blocked</ControlAltDelete>
                <ControlEscape>Blocked</ControlEscape>
                <ControlTab>Blocked</ControlTab>
                <ControlWindowsF>Blocked</ControlWindowsF>
                <Ctrl>Allowed</Ctrl>
                <CtrlF4>Blocked</CtrlF4>
                <CtrlWin>Blocked</CtrlWin>
                <Escape>Allowed</Escape>
                <DisableKeyboardFilterForAdministrators>true</DisableKeyboardFilterForAdministrators>
                <F21>Blocked</F21>
                <ForceOffAccessibility>true</ForceOffAccessibility>
                <LaunchApp1>Blocked</LaunchApp1>
                <LaunchApp2>Blocked</LaunchApp2>
                <LaunchMail>Blocked</LaunchMail>
                <LaunchMediaSelect>Blocked</LaunchMediaSelect>
                <LeftShiftLeftAltNumLock>Blocked</LeftShiftLeftAltNumLock>
                <LeftShiftLeftAltPrintScreen>Blocked</LeftShiftLeftAltPrintScreen>
                <MediaNext>Blocked</MediaNext>
                <MediaPlayPause>Blocked</MediaPlayPause>
                <MediaPrev>Blocked</MediaPrev>
                <MediaStop>Blocked</MediaStop>
                <Shift>Allowed</Shift>
                <ShiftControlEscape>Blocked</ShiftControlEscape>
                <ShiftWin>Blocked</ShiftWin>
                <Windows>Blocked</Windows>
                <WindowsB>Blocked</WindowsB>
                <WindowsBreak>Blocked</WindowsBreak>
                <WindowsC>Blocked</WindowsC>
                <WindowsComma>Blocked</WindowsComma>
                <WindowsD>Blocked</WindowsD>
                <WindowsDown>Blocked</WindowsDown>
                <WindowsE>Blocked</WindowsE>
                <WindowsEnter>Allowed</WindowsEnter>
                <WindowsEscape>Blocked</WindowsEscape>
                <WindowsF>Blocked</WindowsF>
                <WindowsF1>Blocked</WindowsF1>
                <WindowsH>Blocked</WindowsH>
                <WindowsHome>Blocked</WindowsHome>
                <WindowsI>Blocked</WindowsI>
                <WindowsJ>Blocked</WindowsJ>
                <WindowsK>Blocked</WindowsK>
                <WindowsL>Blocked</WindowsL>
                <WindowsLeft>Blocked</WindowsLeft>
                <WindowsM>Blocked</WindowsM>
                <WindowsMinus>Blocked</WindowsMinus>
                <WindowsO>Blocked</WindowsO>
                <WindowsP>Blocked</WindowsP>
                <WindowsPageDown>Blocked</WindowsPageDown>
                <WindowsPageUp>Blocked</WindowsPageUp>
                <WindowsPeriod>Blocked</WindowsPeriod>
                <WindowsPlus>Blocked</WindowsPlus>
                <WindowsQ>Blocked</WindowsQ>
                <WindowsR>Blocked</WindowsR>
                <WindowsRight>Blocked</WindowsRight>
                <WindowsShiftDown>Blocked</WindowsShiftDown>
                <WindowsShiftLeft>Blocked</WindowsShiftLeft>
                <WindowsShiftRight>Blocked</WindowsShiftRight>
                <WindowsShiftUp>Blocked</WindowsShiftUp>
                <WindowsSlash>Blocked</WindowsSlash>
                <WindowsSpace>Blocked</WindowsSpace>
                <WindowsT>Blocked</WindowsT>
                <WindowsTab>Blocked</WindowsTab>
                <WindowsU>Blocked</WindowsU>
                <WindowsUp>Blocked</WindowsUp>
                <WindowsV>Blocked</WindowsV>
                <WindowsW>Blocked</WindowsW>
                <WindowsZ>Blocked</WindowsZ>
                <CustomFilters>
                    <FilterRule wcm:action="add" wcm:keyValue="Ctrl+Break">Blocked</FilterRule>
                    <FilterRule wcm:action="add" wcm:keyValue="Ctrl+C">Blocked</FilterRule>
                    <FilterRule wcm:action="add" wcm:keyValue="Ctrl+Enter">Blocked</FilterRule>
                </CustomFilters>
            </component>
            <component name="Microsoft-Windows-TabletPC-Platform-Input-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">
                <TouchKeyboardAutoInvokeEnabled>true</TouchKeyboardAutoInvokeEnabled>
            </component>
            <component name="Microsoft-Windows-Embedded-EmbeddedLogon" 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">
                <NoLockScreen>1</NoLockScreen>
            </component>
            <component name="Microsoft-Windows-PnpCustomizationsNonWinPE" 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">
                <DriverPaths>
                    <PathAndCredentials wcm:keyValue="8822ed14" wcm:action="add">
                        <Path>%configsetroot%\AutoUnattend_Files\DistShare\Out-of-Box Drivers</Path>
                    </PathAndCredentials>
                </DriverPaths>
            </component>
        </settings>
        <settings pass="specialize">
            <component name="Microsoft-Windows-Embedded-BootExp" 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">
                <DisableBootMenu>1</DisableBootMenu>
                <DisplayDisabled>1</DisplayDisabled>
            </component>
            <component name="Microsoft-Windows-powercpl" 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">
                <PreferredPlan>8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c</PreferredPlan>
            </component>
        </settings>
        <settings pass="auditSystem">
            <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>
                    <Enabled>true</Enabled>
                    <Username>Admin</Username>
                    <Password>
                        <Value>cwBmAGIAUABhAHMAcwB3AG8AcgBkAA==</Value>
                        <PlainText>false</PlainText>
                    </Password>
                </AutoLogon>
                <UserAccounts>
                    <LocalAccounts>
                        <LocalAccount wcm:action="add">
                            <Password>
                                <Value>cwBmAGIAUABhAHMAcwB3AG8AcgBkAA==</Value>
                                <PlainText>false</PlainText>
                            </Password>
                            <Name>Admin</Name>
                            <Group>Administrators</Group>
                            <DisplayName>Administrator</DisplayName>
                            <Description>Administrator</Description>
                        </LocalAccount>
                    </LocalAccounts>
                </UserAccounts>
            </component>
        </settings>
        <settings pass="auditUser">
            <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">
                        <Order>1</Order>
                        <Path>net user Skype &quot;&quot; /add /expires:never /passwordchg:no /passwordreq:no</Path>
                    </RunSynchronousCommand>
                    <RunSynchronousCommand wcm:action="add">
                        <Order>2</Order>
                        <Path>net localgroup Users Skype /add</Path>
                    </RunSynchronousCommand>
                    <RunSynchronousCommand wcm:action="add">
                        <Order>3</Order>
                        <Path>cmd.exe /c %SystemDrive%\Rigel\x64\Scripts\Provisioning\Config.cmd</Path>
                    </RunSynchronousCommand>
                    <RunSynchronousCommand wcm:action="add">
                        <Order>4</Order>
                        <Path>%SystemRoot%\System32\Sysprep\Sysprep.exe /generalize /oobe /shutdown /unattend:%SystemDrive%\Rigel\x64\Scripts\Provisioning\audit.xml</Path>
                        <Path>%SystemRoot%\System32\Sysprep\Sysprep.exe /generalize /oobe /reboot /unattend:%SystemDrive%\Rigel\x64\Scripts\Provisioning\audit.xml</Path> 
                    </RunSynchronousCommand>
                </RunSynchronous>
            </component>
        </settings>
        <settings pass="oobeSystem">
            <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">
                <Reseal>
                    <Mode>Audit</Mode>
                    <ForceShutdownNow>false</ForceShutdownNow>
                </Reseal>
            </component>
        </settings>
        <cpi:offlineImage cpi:source="wim:h:/install.wim#Windows 10 Enterprise" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
    </unattend>
    


    • Edited by jmochnick Monday, April 3, 2017 4:27 PM added xml contents
    Monday, April 3, 2017 4:20 PM

Answers

  • Hi, 

    Also check this: Please remove shutdown line in your unattend file. 

                       
                        <Path>%SystemRoot%\System32\Sysprep\Sysprep.exe /generalize /oobe /shutdown /unattend:%SystemDrive%\Rigel\x64\Scripts\Provisioning\audit.xml</Path>
     


    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    • Marked as answer by jmochnick Wednesday, April 5, 2017 4:14 PM
    Wednesday, April 5, 2017 5:46 AM
    Moderator

All replies

  • Hi, 

    The issue could be happened for duplicate operation in command lines. 

    Please remove these lines: 

    <RunSynchronousCommand wcm:action="add">
                        <Order>2</Order>
                        <Path>net localgroup Users Skype /add</Path>
                    </RunSynchronousCommand>

    Please know that by default, the new created user will be add to users automatically. 

    Please see my test to re-add the new created account, error appeared: 


    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    Tuesday, April 4, 2017 3:04 AM
    Moderator
  • Thanks for your reply! Unfortunately I am still seeing the same error message after doing what you had suggested. I have the code posted below. Thank, I appreciate your help!

    <?xml version="1.0" encoding="utf-8"?>
    <unattend xmlns="urn:schemas-microsoft-com:unattend">
        <servicing>
            <package action="configure">
                <assemblyIdentity name="Microsoft-Windows-Foundation-Package" version="10.0.14393.0" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="" />
                <selection name="Client-DeviceLockdown" state="true" />
                <selection name="Client-EmbeddedLogon" state="true" />
                <selection name="Client-EmbeddedBootExp" state="true" />
                <selection name="Client-KeyboardFilter" state="true" />
                <selection name="Internet-Explorer-Optional-amd64" state="false" />
                <selection name="MediaPlayback" state="false" />
                <selection name="WindowsMediaPlayer" state="false" />
                <selection name="Microsoft-Hyper-V-Common-Drivers-Package" state="false" />
                <selection name="Microsoft-Hyper-V-Guest-Integration-Drivers-Package" state="false" />
                <selection name="Xps-Foundation-Xps-Viewer" state="false" />
                <selection name="WorkFolders-Client" state="false" />
                <selection name="SMB1Protocol" state="false" />
                <selection name="SearchEngine-Client-Package" state="false" />
                <selection name="Printing-Foundation-Features" state="false" />
                <selection name="FaxServicesClientPackage" state="false" />
                <selection name="Printing-Foundation-InternetPrinting-Client" state="false" />
                <selection name="Microsoft-Windows-Printing-XPSServices-Package" state="false" />
                <selection name="Microsoft-Windows-Printing-PrintToPDFServices-Package" state="false" />
                <selection name="Microsoft-Hyper-V-Hypervisor" state="true" />
                <selection name="Microsoft-Hyper-V-All" state="true" />
                <selection name="Microsoft-Hyper-V" state="true" />
            </package>
        </servicing>
        <settings pass="windowsPE">
            <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>
                                <Size>300</Size>
                                <Type>EFI</Type>
                            </CreatePartition>
                            <CreatePartition wcm:action="add">
                                <Order>2</Order>
                                <Extend>true</Extend>
                                <Type>Primary</Type>
                            </CreatePartition>
                        </CreatePartitions>
                        <DiskID>0</DiskID>
                        <WillWipeDisk>true</WillWipeDisk>
                    </Disk>
                    <WillShowUI>OnError</WillShowUI>
                </DiskConfiguration>
                <ImageInstall>
                    <OSImage>
                        <InstallTo>
                            <DiskID>0</DiskID>
                            <PartitionID>2</PartitionID>
                        </InstallTo>
                        <WillShowUI>OnError</WillShowUI>
                    </OSImage>
                </ImageInstall>
                <UseConfigurationSet>true</UseConfigurationSet>
            </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>
                <UILanguage>en-US</UILanguage>
            </component>
        </settings>
        <settings pass="offlineServicing">
            <component name="Microsoft-Windows-Embedded-KeyboardFilterService" 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">
                <Alt>Allowed</Alt>
                <AltF4>Blocked</AltF4>
                <AltSpace>Blocked</AltSpace>
                <AltTab>Blocked</AltTab>
                <AltWin>Blocked</AltWin>
                <Application>Blocked</Application>
                <BrowserBack>Blocked</BrowserBack>
                <BrowserFavorites>Blocked</BrowserFavorites>
                <BrowserForward>Blocked</BrowserForward>
                <BrowserHome>Blocked</BrowserHome>
                <BrowserRefresh>Blocked</BrowserRefresh>
                <BrowserSearch>Blocked</BrowserSearch>
                <BrowserStop>Blocked</BrowserStop>
                <ControlAltDelete>Blocked</ControlAltDelete>
                <ControlEscape>Blocked</ControlEscape>
                <ControlTab>Blocked</ControlTab>
                <ControlWindowsF>Blocked</ControlWindowsF>
                <Ctrl>Allowed</Ctrl>
                <CtrlF4>Blocked</CtrlF4>
                <CtrlWin>Blocked</CtrlWin>
                <Escape>Allowed</Escape>
                <DisableKeyboardFilterForAdministrators>true</DisableKeyboardFilterForAdministrators>
                <F21>Blocked</F21>
                <ForceOffAccessibility>true</ForceOffAccessibility>
                <LaunchApp1>Blocked</LaunchApp1>
                <LaunchApp2>Blocked</LaunchApp2>
                <LaunchMail>Blocked</LaunchMail>
                <LaunchMediaSelect>Blocked</LaunchMediaSelect>
                <LeftShiftLeftAltNumLock>Blocked</LeftShiftLeftAltNumLock>
                <LeftShiftLeftAltPrintScreen>Blocked</LeftShiftLeftAltPrintScreen>
                <MediaNext>Blocked</MediaNext>
                <MediaPlayPause>Blocked</MediaPlayPause>
                <MediaPrev>Blocked</MediaPrev>
                <MediaStop>Blocked</MediaStop>
                <Shift>Allowed</Shift>
                <ShiftControlEscape>Blocked</ShiftControlEscape>
                <ShiftWin>Blocked</ShiftWin>
                <Windows>Blocked</Windows>
                <WindowsB>Blocked</WindowsB>
                <WindowsBreak>Blocked</WindowsBreak>
                <WindowsC>Blocked</WindowsC>
                <WindowsComma>Blocked</WindowsComma>
                <WindowsD>Blocked</WindowsD>
                <WindowsDown>Blocked</WindowsDown>
                <WindowsE>Blocked</WindowsE>
                <WindowsEnter>Allowed</WindowsEnter>
                <WindowsEscape>Blocked</WindowsEscape>
                <WindowsF>Blocked</WindowsF>
                <WindowsF1>Blocked</WindowsF1>
                <WindowsH>Blocked</WindowsH>
                <WindowsHome>Blocked</WindowsHome>
                <WindowsI>Blocked</WindowsI>
                <WindowsJ>Blocked</WindowsJ>
                <WindowsK>Blocked</WindowsK>
                <WindowsL>Blocked</WindowsL>
                <WindowsLeft>Blocked</WindowsLeft>
                <WindowsM>Blocked</WindowsM>
                <WindowsMinus>Blocked</WindowsMinus>
                <WindowsO>Blocked</WindowsO>
                <WindowsP>Blocked</WindowsP>
                <WindowsPageDown>Blocked</WindowsPageDown>
                <WindowsPageUp>Blocked</WindowsPageUp>
                <WindowsPeriod>Blocked</WindowsPeriod>
                <WindowsPlus>Blocked</WindowsPlus>
                <WindowsQ>Blocked</WindowsQ>
                <WindowsR>Blocked</WindowsR>
                <WindowsRight>Blocked</WindowsRight>
                <WindowsShiftDown>Blocked</WindowsShiftDown>
                <WindowsShiftLeft>Blocked</WindowsShiftLeft>
                <WindowsShiftRight>Blocked</WindowsShiftRight>
                <WindowsShiftUp>Blocked</WindowsShiftUp>
                <WindowsSlash>Blocked</WindowsSlash>
                <WindowsSpace>Blocked</WindowsSpace>
                <WindowsT>Blocked</WindowsT>
                <WindowsTab>Blocked</WindowsTab>
                <WindowsU>Blocked</WindowsU>
                <WindowsUp>Blocked</WindowsUp>
                <WindowsV>Blocked</WindowsV>
                <WindowsW>Blocked</WindowsW>
                <WindowsZ>Blocked</WindowsZ>
                <CustomFilters>
                    <FilterRule wcm:action="add" wcm:keyValue="Ctrl+Break">Blocked</FilterRule>
                    <FilterRule wcm:action="add" wcm:keyValue="Ctrl+C">Blocked</FilterRule>
                    <FilterRule wcm:action="add" wcm:keyValue="Ctrl+Enter">Blocked</FilterRule>
                </CustomFilters>
            </component>
            <component name="Microsoft-Windows-TabletPC-Platform-Input-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">
                <TouchKeyboardAutoInvokeEnabled>true</TouchKeyboardAutoInvokeEnabled>
            </component>
            <component name="Microsoft-Windows-Embedded-EmbeddedLogon" 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">
                <NoLockScreen>1</NoLockScreen>
            </component>
            <component name="Microsoft-Windows-PnpCustomizationsNonWinPE" 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">
                <DriverPaths>
                    <PathAndCredentials wcm:keyValue="8822ed14" wcm:action="add">
                        <Path>%configsetroot%\AutoUnattend_Files\DistShare\Out-of-Box Drivers</Path>
                    </PathAndCredentials>
                </DriverPaths>
            </component>
        </settings>
        <settings pass="specialize">
            <component name="Microsoft-Windows-Embedded-BootExp" 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">
                <DisableBootMenu>1</DisableBootMenu>
                <DisplayDisabled>1</DisplayDisabled>
            </component>
            <component name="Microsoft-Windows-powercpl" 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">
                <PreferredPlan>8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c</PreferredPlan>
            </component>
        </settings>
        <settings pass="auditSystem">
            <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>
                    <Enabled>true</Enabled>
                    <Username>Admin</Username>
                    <Password>
                        <Value>cwBmAGIAUABhAHMAcwB3AG8AcgBkAA==</Value>
                        <PlainText>false</PlainText>
                    </Password>
                </AutoLogon>
                <UserAccounts>
                    <LocalAccounts>
                        <LocalAccount wcm:action="add">
                            <Password>
                                <Value>cwBmAGIAUABhAHMAcwB3AG8AcgBkAA==</Value>
                                <PlainText>false</PlainText>
                            </Password>
                            <Name>Admin</Name>
                            <Group>Administrators</Group>
                            <DisplayName>Administrator</DisplayName>
                            <Description>Administrator</Description>
                        </LocalAccount>
                    </LocalAccounts>
                </UserAccounts>
            </component>
        </settings>
        <settings pass="auditUser">
            <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">
                        <Order>1</Order>
                        <Path>net user Skype &quot;&quot; /add /expires:never /passwordchg:no /passwordreq:no</Path>
                    </RunSynchronousCommand>
                    <RunSynchronousCommand wcm:action="add">
                        <Order>3</Order>
                        <Path>cmd.exe /c %SystemDrive%\Rigel\x64\Scripts\Provisioning\Config.cmd</Path>
                    </RunSynchronousCommand>
                    <RunSynchronousCommand wcm:action="add">
                        <Order>4</Order>
                        <Path>%SystemRoot%\System32\Sysprep\Sysprep.exe /generalize /oobe /shutdown /unattend:%SystemDrive%\Rigel\x64\Scripts\Provisioning\audit.xml</Path>
                        <Path>%SystemRoot%\System32\Sysprep\Sysprep.exe /generalize /oobe /reboot /unattend:%SystemDrive%\Rigel\x64\Scripts\Provisioning\audit.xml</Path> 
                    </RunSynchronousCommand>
                </RunSynchronous>
            </component>
        </settings>
        <settings pass="oobeSystem">
            <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">
                <Reseal>
                    <Mode>Audit</Mode>
                    <ForceShutdownNow>false</ForceShutdownNow>
                </Reseal>
            </component>
        </settings>
        <cpi:offlineImage cpi:source="wim:h:/install.wim#Windows 10 Enterprise" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
    </unattend>


    EDIT: I'd also like to note that I did also try to change the 'order' from 1, 3, 4 to 1, 2, 3, which didn't help either.

    • Edited by jmochnick Tuesday, April 4, 2017 6:50 PM
    Tuesday, April 4, 2017 6:48 PM
  • Hi, 

    Also check this: Please remove shutdown line in your unattend file. 

                       
                        <Path>%SystemRoot%\System32\Sysprep\Sysprep.exe /generalize /oobe /shutdown /unattend:%SystemDrive%\Rigel\x64\Scripts\Provisioning\audit.xml</Path>
     


    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    • Marked as answer by jmochnick Wednesday, April 5, 2017 4:14 PM
    Wednesday, April 5, 2017 5:46 AM
    Moderator
  • This worked! Thank you so much!!!
    Wednesday, April 5, 2017 4:15 PM