kms-website/static/scripts/activate-windows.ps1
Viktor Barzin d3c52b3bf7 kms-website: dedicated activate-windows / activate-office one-liner commands
The two most common operations now have clean, key-free commands (no
$env:KMS_AUTO prefix) that delegate to kms-bootstrap.ps1:
  iwr .../scripts/activate-windows.ps1 | iex
  iwr .../scripts/activate-office.ps1  | iex
activate-office is Office-only (Project/Visio excluded — bundling them would
prompt to *install* products you don't have, given the new install-offer).
Quick Start now leads with these two; the interactive bootstrap stays as the
"activate everything" option. Dropped the redundant KMS_AUTO combo cards.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-06-01 19:15:10 +00:00

15 lines
744 B
PowerShell

# activate-windows.ps1 - one-shot Windows KMS activation.
#
# The common case: activate this Windows install against the public KMS host.
# Thin wrapper that runs kms-bootstrap.ps1 in Windows-only mode (auto-detects
# the edition, fetches + installs the right GVLK if needed, then activates).
#
# Usage (PowerShell as Administrator):
# iwr -UseBasicParsing https://kms.viktorbarzin.me/scripts/activate-windows.ps1 | iex
#
# Source: https://kms.viktorbarzin.me/scripts/activate-windows.ps1
# Licence: MIT, no warranty, KMS activates Volume License SKUs only.
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
$env:KMS_AUTO = 'win'
iwr -UseBasicParsing https://kms.viktorbarzin.me/scripts/kms-bootstrap.ps1 | iex