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.
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.
- Open the downloaded executable (
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.
- Choose between:
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"
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.
Subscribe to the YouTube channel, Medium, and Website, X (formerly Twitter) to not miss the next episode of the Ansible Pilot.Academy
Learn how to automate Windows installations with Ansible in my Udemy 300+ Lessons Video Course.
My book Ansible By Examples: 200+ Automation Examples For Linux and Windows System Administrator and DevOps
Donate
Support this project: Patreon Buy me a Pizza