i need help how to activate my window 10
Powershell Command to Activate Windows from pulled license
Looks like
$Key = (Get-WmiObject -query ‘select * from SoftwareLicensingService’).OA3xOriginalProductKeyslmgr.vbs -ipk $Key
...does it! Thanks for being my open forum, lol.
More on reddit.comhow to activate my windows even thought i have the product key and remove the error
how to activate my windows 10
how to activate my window
i need help how to activate my window 10
Hello olwa solomon,
Welcome to the Microsoft Community.
Thank you for your feedback. I understand that you are having issues activating your system. Could you please let me know how you obtained your Windows 10 Pro system?
If you purchased the license from the official store, it would be a digital license bound to your account. Logging into your Microsoft account in the system should automatically activate it.
If you bought it from a third party, they usually provide a key that you can use to activate your system by re-entering the key in Settings -> System -> Activation.
If the system was pre-installed on the motherboard, it should automatically activate once you install the system and enter the desktop. If it does not activate successfully, you can try retrieving the motherboard key and activating it:
- Press Windows logo + S, type "powershell" in the search box, find Windows PowerShell, right-click it, and select "Run as administrator."
- Copy this code:
(Get-WmiObject -query 'select * from SoftwareLicensingService').OA3xOriginalProductKey - Right-click in the PowerShell window to paste the code, then press Enter.
- Wait a few seconds, and the OEM product key will be displayed.
- Press Windows logo + S, type "cmd" in the search box, right-click "Command Prompt" and select "Run as administrator," then enter:
slmgr.vbs /ipk XXXXX-XXXXX-XXXXX-XXXXX-XXXXX(ReplaceXXXXX-XXXXX-XXXXX-XXXXX-XXXXXwith the 25-character key retrieved in the previous step), then press Enter.
For help with Windows activation errors, visit Microsoft Support.
Alternatively, you can try phone activation:
- Press Windows key + R to open the Run dialog box. Type
slui 4and press Enter. - In the window that appears, select your country or region, then click "Next."
- Call the Microsoft activation hotline using the toll-free number provided on the screen.
- Follow the prompts to contact a customer service representative.
- The representative will ask for your installation ID, which you can see in the activation window. Read it to them in groups.
- The representative will provide a confirmation ID. Enter this confirmation ID into the blank box in the activation window.
- Your system should now be activated.
I hope this information helps. If you have any updates on your issue or need further assistance, please feel free to reply. I am happy to continue helping you.Thank you for visiting the Microsoft Community. I wish you good health and a happy life!
Best Wishes,
Amos.L - MSFT | Microsoft Community Support Specialist
What I mean is, I am using (Get-WmiObject -query ‘select * from SoftwareLicensingService’).OA3xOriginalProductKey to get the license key that is already on a machine. Can I then automatically take the license key that this command pulls and put it at the end of Set-WindowsProductKey?
And if not does anyone know of a way to invoke the Activation (specifically Activation, not others in general) Troubleshooter from Powershell? We have a sysprepped/generalized image that some laptops are stubborn about and they don't activate right away even though they have a license key on them burnt in. I just want to automate the process of having to click "troubleshoot" either by forcing it to apply the burnt-in license or by forcing it to run that "troubleshooter" from cmd/powershell without us having to go into Activation and click Troubleshoot.
99% of the time an update picks up the proper activation but sometimes it just doesn't, so looking for a solution to make this image do it.
Might also try using a valid MAK key
slmgr /ipk xxxxx-xxxxx-xxxxx-xxxxx-xxxxx
slmgr /ato
--please don't forget to upvote and Accept as answer if the reply is helpful--
Hi, I'd be happy to help you out with your question. Sorry for the inconvenience caused. To activate your Windows 10 Pro, please follow these steps: Open an elevated command prompt. To do this, right-click on the Windows Start menu and select "Command Prompt (Admin)" or "Windows PowerShell (Admin)." Type in the following command and press Enter: slmgr /ipk Please ensure that you replace with your actual product key. Note that the product key should be in the format XXXXX-XXXXX-XXXXX-XXXXX-XXXXX. Wait for the confirmation message that the product key was installed successfully. Type in the following command and press Enter: slmgr /ato This command will activate your Windows 10 Pro. If you encounter any issues while running the above commands, please make sure that you are running them with administrative privileges. You can do this by right-clicking on the Command Prompt or Windows PowerShell shortcut and selecting "Run as administrator." In addition to these steps, I recommend that you also check if your Windows 10 Pro license is genuine by running the Windows Genuine Advantage (WGA) validation tool. You can download and run the tool from the Microsoft website. For more Information, please refer to following resource :- Error 0xC004F074 when you activate Windows - https://learn.microsoft.com/troubleshoot/windows-server/deployment/error-0xc004f074-activate-windows If you have any other questions or need assistance with anything, please don't hesitate to let me know. I'm here to help.
If the reply was helpful, please don’t forget to upvote or accept as answer, thank you.
Hi,
Please show Activation page of Settings.
Key in BIOS (firmware) may be found with
wmic path softwarelicensingservice get OA3xOriginalProductKey
command (need to be run from Windows PowerShell (administrator). Do not type a key here, just say if it was displayed.
To activate your Windows 10, you can follow these steps:
- Check your product key: Ensure you have a valid product key. If you purchased Windows 10, the key should be in your confirmation email or on the packaging. If your device came with Windows pre-installed, the key may be embedded in the firmware.
- Activate Windows: You can activate Windows by going to Settings > Update & Security > Activation. Here, you can enter your product key by selecting Change product key.
- Using Command Prompt: If you prefer using the command line, open an elevated Command Prompt (right-click on Start and select Command Prompt (Admin)) and enter the following command:
Replace theslmgr /ipk xxxxx-xxxxx-xxxxx-xxxxx-xxxxxxxxxx-xxxxx-xxxxx-xxxxx-xxxxxwith your actual product key. After that, run:
This will attempt to activate Windows online.slmgr /ato - Troubleshoot Microsoft Store: If your Microsoft Store is not working, you can try resetting it. Open Settings > Apps > Apps & features, find Microsoft Store, click on it, and select Advanced options. From there, you can reset the app. If that doesn't work, consider running the Windows Store Apps troubleshooter.
- Contact Support: If you continue to face issues, consider reaching out to Microsoft Support for assistance with both Windows activation and Microsoft Store problems.
Following these steps should help you activate your Windows 10 and resolve issues with the Microsoft Store.
References:
- Activate Windows
- Microsoft Store Policies and Resources