Quantcast
Channel: Système informatique, sécurité et Web
Viewing all articles
Browse latest Browse all 187

Commandes utiles KMS client et serveur (suite des articles KMS)

$
0
0

Commandes pour un serveur KMS :

slmgr.vbs / ipk (installer le KMS)

Slmgr /ato (activer en ligne)

slui.exe 4 pour activation téléphonique

slmgr.vbs /dli (informations de la licence)

slmgr.vbs /dlv (informations détaillées de la licence)

slmgr.vbs /xpr (date d’expiration de l’OS)

slmgr.vbs /sa 120 (Définis l’intervalle d’activation d’un client KMS en minute, par défaut 2 heures)

slmgr.vbs /sri 10080 (Définis l’intervalle réactivation d’un client KMS en minute, par défaut 7 jours)

slmgr.vbs /sprt 1688 (Définis le port d’écoute KMS de l’hôte)

slmgr.vbs /sdns (Active la publication DNS)

slmgr.vbs /cdns (Désactive la publication DNS)

slmgr.vbs /spri (Augmente la priorité KMS)

slmgr.vbs /cri (Abaisse la priorité KMS)

slmgr.vbs /act-type 1 ActivationID (Définit le type d’activation en volume)

net stop && net start sppsvc (Arrêter/Démarrer le service KMS)

 

Pour un client KMS :

net stop sppsvc && net start sppsvc

slmgr.vbs TargetComputerName [username] [password] /parameter [options]
slmgr.vbs /ipk (Insertion d’une clé)

slmgr.vbs /upk (Suppression d’une clé)

slmgr.vbs /skms KMS.domaine.loc:1688 (Spécifie le nom et le port de l’hôte KMS)

slmgr.vbs /skms-domain FQDN (Définit le domaine où sont enregistrés SRV d’hôte KMS)

slmgr.vbs /ckms (Supprime les informations de l’hôte)

slmgr.vbs /skhc (Active la mise en cache de l’hôte KMS)

slmgr.vbs /ckhc (Désactive la mise en cache de l’hôte KMS)

nslookup –type=srv _vlmcs._tcp (Affiche les hôtes KMS enregistré par le DNS)

 

Sources

https://www.supinfo.com/articles/single/163-windows-server-2012-installation-configuration-dun-serveur-kms

https://technet.microsoft.com/en-us/library/ff793409.aspx

https://technet.microsoft.com/en-us/library/ff793434.aspx

https://blogs.technet.microsoft.com/windowsinternals/2008/10/16/kms-expliqu-dune-autre-faon-mis-jour/

Plus d’information sur le technet : ici

 

Parameter

Description

/sprt PortNumber

Sets the TCP communications port on a KMS host. Replace PortNumber with the TCP port number to use. The default setting is 1688.

/cdns

Disables automatic DNS publishing by a KMS host.

/sdns

Enables automatic DNS publishing by the KMS host.

/cpri

Lowers the priority of KMS host processes.

/spri

Sets the priority of KMS host processes to Normal.

/sai ActivationInterval

Changes how often a KMS client attempts to activate itself when it cannot find a KMS host. Replace ActivationInterval with a number of minutes. The default setting is 120.

/sri RenewalInterval

Changes how often a KMS client attempts to renew its activation by contacting a KMS host. Replace RenewalInterval with a number of minutes. The default setting is 10080 (7 days). This setting overrides the local KMS client settings.

/dli

Retrieves the current KMS activation count from the KMS host.


Viewing all articles
Browse latest Browse all 187

Trending Articles