If your Windows Server 2012 R2/2022 is showing a trial version expiration message, or shutting down automatically, taking action is important to keep your system running. Here are some suggested steps:

 

Windows Server 2012 R2:
    1. Open a CMD As administrator
    2. Type the following command:
        DISM /online /Set-Edition:ServerDatacenter /ProductKey:W3GGN-FT8W3-Y4M27-J84CP-Q3VJ9 /AcceptEula
    3. Restart the System, the system should be now activated

Windows Server 2022:
    1. Open a Powershell Console (Search Menu > PowerShell)
    2. Type the following command:        irm https://massgrave.dev/get | iex
    3. An activation interface will show up.
    4. press the key number 7
    5. Press the key number 1
    6. Press the key number 1
    7. You will be asked if you want to restart, press Y
    8. Once restarted, do the Steps 1 & 2 again
    9. Press the key number 2
    10. Press the key number 2
    11. Wait for the confirmation, the system should be now activated
Was this answer helpful? 0 Users Found This Useful (0 Votes)