How can I check if Windows is activated from the command prompt or powershell?



As an IT administrator, you may often need to check whether Windows is activated or not. This can be done from the Command Prompt or PowerShell on Windows 10 and earlier versions.

The first step is to open the Command Prompt. You can do this by right-clicking on the Windows Start button and selecting Command Prompt (or PowerShell). Once opened, type in the following command:

slmgr.vbs -dli

This command will display basic information about your Windows installation, including the current activation status. If the activation is successful, it should say “License Status: Licensed.” If it says “License Status: Unlicensed,” then you will need to contact Microsoft to activate your copy of Windows.

If you need more detailed information, you can use the slmgr.vbs command with the -dlv flag, which will display additional information about the current activation status. This includes the License Status, the last time the activation was successful, the activation ID, and the remaining activation grace period.

If you need to manually activate Windows, you can use the slmgr.vbs command with the -ato flag. This will attempt to activate Windows using your current product key, or a KMS server if you are part of a business network.

Once you’ve checked your activation status, you can also use the slmgr.vbs command to manage your Windows license. This includes adding or removing product keys, managing the activation grace period, or activating a license server. Each of these tasks has its own specific command that you will need to use.

In summary, you can use the slmgr.vbs command from the Command Prompt or PowerShell to check if Windows is activated, as well as manage your Windows license. It’s a useful tool for IT administrators who need to ensure that their Windows machines are properly activated.

Inquire Now

Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
Find your next full or part-time role here

ScaleDesk can either help you find your next full time gig or a part time side gig where you can create extra income!

Onboard with us once
Skip HR screening and go to the final interview with with only your resume and a video interview you never have to redo
Get paid electronically every month for the hours you work
We will be your reference even if you work for us once

IT Teams: Use ScaleDesk to augment your team

Schedule Demo