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>
This commit is contained in:
parent
a0c100ab08
commit
d3c52b3bf7
4 changed files with 48 additions and 17 deletions
16
static/scripts/activate-office.ps1
Normal file
16
static/scripts/activate-office.ps1
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
# activate-office.ps1 - one-shot Office KMS activation.
|
||||
#
|
||||
# The common case: activate an installed Volume License Office against the public
|
||||
# KMS host. Thin wrapper that runs kms-bootstrap.ps1 in Office-only mode (finds
|
||||
# ospp.vbs, installs the right GVLK if needed, then activates; if no VL Office is
|
||||
# present it offers to install the latest VL edition). Does NOT touch Project/Visio.
|
||||
#
|
||||
# Usage (PowerShell as Administrator):
|
||||
# iwr -UseBasicParsing https://kms.viktorbarzin.me/scripts/activate-office.ps1 | iex
|
||||
#
|
||||
# Source: https://kms.viktorbarzin.me/scripts/activate-office.ps1
|
||||
# Licence: MIT, no warranty, KMS activates Volume License SKUs only.
|
||||
|
||||
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
|
||||
$env:KMS_AUTO = 'office'
|
||||
iwr -UseBasicParsing https://kms.viktorbarzin.me/scripts/kms-bootstrap.ps1 | iex
|
||||
15
static/scripts/activate-windows.ps1
Normal file
15
static/scripts/activate-windows.ps1
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
# 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue