Monday 25 March 2019

View Licensing Status & Activation ID

 Find Windows Server 2003/2008/2012/2016 SID


#####################################################################
https://www.thewindowsclub.com/view-licensing-status-activation-id-windows-slmgr

To see the licensing status of your Windows 10/8/7 installation, open the Run box, type the following and hit Enter:
slmgr.vbs /dlv
The following dialog box will appear.
To get all the Activation IDs for the installed version of Windows, open the Run box, type the following and hit Enter:
slmgr.vbs /dlv al
Because of WMI changes in Windows 10/8/7 and Windows Server, the Slmgr.vbs script is not intended to work across platforms. Using Slmgr.vbs to manage a Windows 10/8/7 or Windows Server system from the Windows Vista operating system is not supported.
If you want the Windows operating system to attempt activation by using whichever key has been installed in the operating system, on a client computer, open a Command Prompt window, type the following command and hit Enter:
slmgr.vbs /ato
The /ato command helps in this case.
If you are looking for more Slmgr.vbs Options visit TechNet.

##########################################################
https://www.howtogeek.com/245445/how-to-use-slmgr-to-change-remove-or-extend-your-windows-license/ 

View the License Expiration Date

slmgr.vbs /xpr


Uninstall the Product Key

To remove uninstall the current product key, run the following command and then restart your computer:
slmgr.vbs /upk


Set or Change the Product Key

You can also change your product key from the Activation screen in the Settings app, but this command lets you do it from the command line.
slmgr.vbs /ipk #####-#####-#####-#####-#####

Activate Windows

You can also change your product key from the Activation screen in the Settings app, but this command lets you do it from the command line.
slmgr.vbs -ato

Extend the Activation Timer

slmgr.vbs /rearm













Change Product Key Windows Server 2019:
  1. To remove any existing product key (in case you used a trial key), enter and run the command slmgr.vbs /upk .
  2. Clear the product key from registry by running slmgr.vbs /cpky
  3. To enter your new product key, use the command: slmgr.vbs /ipk xxxxx-xxxxx-xxxxx-xxxxx where the x’s are your actual product key.
  4. Lastly, activate Windows by entering the command slmgr.vbs /ato