Sysprep copyprofile fails on creators update

Page 1 of 2 12 LastLast

  1. Posts : 34
    Windows 10 Pro x64
       #1

    Sysprep copyprofile fails on creators update


    Im having an issue ONCE AGAIN with getting the copyprofile feature to work with the latest creators update. I did a clean install of windows 10 1703 pro x64. I boot into audit mode and installed my programs and applications and did all of Windows updates. From there I used the most recent adk of Windows 10 and created an unattend.xml file and saved it to my H Drive. I stopped the user tile service and then from the admin command propmpt i typed in sysprep.exe /generalize /oobe /shutdown /unattend:H:\Unattend.xml sysprep seem to run normal and everything went fine it shut down perfectly but when I restarted and after it found my devices and it began to setup your user Locale settings (keyboard layout, time zone etc.) And I clicked on next it gave me an error with a :-( saying why did my PC restart? A continuously reboots to the screen and I'm not exactly sure why I have racked my brain through TechNet and on here and I have yet to find a solution. Kari can you help me or anyone? Thanks so much
      My Computer


  2. Posts : 17,661
    Windows 10 Pro
       #2

    It's most probably because of you stopping a Windows service before sysprepping. Using group policies is OK, stopping services not very kosher, it might lead to various issues.

    Please post your answer file here placing it in CODE tags ([CODE]Your answer file here[/CODE]), to see if there are any obvious errors. Do not forget to replace any personal information, product keys and such in answer file with bunch of Xs and Ys before posting it!

    Kari
      My Computer


  3. Posts : 34
    Windows 10 Pro x64
    Thread Starter
       #3

    (
    Code:
    <?xml version="1.0" encoding="UTF-8"?>-<unattend xmlns="urn:schemas-microsoft-com:unattend">-<settings pass="specialize">-<component language="neutral" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" versionScope="nonSxS" publicKeyToken="31bf3856ad364e35" processorArchitecture="amd64" name="Microsoft-Windows-Shell-Setup"><CopyProfile>true</CopyProfile></component></settings><cpi:offlineImage xmlns:cpi="urn:schemas-microsoft-com:cpi" cpi:source="wim:c:/users/administrator/desktop/install.wim#Windows 10 Pro"/></unattend>
    )
      My Computer


  4. Posts : 17,661
    Windows 10 Pro
       #4

    That is unreadable, shown as one single line.

    Please open your answer file in Notepad, press CTRL + A to select all text. Start a new post here, type [CODE] and press CTRL + V to paste the text copied from Notepad.

    Go to end of the post, first empty line after the pasted text, and type [/CODE], post it.
      My Computer


  5. Posts : 34
    Windows 10 Pro x64
    Thread Starter
       #5

    Code:
    <?xml version="1.0" encoding="UTF-8"?>
    
    -<unattend xmlns="urn:schemas-microsoft-com:unattend">
    
    
    
    
    -<settings pass="specialize">
    
    
    
    
    -<component language="neutral" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" versionScope="nonSxS" publicKeyToken="31bf3856ad364e35" processorArchitecture="amd64" name="Microsoft-Windows-Shell-Setup">
    
    
    <CopyProfile>true</CopyProfile>
    
    
    </component>
    
    
    </settings>
    
    
    <cpi:offlineImage xmlns:cpi="urn:schemas-microsoft-com:cpi" cpi:source="wim:c:/users/administrator/desktop/install.wim#Windows 10 Pro"/>
    
    
    </unattend>
      My Computer


  6. Posts : 17,661
    Windows 10 Pro
       #6

    A quick look shows that your answer file is not valid.
    • Lines 2 through 4 start with a hyphen. That is not correct, hyphens must be removed
    • Line 4 is missing the name of the component (Microsoft-Windows-Shell-Setup). This is required information, can't be left out
    • Line 4 is missing processor architecture information, in your case amd64. This is required information, can't be left out

    Correct line 4 should be as follows:
    Code:
    <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">
    Last edited by Kari; 22 Aug 2017 at 19:27. Reason: Accidentally posted wrong line numbers 1 to 3, corrected to be 2 to 4.
      My Computer


  7. Posts : 34
    Windows 10 Pro x64
    Thread Starter
       #7

    WOW, I can't understand how that hyphen got in there! I used the Windows SIM to create it. hmm well i will definitely try this out. :) Thank you so much Kari, you are THE best! *hugs*
      My Computer


  8. Posts : 34
    Windows 10 Pro x64
    Thread Starter
       #8

    WOW, I can't understand how that hyphen got in there! I used the Windows SIM to create it. hmm well i will definitely try this out. :) Thank you so much Kari, you are THE best! *hugs* Also want to add that I was using edge to copy and paste the xml file. That was what made it not work. im a dummy :P
      My Computer


  9. Posts : 34
    Windows 10 Pro x64
    Thread Starter
       #9

    Still Failing


    I am posting the setupact.log in the panther folder. What is going wrong?
      My Computer


  10. Posts : 34
    Windows 10 Pro x64
    Thread Starter
       #10

    Kari I just realized something that might be causing an issue. in my group policies I clicked on block Microsoft accounts. Would that have anything to do with sysprep failing
      My Computer


 

  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 22:36.
Find Us




Windows 10 Forums