How to Create a Custom Windows 10 Image For Deployment | How to Make a Custom Windows 10 ISO

Virtual TechBox
3 Mar 202125:49

Summary

TLDRIn this Virtual Techbox tutorial, viewers learn to create a custom Windows 10 ISO, a bootable disk image for any Windows OS. The process includes running sysprep to reset the system, deleting user accounts except the local administrator, performing disk cleanup, and capturing a system image with DISM. The script guides through renaming drives, installing software, updating patches, and using the Windows Assessment and Deployment Kit to create the final ISO. The video concludes with a demonstration of installing the custom ISO on a virtual machine, showcasing preinstalled software and users.

Takeaways

  • πŸ–₯️ The video demonstrates how to create a custom Windows 10 ISO, which can be applied to various Windows operating systems.
  • πŸ”§ The process starts with running sysprep on a Windows 10 system to generalize the setup and prepare it for imaging.
  • πŸ‘€ It's essential to delete all user accounts except the local administrator account to ensure a clean slate for the ISO.
  • 🧹 Disk Cleanup is performed to remove unwanted files and optimize the system for imaging.
  • πŸ› οΈ Sysprep is used again to shut down the system, preparing it for the creation of the install.wim file.
  • πŸ“‚ The install.wim file is captured using DISM commands, which includes the complete Windows drive and a temporary scratch folder.
  • πŸ”„ The user is guided to create a new folder for the ISO files and to replace the existing install.wim file with the newly created one.
  • πŸ”§ The Windows 10 Assessment and Deployment Kit (ADK) is required for creating the ISO, and the video provides steps to download and install it.
  • πŸ’Ύ The final ISO is created using the Deployment and Imaging Tools, with specific commands provided in the video.
  • 🌐 The video concludes with a demonstration of the ISO file being used to install Windows 10 on a virtual machine, showcasing preinstalled software and users.
  • πŸ“’ The presenter encourages viewers to share the video, like it, and subscribe to the channel for more informative content.

Q & A

  • What is the purpose of creating a custom Windows 10 ISO?

    -The purpose of creating a custom Windows 10 ISO is to create a bootable image that includes specific settings, software, and user accounts, which can be used to deploy a consistent and personalized Windows 10 system on other machines.

  • Which Windows operating systems can be used to create a bootable ISO using the method described in the script?

    -The method can be used to create a bootable ISO for various Windows operating systems, including Windows Server 2019, Windows 10, Windows 8, and Windows 2016.

  • What is the first step in creating a custom Windows 10 ISO as per the video?

    -The first step is to run sysprep to generalize the Windows 10 system, which involves logging in as a local user, opening the command prompt, and executing sysprep with the necessary flags to reboot into the default local administrator account.

  • Why is it necessary to delete all user accounts except the local administrator account during the ISO creation process?

    -Deleting all user accounts except the local administrator account ensures that the resulting ISO is clean and does not contain any user-specific data or settings, which is important for creating a generic, reusable bootable image.

  • What is the role of disk cleanup in the ISO creation process?

    -Disk cleanup is used to remove unwanted files and free up space on the system drive. This step helps in creating a leaner and more efficient ISO by removing unnecessary files that are not needed in the bootable image.

  • What does the 'Enter System Out of Box Experience' option do in sysprep?

    -The 'Enter System Out of Box Experience' option in sysprep allows the system to go through the initial setup process, such as selecting language, keyboard layout, and network settings, each time the system is booted from the ISO.

  • How is the install.wim file created in the process of making a custom Windows 10 ISO?

    -The install.wim file is created by running the DISM (Deployment Image Servicing and Management) tool with the appropriate commands to capture the system drive's image and store it in the .wim format.

  • What is the significance of the 'scratch' folder created during the ISO creation process?

    -The 'scratch' folder serves as a temporary working directory for the DISM tool during the image capture process. It is used to store temporary files and is deleted after the process is completed.

  • Why is the Windows 10 ADK (Assessment and Deployment Kit) required to create a custom ISO?

    -The Windows 10 ADK is required because it provides the necessary tools, such as the Deployment and Imaging Tool, which is used to create and customize the ISO file by adding the install.wim image and other required files.

  • How can you verify that the custom ISO has been created successfully and includes the preinstalled software and users?

    -You can verify the successful creation of the custom ISO by booting a virtual machine or a physical machine using the ISO and checking for the presence of preinstalled software and pre-created user accounts.

Outlines

00:00

πŸ’» Introduction to Creating a Custom Windows 10 ISO

