Windows 10: Create Windows 10 ISO image from Existing Installation

Discus and support Create Windows 10 ISO image from Existing Installation in Windows 10 Tutorials to solve the problem; How to: Create Windows 10 ISO image from Existing Installation How to create a Windows 10 ISO image for clean, in-place upgrade and repair install... Discussion in 'Windows 10 Tutorials' started by brummyfan, Dec 10, 2016.

  1. brummyfan Win User

    Create Windows 10 ISO image from Existing Installation


    How to: Create Windows 10 ISO image from Existing Installation

    How to create a Windows 10 ISO image for clean, in-place upgrade and repair install

    Create Windows 10 ISO image from Existing Installation [​IMG]
    Information Since beginning of tutorial). With it we could create DVD / USB install media to be used in clean, in-place and repair installs.

    Since Windows 10 Insider Build 14986 Microsoft has started to use new Unified Update Platform (UUP), which no longer offers the install.esd file (read more in this post). Through some registry modifications users can at least for now disable UUP and get ESD version of the build upgrade, but it seems that this option might not be available in the future.

    UUP is of course a positive change. It is differential, scanning user's existing Windows 10 installation only downloading and installing those system files that have changed. In ESD upgrade full Windows system (all system files and native applications) were replaced, with the same file or app version even in case the new build did not include a newer updated version. Regardless if a system file, component or application was updated, ESD upgrade replaced it. This caused download size to be bigger, in addition to longer time required for upgrade because full Windows was downloaded and everything overwritten with every upgrade.

    However, the possibility to create an ISO image is, has been and will be important to many users. Microsoft has usually released an ISO when a build has been released to Insider Slow Ring, but we Fast Ring users do need an option to create our own install media.

    This tutorial will show how to create an ISO file of the latest Windows 10 build in case you for any reason are not able to use methods told in Ten Forums UUP to ISO tutorials to make an ISO image. Methods told in this tutorial are not only meant for Fast Ring Insiders, any user wanting a customized Windows install media can do so following these instructions.

    The ISO image made as per instructions in this tutorial will be based on an existing Windows 10 installation. Tutorial shows you three alternative methods to create an ISO image, depending on your needs:

    • Part One: Standard Windows 10 ISO install media
      • An "Out of the box" ISO, as any standard Windows 10 ISO image you can download from Microsoft. Alternative for ESD to ISO and UUP to ISO methods
      • Included in tutorial only as an example about how an ISO can be made by yourself. Basically a method never needed as long as ESD to ISO and / or UUP to ISO methods are available
      • This ISO will be generalized meaning it is hardware independent and can be used to install Windows on any computer capable of running Windows 10, regardless if the machine is a legacy BIOS machine with MBR partitioning, or a UEFI machine with GPT partitioning
    • Part Two: Custom ISO with pre-installed software & pre-set user accounts
      • This option creates a Windows 10 ISO which already contains your preferred user accounts with all their settings, customisations and personalisations, preferred pre-installed software and so on
      • Using this ISO to install Windows is much faster than installing with standard ISO, at the same time making installing your standard software unnecessary as it's already pre-installed
      • Clean install will skip OOBE (Windows Setup) because user accounts and settings already exist
      • As the ISO is not generalized and it contains all existing user accounts and data it should only be used to install Windows on your home computers
      • As ISO includes hardware drivers for the PC it was made form, installing on another PC may take a while because Windows needs to replace those drivers. Windows 10 is pretty good in doing that, however this method can only be recommended for relatively small home networks or as a restore media on your only PC. Use method in Part Three instead to create a truly hardware independent, generalized ISO instead
    • Part Three: Custom ISO with pre-installed software, no user accounts
      • As in Part Two but a generalized ISO image without any pre-set user accounts, with pre-installed software, desktop, File Explorer and Start customisations
      • All customisations and personalisations will automatically be applied to all new user accounts
      • Clean install will perform a normal OOBE, asking for regional settings, initial user and so on
      • This ISO will be generalized meaning it is hardware independent and can be used to install Windows on any computer capable of running Windows 10, regardless if the machine is a legacy BIOS machine with MBR partitioning, or a UEFI machine with GPT partitioning
    Select Part One, Two or Three to prepare Windows for image capture according to your needs, continue from Part Four to capture Windows install image and create the ISO image.

    ISO images will be bootable on both BIOS / MBR and UEFI / GPT systems.

    Create Windows 10 ISO image from Existing Installation [​IMG]
    Note This tutorial will show how to use either a physical computer or a virtual machine to create the ISO. All virtual machine references and instructions in this tutorial apply to Hyper-V, available in Windows 10 PRO, Education and Enterprise editions. Oracle VirtualBox and VMware users might need to consult their preferred virtualisation platform's documentation if instructions can't be used as is.

    Everything in this tutorial can be made in each edition of Windows 10 (in Home and Single Language editions using a physical machine or third party virtualisation platform) with native Windows tools and programs, apart from Windows Deployment and Imaging Tools, part of Windows 10 Assesment and Deployment Kit (ADK) needed in Part Five. The ADK is a free native Microsoft tool, downloadable directly from Microsoft (download link in Part Five).

    If you will do this on a Hyper-V virtual machine (recommended method), set the new virtual machine to use Standard checkpoints instead of default Production checkpoints. You can do this in virtual machine's settings:
    Create Windows 10 ISO image from Existing Installation [​IMG]
    Virtual machine generation is irrelevant, you can use Generation 1 or 2 as you wish.


    These instructions might look complicated but really, this is extremely easy and fail proof. Just follow the instructions to the letter. Don't hesitate to post your questions and possible issues or about anything you don't understand in this thread, we will try to reply as fast as possible Create Windows 10 ISO image from Existing Installation :)

    This tutorial applies to all Windows versions and editions starting from Windows Vista.




    Contents [/i] Click links to jump to any part

    [table][tr][td]Part One:[/td] [td]Standard W10 ISO[/td] [/tr] [tr][td]Part Two:[/td] [td]Custom W10 ISO with pre-installed software & pre-set user accounts[/td] [/tr] [tr][td]Part Three:[/td] [td]Custom W10 ISO with pre-installed software, no user accounts[/td] [/tr] [tr][td]Part Four:[/td] [td]Capture Windows image (create custom install.wim)[/td] [/tr] [tr][td]Part Five:[/td] [td]Create a bootable ISO [/td] [/tr] [tr][td]Part Six:[/td] [td]Additional tips & information[/td] [/tr] [/table]




    Part One [/i] Standard W10 ISO

    Create Windows 10 ISO image from Existing Installation [​IMG]
    Note This method will produce an ISO image which can be compared to any original Windows 10 ISO you download from Microsoft. It gives a clean Windows installation when used, with the latest build (depending of course on if you upgraded to latest Fast Ring build before making the ISO).

    ISO created will include no user profile folders, personal user data and files.

    This is the recommended method if you simply need a clean, standard Windows 10 ISO install media.
    1.1)
    Clean install Windows on your reference machine (physical or vm) with the latest available build install media

    1.2) When on Desktop, opt in for Insider Fast Ring build upgrades (tutorial), restart

    1.3) Let the vm or physical machine stay on, it will soon pick the latest Fast Ring build upgrade (although often getting upgrade immediately, it in some cases might take up to 48 hours online time. The less you let machine to be off and offline, the sooner you will get the upgrade).

    When upgrade has been found let Windows Update to download and prepare it and finally restart letting Windows to be upgraded. If using Hyper-V, create a checkpoint when upgrade has been done and you are back on desktop

    Create Windows 10 ISO image from Existing Installation [​IMG]
    Note Alternatively, if you already have a physical or virtual machine upgraded to the latest build, the build you want to make an ISO image from, you can skip steps 1.1 to 1.3 above and use this existing Windows installation instead.

    If doing so, please notice that you should first uninstall all installed software except native Windows 10 apps.
    1.4) Restart Windows in Audit Mode with following command in Command Prompt:

    %windir%\system32\sysprep\sysprep.exe /audit /reboot
    1.5) Windows will now restart in Audit Mode using built-in administrator account. You will see a Sysprep prompt in the middle of display:

    Create Windows 10 ISO image from Existing Installation [​IMG]


    Leave it open for now.

    1.6) Delete all existing user accounts and their user profile data (Option One in this tutorial), uninstall all possibly installed third party software

    1.7) You are at the moment signed in using Windows built-in administrator account. In File Explorer, open C:\Users\Administrator folder and check that all user folders are empty deleting all possibly found content
    1.8) Run Disk Clean-up, selecting and removing everything possible (tutorial).

    When done, check the C: drive. If folder Windows.old exists after Disk Clean-Up, follow instructions in this tutorial to remove it: Windows.old Folder - Delete in Windows 10

    Create Windows 10 ISO image from Existing Installation [​IMG]
    Warning Removing all unnecessary files and folders like Windows.old and $WINDOWS.~BT after an upgrade as well as emptying Recycle Bin is important and should be done before continuing.
    1.9) When clean-up is done, in Sysprep dialog select System Cleanup Action: Enter System Out-of-Box Experience (OOBE), select Shutdown Options: Shutdown, select (tick the box) Generalize, click OK:

    Create Windows 10 ISO image from Existing Installation [​IMG]


    1.10) Sysprep will now prepare Windows, shutting down machine when done:

    Create Windows 10 ISO image from Existing Installation [​IMG]


    1.11) If using Hyper-V vm, create a checkpoint when Windows has shut down after Sysprep. Continue from Part Four below



    Part Two [/i] Custom W10 ISO with pre-installed software & pre-set user accounts
    Create Windows 10 ISO image from Existing Installation [​IMG]
    Warning Capturing install.wim from an existing installation only works on computers / virtual machines where all system elements and user accounts are located on Windows system partition C:.

    If any data is located on another drive, even a single file or folder be it a Save Game folder of a game or relocated Documents folder, OneDrive located on another drive and so on, the install.wim can be created but it will be corrupt. The ISO created from it will not install Windows.

    Use this method in Part Two only if your complete installation is on C: drive. You can for instance clean install Windows on a reference computer, create the user accounts you want to have, install your preferred software and so on, and only move system elements to other drives after you have installed Windows using your custom ISO.

    Create Windows 10 ISO image from Existing Installation [​IMG]
    Note This method will produce an ISO image which can be compared to any original Windows 10 ISO you download from Microsoft, apart from the fact that it already contains pre-installed software according to your choice and pre-set user accounts each which its settings, customisations and personalisations.

    ISO created will include all user profile folders and personal user files.

    As the settings and user accounts are pre-set, installation using this ISO will be faster than using a standard ISO because Windows don't have to run OOBE setup. Shorter install time, with pre-installed software (depending on the amount of personal files in user folders).

    This method is recommended if and only when the ISO will never be used to install Windows on any other computer than your own computers.

    Recommended: To speed up capturing install.wim in Part Four, and make installation using your customised ISO faster, move as much of personal user content from each profile folder to an external drive before proceeding. When ready, move the data back to respective user profiles.
    2.1) Create all user accounts you want to, signing once in to each account to create profile folders. Sign out from all new user accounts, sign in to your main local admin account

    2.2) Install / uninstall software as you prefer, update Windows fully.

    2.3) Run Extended Disk Clean-up, selecting and removing everything possible (tutorial)

    Create Windows 10 ISO image from Existing Installation [​IMG]
    Warning Removing all unnecessary files and folders like $WINDOWS.~BT after an upgrade, as well as emptying Recycle Bin is extremely important!

    2.4) Shut down the PC

    2.5) Continue from Part Four below



    Part Three [/i] Custom W10 ISO with pre-installed software, no user accounts
    Create Windows 10 ISO image from Existing Installation [​IMG]
    Note This method will produce an ISO image which can be compared to any original Windows 10 ISO you download from Microsoft, apart from the fact that it already contains pre-installed software according to your choice. It will also contain a customised and personalised default user profile, the base Windows uses whenever a new user profile will be created.

    Customised default user profile means that whenever a new user account is created, all customisations (Start tiles, File Explorer & desktop icon and view settings, colours, wallpaper, theme, screensaver and so on will be applied to new user profile instead of Windows defaults.

    Installation using this ISO will take somewhat longer than using a standard ISO because it not only contains full Windows setup, but also the pre-installed software. Notice that depending on how much space pre-installed software takes, you might not be able to burn this ISO to a standard 4.7 GB DVD disk but have to use a dual layer disk or a USB flash drive instead.

    ISO created will include no user profile folders, personal user data and files.

    This ISO image can be used on any hardware setup capable of running Windows and can be shared, subject to people you share the ISO with have valid licenses and / or activation keys for both Windows 10 and pre-installed software.
    3.1)
    Clean install your preferred Windows 10 build on your reference machine, a Hyper-V or other virtual machine or a spare physical computer. When installation stops first time after installation to wait user input, do not click anything. Instead, press CTRL + SHIFT + F3 to restart Windows in Audit Mode:

    Create Windows 10 ISO image from Existing Installation [​IMG]


    Alternatively follow steps 1.1 to 1.7 in Part One above, continue then from step 3.2 below

    3.2) Reconnect Ethernet / WiFi (physical machines) or external switch (Hyper-V virtual machines) to get Internet connection

    3.3) Install your preferred software, customise and personalise Windows, remove / add Start tiles as you wish (see Part Six Step 6.1), set your preferred group policies (group policies not available in Home and Single Language editions). Do not run any program you install!

    Notice that software installed now will be included in ISO install media, and will be pre-installed for all users on each computer you install Windows to using this custom ISO

    Create Windows 10 ISO image from Existing Installation [​IMG]
    Note If Windows on your reference machine is not activated, you cannot personalise it. In this case you need to modify Windows theme (wallpaper, screensaver, colours, sounds) as you wish on another, activated Windows 10 machine, save the theme as a theme file, copy it to unactivated reference machine and apply (double click). See this post for information in saving and sharing a theme file.

    Also notice that Edge as well as other UWP apps do not work when signed in to built-in admin account. If you need a browser to download software you have to use a third party browser or Internet Explorer. IE can be started from Run dialog by typing iexplore and clicking OK.
    3.4) Open Notepad, paste the following code to it, save it as File name: unattend.xml (exactly this name!) and Save as type: All files (important!) in C:\Windows\System32\Sysprep folder

    64 bit Windows:
    Code:
    32 bit Windows:
    Code:
    This so called answer file will be read for instructions when we run Sysprep (Windows System Preparation Tool) later on. This answer file is about as small as possible, the only component included in it is called CopyProfile which when set to TRUE copies all theme / desktop / Start tile and so on personalisations to default user profile, which will then be used as base profile whenever a new user profile will be created.

    3.5) Sysprepping with the Generalize switch as we will soon do, with component CopyProfile set to be TRUE in answer file has a small issue or rather a small inconvenience: it leaves the last used user folders and recent files of built-in admin to end user's Quick Access in File Explorer.

    To fix this, to reset Quick Access to defaults whenever a new user signs in first time, we need to run a small batch at first logon of new user, then remove the batch file itself from user's %appdata% so Quick Access will not be reset on any subsequent logon.

    Open an elevated (Run as administrator) Notepad (Notepad must be elevated to save in system folders), paste the following code to it, save it as File name: RunOnce.bat (or any name you prefer, with extension .bat) and Save as type: All files (important!) in
    %appdata%\Microsoft\Windows\Start Menu\Programs\Startup folder

    Code:
    The batch file explained:
    • echo Y | = Pipes (sends) a letter Y to the command given after the Pipe (|) character
    • del %appdata%\microsoft\windows\recent\automaticdestinations\* = Resets the Quick Access to defaults. This command expects the user to enter either Y for Yes or N for No. As the Y will be in this case piped, user interaction is not needed but instead the Y will be entered automatically
    • del %0 = Deletes the batch file itself after it has been run. Leaving this away, not deleting the batch file, would reset the Quick Access every time the user signs in
    3.6) Run Disk Management. Shrink C: partition with 10 to 15 GB, create a new partition using the freed space. This partition will be used later to store the captured image. Rename Windows partition as Windows, and the new image partition as Image. Create a new folder in this new partition, name the folder as Scratch. Later on when we boot reference machine from install media to capture image with DISM command, this folder will be needed to offer DISM enough temporary working space

    3.7)
    Delete all possible downloaded software installers and imported assets from File Explorer > Quick Access > Downloads folder. Run Extended Disk Clean-up, selecting and removing everything possible (tutorial)

    Hyper-V users, when disk has been cleaned create a checkpoint

    3.8) In Sysprep dialog still open on your desktop, select System Cleanup Action: Enter System Out-of-Box Experience (OOBE), select Shutdown Options: Shutdown, select (tick the box) Generalize, click OK:

    Create Windows 10 ISO image from Existing Installation [​IMG]


    3.9) Sysprep will now prepare Windows, shutting down machine when done. Continue from below (Part Four):

    Create Windows 10 ISO image from Existing Installation [​IMG]





    Part Four [/i] Capture Windows image (create custom install.wim)
    Steps 4.1 to 4.5 show how to do this on any physical or virtual machine.
    Alternative method for virtual
    machine users, see steps 4.6 to 4.13

    4.1) Boot the PC with Windows 10 install media. Use as recent install media as possible to ensure that DISM is most recent possible! In my case now, doing build 14986 ISO now, the most recent ISO / install media was build 14971.

    4.2) When you arrive the region and format selection, press SHIFT + F10 to open Command Prompt:

    Create Windows 10 ISO image from Existing Installation [​IMG]


    4.3) Enter command diskpart, press Enter (#1 in screenshot after step 4.4), enter command list vol (#2)

    This lists all volumes on your hard disks. Find the drive letters for your Windows system partition (in recovery console it's not always C!), and for the volume (disk / partition) where you want to write (store) the new customised install.wim file. You can capture image on any internal or external disk / partition as long as it is big enough to store the captured Windows image (it will be at least 5 GB and might be as big as 20 GB, depending on software installed).

    In my case now it is easy because I have labeled my partitions (tutorial) with clean and understandable names. I want to capture Windows from volume D labelled as Windows and create the new install.wim in volume E labelled as Image (#3).

    Exit diskpart with command exit (#4).

    4.4) Enter the following command to create a new install.wim file (#5):

    Code:
    In case copying the code from above CODE box is difficult, here's the command also in QUOTE box for easier copy & paste:

    Replace drive letter E in imagefile switch (green highlight in screenshot) with the drive letter and folder path of the target drive where you want your custom install.wim be written (saved), drive letter D in capturedir switch (blue highlight) with the Windows system partition, and temporarily working folder Scratch path (see step 3.6) with correct path as shown by diskpart in step 4.3:

    Create Windows 10 ISO image from Existing Installation [​IMG]


    The name given in /name switch in above command is irrelevant, we will name the ISO later on. Use any name you want to.

    4.5) Notice that this will take time, go get something to eat or a beer or whatever Create Windows 10 ISO image from Existing Installation ;)

    On my low end laptop this takes over 40 minutes, first half of it without any whatsoever progress indicator. On a mid level desktop it took today half an hour. DISM works somewhat faster if you don't use optional switches /checkintegrity and /verify but I would not recommend you to create install.wim without checking its integrity and verifying it.

    Don't panic! When done, restart the reference machine normally booting to desktop and jump to Part Five


    Steps 4.6 through 4.13 for virtual machine users only:

    4.6) On your host machine, open Disk Management (right click Start > Disk Management)

    4.7) Select Attach VHD from Action menu:

    Create Windows 10 ISO image from Existing Installation [​IMG]


    4.8) Browse to and select your reference virtual machine's VHD / VHDX file. If you have any checkpoints (AVHD / AVHDX files) created on this vm, select the one with most recent time stamp. Notice that you have to select show all files to be able to see checkpoint AVHD / AVHDX files:

    Create Windows 10 ISO image from Existing Installation [​IMG]


    4.9) Select (tick the box) Read-only (this is very important!), click OK:

    Create Windows 10 ISO image from Existing Installation [​IMG]


    Forgetting to select Read-only will especially when mounting a checkpoint AVHD / AVHDX file make it unusable for Hyper-V; you can use it for purpose of this tutorial but not boot the vm anymore in Hyper-V.

    4.10) Windows mounts the virtual hard disk, all its partitions as separate disk. In case of an MBR disk it even mounts the system reserved partition. Open the Windows system partition VHD to be sure that's the one where Windows is installed, note the drive letter your host assigned to it:

    Create Windows 10 ISO image from Existing Installation [​IMG]


    In my case now the WIndows system partition on my reference vm when mounted on host got drive ID K:

    4.11) Open an elevated Command Prompt, enter the following command to create a new install.wim file:

    Code:
    In case copying the code from above CODE box is difficult, here's the command also in QUOTE box for easier copy & paste:

    Replace drive letter D in imagefile switch (green highlight in above code box) with the drive letter and folder path of the target where you want install.wim be written, and drive letter K in capturedir switch (blue highlight) with the Windows system partition of your mounted VHD


    Create Windows 10 ISO image from Existing Installation [​IMG]


    The name given in /name switch in above command is irrelevant, we will name the ISO later on. Use any name you want to

    4.12) Notice that this will take time, go get something to eat or a beer or whatever Create Windows 10 ISO image from Existing Installation ;)

    On my low end laptop this takes over 40 minutes, first half of it without any whatsoever progress indicator. On a mid level desktop it took today half an hour. DISM works somewhat faster if you don't use optional switches /checkintegrity and /verify but I would not recommend you to create install.wim without checking its integrity and verifying it.

    4.13) When done, detach the VHD / VHDX or AVHD / AVHDX file from host by right clicking it in Disk Management and selecting Detach VHD:

    Create Windows 10 ISO image from Existing Installation [​IMG]


    As long as the virtual hard disk remains attached to host it cannot be used in Hyper-V making vm it belongs to unbootable.





    Part Five [/i] Create a bootable ISO
    5.1) Mount a recent official Windows 10 ISO you have as a virtual DVD with double click. I used an official Windows 10 version 1607 build 14393 ISO downloaded from Microsoft today when creating customised build 14986 ISO (EDIT: now three months later I used the same 14393 ISO when creating my own Insider Build 15055 ISO).

    Copy its content (everything) to a folder on any internal or external hard disk.

    Create Windows 10 ISO image from Existing Installation [​IMG]


    I always name this folder as ISO_Files. Alternatively copy the contents of a Windows 10 install USB or DVD to ISO_Files​.

    5.2) Browse to your custom install.wim created earlier in Part Four. Copy it to Sources folder under ISO_Files folder, replacing the original install.wim:

    Create Windows 10 ISO image from Existing Installation [​IMG]


    Create Windows 10 ISO image from Existing Installation [​IMG]
    Note If the ISO you used in step 5.1 to get ISO files is made with Windows Media Creation Tool, the ISO_Files\Sources folder contains an install.esd file instead of install.wim.

    In this case you will naturally not get "File exists" prompt. Simply delete the install.esd file and paste your custom install.wim to replace it.
    5.3) If your host machine is not opted in to Insider builds, download the latest Windows Assessment and Deployment Kit (ADK) for Windows 10: Windows ADK downloads - Windows Hardware Dev Center

    If your host has pre-release Windows Insider build installed, download Windows Insider Preview ADK instead: Windows Insider Preview ADK

    Full download of ADK is about 7.5 GB but luckily we only need Deployment Tools. Unselect everything else and click Install:


    Create Windows 10 ISO image from Existing Installation [​IMG]


    5.4) Start elevated (right click > More > Run as administrator) Deployment and Imaging Tools interface:

    Create Windows 10 ISO image from Existing Installation [​IMG]


    5.5) The path shown in prompt is annoyingly long. To shorten it and jump to root of drive C:, type cd\ and hit Enter. The cd command (abbreviation from Change Directory) changes the current working folder (directory), in this case to root of current drive (backslash \ = root, two dots .. = up one level).

    Enter the following command:

    Code:
    In case copying the code from above CODE box is difficult, here's the command also in QUOTE box for easier copy & paste:

    Create Windows 10 ISO image from Existing Installation [​IMG]


    Replace three instances of d:\iso_files (green highlight in above code box and screenshot) with drive and folder where you copied Windows installation files. Notice that this is not a typo: first two of these instances are typed as argument for switch -b without a space in between the switch and argument, to tell oscdimg command where to find boot files to be added to ISO.

    Replace d:\14986PROx64.iso (highlighted red) with drive and path where you want to store the ISO image plus your preferred ISO file name.

    Although the command seems a bit complicated, everything in it is needed. See more about oscdimg command line options: Oscdimg Command-Line Options




    Part Six [/i] Additional tips & information
    6.1) If you selected method in Part Two, ISO from existing installation, note that all existing user accounts will remain intact and will be reinstated when this ISO is used for a clean install.

    This means that when Windows Setup (OOBE) asks you to create initial user account, setup will not accept any username already present.

    To work around this, simply create a temporary user when setting up Windows after a clean install, naming it as you wish. When finally on desktop, sign out this temporary user, sign in to any existing old admin account and remove / delete the temporary user.

    6.2) If you selected method in Part Three, I suggest you customise Start tiles before running Sysprep. Remove tiles not needed, add your preferred ones.

    Notice that if left as is, after Sysprep when Windows is installed using your custom ISO Start needs some time to populate its default tiles. Users might see Start like this when they sign in first time:

    Create Windows 10 ISO image from Existing Installation [​IMG]


    The issue is a really minor one. Half a dozen not working tiles with only a down arrow which end user can remove and replace with preferred ones, or wait until Windows populates Start correctly. Default tiles will be fully populated and functional after a restart or two.

    Start will be fully functioning regardless if you customise it or not before Sysprep.

    Create Windows 10 ISO image from Existing Installation [​IMG]
    Tip
    Create Windows 10 ISO image from Existing Installation [​IMG]
    Information Please notice: Home and Single language editions do not have group policies required for this tip. Therefore this tip only applies to Windows 10 Pro, Education, Enterprise and LTSB editions.

    In case you want to all users to use a specific Start tile layout, modify Start as you wish before running Sysprep and export the layout in PowerShell with command
    Export-StartLayout C:\Windows\System32\CustomStart.xml.

    When exported, press WIN + R to open Run dialog, type gpedit.msc and hit Enter to open Group Policy Editor. On Navigation pane, browse to Local Computer Policy > Administrative Templates > Start Menu and Taskbar.

    Double click Start Layout on right pane, select Enabled, enter C:\Windows\System32\CustomStart.xml in Start Layout File, click OK to save policy.

    Create Windows 10 ISO image from Existing Installation [​IMG]


    Close Group Policy Editor.

    Your custom Start layout will now be forced to all user accounts.

    Notice: the save location C:\Windows\System32 and filename CustomStart.xml are only my suggestions. You can save the layout file anywhere (a folder that all users have access rights) and name it as you wish (extension must be .xml).

    6.3) The answer file used in Part Three Step 3.8 is the simplest possible, only to save the theme and desktop customizations to default user profile to be used in all user accounts. If you want to you can add some neat customisations. Don't hesitate to post your questions if there's something you'd like to include in answer file / customizations but don't know how.

    Here's an alternative answer file for a 64 bit ISO (replace red highlighted adm64 with x86 for a 32 bit ISO):

    Code:
    Let's see first the part in <OEMInformation> tags, highlighted green in above code box (list item numbers refer to screenshot below, showing what values various answer file components set):1.) OEM logo, must be a 120 x 120 BMP image, stored in C:\Windows\System32
    2.)
    Manufacturer
    3.) Support hours, a text string. In example I've set it to be "24/7" but you can use any string like "MON - FRI 09 - 17"
    4.) Support phone number
    5.) Link to online support

    And the blue highlighted components:
    6.) Registered owner
    7.) Registered organisation

    Create Windows 10 ISO image from Existing Installation [​IMG]

    (Click to enlarge.)

    For more detailed instructions on creating answer files, see this tutorial: Create media for automated unattended install of Windows 10 Windows 10 Tutorials

    6.3) Hyper-V users: Apply the checkpoint you made in step 1.3, 2.6 or 3.7, depending on which ISO method you chose. Next time you start the virtual machine it will start fast, going directly to desktop of your upgraded Windows 10 and is ready for the next build upgrade




    That's it!

    You have now a custom ISO image. Burn it to a DVD or USB. The ISO is bootable both in BIOS / MBR and UEFI / GPT systems.

    Kari


    Related Tutorials

    :)
     
    brummyfan, Dec 10, 2016
    #1
  2. trbogt Win User

    DRIVER_VERIFIED_DETECTED_VIOLATION and other BSOD errors on Windows 10.

    Then I would perform a 'Clean install' and have a new fresh system...

    download the newer version Windows 10 ISO...

    Suggest you format the drive after you create a USB or DVD boot disk from the ISO....

    *note you will have to re-install all your programs and stuff

    ++you also could just re-install Windows over your current system and 'keep your existing files'...but of course you may inherit any current bugs already existing.*john

    Windows 10 Tech Bench 10586 ISO


    Create Windows 10 ISO image from Existing Installation [​IMG]
     
    trbogt, Dec 10, 2016
    #2
  3. Andre Da Costa, Dec 10, 2016
    #3
  4. essenbe Win User

    Create Windows 10 ISO image from Existing Installation

    Great work Kari. That is more than real handy.
     
    essenbe, Dec 10, 2016
    #4
  5. dencal Win User
    Great work Kari....should I ever need it....a safety backup.
     
    dencal, Dec 10, 2016
    #5
  6. kado897 Win User
    Nice tut Kari.

    It looks like if you are using VirtualBox you will need to use a VHD format virtual disk rather than the native VDI.
     
    kado897, Dec 10, 2016
    #6
  7. Kari Win User
    Thanks geeks *Smile

    The Part Two: Custom W10 ISO with pre-installed software & pre-set user accounts is something I wholeheartedly recommend to home users who have the same set of software and same user accounts on every machine.

    Makes reinstalling and repairing home computers a piece of cake.

    Part One shows the correct method for those just needing a clean install media and want to pe prepared for repair install, whereas Part Three is for those like me who prefer as customised install media as possible, to avoid post install work.
     
  8. Kari Win User

    Create Windows 10 ISO image from Existing Installation

    Yes, I do not believe VDI can be mounted on W10 host? VHD can, for sure.
     
  9. Wynona Win User
    Thanks, Kari! This is much appreciated and more than welcome.

    One of your best.
     
    Wynona, Dec 10, 2016
    #9
  10. johngalt Win User
    Thanks, Kari, for making such a wonderful, detailed tutorial.
     
    johngalt, Dec 10, 2016
    #10
  11. fdegrove Win User
    Most impressive job, Kari. *Thumbs
     
    fdegrove, Dec 10, 2016
    #11
  12. Kari Win User
    Thanks guys and gals! Tried to make steps so easy to follow that everyone can follow them, interested in hearing when you test this.
     
  13. johngalt Win User

    Create Windows 10 ISO image from Existing Installation

    I am going to have to continue this later. I have bigger issues with my machine right now. Much bigger.

    BSODs with tcpip.sys, MB3 reverted to free version, and my 256 GB SSD drive where I move my \Users tree to says it has 144 GB used - impossible, there is nothing there - yesterday it was barely 30 GB used.

    Something is up....
     
    johngalt, Dec 10, 2016
    #13
  14. fdegrove Win User
    fdegrove, Dec 11, 2016
    #14
  15. Kari Win User
    Those answer file generators are really bad. My recommendation is to never use them. I've tested them, they leave you with an answer file which needs a lot of manual editing before you can use it.

    I wholeheartedly recommend you do (generate) your own answer files in case the example ones in tutorial are not what you want to use, tool for it Windows SIM (System Image Manager) was installed on your computer when you installed Windows ADK in Part Five of this tutorial, assuming that you installed the parts I recommended in step 5.3.

    Take a look of Part Five in this tutorial, it shows the basics in generating your first answer file with Windows SIM: Windows 10 Image - Customize in Audit Mode with Sysprep - Windows 10 Tutorials

    Check Windows SIM, I'm here ready to answer your questions about generating a working, valid and personal answer file. I do not claim to be an answer file authority, I am just saying I know enough in order to be able to assist in most cases.



    What is an answer file?
    Might be a good idea to talk a little bit more about answer file (also called unattended answer file) and its role in customisation. To start with, an answer file is a set of instructions in XML file format. These instructions are given with so called components, set to be run in various phases of Windows setup. There are 7 of these phases, called settings pass (screenshot from SIM):

    Create Windows 10 ISO image from Existing Installation [​IMG]

    Windows setup goes through each of the 7 settings passes, starting of course with settings pass 1 WindowsPE. I say of course because when clean installing Windows, there is no OS yet but an OS is needed to get Windows installed, a dilemma which is resolved by loading a mini OS (WinPE) to RAM disk and running it from there.

    When Sysprep is run and it finds a valid answer file, it does everything the file tells it to do, running each included component in answer file in appropriate settings pass. Sysprep keeps record of the setup phase and tells setup to do what's told in answer file.

    An example, the simple answer file in step 3.8 in this tutorial, We use Shell-Setup > CopyProfile component, setting its value to TRUE. CopyProfile must be added in settings pass 4 Specialize as in our example answer file:

    Create Windows 10 ISO image from Existing Installation [​IMG]

    (Click to enlarge.)
    Answer file structure and syntax are clear, you can write them manually, too, but using Windows SIM makes it easy. In above example we have set command CopyProfile with value TRUE (blue highlight in above screenshot) in component Shell-Setup tags (green), placing it in correct settings pass (yellow).

    Now when Windows setup arrives to settings pass 4 it get's this command to copy the built-in admin's user profile with all customisations and personalisations to default user profile (hidden profile folder C:\Users\Default). That's what CopyProfile do. Now whenever a new user account will be created and new user signs in first time, the default settings, customisations and personalisations will be copied from default profile to user profile.

    There are loads of components to be used in answer file, each component containing several commands, the above was just a simple example.
     
Thema:

Create Windows 10 ISO image from Existing Installation

Loading...
  1. Create Windows 10 ISO image from Existing Installation - Similar Threads - Create ISO image

  2. Create system recovery image from existing system image not created with Windows

    in Windows 10 Gaming
    Create system recovery image from existing system image not created with Windows: I have a Macintosh with Windows 10 running on Bootcamp that I was trying to upgrade, but unfortunately I accidentally corrupted the macOS Catalina partition while attempting to repartition the hard drive using Windows, which also corrupted the bootloader and rendered both...
  3. Create system recovery image from existing system image not created with Windows

    in Windows 10 Software and Apps
    Create system recovery image from existing system image not created with Windows: I have a Macintosh with Windows 10 running on Bootcamp that I was trying to upgrade, but unfortunately I accidentally corrupted the macOS Catalina partition while attempting to repartition the hard drive using Windows, which also corrupted the bootloader and rendered both...
  4. Create system recovery image from existing system image not created with Windows

    in Windows 10 Installation and Upgrade
    Create system recovery image from existing system image not created with Windows: I have a Macintosh with Windows 10 running on Bootcamp that I was trying to upgrade, but unfortunately I accidentally corrupted the macOS Catalina partition while attempting to repartition the hard drive using Windows, which also corrupted the bootloader and rendered both...
  5. Create Windows 10/11 ISO Image from Existing Installation

    in Windows 10 Gaming
    Create Windows 10/11 ISO Image from Existing Installation: Hello there! My name is Rufiq. It's the first time to create a post on Microsoft Community. I want to create Windows 11 or Windows 11 ISO Image from Existing Installation. What do you recommend for me?...
  6. Create Windows 10/11 ISO Image from Existing Installation

    in Windows 10 Software and Apps
    Create Windows 10/11 ISO Image from Existing Installation: Hello there! My name is Rufiq. It's the first time to create a post on Microsoft Community. I want to create Windows 11 or Windows 11 ISO Image from Existing Installation. What do you recommend for me?...
  7. creating iso to install windows

    in Windows 10 Installation and Upgrade
    creating iso to install windows: I am trying to create a Windows ISO file. I am using the windows media creation tool. I have a 500 GB SD card in order to download it onto. I have 25 GB free on my C: drive. I have directed the download to the SD card. After it downloads the OS and verifies it, it begins...
  8. Reinstalling Windows 10 from ISO image

    in Windows 10 Installation and Upgrade
    Reinstalling Windows 10 from ISO image: If I reinstall windows from ISO image and retain my files AND APPS is this the same as a clean reinstall? Will all my windows settings including networking be reset. So many adjustments have been made trying to set up my home network it is a mess....
  9. Creating a Windows 10 image from current install

    in Windows 10 Ask Insider
    Creating a Windows 10 image from current install: Hi Guys, I have an issue that I would need your help or suggestions with. I would like to create a Windows installation ISO or Media, which should be fully based on a current install. It contains some programs, drivers, custom fonts, and printer settings. I would like to...
  10. Create Windows 10 ISO image from other win10 iso files

    in Windows 10 Installation and Upgrade
    Create Windows 10 ISO image from other win10 iso files: Hi. I want a GUI program that i can choose from 2 or more win10 or other windows image files what i want and the final result would be one bootable iso file. Is there any GUI program for win7 that i can do these things? Please help me. 157126

Users found this page by searching for:

  1. microsoft windows it support create iso installation

    ,
  2. create a windows 10 iso image from existing installation