This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
kms:start [2020/07/08 18:31] admin |
kms:start [2020/09/23 11:40] (current) admin |
||
---|---|---|---|
Line 8: | Line 8: | ||
==== Liens ==== | ==== Liens ==== | ||
[[https://www.microsoft.com/Licensing/servicecenter/default.aspx|Centre VLSC (Volume Licensing Service Center)]]\\ | [[https://www.microsoft.com/Licensing/servicecenter/default.aspx|Centre VLSC (Volume Licensing Service Center)]]\\ | ||
+ | [[https://docs.microsoft.com/en-us/windows-server/get-started/kmsclientkeys|L'ensemble des clefs KMS disponibles]] | ||
==== Truc et Astuce ==== | ==== Truc et Astuce ==== | ||
Line 13: | Line 14: | ||
À partir d’une invite de commande élevée en administrateur, exécutez la commande suivante :\\ | À partir d’une invite de commande élevée en administrateur, exécutez la commande suivante :\\ | ||
- | <sxh batch> | + | <sxh> |
nslookup -type=all _vlmcs._tcp>.\kms.txt | nslookup -type=all _vlmcs._tcp>.\kms.txt | ||
notepad .\kms.txt | notepad .\kms.txt | ||
Line 19: | Line 20: | ||
</sxh> | </sxh> | ||
Si l'on est plus PowerShell, voici l'équivalent: | Si l'on est plus PowerShell, voici l'équivalent: | ||
- | <code powershell> | + | <sxh powershell> |
Resolve-DnsName $('_vlmcs._tcp.' + $((Get-CimInstance -ClassName Win32_ComputerSystem).Domain)) -Type ALL | Resolve-DnsName $('_vlmcs._tcp.' + $((Get-CimInstance -ClassName Win32_ComputerSystem).Domain)) -Type ALL | ||
- | </code> | + | </sxh> |
{{:production:nslookup_kms.png?400|}}\\ | {{:production:nslookup_kms.png?400|}}\\ | ||
En retour, vous obtiendrez le fichier texte suivant :\\ | En retour, vous obtiendrez le fichier texte suivant :\\ | ||
Line 29: | Line 30: | ||
Pour savoir qu’elle clé rentrer : [[https://technet.microsoft.com/en-us/library/jj612867(v=ws.11).aspx]]\\ | Pour savoir qu’elle clé rentrer : [[https://technet.microsoft.com/en-us/library/jj612867(v=ws.11).aspx]]\\ | ||
- | <code>cscript C:\Windows\System32\slmgr.vbs /ipk [Activation ID]</code> | + | <sxh>cscript C:\Windows\System32\slmgr.vbs /ipk [Activation ID]</sxh> |
Exemple pour installer une clé KMS sur un Windows 7 Enterprise : | Exemple pour installer une clé KMS sur un Windows 7 Enterprise : | ||
- | <code>cscript C:\Windows\System32\slmgr.vbs /ipk 33PXH-7Y6KF-2VJC9-XBBR8-HVTHH</code> | + | <sxh>cscript C:\Windows\System32\slmgr.vbs /ipk 33PXH-7Y6KF-2VJC9-XBBR8-HVTHH</sxh> |
+ | |||
+ | __Récupérer les informations :__ | ||
+ | |||
+ | <sxh>cscript C:\Windows\System32\slmgr.vbs -dlv</sxh> | ||
__Suppression d’une clé OS :__ | __Suppression d’une clé OS :__ | ||
- | <code>cscript C:\Windows\System32\slmgr.vbs /upk</code> | + | <sxh>cscript C:\Windows\System32\slmgr.vbs /upk</sxh> |
=== Activation Windows === | === Activation Windows === | ||
__ | __ | ||
Activation de Windows XP / 7:__ | Activation de Windows XP / 7:__ | ||
- | <code> | + | <sxh> |
cscript C:\Windows\System32\slmgr.vbs /skms kms.gds.local | cscript C:\Windows\System32\slmgr.vbs /skms kms.gds.local | ||
cscript C:\Windows\System32\slmgr.vbs /ato | cscript C:\Windows\System32\slmgr.vbs /ato | ||
cscript C:\Windows\System32\slmgr.vbs /dli | cscript C:\Windows\System32\slmgr.vbs /dli | ||
- | </code> | + | </sxh> |
__Activation de Windows 8 / 8.1 / 10:__ | __Activation de Windows 8 / 8.1 / 10:__ | ||
- | <code> | + | <sxh> |
cscript C:\Windows\System32\slmgr.vbs /skms [Server KMS FQDN] | cscript C:\Windows\System32\slmgr.vbs /skms [Server KMS FQDN] | ||
cscript C:\Windows\System32\slmgr.vbs /ato | cscript C:\Windows\System32\slmgr.vbs /ato | ||
cscript C:\Windows\System32\slmgr.vbs /dli | cscript C:\Windows\System32\slmgr.vbs /dli | ||
- | </code> | + | </sxh> |
__Activation Windows Server 2003 / 2008 / 2008 R2 / 2012 / 2012 R2:__ | __Activation Windows Server 2003 / 2008 / 2008 R2 / 2012 / 2012 R2:__ | ||
- | <code> | + | <sxh> |
cscript C:\Windows\System32\slmgr.vbs /skms kms.gds.local | cscript C:\Windows\System32\slmgr.vbs /skms kms.gds.local | ||
cscript C:\Windows\System32\slmgr.vbs /ato | cscript C:\Windows\System32\slmgr.vbs /ato | ||
cscript C:\Windows\System32\slmgr.vbs /dli | cscript C:\Windows\System32\slmgr.vbs /dli | ||
- | </code> | + | </sxh> |
__Activation Windows Server 2016 :__ | __Activation Windows Server 2016 :__ | ||
- | <code> | + | <sxh> |
cscript C:\Windows\System32\slmgr.vbs /skms [Server KMS FQDN] | cscript C:\Windows\System32\slmgr.vbs /skms [Server KMS FQDN] | ||
cscript C:\Windows\System32\slmgr.vbs /ato | cscript C:\Windows\System32\slmgr.vbs /ato | ||
cscript C:\Windows\System32\slmgr.vbs /dli | cscript C:\Windows\System32\slmgr.vbs /dli | ||
- | </code> | + | </sxh> |
=== Activation Suite OFFICE === | === Activation Suite OFFICE === | ||
__Activation d'Office 2010:__ | __Activation d'Office 2010:__ | ||
- | <code> | + | <sxh> |
cd "C:\Program Files (x86)\Microsoft Office\Office14" | cd "C:\Program Files (x86)\Microsoft Office\Office14" | ||
cscript ospp.vbs /sethst:kms.gds.local | cscript ospp.vbs /sethst:kms.gds.local | ||
cscript ospp.vbs /act | cscript ospp.vbs /act | ||
- | </code> | + | </sxh> |
__Activation d'Office 2013 (x86):__ | __Activation d'Office 2013 (x86):__ | ||
- | <code> | + | <sxh> |
cd "C:\Program Files (x86)\Microsoft Office\Office15" | cd "C:\Program Files (x86)\Microsoft Office\Office15" | ||
cscript ospp.vbs /sethst:[Server KMS FQDN] | cscript ospp.vbs /sethst:[Server KMS FQDN] | ||
cscript ospp.vbs /act | cscript ospp.vbs /act | ||
- | </code> | + | </sxh> |
__Activation d'Office 2013 (x64):__ | __Activation d'Office 2013 (x64):__ | ||
- | <code batch> | + | <sxh> |
cd "C:\Program Files\Microsoft Office\Office15" | cd "C:\Program Files\Microsoft Office\Office15" | ||
cscript ospp.vbs /sethst:[Server KMS FQDN] | cscript ospp.vbs /sethst:[Server KMS FQDN] | ||
cscript ospp.vbs /act | cscript ospp.vbs /act | ||
- | </code> | + | </sxh> |
__Activation d'Office 2016 (x86):__ | __Activation d'Office 2016 (x86):__ | ||
- | <code batch> | + | <sxh> |
cd "C:\Program Files (x86)\Microsoft Office\Office16" | cd "C:\Program Files (x86)\Microsoft Office\Office16" | ||
cscript ospp.vbs /sethst:[Server KMS FQDN] | cscript ospp.vbs /sethst:[Server KMS FQDN] | ||
cscript ospp.vbs /act | cscript ospp.vbs /act | ||
- | </code> | + | </sxh> |
__Activation d'Office 2016 (x64):__ | __Activation d'Office 2016 (x64):__ | ||
- | <code batch> | + | <sxh> |
cd "C:\Program Files\Microsoft Office\Office16" | cd "C:\Program Files\Microsoft Office\Office16" | ||
cscript ospp.vbs /sethst:[Server KMS FQDN] | cscript ospp.vbs /sethst:[Server KMS FQDN] | ||
cscript ospp.vbs /act | cscript ospp.vbs /act | ||
- | </code> | + | </sxh> |
==== Clef KMS ==== | ==== Clef KMS ==== | ||
Line 185: | Line 190: | ||
| Windows Server 2008 Datacenter without Hyper-V | 22XQ2-VRXRG-P8D42-K34TD-G3QQC | | | Windows Server 2008 Datacenter without Hyper-V | 22XQ2-VRXRG-P8D42-K34TD-G3QQC | | ||
| Windows Server 2008 for Itanium-Based Systems | 4DWFP-JF3DJ-B7DTH-78FJB-PDRHK | | | Windows Server 2008 for Itanium-Based Systems | 4DWFP-JF3DJ-B7DTH-78FJB-PDRHK | | ||
+ |