Image Windows 10 laptops with DISM (or other free tool)

Page 6 of 7 FirstFirst ... 4567 LastLast

  1. Posts : 64
    Windows 10
    Thread Starter
       #51

    Kari said:
    BTW, the MSR partition only needs to be 16 MB. I also noticed you have set one gig for RE partition, half of that is enough. Of course there's no harm done with bigger partitions.
    Thanks for the tip! Over the coming week I am going to be refining this image so it's **exactly** the way I want it.I've got some snapshots saved in VMware for my technician VM so its relatively simple (although still kinda painful) to update the image/answer files.

    It's taken a lot of effort to get to this stage but wow, the end result is amazing. 8min to do a FULL install that is patched and customised...just...wow.

    I have to say, BIG thank you for all your help, time and effort! You've been amazing and so helpful. I have your videos bookmarked and they are excellent. I've watched them a few times which helped me immensely!
      My Computer


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

    xy677 said:
    I have to say, BIG thank you for all your help, time and effort! You've been amazing and so helpful. I have your videos bookmarked and they are excellent. I've watched them a few times which helped me immensely!
    It's a two way street. In fact, this thread is for me what Ten Forums is at its best: in trying to get this resolved with you has taught a lot to me. I have been too keen to keep my old habits, boot to PE, make partitions with DISKPART script and applying images from a share. It is interesting to work together for a common goal, I am learning more and more the further we go.

    Seriously, thank you for an interesting thread :)

    Kari
      My Computer


  3. Posts : 17,661
    Windows 10 Pro
       #53

    Everything works in my tests, too, both on MBR and GPT disks. The key was and is two different answer files, sysprep with normal unattend.xml and then add autounattend.xml to root of ISO to take care of unattended partitioning and installation.

    It's kind of funny that I didn't even think of it although we went close already in page #2, talking about the difference between these two answer files, that for WindowsPE pass you need to use autounattend.xml:

    Kari said:
    xy677 said:
    The one thing that confused me is, when do you use unattend.xml and when do you use autounattend.xml?
    This from https://technet.microsoft.com/en-us/...(v=ws.10).aspx (article written for WIndows 7 deployment but applies to Windows 10, too):

    As a rule, only answer files named Unattend.xml are used. However, because some answer files include destructive actions such as disk partitioning, you must rename your Unattend.xml file to Autounattend.xml in the windowsPE and offlineServicing configuration passes. These passes run when you first run Windows PE or Setup.exe. You typically use the Autounattend.xml file when you use the Windows Setup DVD boot method and supply an answer file on a USB flash drive (UFD) or floppy disk.
      My Computer


  4. Posts : 64
    Windows 10
    Thread Starter
       #54

    Wer got there in the end except we took the scenic route

    Glad it worked out for you as well in your testing. I'm super chuffed with the results and plan on rebuilding my PC now!
      My Computer


  5. Posts : 64
    Windows 10
    Thread Starter
       #55

    I forgot to ask, is there a simple(r) way to update my ISO/wim file when new Window/Office updates are released?

    Do I have to download every update manually and then add/inject the update into the install.wim image?
      My Computer


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

    I have to say I don't know about that.

    As I mentioned I don't use ISO method to deploy, even on my home network I apply images with DISM. This makes updating image relatively easy and fast; I create a standard Hyper-V checkpoint on my technician VM just before sysprepping and occasionally just apply the checkpoint, run Windows Update and update installed software like browsers and Office, then remove all installers and run Disk Clean-up to remove temp files, sysprep again and capture new install.wim to replace my old one.

    Although Windows Update works in Audit Mode, build and feature upgrades do not work. When I want to upgrade my image I sysprep it once with /generalize, /oobe and /reboot switches, create a dummy local admin account in OOBE, sign in to desktop to upgrade for instance with latest Insider build, when done run sysprep with /audit and /reboot switches to boot back to Audit Mode, remove the dummy user and its profile folder, remove all installers and run Disk Clean-up to remove temp files, sysprep again and capture new install.wim to replace my old one.

    Kari
      My Computer


  7. Posts : 64
    Windows 10
    Thread Starter
       #57

    Thanks Kari! There are some new Windows/Office Updates coming out next week so I am going to see how this goes. I'm also interested in when another upgrade (or new build) comes out for LTSB to upgrade my image.

    Keeping a snapshot just before you run sysprep is VERY useful!
      My Computer


  8. Posts : 64
    Windows 10
    Thread Starter
       #58

    So I discovered something interesting during my sysprep/test image. I setup my VM exactly how I wanted it, ran sysprep and created a new customised ISO.

    One of the settings I changed was to disable (or turn off) the Location Service at:

    Settings - Privacy - Location - Location Service

    So before running sysprep the Location Service was off but after I used my customised ISO (with updated install.wim) to install Windows, the Location Services was on! I even went back to my snapshot just before running sysprep and sure enough it was off so why did it turn itself on again after installing Windows from my customised ISO? There were a few other privacy settings that did this but I thought I'd focus on the Location Services first.

    Also, after installing Windows with my customised ISO and the desktop appears, I get prompted as follows:

    Image Windows 10 laptops with DISM (or other free tool)-image.png

    In my image (before I run sysprep) I set the following local group policies thinking this would get rid of this screen:

    Computer - Windows Settings - Security Settings - Network List Manager Polcies - unidentified networks - location type - public
    Computer - Windows Settings - Security Settings - Network List Manager Polcies - identifying networks - location type - public

    But it doesn't seem to be working. Is there somewhere else I need to set this so I don't get prompted with this?
      My Computer


  9. Posts : 17,661
    Windows 10 Pro
       #59

    Try Security Policies (WIN + R > secpol.msc) instead of Group Policies, check all three items under Network List Manager Policies, most important item being All Networks:

    Image Windows 10 laptops with DISM (or other free tool)-image.png

    To simply turn of Network Location Wizard it should be enough to add key NewNetworkWindowOff in registry HKLM > System > CurrentControlSet > Control > Network

    Image Windows 10 laptops with DISM (or other free tool)-image.png

    Kari
      My Computer


  10. Posts : 64
    Windows 10
    Thread Starter
       #60

    That did the trick thank you!

    Any ideas on why the privacy settings I configured "disappeared" after running sysprep?
      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 02:12.
Find Us




Windows 10 Forums