Page 6 of 7 FirstFirst ... 4567 LastLast
  1.    05 Mar 2017 #51
    Join Date : Aug 2015
    Posts : 60
    Windows 10
    Thread Starter

    Quote Originally Posted by Kari View Post
    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 ComputerSystem Spec
  2.    05 Mar 2017 #52
    Join Date : Oct 2013
    A Finnish expat in Germany
    Posts : 12,957
    Windows 10 Pro

    Quote Originally Posted by xy677 View Post
    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 ComputerSystem Spec
  3.    05 Mar 2017 #53
    Join Date : Oct 2013
    A Finnish expat in Germany
    Posts : 12,957
    Windows 10 Pro

    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:

    Quote Originally Posted by Kari View Post
    Quote Originally Posted by xy677 View Post
    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 ComputerSystem Spec
  4.    05 Mar 2017 #54
    Join Date : Aug 2015
    Posts : 60
    Windows 10
    Thread Starter

    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 ComputerSystem Spec
  5.    05 Mar 2017 #55
    Join Date : Aug 2015
    Posts : 60
    Windows 10
    Thread Starter

    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 ComputerSystem Spec
  6.    05 Mar 2017 #56
    Join Date : Oct 2013
    A Finnish expat in Germany
    Posts : 12,957
    Windows 10 Pro

    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 ComputerSystem Spec
  7.    06 Mar 2017 #57
    Join Date : Aug 2015
    Posts : 60
    Windows 10
    Thread Starter

    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 ComputerSystem Spec
  8.    08 Mar 2017 #58
    Join Date : Aug 2015
    Posts : 60
    Windows 10
    Thread Starter

    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:

    Click image for larger version. 

Name:	image.png 
Views:	16 
Size:	8.6 KB 
ID:	124214

    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 ComputerSystem Spec
  9.    08 Mar 2017 #59
    Join Date : Oct 2013
    A Finnish expat in Germany
    Posts : 12,957
    Windows 10 Pro

    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:

    Click image for larger version. 

Name:	image.png 
Views:	1 
Size:	318.5 KB 
ID:	124240

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

    Click image for larger version. 

Name:	image.png 
Views:	14 
Size:	201.3 KB 
ID:	124239

    Kari
      My ComputerSystem Spec
  10.    08 Mar 2017 #60
    Join Date : Aug 2015
    Posts : 60
    Windows 10
    Thread Starter

    That did the trick thank you!

    Any ideas on why the privacy settings I configured "disappeared" after running sysprep?
      My ComputerSystem Spec

 
Page 6 of 7 FirstFirst ... 4567 LastLast


Similar Threads
Thread Forum
Performance & Maintenance Use DISM to Repair Windows 10 Image
How to Repair Windows 10 Image using DISM If a Windows image becomes unserviceable, you can use the Deployment Imaging and Servicing Management (DISM) tool to update the files and correct the problem. For example, you would use DISM to fix...
Tutorials
Windows 10 DISM tool - unable to find Source File
Hello everyone, I've been having a terrible time trying to diagnose and fix corrupted system files. I have recently updated to windows 10 during the free upgrade process. I was running Windows 7 Pro before I updated. I have tried...
Performance & Maintenance
Solved Error 0x800f081f when using DISM tool
Hello, Windows 10 power user here. I've been viewing help topics here for some time and found this forum very useful. However, there is one problem that I can't seem to solve. Whenever I use the DISM tool to repair Windows 10, I get the error...
Performance & Maintenance
Why doesn't Dism /Online /Cleanup-Image /RestoreHealth work Windows 10
Simply, why doesn't Dism /Online /Cleanup-Image /RestoreHealth work in Windows 10? Is there a way to get this or a similar command to self repair your installation in Windows 10? 48645
Performance & Maintenance
Windows Corrupted files sfc and DISM image recovery fails
Hello everyone I have been trying to fix my windows 10 corrupted files but I have been unabled to recover it. I tried every possible way of recovering using DISM commands, but to no avail. I tried also the sfc /scannow but as usual this command...
General Support
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 04:45.
Find Us
Twitter Facebook Google+ Ten Forums iOS App Ten Forums Android App



Windows 10 Forums