The video begins with a welcome message and introduces the topic of creating a custom bootable ISO for Windows 10. The narrator explains that the method applies to various Windows versions (Windows Server 2019, Windows 8, etc.). The process starts by using Sysprep on a Lenovo laptop running Windows 10. After logging in as the local administrator, the narrator proceeds to delete user accounts, run Disk Cleanup, and select specific system files for deletion. The process involves using Sysprep's 'Out of Box Experience' and generalizing the system before shutting it down.

05:04

🌐 Reboot and Setup of the Windows System

After Sysprep shuts down the system, the narrator powers it back on, selects region, keyboard layout, and WiFi settings, and creates a new user account with a password. They log in with the newly created account and walk through checking the installed software and updates. The narrator demonstrates renaming drives and creating a temporary 'scratch' folder on the D drive, which will be used later during the ISO creation process.

10:05

πŸ”§ Creating the install.wim File

The narrator describes rebooting the system using a bootable USB drive. Upon booting from the USB, the narrator opens the command prompt and uses Diskpart to list drives, identifying the Windows drive and Data drive letters. They run a command using DISM to capture the image of the Windows drive and save it as an install.wim file in the 'scratch' folder. This file will be used for creating the ISO image later in the process.

15:08

πŸ“‚ Copying and Preparing ISO Files

After capturing the install.wim file, the narrator exits the bootable USB environment and reboots the system. They navigate to the D drive to locate the install.wim file and temporarily move it. The narrator mounts a Windows 10 ISO and copies its content into a 'my_files' folder. The install.wim file is then pasted into the 'sources' folder of the ISO content, replacing the existing file. They proceed to download and install the Windows 10 Assessment and Deployment Kit (ADK) to prepare for the final ISO creation.

20:11

πŸ’Ύ Finalizing and Testing the Custom ISO

Using the ADK's deployment and imaging tool, the narrator begins creating the custom Windows 10 ISO. They provide the necessary command to generate the final ISO, which includes preinstalled software and user accounts from the original system. After the ISO is created, the narrator demonstrates its functionality by installing it on a virtual machine via VMware. The installation completes successfully, and the narrator confirms that all preinstalled software and user accounts have transferred correctly.

25:13

πŸ“’ Conclusion and Sharing the Knowledge

The video concludes with the narrator summarizing the entire process of creating a bootable ISO from a Windows system. They emphasize that the procedure works for various Windows versions. Viewers are encouraged to share the video with friends, subscribe to the channel, and await future videos. The narrator signs off with a thank you message.

Mindmap

Keywords

πŸ’‘Sysprep

Sysprep is a Microsoft tool used to prepare a Windows installation for imaging or deployment by generalizing the system and removing user-specific data. In the video, Sysprep is run to prepare the Windows 10 installation for creating a custom bootable ISO. The user initiates Sysprep to generalize the system before capturing the install image.

πŸ’‘Windows 10 ISO

An ISO file is a complete disk image of a file system. In this video, the main goal is to create a bootable Windows 10 ISO, which allows for reinstalling or deploying Windows. The video demonstrates step-by-step how to create a custom Windows 10 ISO from a running system, including capturing the system image and adding necessary files.

πŸ’‘Disk Cleanup

Disk Cleanup is a Windows utility that helps users free up space on their hard drives by deleting unnecessary files. In the video, the user performs a Disk Cleanup before capturing the system image, ensuring that unwanted files like log files and old Windows updates are removed to create a clean and efficient ISO.

πŸ’‘DISM

DISM (Deployment Imaging Service and Management Tool) is a command-line tool for servicing Windows images. In the video, DISM is used to capture the system image (install.wim) that will be included in the custom ISO file. This is a critical step in creating a bootable image that can be used for system deployment.

πŸ’‘install.wim

The install.wim file is a Windows image file that contains the installation data for Windows operating systems. In the video, the user creates an install.wim file from the current Windows system, which will later be added to the ISO file. This file holds all necessary information for reinstalling Windows on a new machine or VM.

πŸ’‘Bootable Pendrive

A bootable pendrive is a USB drive that contains the necessary files to boot and install an operating system. In the video, the user creates a bootable Windows 10 pendrive that is used to start the system and perform further tasks, such as capturing the install.wim file.

πŸ’‘Virtual Machine

A Virtual Machine (VM) is a software-based emulation of a physical computer. In the video, the user tests the custom Windows 10 ISO by creating a virtual machine using VMware. The ISO is mounted on the VM, and the user demonstrates the installation process on this virtual machine to verify that the custom ISO works correctly.

πŸ’‘Deployment Toolkit

