Windows Activation: Difference between revisions

From UMIACS
Jump to navigation Jump to search
No edit summary
No edit summary
Line 14: Line 14:
#: [[Image:Uac.jpg]]
#: [[Image:Uac.jpg]]
# From the Command Prompt, run these commands in order:  
# From the Command Prompt, run these commands in order:  
#: Windows 10/11:<pre>cscript c:\windows\system32\slmgr.vbs -ipk NPPR9-FWDCX-D2C8J-H872K-2YT43&#10;cscript c:\windows\system32\slmgr.vbs -skms kms.umd.edu:1688&#10;cscript c:\windows\system32\slmgr.vbs -ato</pre>
#: Windows 10/11:<pre>cscript c:\windows\system32\slmgr.vbs -skms kms.umd.edu:1688&#10;cscript c:\windows\system32\slmgr.vbs -ipk NPPR9-FWDCX-D2C8J-H872K-2YT43&#10;cscript c:\windows\system32\slmgr.vbs -ato</pre>
#: [[File:CMDScreenShot.png]]
#: [[File:CMDScreenShot.png]]
# After these commands have run, the Key Management Server should have activated your Windows computer. You can also run: <pre>cscript c:\windows\system32\slmgr.vbs -xpr</pre> to see when the current activation expires.
# After these commands have run, the Key Management Server should have activated your Windows computer. You can also run: <pre>cscript c:\windows\system32\slmgr.vbs -xpr</pre> to see when the current activation expires.


'''If you are unable to activate, please see the message at the top of this section.''' If you are still unable to activate, and the computer you are attempting to activate is owned by the Institute for Advanced Computer Studies, please contact [[HelpDesk | UMIACS staff]] with information about your problem. Otherwise, please contact the [https://itsupport.umd.edu/itsupport Division of IT].
'''If you are unable to activate, please see the message at the top of this section.''' If you are still unable to activate, and the computer you are attempting to activate is owned by the Institute for Advanced Computer Studies, please contact [[HelpDesk | UMIACS staff]] with information about your problem. Otherwise, please contact the [https://itsupport.umd.edu/itsupport Division of IT].

Revision as of 18:57, 12 November 2021

Windows Licensing

Windows uses an activation model for each UMD-licensed install. The installs will have to verify activation every 180 days. Activation and renewal is performed via the campus Key Management Server KMS, which is not available from off campus. For onsite desktops, this is not a problem. However, for laptops or home machines it poses a complication. As long as the laptop or home machine is periodically on the campus wireless or connects to the UMIACS or campus VPN, renewal activation will be performed automatically.

Please follow the below steps if you are receiving a message that your license is going to expire soon or that Windows is not activated.

Activation

Please note that you need to be connected to either the wired campus network, campus WiFi, the campus VPN, or the UMIACS VPN to activate. The below steps will assume you have already established a network connection. Please also note that your time must be correct (i.e. set via the Internet) and set to the US Eastern timezone for this to work. You can try running w32tm /resync on the command line below in step 4 before running the other commands listed in that step to resync your time if the commands fail at first.

  1. Click the Windows button and type "cmd" in the run bar.
    Windows bar.png
  2. Right-Click on the cmd button, and select "Run as Administrator" - THIS IS VERY IMPORTANT!
    Example.jpg
  3. Select "Yes" when it asks if you want to allow the following program to make changes.
    Uac.jpg
  4. From the Command Prompt, run these commands in order:
    Windows 10/11:
    cscript c:\windows\system32\slmgr.vbs -skms kms.umd.edu:1688
    cscript c:\windows\system32\slmgr.vbs -ipk NPPR9-FWDCX-D2C8J-H872K-2YT43
    cscript c:\windows\system32\slmgr.vbs -ato
    CMDScreenShot.png
  5. After these commands have run, the Key Management Server should have activated your Windows computer. You can also run:
    cscript c:\windows\system32\slmgr.vbs -xpr
    to see when the current activation expires.

If you are unable to activate, please see the message at the top of this section. If you are still unable to activate, and the computer you are attempting to activate is owned by the Institute for Advanced Computer Studies, please contact UMIACS staff with information about your problem. Otherwise, please contact the Division of IT.