Confirmation Id Windows 7 Activation

  

Activate Windows license and product key against Microsoft's server. /atp ConfirmationID: Activate the product with a user-provided ConfirmationID. /cdns: Disable DNS publishing by the KMS host. /ckhc: Disable KMS host caching. /ckms: Clear the name of KMS server used to default and port to default. /cpky: Delete the Windows product key from. Unless you operate windows in a dial-up connection,Win 7 uses auto registration,no contact with Microsoft is needed.To chk,in run type: WinVerif it should say windows is activated.To get rid of pop-up,download Microsoft spyware/anti-virus.

You won't be able to find the confirmation ID so again use a tool called opabackup or Msactbackup to backup your activation to be able to restore it easily after the clean install without you having to do the activation again. Othewise you will have to reactivate again your version by phone with the same key after the clean install. Call the Microsoft Licensing Activation Center for your region. Provide the installation ID and make note of the confirmation ID that you receive. At the elevated command prompt, type slmgr /atp confirmation ID activation ID and press Enter. On activation, a dialog box shows a confirmation message. Optionally, you can use the Activation ID parameter to specify a different installed product. This operation must be run from an elevated Command Prompt window. /dti Activation ID Displays installation ID for offline activation. /atp Confirmation ID Activate product by using user-provided confirmation ID.

-->

The following describes the syntax of the Slmgr.vbs script, and the tables in this article describe each command-line option.

Note

In this article, square brackets [] enclose optional arguments, and angle brackets <> enclose placeholders. When you type these statements, omit the brackets and replace the placeholders by using corresponding values.

Note

For information about other software products that use volume activation, see the documents specifically written for those applications.

Using Slmgr on remote computers

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 WMI Properties and Methods for Volume Activation.

Important

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. Trying 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:

Microsoft (R) Windows Script Host Version 5.8Copyright (C) Microsoft Corporation. All rights reserved.

The remote machine does not support this version of SLMgr.vbs

General Slmgr.vbs options

OptionDescription
[<ComputerName>]Name of a remote computer (default is local computer)
[<User>]Account that has the required privilege on the remote computer
[<Password>]Password for the account that has the required privileges on the remote computer

Global options

OptionDescription
/ipk <ProductKey>Tries 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 window, 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 that have a KMS host key or a Multiple Activation Key (MAK) installed, /ato prompts Windows to try online activation.
For systems that have a Generic Volume License Key (GVLK) installed, this prompts a KMS activation attempt. Systems that have been set to suspend automatic KMS activation attempts (/stao) still try KMS activation when /ato is run.
Note: Starting in 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 have 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 that is associated with that Activation ID. Specifying All as the parameter displays license information for all applicable installed products.
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 license information for all applicable installed products.
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 that is associated with that Activation ID.This operation does not require elevated privileges.
Confirmation

Advanced options

OptionDescription
/cpkySome 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 required only for other types of keys whose default behavior is not to clear the key from the registry.
This operation must be run in an elevated Command Prompt window.
/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.vbs. Instead, validation is handled by the Software Protection Service at runtime.
This operation must be run from an elevated Command Prompt window, or the Standard User Operations registry value must be set to allow unprivileged users extra access to the Software Protection Service.
/rilcThis option reinstalls all licenses stored in %SystemRoot%system32oem and %SystemRoot%System32spptokens. These are 'known-good' copies that were 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 in an elevated Command Prompt window, or the Standard User Operations registry value must be set to allow unprivileged users extra access to the Software Protection Service.
/rearmThis option resets the activation timers. The /rearm process is also called by sysprep /generalize.
This operation does nothing if the HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionSoftwareProtectionPlatformSkipRearm registry entry is set to 1. See Registry Settings for Volume Activation for details about this registry entry.
This operation must be run in an elevated Command Prompt window, 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 [<Application ID>]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 window.
/dti [<Activation ID>]Displays installation ID for offline activation.
/atp <Confirmation ID>Activate product by using user-provided confirmation ID.

KMS client options

OptionDescription
/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 the Slmgr.vbs script does not parse correctly.
This operation must be run in an elevated Command Prompt window.
/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 by using 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 in an elevated Command Prompt window.
/skhcThis option enables KMS host caching (default). After the client discovers a working KMS host, this setting prevents the Domain Name System (DNS) priority and weight from affecting further communication with the host. If the system can no longer contact the working KMS host, the client tries to discover a new host.
This operation must be run in an elevated Command Prompt window.
/ckhcThis option disables KMS host caching. This setting instructs the client to use DNS auto-discovery each time it tries KMS activation (recommended when using priority and weight).
This operation must be run in an elevated Command Prompt window.

KMS host configuration options

