└── README.md /README.md: -------------------------------------------------------------------------------- 1 | 5 | 6 | # AutopilotV2 7 | 8 | [![MEM Community — Official Community Tool](https://img.shields.io/badge/MEM%20Community-Official%20Community%20Tool-ffd700?labelColor=0b1220)](https://www.memcommunity.com/official-community-tool-oct) 9 | ![Platform](https://img.shields.io/badge/Windows-10%2F11-0078D6?logo=windows) 10 | ![Intune](https://img.shields.io/badge/Microsoft-Intune-5E5E5E?logo=microsoft) 11 | ![PowerShell](https://img.shields.io/badge/PowerShell-Graph-2B64B7?logo=powershell) 12 | ![Size](https://img.shields.io/badge/Size-~3%20MB-lightgrey) 13 | [![Issues](https://img.shields.io/github/issues/rafallz10100/AutopilotV2)](https://github.com/rafallz10100/AutopilotV2/issues) 14 | [![Stars](https://img.shields.io/github/stars/rafallz10100/AutopilotV2)](https://github.com/rafallz10100/AutopilotV2/stargazers) 15 | [![Release](https://img.shields.io/github/v/release/rafallz10100/AutopilotV2?display_name=tag)](https://github.com/rafallz10100/AutopilotV2/releases) 16 | 17 | **AutopilotV2** is a lightweight Windows application that **generates or imports `.csv` files into Microsoft Intune** for the **Windows Autopilot Device Preparation** process. 18 | 19 | > This project is **officially recognized by the Modern Endpoint Management (MEM) Community as an “Official Community Tool.”** 20 | > Learn more: https://www.memcommunity.com/official-community-tool-oct 21 | 22 | --- 23 | 24 | ## Table of Contents 25 | - [Features](#features) 26 | - [Requirements](#requirements) 27 | - [Installation](#installation) 28 | - [Usage](#usage) 29 | - [Import a `.csv` into Intune](#a-import-a-csv-into-intune) 30 | - [Generate a `.csv` (no import)](#b-generate-a-csv-no-import) 31 | - [If your system version isn’t compatible](#c-if-your-system-version-isnt-compatible) 32 | - [Screenshots](#screenshots) 33 | - [Troubleshooting & Permissions](#troubleshooting--permissions) 34 | - [Recognition](#recognition) 35 | - [Reporting Issues](#reporting-issues) 36 | - [Project Status](#project-status) 37 | 38 | --- 39 | 40 | ## Features 41 | - Import device serial numbers from a `.csv` directly into Intune 42 | - Generate a valid `.csv` locally (without importing) 43 | - Automatic detection/installation of **Microsoft.Graph.Authentication** and sign-in flow 44 | - Duplicate protection (checks if a serial number was previously imported) 45 | - Version compatibility check for **Autopilot Device Preparation** with a shortcut to Windows Update 46 | 47 | --- 48 | 49 | ## Requirements 50 | - Windows 10 or Windows 11 51 | - ~3 MB free disk space 52 | - Internet access (required for sign-in and import) 53 | - Appropriate permissions in Entra ID / Intune (e.g., permission to import devices for Autopilot) 54 | 55 | --- 56 | 57 | ## Installation 58 | - Download the repository (ZIP) or use the **Releases** section (if available). 59 | - Run the application on Windows 10/11. 60 | 61 | > **Note:** On first launch, the app checks for the **Microsoft.Graph.Authentication** PowerShell module and installs it if needed. 62 | 63 | --- 64 | 65 | ## Usage 66 | 67 | ### A) Import a `.csv` into Intune 68 | 1. Launch **AutopilotV2**. 69 | 2. Click **Import Serial Number**. 70 | 3. The app verifies **Microsoft.Graph.Authentication** (installs it if missing). 71 | 4. Sign in with your Microsoft credentials. 72 | 5. If you lack permissions, request them in **Entra ID** or ask an admin to consent on behalf of your organization (depending on your setup). 73 | 6. The app checks whether the serial number(s) were already imported. 74 | 7. The `.csv` is imported into Intune. 75 | 76 | --- 77 | 78 | ### B) Generate a `.csv` (no import) 79 | 1. Launch **AutopilotV2**. 80 | 2. Click **Export to CSV file**. 81 | 3. Notepad opens with the generated data. 82 | 4. Save the file or copy the contents. 83 | 84 | --- 85 | 86 | ### C) If your system version isn’t compatible 87 | 1. If your Windows build does not meet **Autopilot Device Preparation** requirements, the app will show a visible notice. 88 | 2. Click **Windows Update**. 89 | 3. The Windows Update settings window will open. 90 | 4. Install the required updates and retry. 91 | 92 | --- 93 | 94 | ## Screenshots 95 | 96 | **Import flow** 97 | ![AutopilotV2](https://github.com/user-attachments/assets/4feb9ed5-1338-4b2d-ac11-8caec93a2b6b) 98 | 99 | **Generate `.csv`** 100 | ![AutopilotV22](https://github.com/user-attachments/assets/1f6d2c4f-07c0-4ffc-b907-b7228800cef6) 101 | 102 | **Incompatible system notice** 103 | ![Device Preparation incompatibility](https://github.com/user-attachments/assets/892b7b49-d5ee-4128-8631-8a452c4ce023) 104 | 105 | **Windows Update prompt** 106 | ![Windows Update](https://github.com/user-attachments/assets/c4506c50-bef0-4100-aed4-a2b7b226d2ec) 107 | 108 | --- 109 | 110 | ## Troubleshooting & Permissions 111 | - Ensure your account has sufficient **Intune/Entra ID** permissions to import Autopilot devices. 112 | - If module installation fails, verify your PowerShell execution policy and network access to the PowerShell Gallery. 113 | - Re-run the app after applying updates or permission changes. 114 | 115 | --- 116 | 117 | ## Recognition 118 | This project is **officially recognized by the Modern Endpoint Management (MEM) Community as an “Official Community Tool.”** 119 | Learn more: https://www.memcommunity.com/official-community-tool-oct 120 | 121 | --- 122 | 123 | ## Reporting Issues 124 | Found a bug or have an idea for improvement? Open an issue: 125 | **https://github.com/rafallz10100/AutopilotV2/issues** 126 | 127 | --- 128 | 129 | ## Project Status 130 | Actively maintained and updated. 131 | --------------------------------------------------------------------------------