questions about sysprep


  1. Posts : 1
    7
       #1

    questions about sysprep


    I am trying to work out how to sysprep a machine before taking an image with dism and I'm running into a few questions.

    - when I setup this image I did not use audit mode. I thought I could work around this by setting in the unattend.xml to copy the customizations of local profile to default profile. But I keep running into "sysprep was not able to validate your windows installation..." and it always ends up being some app package that was 'installed for a user but not provisioned for all users' How do I get past this issue and is this what audit mode is also meant to help you avoid? I have already tried uninstalling the specific app package in powershell and tried uninstalling all app packages thru powershell via the Get-AppPackage | Remove-AppPackage command and still having same issue.

    Also I have turned off bitlocker for this drive to make sure encryption is not enabled. will the /oobe switch for sysprep re-enable bitlocker encryption or do I need to do this manually?

    Thanks.
      My Computer


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

    Sysprep is always best to do in Audit Mode. See these tutorials for a correct method to customize a Windows image, sysprep and capture it:



    Kari
      My Computer


  3. Posts : 1
    Windows 10
       #3

    You'd better use Audit Mode to have a try! Before running Sysprep in Windows 10, you should pay attention to its limitations, for instance, Sysprep may fail if you install or update Microsoft Store apps before generalizing a system image.
      My Computer


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

    Generalizing with Sysprep fails, if app provisioning is done wrong. This causes the most errors users get when sysprepping.

    The issue is not the user, nor Sysprep. The issue is that as Microsoft allowed UWP apps to run in built-in admin account in Windows 10 version 1709, and because of that, Store apps might update in the background. This causes updated apps to be provisioned, and often leads to Sysprep error.

    An easy workaround is to install Windows 10 on reference machine without network connection, boot to Audit Mode, open Command prompt and run this command:

    reg add HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\WindowsStore /v AutoDownload /t REG_DWORD /d 2 /f

    This adds a key and a DWORD in registry, preventing Store apps from updating. Now connect reference machine to network, do your customizations, and when ready, last thing before sysprepping, run the following command to re-enable app updates:

    reg delete HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\WindowsStore /v AutoDownload /f

    That's it.


    Having said that, now a personal, very subjective opinion:

    Eileen3626 said:
    You'd better use Audit Mode to have a try! Before running Sysprep in Windows 10, you should pay attention to its limitations, for instance, Sysprep may fail if you install or update Microsoft Store apps before generalizing a system image.
    First, a bit background.

    I am a devoted fan of Ten Forums and its sister sites, Vista Forums, Seven Forums and Eight Forums. I will have my 10th anniversary on these forums in couple of weeks.

    Because the forums are so important to me and close to my heart, I would first like to thank you, and any other representative from any other software manufacturer who joins us to offer assistance for their products. Being a mere mortal member, I have no say in this, but I am sure our owner @z3r010 also appreciates it.

    However, trying to mask your replies as posts from another user who managed to do something with a specific product, "forgetting" to mention that you in fact work for the manufacturer of that product, it's not cool. Like now, you "forgot" to mention that you have written that post you linked to, and the purpose of that post is to market your product.

    I especially disliked this post of yours:

    Eileen3626 said:
    I formatted bootable SD card last week. It was very successful. Maybe you can try the utility mentioned in this tutorial.

    You made the post to look as if a user (you) had got an issue fixed or something done with a specific tool, "forgetting" to mention that you yourself had written that "tutorial" to market a product of your employer. As a member here, I would like to see you to mention that in your future posts.

    Respectfully,
    Kari
    Last edited by Kari; 27 May 2019 at 07:12. Reason: Fixed the worst typos
      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 13:10.
Find Us




Windows 10 Forums