Run Windows Activation troubleshooter by command (2024)

  • Article

Question

Tuesday, December 10, 2019 10:59 PM

Hi

I search a way to run the activation troubleshooter by command line.

Thanks in advance

All replies (4)

Wednesday, December 11, 2019 1:01 AM | 1 vote

In elevated CMD window Type “slmgr /ipk license-key” without the quotes. In place of license-key enter your windows license key.

See also:

https://powershell.org/forums/topic/run-windows-activation-troubleshoot/

S.Sengupta,Microsoft MVP Windows and Devices for IT, Windows Insider MVP

Wednesday, December 11, 2019 8:28 AM | 1 vote

Hi,

Microsoft Support Diagnostic Tool orMSDT.execan be used to invoke and launch anyWindows TroubleshootingPack or Troubleshooter from the command line.

Kindly refer to the following link and check if it works:

How to run Troubleshooter in Windows 10 from the command line

Note: This is a third-party link and we do not have any guarantees on this website. This is just for your convenience. And Microsoft does not make any guarantees about the content.

Have a nice day!

Kiki

Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

Wednesday, December 11, 2019 8:52 AM

Thank you.

What's the id, path or diagcab of the activation troubleshooter ?

Also "Get-TroubleshootingPack -Path "C:\Windows\Diagnostics\System\Pack" | Invoke-TroubleshootingPack" not working.

No ...\System\Pack directory

Friday, December 13, 2019 7:58 AM

Hi,

Sorry I overlooked that this command can only be used in the following three cases:

Run Windows Activation troubleshooter by command (1)

Kindly refer to the following link and check if something could helps:

https://support.microsoft.com/en-in/help/20527/windows-10-activation-troubleshooter

If that doesn’t solve your problem, I ’m sorry for my limited ability.

Let's look forward to some ideas from forum users.

Have a nice day!

Kiki

Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

Run Windows Activation troubleshooter by command (2024)

FAQs

How do I troubleshoot Windows activation issues? ›

Select Start > Settings > Update & Security > Activation , and then select Troubleshoot to run the Activation troubleshooter. For more info about the troubleshooter, see Using the Activation troubleshooter.

How to run troubleshooter with run command? ›

To run a troubleshooter:
  1. Select Start > Settings > Update & Security > Troubleshoot > Additional troubleshooters, or select the Find troubleshooters shortcut at the end of this topic, and then select Additional troubleshooters.
  2. Select the type of troubleshooting you want to do, then select Run the troubleshooter.

How to check Windows activation from command line? ›

A quick way to check your Windows activation status is to enter a command in Command Prompt. This will work with any version of Windows, from Windows 11 down to Windows Vista. Type slmgr /xpr and press ↵ Enter . After a few seconds, you'll see a pop-up window that displays your activation status.

How to fix activate Windows with CMD? ›

How to Activate Windows 10/11 with CMD
  1. You have to open the command prompt on your system first. Then, click and start and type "CMD". Now, run it as administrator.
  2. Type the following command. slmgr /ipk. slmgr /skms kms.xspace.in. Slmgr /ato. Now press enter. This command will activate your Windows 10/11.
Mar 15, 2024

How do I force Windows activation check? ›

Open PowerShell or the Command Prompt and type in: slmgr /xpr to see your activation status. Press Enter.

How do I reset Windows activation? ›

How To Reset Or Remove Windows Activation/ Remove License Key Using Command
  1. slmgr /upk. It stands to uninstall product key. The /upk parameter uninstalls the product key of the current Windows edition. ...
  2. Enter slmgr /upk and hit enter. Subsequently, wait for this to complete.
Jan 20, 2017

What command is used to troubleshoot? ›

Some of the basic network troubleshooting tools are as follows: Ping. Tracert/ Trace Route. Ipconfig/ ifconfig.

How to troubleshoot Windows through cmd? ›

