kms-website/static/scripts
Viktor Barzin d11dc8c0ce kms-website: make activation scripts idempotent + harden Office detection
- Replace locale-dependent "License Status: Licensed" regex with a
  locale-independent WMI probe (SoftwareLicensingProduct.LicenseStatus==1).
  Fixes false "not licensed yet" reports on non-English Windows and on re-runs.
- Idempotent: always pin the KMS host, but skip /ato (Windows) and /act
  (Office) when already licensed — report days remaining instead of
  re-contacting the public KMS server.
- Find-Ospp now also checks Click-to-Run \root\Office16\ (+ \root\Office15\)
  layouts, not just the MSI Office16 path.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-06-01 08:53:20 +00:00
..
kms-bootstrap.ps1 kms-website: make activation scripts idempotent + harden Office detection 2026-06-01 08:53:20 +00:00
setup-kms.ps1 kms-website: make activation scripts idempotent + harden Office detection 2026-06-01 08:53:20 +00:00