The Windows Assessment and Deployment Kit (ADK) is a set of tools for customizing, deploying, and testing Windows operating systems. In the video, the user downloads and installs the ADK to gain access to deployment tools, which are necessary for creating the custom ISO file. The deployment tools help in building and managing Windows images.

πŸ’‘Command Prompt

The Command Prompt is a command-line interpreter in Windows that allows users to execute commands. Throughout the video, the user frequently utilizes the Command Prompt to run various commands, such as Sysprep, DISM, and others, to create the custom ISO. It plays a central role in executing the steps needed to capture the system image.

πŸ’‘Generalize

In the context of Sysprep, generalizing refers to removing system-specific data, such as unique security identifiers (SIDs) and user profiles, from a Windows installation. In the video, the generalize option is checked to prepare the system for deployment, ensuring the captured image is free from unique identifiers that could cause issues when deployed on different hardware.

Highlights

Introduction to creating custom bootable ISO for Windows systems, including Windows 10, Windows 8, and Windows Server.

Step-by-step guide on using Sysprep to audit and reboot the system into the default local administrator account.

Deleting all user accounts except the local administrator to prepare the system for ISO creation.

Using Disk Cleanup to remove unnecessary files, including older versions of Windows, to free up space.

Sysprep is used to generalize the system and shut down before creating the bootable ISO.

After rebooting, the system is set up for personal use, and new users and passwords are configured.

Creating a scratch folder on the D drive for temporary use during the install.wim file creation process.

Using DISM command to capture the Windows drive and save the install.wim file in the scratch directory.

Mounting the Windows 10 ISO and replacing the original install.wim file with the newly created one.

Downloading and installing the Windows 10 Assessment and Deployment Kit (ADK) to proceed with ISO creation.

Running the Deployment and Imaging Tool to finalize the Windows 10 ISO creation.

Successfully generating the custom Windows 10 ISO, which can be used to install on virtual machines or other systems.

Demonstration of installing the custom ISO on a VMware Workstation virtual machine, including preinstalled software and users.

Verifying that the ISO-created virtual machine contains all preinstalled software and user accounts from the original system.

Final notes: The same method can be applied to create bootable ISOs for other Windows systems like Windows 8, Windows Server 2016, and 2019.

Transcripts

play00:00

Hello Friends, Welcome to Virtual Techbox youtube channel

play00:03

In today's video, I will show you how to create the custom windows 10 ISO

play00:08

or you can say

play00:10

how to create the bootable ISO of the Windows 10 running system

play00:17

you can use this method

play00:19

for creating the bootable iso of any windows running system

play00:25

whether it is windows server 2019, windows 10, windows 8, or windows 2016

play00:32

let's start

play00:34

this is my Lenovo laptop having windows 10 installed on it

play00:40

I will go to run

play00:44

and I will type cmd, enter

play00:48

this is the user, local user through which I have logged in to my windows 10 system

play00:56

the first step we have to run the sysprep for that I will go to run

play01:01

I will type here the %windir%

play01:09

backslash

play01:12

system32

play01:14

backslash

play01:19

sysprep

play01:21

backslash sysprep.exe

play01:26

space forward-slash

play01:28

audit space

play01:31

forward-slash reboot

play01:33

and

play01:35

once I hit the ok

play01:37

it will reboot my system and it will take me to the

play01:41

default local administrator account

play01:47

I will press ok here

play01:50

sysprep is working

play01:54

it is now restarting my windows 10 system

play02:10

sysprep has brought us to the default local administrator account

play02:19

I will provide the password for administrator

play02:28

you can see here sysprep window is already open

play02:33

at this step we have to delete all the user accounts except local administrator account

play02:43

for that,I will go to start

play02:47

and I will search the control panel

play02:55

small icon

play02:57

I will go to user accounts

play03:03

manage other accounts

play03:06

this is my user account, I will select this

play03:12

and will select the delete files

play03:15

delete account

play03:20

user accounts have been deleted from my system and only local administrator account is present

play03:28

I will close this

play03:31

now we have to run the disk cleanup

play03:34

for that, I will go to run

play03:36

and I will type here cleanmgr

play03:40

and I will press the ok

play03:44

I will select the C drive, ok

play03:51

and here you can select all unwanted files which you want to delete

play03:57

log files, downloaded program files

play04:00

and here you can delete the

play04:03

older version of windows also if it is available in your system

play04:12

I will select all the unwanted files which I want to delete

play04:21

ok

play04:26

I will confirm to delete files

play04:31

disk cleanup is working

play04:33

it will now delete all the unwanted files from my system, from my C drive

play04:38

whichever I had selected

play04:43

disk cleanup has completed

play04:45

now on the sysprep windows

play04:49