Here is how you can do that:
  1. Boot into WinRE and head over to Repair your computer.
  2. Navigate to Troubleshoot > Advanced options.
  3. Choose Command Prompt from the list of options available.
  4. Once you are in the Command Prompt window, execute the following commands: bootrec /fixmbr bootrec /fixboot bootrec /rebuildbcd.
Mar 24, 2023

How do I troubleshoot Windows using Command Prompt? ›

Step 1: Launch Command Prompt as administrator. Step 2: Type chkdsk f: /f /x /r and press Enter (f: refer to drive f and you can replace it based on your needs). Then, it will start to scan for errors and repair them.

How to check Windows activation status using PowerShell? ›

It retrieves the license status of Windows products using the Get-CimInstance cmdlet.
  1. The license status is then evaluated through a switch statement, translating it into an exit code that represents different states of activation and licensing.
  2. It runs slmgr. ...
  3. The script parses the output of slmgr.
Mar 14, 2024

How to use slmgr? ›

What to Know
  1. Open Command Prompt and enter the desired slmgr command.
  2. Check activation status: slmgr /xpr. View license info: slmgr /dlv. Reset timers: slmgr /rearm.
  3. Several other slmgr commands also exist. Use a similar format for those.
Jun 14, 2023

How do Windows 10 activate permanently? ›

Activate Windows 10 for Free Using the Activation Setup
  1. Press Windows + I to open the Settings on your device.
  2. Navigate to the Update & Security section.
  3. Select Activation and click the "Change Product Key" menu to add a new product key.
  4. Now, enter the product key.
Mar 15, 2024

What does slmgr do? ›

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.

How to activate Windows using a batch file? ›

Follow the Step Below:
  1. Create New .txt File and Open the new file.
  2. Copy the code from gist and paste in the file.
  3. Save As the file as .bat extension with any name.
  4. Open the File as Administrator.
  5. When Command Prompt Open Press Enter then wait.
  6. Enjoy! 😀

What to do when Microsoft activation failed? ›

To restore all features of Office, you'll need to fix the problem that's causing activation to fail.
  1. Step 1: Sign in to Office with the right account. ...
  2. Step 2: Check for multiple copies of Office. ...
  3. Step 3: Check your subscription status. ...
  4. Step 4: Troubleshoot activation.

How do I enable Windows activation Service? ›

In this article
  1. Click Start, click Administrative Tools and then Server Manager.
  2. In the left navigation pane, right-click Features, and then click Add Features.
  3. On the Select Features pane, scroll down to Windows Process Activation Service.
  4. Select the check boxes for Process Model.
Jan 25, 2023

How to fix Windows 10 activation error code 0x803fa067? ›

Activating Windows by phone if the 0x803fa067 error persists
  1. Right-click the Windows logo in the taskbar to launch the Start menu. ...
  2. Enter the command “slui 4” and press Enter to run the command.
  3. In the menu that appears, choose your country. ...
  4. You'll be connected to an automated voice system.
Jan 3, 2023

How do I fix my Windows license expire soon? ›

Connect your Windows PC to the internet and follow these steps:
  1. Press Windows + R to open the Run dialog box.
  2. Type cmd and click OK.
  3. Type the following command and press Enter: slmgr /ato.
  4. You will see a dialog box confirming the Windows activation.
Mar 25, 2024

Top Articles
Latest Posts
Article information

Author: Roderick King

Last Updated:

Views: 6329

Rating: 4 / 5 (71 voted)

Reviews: 94% of readers found this page helpful

Author information

Name: Roderick King

Birthday: 1997-10-09

Address: 3782 Madge Knoll, East Dudley, MA 63913

Phone: +2521695290067

Job: Customer Sales Coordinator

Hobby: Gunsmithing, Embroidery, Parkour, Kitesurfing, Rock climbing, Sand art, Beekeeping

Introduction: My name is Roderick King, I am a cute, splendid, excited, perfect, gentle, funny, vivacious person who loves writing and wants to share my knowledge and understanding with you.