Using Windows Server License Manager Script or slmgr.vbs
Windows Server License Manager Script (slmgr) is the command prompt version of Microsoft licensing tools. Remove and replace your Windows key or license information and even extend trials for operating systems prior to Windows 10.