This post shows you how to create a bootable ISO image from a folder using just the Windows Command Line Interface (CLI). The method discussed in this post eliminates the use of third-party software, which is why no paid software is needed, nor do you have to watch any advertisements that accompany a free tool. You can apply this method to create a .ISO file on the Windows command line if:

You have made changes to an existing ISO file after extracting it and want to recreate a modified ISO image.You want to share multiple files after converting them into a single, compressed file.You want to create a bootable ISO image.

Let us move on to see how to create an ISO image from a simple folder on a Windows PC. Although third-party software is not needed for the process, you must still install Microsoft Windows Assessment and Deployment Kit (ADK), formerly known as Windows Automated Installation Kit (Windows AIK). Windows ADK is a collection of tools that you can combine to prepare, assess and launch image-based large-scale Windows deployments. One of the Windows ADK components is the “Deployment tools,” which contains the OSCDIMG tool. The OSCDIMG is a command-line tool that you can use to create a custom ISO image of any folder using the Command Prompt. That said, we have divided this guide into 2 steps: These steps need to be performed in the chronological order mentioned since we will be using the OSCDIMG tool to create an ISO.

Install Windows ADK

Perform the following steps to install Windows ADK Deployment Tools: Windows ADK Deployment tools should now be available on your PC. Continue to learn how to use OSCDIMG to create an ISO image from a folder.

Create ISO File From Windows Command Line

Now follow these steps to create an ISO image using Window Command Prompt: You can now find the newly created ISO file at the designated location provided in step 4 above. If the contents inside the source folder were bootable, you can now use this ISO image to create a bootable drive and then use it. The default installation path for the OSCDIMG file is the following: Using this cmdlet and information, we changed the directory with the cmdlet in the following image:Change directory Replace PathToSource with the complete path to the folder you want to convert to an ISO image and DestinationPath to the location where you want to save the generated ISO file.

Closing Words

The internet is filled with other command-line tools and GUI-based tools that can be used to create an ISO image file. However, we used the OSCDIMG tool because it has been created by Microsoft, therefore it is reliable and free to use. We hope that this post enabled you to create ISO images quickly and efficiently without using third-party software. Also see:

Convert DMG to ISO on Windows, Mac, Linux and OnlineUltimate Guide To Creating Windows Preinstallation Environment (WinPE)How to Mount ISO Images in Windows 11/103 Ways to Convert ESD To ISO in WindowsHow to Add Language Packs to Windows 11/10 ISO Image (Offline)