AnsiblePilot — Master Ansible Automation

AnsiblePilot is the leading resource for learning Ansible automation, DevOps, and infrastructure as code. Browse over 1,400 tutorials covering Ansible modules, playbooks, roles, collections, and real-world examples. Whether you are a beginner or an experienced engineer, our step-by-step guides help you automate Linux, Windows, cloud, containers, and network infrastructure.

Popular Topics

About Luca Berton

Luca Berton is an Ansible automation expert, author of 8 Ansible books published by Apress and Leanpub including "Ansible for VMware by Examples" and "Ansible for Kubernetes by Example", and creator of the Ansible Pilot YouTube channel. He shares practical automation knowledge through tutorials, books, and video courses to help IT professionals and DevOps engineers master infrastructure automation.

Create Windows 10 Pro Media with Microsoft's Official Tool and Ansible

By Luca Berton · Published 2024-01-01 · Category: installation

Learn how to use the Windows Media Creation Tool and automate tasks with Ansible to upgrade, install, or create bootable media for Windows 10 Pro.

Create Windows 10 Pro Media with Microsoft's Official Tool and Ansible

The Windows Media Creation Tool is a utility developed by Microsoft to simplify the process of downloading, installing, or upgrading to Windows 10 Pro. Combined with Ansible automation, it becomes an even more powerful tool for IT professionals, enabling seamless deployment and installation across multiple systems.

---

Key Features

Upgrade Assistant: Helps you upgrade your existing Windows version to Windows 10 Pro directly without requiring an intermediate installation file. Bootable Media Creation: Facilitates the creation of a bootable USB drive or DVD for fresh installations or repair. Customizable Installation: Allows you to select the Windows edition, architecture (32-bit or 64-bit), and language based on your preferences. ISO File Download: Provides an option to download an ISO image of Windows 10 Pro for manual installation. Automation with Ansible: Automate repetitive tasks such as ISO downloads, media creation, and installation using Ansible playbooks.

---

See also: Download Windows 10 Professional ISO File with Ansible

Why Use the Windows Media Creation Tool with Ansible?

Reliable Source: Directly downloads files from Microsoft servers, ensuring security and authenticity. Automation Capabilities: Use Ansible to automate downloading, verifying, and deploying media across multiple systems. Offline Installation: Supports creating offline installation media for systems without an internet connection. Batch Operations: Ansible allows managing and deploying Windows 10 Pro installations at scale.

---

How to Use the Media Creation Tool

Manual Steps

Download: • Visit the Microsoft Download Page. • Select the "Download Tool Now" button to get the utility. Run the Tool: • Open the downloaded executable (MediaCreationTool.exe). • Accept the license terms to proceed. Select Action: • Choose between: • Upgrade this PC now: Ideal for in-place upgrades. • Create installation media (USB flash drive, DVD, or ISO file): Best for fresh installations. Customize Settings: • Specify the desired language, edition (e.g., Windows 10 Pro), and architecture (32-bit, 64-bit, or both). Create Media: • Insert a USB drive or DVD and follow on-screen instructions to create bootable installation media. • Alternatively, save an ISO file for later use. Install or Upgrade: • Use the created media to boot your system and follow the installation prompts for Windows 10 Pro.

---

Automating with Ansible

Example Playbook for ISO Download

- name: Download Windows 10 Pro ISO
  hosts: localhost
  tasks:
    - name: Ensure download directory exists
      ansible.builtin.file:
        path: /opt/windows10
        state: directory

- name: Download ISO file ansible.builtin.get_url: url: "https://software-download.microsoft.com/ISO_URL" dest: "/opt/windows10/windows10pro.iso"

Example Playbook for Bootable USB Creation

- name: Create bootable USB
  hosts: localhost
  tasks:
    - name: Write ISO to USB
      ansible.builtin.command: dd if=/opt/windows10/windows10pro.iso of=/dev/sdX bs=4M status=progress

Example Playbook for Installation Deployment

- name: Deploy Windows 10 Pro
  hosts: windows_nodes
  tasks:
    - name: Copy installation media to target
      ansible.builtin.win_copy:
        src: "C:\\path\\to\\media"
        dest: "C:\\installation\\"
    - name: Run installation setup
      win_shell: "C:\\installation\\setup.exe /quiet /noreboot"

---

See also: Ansible for Windows: Complete Guide to Windows Automation (2026)

System Requirements for Windows 10 Pro

Processor: 1 GHz or faster compatible processor. • RAM: 1 GB for 32-bit or 2 GB for 64-bit systems. • Storage: At least 16 GB for 32-bit or 20 GB for 64-bit systems. • Graphics: DirectX 9 or later with a WDDM 1.0 driver. • Display: Minimum resolution of 800x600.

---

Tips for a Smooth Installation

Backup Data: Always create a backup of your data before upgrading or installing a new OS. Check Compatibility: Verify that your hardware supports Windows 10 Pro. Use Ansible: Leverage playbooks to reduce manual errors and speed up deployment. Keep Drivers Handy: Ensure you have the latest drivers for critical components like network adapters.

---

The Windows Media Creation Tool paired with Ansible automation is a game-changer for IT professionals. By combining the tool's flexibility with Ansible's efficiency, you can streamline upgrades and installations for Windows 10 Pro across multiple systems with ease.

See also: Automating Windows Installations with Ansible for IT Efficiency

Related Articles

how Ansible become works under the hoodrecursive permission changes with ansible.builtin.fileAnsible for Windows guide

Category: installation

Browse all Ansible tutorials · AnsiblePilot Home