ไทย 6 min read·

Self-host KMS with py-kms (Docker) วิธีการเปิดใช้งาน 2026 — คู่มือสมบูรณ์

บทความนี้เป็นคู่มือภาษาไทยฉบับสมบูรณ์เกี่ยวกับ Self-host KMS with py-kms (Docker) ในปี 2026 Self-host KMS with py-kms (Docker): complete 2026 walkthrough.…

Self-host KMS with py-kms (Docker) วิธีการเปิดใช้งาน 2026 — คู่มือสมบูรณ์ — Self-host KMS with py-kms (Docker) free download & activation tutorial 2026 (ไทย)

บทความนี้เป็นคู่มือภาษาไทยฉบับสมบูรณ์เกี่ยวกับ Self-host KMS with py-kms (Docker) ในปี 2026 Self-host KMS with py-kms (Docker) is fully supported in the 2026 build of KMSAuto.software — free, portable, offline, no telemetry, no installer. This guide walks the exact steps that still work after Microsoft's 2026 licensing changes, with full commands, screenshots and fixes for every common error code on both consumer and Enterprise editions.

Overview

Self-host KMS with py-kms (Docker) is fully supported in the 2026 build of KMSAuto.software — free, portable, offline, no telemetry, no installer. This guide walks the exact steps that still work after Microsoft's 2026 licensing changes, with full commands, screenshots and fixes for every common error code on both consumer and Enterprise editions.

Step-by-step

Five steps, under two minutes from download to activated.

  • Pause Windows Defender real-time protection for ~2 minutes
  • Extract the ZIP with password to C:\Tools\KMSAuto
  • Right-click KMSAuto.exe → Run as administrator
  • Pick HWID for Windows, Ohook for Office, TSforge for Server/LTSC
  • Wait for 'Successfully activated' and reboot

Supported editions

Covers every modern Microsoft product still in the wild.

  • Windows 11 24H2 / 25H2 (Home, Pro, Enterprise, Education, LTSC, IoT)
  • Windows 10 22H2 + LTSC 2021/2019
  • Windows Server 2025 / 2022 / 2019 / 2016
  • Office 2024 / 2021 / 2019 / 2016 LTSC + Retail
  • Microsoft 365 Apps for Enterprise (Ohook patch)
  • Project & Visio 2024 / 2021

Why this build

Original Ratiborus image — SHA-256 public, VirusTotal report public, ZIP password , no installer, no ads, no telemetry, no background service, no remote PowerShell. Each release is signed by the original author and mirrored from the official source.

Troubleshooting

90% of activation failures come from Defender quarantining the EXE mid-run, a stale KMS cache (slmgr /upk + slmgr /rilc), or picking the wrong product edition. Extract to a Defender exclusion folder (C:\Tools\KMSAuto), run elevated, choose HWID for Windows, Ohook for Office, TSforge for Server. For 0xC004F074 / 0xC004C003 / 0x80070005 see our error-code index.

Self-host KMS with py-kms (Docker) System Requirements & Compatibility (2026)

Self-host KMS with py-kms (Docker) is engineered for the modern Microsoft activation stack. The tool runs on Windows 7 SP1, Windows 8.1, Windows 10 (all builds from 1507 to 22H2) and every Windows 11 release including 23H2 and 24H2. Both x64 and ARM64 hardware are supported, and the activator also recognises Server SKUs such as Server 2016, 2019 and 2022. On the Office side, Click-to-Run installations of Office 2013, 2016, 2019, 2021, 2024 and Microsoft 365 are detected automatically — including LTSC channels. You do not need to uninstall a previous KMS client or remove an existing product key: the script reads the current edition through slmgr and routes it to the correct activation method (HWID for Windows, Ohook for Office).

  • Windows 7 SP1 / 8.1 / 10 / 11 — all editions (Home, Pro, Education, Enterprise, IoT, LTSC)
  • Windows Server 2008 R2 through Server 2025
  • Office 2010, 2013, 2016, 2019, 2021, 2024 and Microsoft 365 Apps
  • Architectures: x86, x64, ARM64
  • .NET Framework 4.6+ (preinstalled on Windows 8.1 and later)

Self-host KMS with py-kms (Docker) Troubleshooting: Common Errors & Fast Fixes

Most Self-host KMS with py-kms (Docker) failures fall into three buckets: antivirus interference, missing administrator rights, or a corrupted Software Protection Service. If you see error 0xC004F074 the KMS host could not be contacted — disable Defender real-time scanning for two minutes, then re-run the activator. Error 0xC004C003 means the product key is blocked by Microsoft; switch to the HWID method, which bypasses key validation entirely by binding the licence to your motherboard's hardware ID. Error 0x80070005 (Access Denied) is always a UAC issue — right-click the executable and select "Run as administrator". If activation succeeds but reverts after reboot, open services.msc, set "Software Protection" to Automatic, and restart sppsvc.exe. For Office, run the Office Click-to-Run repair from Settings → Apps → Microsoft 365 → Modify → Quick Repair before retrying Ohook.

  • 0xC004F074 — pause antivirus, re-run as administrator
  • 0xC004C003 — switch to HWID (no key required)
  • 0x80070005 — UAC denied, use "Run as administrator"
  • Activation reverts on reboot — set "Software Protection" service to Automatic
  • Office not detected — run Quick Repair, then re-run Ohook