in the first drop down I will select the Enter System Out of Box Experience

play04:54

and I will tick the generalize

play04:59

and here I will drop down and select the shutdown

play05:03

I will press the ok

play05:05

now sysprep will be executed and it will shut down my system

play05:14

I will power on my system

play06:00

I will select my region

play06:12

I will select my keyboard layout

play06:27

accept

play06:32

I will select my wifi network

play06:35

I will enter the password for the wifi

play06:43

connect

play06:49

next

play06:58

setup for personal use

play07:02

next

play07:07

offline account

play07:11

limited experience

play07:16

I will provide username here

play07:21

next

play07:24

I will set the password for my username

play07:27

next

play07:30

I will confirm the password here

play07:35

next

play07:37

I will type the hint here

play07:39

for my password, next

play07:47

skip for now

play07:50

yes

play07:53

accept

play08:20

we have now successfully logged in to our account

play08:24

which we have recently created

play08:27

at this stage

play08:31

you can create all the users whichever you want to

play08:34

whichever you want in your system

play08:37

just do the login-logout once in your user

play08:41

install all the required software in the system whichever you want

play08:46

update your windows to the latest patches

play08:51

I will go to run, I will type here cmd, ok

play08:56

this is the username through which I have logged in to my windows 10 system

play09:01

I will go to This PC

play09:06

C drive

play09:09

I will go to users

play09:13

these are all the users which are created in my system

play09:19

I will close this

play09:22

I will again go to run, I will type here appwiz.cpl

play09:27

these are all the software installed in my system

play09:31

I will go to view installed updates

play09:35

these are all the patches installed in my windows 10 system

play09:44

I will close this

play09:49

you can see here I have renamed my C drive as Windows

play09:53

and I have renamed my D drive as Data

play09:57

I will go to D drive

play10:00

and I will make one new folder here

play10:04

and I will give the name scratch

play10:08

this would be used as

play10:12

this would be used temporarily during the creation of install.wim file

play10:17

I will close this

play10:21

I will again go to This PC, you can see here I have also connected the

play10:26

Windows 10 bootable Pendrive to the system

play10:30

I will now reboot my system and I will boot it

play10:33

through the bootable Pendrive

play10:35

which I have connected to my system

play10:39

I will restart my system

play10:49

I will press F12

play10:52

to interrupt the boot process

play10:54

and to go to boot manager

play10:56

I will go to my USB drive

play10:59

and I will hit enter

play11:02

I will press any key to boot from USB

play11:14

at this stage, you have to press the

play11:18

Shift+F10

play11:20

to open the command prompt

play11:23

I will maximize this

play11:27

I will type the diskpart

play11:41

now I will type the list vol

play11:47

you can see here

play11:49

the letter for the windows drive is F and the letter for the Data drive is E

play12:04

I will type exit and press enter

play12:12

now I will type the command

play12:15

dism space slash capture image

play12:29

slash imagefile colon

play12:39

E colon

play12:41

backslash install.wim

play12:47

space

play12:58

during this step install.wim file would be created

play13:02

after this, I will give the space slash capturedir

play13:12

colon F

play13:14

colon

play13:21

backslash which means complete windows drive would be captured

play13:30

and install.wim file would be created

play13:36

after this

play13:43

I will give the space

play13:45

forward-slash

play13:48

scratch dir

play13:52

colon

play13:55

E colon backslash

play13:59

scratch

play14:01

space

play14:08

slash name colon

play14:12

I will give the iso name

play14:15

this is not important here, it will be actually used in next step

play14:21

while creating the iso

play14:24

after this, I will give the space

play14:34

slash

play14:36

compress colon maximum

play14:46

space

play14:48

slash checkintegrity

play14:54

space

play14:56

verify

play14:58

space bootable

play15:07

this is the location of

play15:11

install.wim file which would be created

play15:14

and this is the windows directory

play15:19

which would be captured

play15:21

and this is the scratch folder location

play15:25

which would be used temporarily

play15:30

I will hit enter

play15:32

and it will start saving the image

play15:41

install.wim image is about to complete

play15:50

operation has completed successfully and image has been saved.

play16:00

I will close the command prompt

play16:03

I will close this window also, Yes

play16:08

which will cancel the installation process and it will boot my system normally

play16:15

through the OS

play16:29

system has booted and OS screen is there

play16:35

I will provide password for my username

play16:39

to login to the windows

play16:42

I have successfully logged in to my windows

play16:46

I will go to This PC, I will go to D drive

play16:50

and this is the install.wim file

play16:54

which was created in previous step

play16:58

and it is the scratch folder which was temporarily used

