This article explains how to enter slmgr commands in Windows to enable advanced Windows activation tasks.
While Slmgr.vbs is stored in the System32 and SysWOW64 folders, commands related to the file must be entered at the command prompt.
Once you open the command prompt, enter the desired slmgr command as shown in these examples:
Use this slmgr command to see if Windows is activated. You will see a message that Windows is activated if it is, or a date if it is not permanently activated, or an error if no product key was provided.