OptionDescription
/sai <Interval>This option sets the interval in minutes for unactivated clients to try to connect to KMS. The activation interval must be between 15 minutes and 30 days, although the default value (two 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 in an elevated Command Prompt window.
/sri <Interval>This option sets the renewal interval in minutes for activated clients to try to connect to KMS. 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 value is 10,080 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 in an elevated Command Prompt window.
/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 window.
/sdnsEnable DNS publishing by the KMS host (default).
This operation must be run in an elevated Command Prompt window.
/cdnsDisable DNS publishing by the KMS host.
This operation must be run in an elevated Command Prompt window.
/spriSet the KMS priority to normal (default).
This operation must be run in an elevated Command Prompt window.
/cpriSet the KMS priority to low.
Use this option to minimize contention from KMS in a co-hosted environment. Note that this could cause KMS starvation, depending on what other applications or server roles are active. Use with care.
This operation must be run in an elevated Command Prompt window.
/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.

Token-based activation configuration options

OptionDescription
/lilList 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 window.
/staoSet the Token-based Activation Only flag, disabling automatic KMS activation.
This operation must be run in an elevated Command Prompt window.
This option was removed in Windows Server 2012 R2 and Windows 8.1. Use the /act–type option instead.
/ctaoClear the Token-based Activation Only flag (default), enabling automatic KMS activation.
This operation must be run in an elevated Command Prompt window.
This option was removed in Windows Server 2012 R2 and Windows 8.1. Use the /act–type option instead.
/ltcList valid token-based activation certificates that can activate installed software.
/fta <Certificate Thumbprint> [<PIN>]Force token-based activation by using the identified certificate. The optional personal identification number (PIN) is provided to unlock the private key without a PIN prompt if you use certificates that are protected by hardware (for example, smart cards).

Confirmation Id Windows Xp

Active Directory-based activation configuration options

OptionDescription
/ad-activation-online <Product Key> [<Activation Object name>]Collects Active Directory data and starts Active Directory forest activation using the credentials that the command prompt is running. Local administrator access is not required. However, 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 if 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>]When you use this option, enter the CID that was provided in the activation telephone 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 <Product Key> and /ad-activation-apply-cid without having to use the /name option.
/ao-listDisplays all of the activation objects that are available to the local computer.
/del-ao <AO_DN>
/del-ao <AO_RDN>
Deletes the specified activation object from the forest.

Additional References

View Activation, License, and Expiration Date Information

To display very basic license and activation information about the current system, run the following command. This command tells you the edition of Windows, part of the product key so you can identify it, and whether the system is activated.

To display more detailed license information–including the activation ID, installation ID, and other details–run the following command:

View the License Expiration Date

To display the expiration date of the current license, run the following command. This is only useful for Windows system activated from an organization’s KMS server, as retail licenses and multiple activation keys result in a perpetual license that won’t expire. If you haven’t provided a product key at all, it’ll give you an error message.

Uninstall the Product Key

You can remove the product key from your current Windows system with Slmgr. After you run the below command and restart your computer, the Windows system won’t have a product key and will be in an unactivated, unlicensed state.

If you installed Windows from a retail license and would like to use that license on another computer, this allows you to remove the license. It could also be useful if you’re giving that computer away to someone else. However, most Windows licenses are tied to the computer they came with–unless you purchased a boxed copy.

To remove uninstall the current product key, run the following command and then restart your computer:

Windows also stores the product key in the registry, as it’s sometimes necessary for the key to be in the registry when setting up the computer. If you’ve uninstalled the product key, you should run the below command to ensure it’s removed from the registry as well. This will ensure people who use the computer in the future can’t grab the product key.

Running this command alone won’t uninstall your product key. It’ll remove it from the registry so programs can’t access it from there, but your Windows system will remain licensed unless you run the above command to actually uninstall the product key. This option is really designed to prevent the key from being stolen by malware, if malware running on the current system gains access to the registry.

Set or Change the Product Key

You can use slmgr.vbs to enter a new product key. If the Windows system already has a product key, using the below command will silently replace the old product key with the one you provide.

Run the following command to replace the product key, replacing #####-#####-#####-#####-##### with the product key. The command will check the product key you enter to ensure it’s valid before using it. Microsoft advises you restart the computer after running this command.

You can also change your product key from the Activation screen in the Settings app, but this command lets you do it from the command line.

Activate Windows Online

To force Windows to attempt an online activation, run the following command. If you’re using a retail edition of Windows, this will force Windows to attempt online activation with Microsoft’s servers. If the system is set up to use a KMS activation server, it will instead attempt activation with the KMS server on the local network. This command can be useful if Windows didn’t activate due to a connection or server problem and you want to force it to retry.

Activate Windows Offline

Slmgr also allows you to perform an offline activation. To get an installation ID for offline activation, run the following command:

Windows 7 Activation Phone Confirmation Id

You’ll now need to get a a confirmation ID you can use to activate the system over the phone. Call the Microsoft Product Activation Center, provide the installation ID you received above, and you’ll be given an activation ID if everything checks out. This allows you to activate Windows systems without Internet connections.

To enter the confirmation ID you’ve received for offline activation, run the following command. Replace “ACTIVATIONID” with the activation ID you’ve received.

Windows 7 Activation Build 7100

Once you’re done, you can use the slmgr.vbs /dli or slmgr.vbs /dlv commands to confirm you’re activated.

How To Get Confirmation Id For Windows 7

This can generally be done from the Activation screen in the Settings app if your PC isn’t activated–you don’t have to use the command if you’d rather use the graphical interface.