Skip to content

v2.0

Choose a tag to compare

@50bvd 50bvd released this 28 Feb 19:34
· 23 commits to main since this release
84c9b70

Changelog: v1 → v2

Comparison between kmsact.ps1 (v1) and kms-act_v2.ps1 (v2)


Added

  • Advanced User Interface:

    • Interactive menu with automatic system detection (Windows version, build, architecture).
    • Enhanced ASCII Art with colors and professional styling.
    • Detailed status messages (success/failure) with exit codes and execution time tracking.
  • Multi-Edition Windows Support:

    • Support for Pro, Education, Enterprise, Home editions with dedicated KMS keys.
    • Ability to switch Windows editions (e.g., Home → Pro).
  • Office LTSC 2021 Installation:

    • Automated download of the Office Deployment Tool (ODT).
    • Predefined XML configuration for installing Office, Visio, Project, and Access.
  • Maintenance Tools:

    • Full Office uninstallation.
    • Removal of activation keys (Windows + Office).
    • Scheduled task for monthly activation renewal.
  • Process Management:

    • Watch-Process (spinner + timeout) and Watch-Download (progress bar) functions.
    • Improved error handling and cancellation of stalled operations.

Modified

  • Code Structure:

    • Modular design with dedicated functions (Enable-Windows, Enable-Office, etc.).
    • Centralized global variables in $Global:Config for unified settings.
  • Windows Activation:

    • Replaced raw slmgr calls with cscript for stability.
    • Added automatic detection of the current Windows edition.
  • Office Activation:

    • Multi-version support (Office 15, 16, 32/64-bit) with automatic path detection.
    • Removed dependency on Initialize-OfficeLicense (integrated logic).
  • Security Enhancements:

    • Strengthened administrator rights checks.
    • Automatic cleanup of temporary files post-installation/uninstallation.

Fixed

  • Office Path Issues:

    • v1 assumed Office was installed in Office16. v2 checks all possible paths.
  • Critical Error Handling:

    • v1 lacked timeout mechanisms for stuck processes. v2 kills processes after 5 minutes.
  • User Feedback:

    • v1 displayed raw, unformatted messages. v2 uses color-coded statuses ([+], [-]).

Optimizations

  • Performance:

    • Parallel downloads and silent ODT extraction.
    • Reduced redundant registry calls.
  • Compatibility:

    • Explicit support for Windows 10 and 11 (auto-detection).
    • Added checks for 32/64-bit architectures.
  • Customization:

    • Option to manually set a custom KMS server via the menu.
    • Centralized configuration for keys and URLs in $Global:Config.

Removed

  • Redundant Code:
    • v1’s linear logic (if W/O/B) replaced with dynamic menus.
    • Simplified Office license activation (no more Push-Location/Pop-Location).

Release Notes

GitHub Link: https://github.com/50bvd/kms-act
Recommendations:

  • Run the script as Administrator.
  • Use option 5 for a clean Office LTSC 2021 installation.
  • Check menu 6 (Misc) for advanced tools (uninstall, custom KMS server).

This update delivers a complete overhaul for improved reliability, flexibility, and professionalism. 🚀