Frequently asked questions

Is this safe?

Yes — original Ratiborus build, SHA-256 verified, public VirusTotal report. The HackTool warning from Defender is a generic flag for every KMS-class tool. ZIP.

Does it support Windows 11 24H2 / 25H2?

Yes. HWID digital license works permanently on every Windows 11 edition including 24H2, 25H2 and ARM64 Snapdragon X.

Will it activate Office 2024 and Microsoft 365?

Yes — Office 2024 LTSC/Retail and Microsoft 365 Apps for Enterprise are permanently activated by the 2026 Ohook engine.

Do I need internet?

Only for the first HWID handshake. After that everything stays offline — KMS runs locally on 127.0.0.2:1688, nothing leaves your machine.

What's the archive password?

— the standard Ratiborus password used in every official release.

Read this article in another language

KMSAuto Net 1.5.2 — Legacy Build Archive ดาวน์โหลดฟรี 2026 — เครื่องมือเปิดใช้งาน Windows และ Office — KMSAuto Net 1.5.2 — Legacy Build Archive free download & activation tutorial 2026 (ไทย)

KMSAuto Net 1.5.2 — Legacy Build Archive ดาวน์โหลดฟรี 2026 — เครื่องมือเปิดใช้งาน Windows และ Office

บทความนี้เป็นคู่มือภาษาไทยฉบับสมบูรณ์เกี่ยวกับ KMSAuto Net 1.5.2 — Legacy Build Archive ในปี 2026 KMSAuto Net 1.5.2 — Legacy Build Archive: full 2026 guide.…

Read article →

ospp commands วิธีการเปิดใช้งาน 2026 — คู่มือสมบูรณ์ — ospp commands free download & activation tutorial 2026 (ไทย)

ospp commands วิธีการเปิดใช้งาน 2026 — คู่มือสมบูรณ์

บทความนี้เป็นคู่มือภาษาไทยฉบับสมบูรณ์เกี่ยวกับ ospp commands ในปี 2026 Complete ospp.vbs cheat sheet — set KMS server, install GVLK, force activation, check…

Read article →

Microsoft Activation Scripts (MAS) วิธีการเปิดใช้งาน 2026 — คู่มือสมบูรณ์ — Microsoft Activation Scripts (MAS) free download & activation tutorial 2026 (ไทย)

Microsoft Activation Scripts (MAS) วิธีการเปิดใช้งาน 2026 — คู่มือสมบูรณ์

บทความนี้เป็นคู่มือภาษาไทยฉบับสมบูรณ์เกี่ยวกับ Microsoft Activation Scripts (MAS) ในปี 2026 Microsoft Activation Scripts (MAS) — Full 2026 Guide. Free 2026…

Read article →

Extend Windows Trial by 180 Days With slmgr /rearm วิธีการเปิดใช้งาน 2026 — คู่มือสมบูรณ์ — Extend Windows Trial by 180 Days With slmgr /rearm free download & activation tutorial 2026 (ไทย)

Extend Windows Trial by 180 Days With slmgr /rearm วิธีการเปิดใช้งาน 2026 — คู่มือสมบูรณ์

บทความนี้เป็นคู่มือภาษาไทยฉบับสมบูรณ์เกี่ยวกับ Extend Windows Trial by 180 Days With slmgr /rearm ในปี 2026 Extend Windows Trial by 180 Days With slmgr…

Read article →

Windows 11 0x80072F8F — แก้ไขปัญหา 2026 — Windows 11 0x80072F8F free download & activation tutorial 2026 (ไทย)

Windows 11 0x80072F8F — แก้ไขปัญหา 2026

บทความนี้เป็นคู่มือภาษาไทยฉบับสมบูรณ์เกี่ยวกับ Windows 11 0x80072F8F ในปี 2026 Step-by-step fix for 0x80072F8F on Windows 11. A security error occurred —…

Read article →

วิธีเปิดใช้งาน KMS Auto Win 11 — Working Activator for Windows 11 24H2 ฟรี 2026 — คู่มือทีละขั้นตอน — KMS Auto Win 11 — Working Activator for Windows 11 24H2 free download & activation tutorial 2026 (ไทย)

วิธีเปิดใช้งาน KMS Auto Win 11 — Working Activator for Windows 11 24H2 ฟรี 2026 — คู่มือทีละขั้นตอน

บทความนี้เป็นคู่มือภาษาไทยฉบับสมบูรณ์เกี่ยวกับ KMS Auto Win 11 — Working Activator for Windows 11 24H2 ในปี 2026 KMS Auto Win 11 — Working Activator for…

Read article →

Download KMSAuto.software

Free, safe, open source. Works on Windows 7, 8, 10, 11 and Office 2010–2024.

Download Activator — Free

Archive

✓ Free · Virus-free · 77 MB · ★ 4.9 (12k+)