play17:07

I will close this

play17:13

I will again go to This PC

play17:19

I will go to D drive

play17:21

and I will make the new folder here

play17:24

with the name my_files

play17:33

I will go back to This PC

play17:38

I will go to E drive

play17:40

and this is the windows 10 iso

play17:43

I will right-click and mount it

play17:48

I will go back to This PC

play17:51

I will open the mounted iso

play17:53

I will select all and I will copy the all content

play17:59

I will go to This PC, I will go to D drive

play18:02

I will go to my_files folder

play18:04

and I will paste the content copied here

play18:14

I will go to D drive

play18:16

and I will cut the install.wim file

play18:23

I will go to my_files

play18:25

sources

play18:27

and I will paste it here

play18:32

one install.wim file is already present here

play18:36

so it will ask me to replace

play18:42

I will go ahead and confirm the replacement of file

play18:53

I will open the browser, I will go to google.com

play18:56

and I will search the windows 10 assessment and deployment kit

play19:00

I will open this link

play19:04

and I will download this adk setup

play19:09

for the windows 10 version 2004

play19:14

I will open the folder

play19:16

I will

play19:19

right-click on adk setup

play19:22

and I will do the run as administrator

play19:29

next

play19:32

next, accept

play19:35

I will untick all other options here

play19:39

and I will keep the tick only on deployment tools

play19:45

I will

play19:47

Click on install and I will complete the installation

play19:51

of the adk

play19:55

adk setup has been installed

play19:57

I will go to start and I will search here deployment and imaging tool

play20:02

I will right-click, and run as administrator

play20:07

to open it

play20:10

here I will type the cd backslash

play20:17

to go to C drive directly

play20:21

here I will give this command

play20:25

this is the my_files folder path

play20:29

and this would be the windows 10 iso name

play20:33

which is going to be created in this step

play20:40

I will copy the complete command

play20:47

I will paste here and I will hit the enter

play20:52

windows 10 iso creation is in progress

play20:59

all the commands used in this video I will provide in the description

play21:09

once this step is completed, we will get the windows 10 iso

play21:17

the final iso

play21:32

windows 10 iso creation has completed here

play21:42

I will go to This PC

play21:44

I will go to D drive

play21:47

and this is the windows 10 iso

play21:52

which is created in this step

play21:58

this is my main system

play21:59

having the VMware workstation installed

play22:08

and this is the windows 10 iso file which I have copied

play22:12

created in the last step

play22:15

and on the vmware workstation, I have created this virtual machine

play22:22

with the 20 GB hard disk

play22:24

I will go to edit-setting of the virtual machine

play22:28

I will go to cd/dvd drive

play22:32

and I will mount the iso which I had copied

play22:37

ok

play22:40

I will power on the virtual machine

play22:44

it will start the operating system installation from the iso

play22:54

next

play22:57

install now

play23:02

accept

play23:04

next, custom

play23:07

new

play23:08

apply, ok

play23:13

next

play23:16

it has started the operating system installation

play23:19

from the iso

play23:21

which we had connected to the cd-dvd drive

play23:27

it is restarting here to complete the installation

play23:34

after the restart, it will boot directly to the operating system

play23:49

here you can see our virtual machine has successfully booted to the operating system

play23:56

which is having the preinstalled software and pre-created users

play24:03

I will give the password for my username

play24:12

I have successfully logged in to the

play24:16

virtual machine

play24:18

to which we have just installed the operating system

play24:23

through iso

play24:26

I will go to start

play24:30

and I will go to run

play24:34

I will enter on the run

play24:39

I will type here appwiz.cpl, I will click ok

play24:44

these are all the preinstalled software from my original system

play24:50

which got installed in this virtual machine through the iso

play24:55

I will close this

play24:58

I will go to This PC

play25:01

I will right-click on the iso and eject this

play25:05

I will go to C drive

play25:07

I will go to users

play25:09

these are all the pre-created users

play25:12

from my original system, I will close this

play25:17

by this way you can create the bootable iso

play25:21

from any Windows system

play25:24

whether it windows 10, windows 8

play25:27

windows server 2016 or windows server 2019

play25:30

procedure would be the same

play25:34

Share this video with the friends and spread the knowledge

play25:40

Like this video, Subscribe to Channel

play25:45

I will see you in the next video

play25:46

Thank You for Watching.

Rate This
β˜…
β˜…
β˜…
β˜…
β˜…

5.0 / 5 (0 votes)

Related Tags
Windows 10Custom ISOBootable SystemSysprepDisk CleanupDeploymentADKVirtual MachineSoftware SetupUser Accounts