Force Windows Activation Command Line
- May 16, 2017 Hi is there a command line to force windows 7 to check for updates? I know it checks ever day for update while xp at every boot well is there a command line to run in the start menu or schedule to force windows7 to check?
- Windows 10 Activation using Command Line Utility slmgr. Windows 10 uses the same command line utility slmgr as Windows 7 for activation with a MAK (Multiple Activation Key). Follow these simple steps to activate your Windows 10. Open up an elevated command prompt. Enter the following slmgr -ipk your-mak-key-here slmgr -ato.
Slui.exe can be passed a numeric value to force a certain type of activation. Phone-based activation is 4. For example, slui 4. Other values include: 1 - Show activation status; 2 - Activation via the Internet; 3 - Prompt for a new key; 4 - Launch activation via phone; 5 - Prompt for activation and show all methods except Internet. Mar 28, 2018 is there a command line to force to check up for update - Windows 7 Help Forums. Last edited by Callender; 28 Mar 2018 at 13:11. Reason: add info. Cannot check windows updates history. In Windows Updates and Activation. When I cick on update and security then update history it just flashes and nothing. Any solutions to this this issue would. If you are having problems activating Windows 10, Server 2016, Windows 8, or Server 2012 one of these three solutions below should get you through: Command Line to Launch Activation GUI: This is handy if the GUI won’t start and you want to skip some steps to get it to work. Click START (gets you to the tiles).
-->Activate Windows With Cac
Applies To: Windows 10, Windows 8.1, Windows Server 2012 R2
Because of WMI changes in Windows 7 and Windows Server 2008 R2, the Slmgr.vbs script is not intended to work across platforms. Using Slmgr.vbs to manage a Windows 7 or Windows Server 2008 R2 system from the Windows Vista® operating system is not supported. Attempting to manage an older system from Windows 7 or Windows Server 2008 R2 will generate a specific version mismatch error. For example, running cscript slmgr.vbs <vista_machine_name> /dlv produces the following output:
To manage remote clients, use the Volume Activation Management Tool (VAMT) version 1.2 or later, or create custom WMI scripts that are aware of the differences between platforms. For more information about WMI properties and methods for Volume Activation, see the section, “WMI Properties and Methods,” later in this reference guide.
The following describes the syntax of the Slmgr.vbs script, and Table 2 describes each command-line option:
Note
For support of other software using Volume Activation, see the documents specifically written for those applications.
Table 2. Slmgr.vbs command-line options
Option | Description |
---|---|
[MachineName] | Name of a remote computer (default is local computer) |
[User] | Account with the required privilege on the remote computer |
[Password] | Password for the account with required privileges on the remote computer |
Global options
Option | Description |
---|---|
/ipk <ProductKey> | Attempts to install a 5×5 product key. The product key provided by the parameter is confirmed valid and applicable to the installed operating system. If not, an error is returned. If the key is valid and applicable, the key is installed. If a key is already installed, it is silently replaced. To prevent instability in the license service, the system should be restarted or the Software Protection Service should be restarted. This operation must be run from an elevated command prompt, or the Standard User Operations registry value must be set to allow unprivileged users extra access to the Software Protection Service. |
/ato [Activation ID] | For retail editions and volume systems with a KMS host key or a Multiple Activation Key (MAK) installed, /ato prompts Windows to attempt online activation. For systems with a Generic Volume License Key (GVLK) installed, this prompts an attempt at KMS activation. Systems that have been set to suspend automatic KMS activation attempts (/stao) still attempt KMS activation when /ato is run. Note: Starting with Windows 8 (and Windows Server 2012), the /stao option is deprecated. Use the /act-type option instead. The parameter [Activation ID] expands /ato support to identify a Windows edition installed on the computer. Specifying the [Activation ID] parameter isolates the effects of the option to the edition associated with that Activation ID. Run Slmgr.vbs /dlv all to get the Activation IDs for the installed version of Windows. If you need to support other applications, see the guidance provided by that application for further instruction. KMS activation does not require elevated privileges. However, online activation does require elevation, or the Standard User Operations registry value must be set to allow unprivileged users extra access to the Software Protection Service. |
/dli [Activation ID All] | Display license information. By default, /dli displays the license information for the installed active Windows edition. Specifying the [Activation ID] parameter displays the license information for the specified edition associated with that Activation ID. Specifying [All] as the parameter will display all applicable installed products’ license information. This operation does not require elevated privileges. |
/dlv [Activation ID All] | Display detailed license information. By default, /dlv displays the license information for the installed operating system. Specifying the [Activation ID] parameter displays the license information for the specified edition associated with that Activation ID. Specifying the [All] parameter displays all applicable installed products’ license information. This operation does not require elevated privileges. |
/xpr [Activation ID] | Display the activation expiration date for the product. By default, this refers to the current Windows edition and is primarily useful for KMS clients, because MAK and retail activation is perpetual. Specifying the [Activation ID] parameter displays the activation expiration date of the specified edition associated with that Activation ID.This operation does not require elevated privileges. |
Advanced options
Option | Description |
---|---|
/cpky | Some servicing operations require the product key to be available in the registry during Out-of-Box Experience (OOBE) operations. The /cpky option removes the product key from the registry to prevent this key from being stolen by malicious code. For retail installations that deploy keys, best practices recommend running this option. This option is not required for MAK and KMS host keys, because this is the default behavior for those keys. This option is only needed for other types of keys where the default behavior is not to clear the key from the registry. This operation must be run from an elevated command prompt. |
/ilc <license_file> | This option installs the license file specified by the required parameter. These licenses may be installed as a troubleshooting measure, to support token-based activation, or as part of a manual installation of an on-boarded application. Licenses are not validated during this process: License validation is out of scope for Slmgr. Instead, validation is handled by the Software Protection Service at runtime. This operation must be run from an elevated command prompt, or the Standard User Operations registry value must be set to allow unprivileged users extra access to the Software Protection Service. |
/rilc | This option reinstalls all licenses stored in %SystemRoot%system32oem and %SystemRoot%System32spptokens. These are “known-good” copies stored during installation. Any matching licenses in the Trusted Store are replaced. Any additional licenses—for example, Trusted Authority (TA) Issuance Licenses (ILs), licenses for applications—are not affected. This operation must be run from an elevated command prompt, or the Standard User Operations registry value must be set to allow unprivileged users extra access to the Software Protection Service. |
/rearm | This option resets the activation timers. The /rearm process is also called by sysprep /generalize. This operation will do nothing if the HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionSoftwareProtectionPlatformSkipRearm registry subkey is equal to 1. See the section “Registry Settings,” later in this guide, for details on this registry subkey. This operation must be run from an elevated command prompt, or the Standard User Operations registry value must be set to allow unprivileged users extra access to the Software Protection Service. |
/rearm-app <Application ID> | Resets the licensing status of the specified app. |
/rearm-sku <Application ID> | Resets the licensing status of the specified SKU. |
/upk [ActivationID] | This option uninstalls the product key of the current Windows edition. After a restart, the system will be in an Unlicensed state unless a new product key is installed. Optionally, you can use the [Activation ID] parameter to specify a different installed product. This operation must be run from an elevated command prompt. |
/dti [Activation ID] | Displays installation ID for offline activation. |
/atp <Confirmation ID> | Activate product with user-provided confirmation ID. |
Volume Licensing: KMS client options
Option | Description |
---|---|
/skms <Name[:Port] : port> [Activation ID] | This option specifies the name and, optionally, the port of the KMS host computer to contact. Setting this value disables auto-detection of the KMS host. If the KMS host uses Internet Protocol version 6 (IPv6) only, the address must be specified in the format [hostname]:port. IPv6 addresses contain colons (:), which will be parsed incorrectly by the Slmgr.vbs script. This operation must be run from an elevated command prompt. |
/skms-domain <FQDN> [Activation ID] | Sets the specific DNS domain in which all KMS SRV records can be found. This setting has no effect if the specific single KMS host is set with the /skms option. Use this option, especially in disjoint namespace environments, to force KMS to ignore the DNS suffix search list and look for KMS host records in the specified DNS domain instead. |
/ckms [Activation ID] | This option removes the specified KMS host name, address, and port information from the registry and restores KMS auto-discovery behavior. This operation must be run from an elevated command prompt. |
/skhc | This option enables KMS host caching (default), which blocks the use of Domain Name System (DNS) priority and weight after the initial discovery of a working KMS host. If the system can no longer contact the working KMS host, discovery will be attempted again. This operation must be run from an elevated command prompt. |
/ckhc | This option disables KMS host caching. This setting instructs the client to use DNS auto-discovery each time it attempts KMS activation (recommended when using priority and weight). This operation must be run from an elevated command prompt. |
KMS host configuration
Option | Description |
---|---|
/sai <interval> | This option sets the interval in minutes for unactivated clients to attempt KMS connection. The activation interval must be between 15 minutes and 30 days, although the default (2 hours) is recommended. The KMS client initially picks up this interval from registry but switches to the KMS setting after it receives the first KMS response. This operation must be run from an elevated command prompt. |
/sri <interval> | This option sets the renewal interval in minutes for activated clients to attempt KMS connection. The renewal interval must be between 15 minutes and 30 days. This option is set initially on both the KMS server and client sides. The default is 10080 minutes (7 days). The KMS client initially picks up this interval from the registry but switches to the KMS setting after it receives the first KMS response. This operation must be run from an elevated command prompt. |
/sprt <port> | This option sets the port on which the KMS host listens for client activation requests. The default TCP port is 1688. This operation must be run from an elevated command prompt. |
/sdns | Enable DNS publishing by the KMS host (default). This operation must be run from an elevated command prompt. |
/cdns | Disable DNS publishing by the KMS host. This operation must be run from an elevated command prompt. |
/spri | Set the KMS priority to normal (default). This operation must be run from an elevated command prompt. |
/cpri | Set the KMS priority to low. Use this option to minimize contention from KMS in a co-hosted environment. Note that this could lead to KMS starvation, depending on what other applications or server roles are active. Use with care. This operation must be run from an elevated command prompt. |
/act-type [Activation-Type] [Activation ID] | This option sets a value in the registry that limits volume activation to a single type. Activation Type 1 limits activation to Active Directory only; 2 limits it to KMS activation; 3 to token-based activation. The 0 option allows any activation type and is the default value. Features. Pivot camera software. Edit videos: trimming, rotating, joining multiple videos. You can create movie projects to make movies and slideshows, trim video, join video, add background music.- PRO version: provides additional quick tools for video editing, and more advanced features such as slow and fast motion, unlimited photo overlay, Full HD output.Main features are:- Make movies from video clips and photos- Trim, rotate, join video clips- Add and edit background music (with built-in music tracks or import from the user library)- Support most popular media formats: mp4, wmv, mkv, mov, avi, mpeg, mpg, mts, jpg, png, gif, mp3, m4a, wav. |
Token-based activation configuration
Option | Description |
---|---|
/lil | List the installed token-based activation issuance licenses. |
/ril <ILID> <ILvID> | Remove an installed token-based activation issuance license. This operation must be run from an elevated command prompt. |
/stao | Set the Token-based Activation Only flag, disabling automatic KMS activation. This operation must be run from an elevated command prompt. This option has been removed beginning with Windows Server 2012 R2 and Windows 8.1. Use the /act–type option instead. |
/ctao | Clear the Token-based Activation Only flag (default), enabling automatic KMS activation. This operation must be run from an elevated command prompt. This option has been removed beginning with Windows Server 2012 R2 and Windows 8.1. Use the /act–type option instead. |
/ltc | List valid token-based activation certificates that can activate installed software. |
/fta <Certificate Thumbprint> [<PIN>] | Force token-based activation using the identified certificate. The optional personal identification number (PIN) is provided to unlock the private key without a PIN prompt when using certificates that are protected by hardware (for example, smart cards). |
Active Directory-based activation configuration
Option | Description |
---|---|
/ad-activation-online <Product Key> [Activation Object name] | Collects Active Directory data and initiates Active Directory forest activation using the credentials that the command prompt is running. Local administrator access is not required, but read/write access to the activation object container in the root domain of the forest is required. |
/ad-activation-get-IID <Product Key> | This option starts Active Directory forest activation in phone mode. The output is the installation ID (IID) that can be used to activate the forest over the telephone when Internet connectivity is not available. Upon providing the IID in the activation phone call, a CID is returned that is used to complete activation. |
/ad-activation-apply-cid <Product Key> <Confirmation ID> [Activation Object name] | With this option, enter the CID provided from the activation phone call to complete activation |
[/name: <AO_Name>] | Optionally, you can append the /name option to any of these commands to specify a name for the activation object stored in Active Directory. The name must not exceed 40 Unicode characters; use double quotation marks to explicitly define the name string. In Windows Server 2012 R2 and Windows 8.1, you can append the name directly after /ad-activation-online <Produce Key> and /ad-activation-apply-cid without having to use the /name option. |
/ao-list | Displays all of the activation objects that are available to the local computer. |
/del-ao <AO_DN> or /del-ao <AO_RDN> | Deletes the specified activation object from the forest. |
See also
As you know, Microsoft notified Windows 10 is “the last version of Windows” and explained that they will be focused on the development of powerful and new features under the guise of software updates instead of building a new version. This means there will be no Windows 11 or 12 in the future. So if you are thinking about an upgrade, this is the best time to get it.
Contents
- Activate Windows 10 without using any software
Windows 10 free upgrade
The representative of Microsoft has confirmed that Windows 10 is a free upgrade for all customers using a genuine copy of Windows 7 or higher. But this offer officially will expire on this Friday so do not hesitate to own it before it is too late. Your time is running out. After July 29, the upgrade will cost up to $119 for Home edition or $199 for Professional one. Personally, that amount of money is enough to pay my rent this month so there are no reason for me to deny that.
Should you upgrade to Windows 10
“Do not upgrade to Windows 10”. This seems to contradict the above analysis but that is the statement of security experts. They said that Microsoft has been violating users’s privacy from collecting their personal information like gender, age, hobby and Internet habits… without your permission. The options relating to sending feedback and data to Microsoft were enabled automatically from the moment that you installed Windows 10 successfully so most people don’t know about them. However, you can disable them in Settings/Privacy easily.
Install Windows 10 using ISO file instead of an upgrade
You can get the latest version of Windows 10 Professional here if you don’t have it already. If you have ever installed any versions of Windows before, I am sure you will have no difficulty getting started with Windows 10. If you are looking to install it with an USB flash drive, please consult the video “How to create a bootable USB stick”. The following are the detailed instructions for installing Windows 10.
Activate Windows 10 without using any software
If you are using another version of Windows, please navigate to Windows OS category and select a suitable article.
Method 1: Manual activation
Time needed: 1 minute.
Run KMS commands on command prompt.
- Open Command Prompt as administrator.
Click on the start button, search for “cmd” then run it with administrator rights.
- Install KMS client key
Use the command “slmgr /ipk yourlicensekey” to install a license key (yourlicensekey is the activation key that corresponds to your Windows edition). The following is the list of Windows 10 Volume license keys.
Home: TX9XD-98N7V-6WMQ6-BX7FG-H8Q99
Home N: 3KHY7-WNT83-DGQKR-F7HPR-844BM
Home Single Language: 7HNRX-D7KGG-3K4RQ-4WPJ4-YTDFH
Home Country Specific: PVMJN-6DFY6-9CCP6-7BKTT-D3WVR
Professional: W269N-WFGWX-YVC9B-4J6C9-T83GX
Professional N: MH37W-N47XK-V7XM9-C7227-GCQG9
Education: NW6C2-QMPVW-D7KKK-3GKT6-VCFB2
Education N: 2WH4N-8QGBV-H22JP-CT43Q-MDWWJ
Enterprise: NPPR9-FWDCX-D2C8J-H872K-2YT43
Enterprise N: DPH2V-TTNVB-4X9Q3-TJR4H-KHJW4
(Note: You need to hit [Enter] key to execute commands.) - Set KMS machine address
Use the command “slmgr /skms kms8.msguides.com” to connect to my KMS server.
- Activate your Windows
The last step is to activate your Windows using the command “slmgr /ato”.
Now check the activation status again.
Method 2: Using a batch file
This one is not recommend anymore due to the new update of Microsoft.
Step 1: Copy the code below into a new text document.
Create a new text document.
Step 2: Paste the code into the text file. Then save it as a batch file (named “1click.cmd”).
Step 3: Run the batch file as administrator.
Please wait a minute.
Done!
Note: If you guys see three times the same error message saying that the connection to KMS server was unsuccessful, please read this post.
Activate Windows 10
Check the activation status again.
2 ways to activate Windows 10 for FREE without additional software
- 4.60 / 5 5