Lorsque vous êtes confronté à des problèmes de configuration et d'activation KMS (Key Management Service), la découverte d'hôtes KMS non autorisés peut être cruciale. Cet article présente des méthodes pour détecter les hôtes KMS pour Office et Windows via DNS, ainsi que la procédure pour supprimer les hôtes KMS non autorisés.
Découverte des Hôtes KMS pour Office et Windows via DNS
Par défaut, les clients Windows et Office découvrent les hôtes KMS via DNS et un enregistrement _vlmcs SRV associé. Pour vérifier si un client KMS peut localiser un hôte KMS ou s'il existe des hôtes KMS indésirables sur le réseau, exécutez la commande suivante :
nslookup -type=srv _vlmcs._tcp >%temp%\kms.txt
Examinez le fichier kms.txt qui devrait contenir des entrées telles que :
_vlmcs._tcp.contoso.com SRV service location: priority = 0 weight = 0 port = 1688 svr hostname = kms-server.contoso.com
Une exécution fréquente de cette commande révèle souvent des entrées _vlmcs SRV liées à des hôtes KMS non autorisés pour Windows ou Office.
Suppression des Hôtes KMS Non Autorisés pour Windows
Dans de nombreux cas, des hôtes KMS Windows peuvent être configurés par inadvertance par des utilisateurs qui ont saisi par erreur une clé de produit KMS au lieu d'une clé de produit client Windows. Pour résoudre ce problème, suivez ces étapes sur l'ordinateur en question :
Ouvrez une invite de commandes avec élévation de privilèges.
Exécutez la commande suivante pour remplacer la clé de produit KMS :
Assurez-vous de redémarrer le système ou le service Software Protection après.
Pour afficher les informations de licence de la version Windows installée, utilisez la commande :
cscript slmgr.vbs /dli
Dans le Gestionnaire DNS, localisez la zone de recherche directe appropriée et supprimez les enregistrements _vlmcs SRV associés aux ordinateurs qui ne doivent pas servir d'hôtes KMS Windows.
Suppression des Hôtes KMS Non Autorisés pour Office
La création involontaire d'un hôte KMS Office est rare, car cela nécessite une clé de produit spécifique et l'installation du Pack de licence hôte KMS Office 2010 de Microsoft. Pour déterminer si un ordinateur dispose du Pack de licence hôte KMS Office 2010 et d'un hôte KMS Office actif, utilisez la commande suivante :
Si la sortie indique que la clé d'activation KMS Office 2010 est installée et activée, suivez ces étapes pour supprimer l'hôte KMS Office de votre environnement :
Ouvrez une invite de commandes avec élévation de privilèges.
Exécutez la commande suivante pour désinstaller la clé de produit KMS Office :
Attention : Si la commande est exécutée sans l'ID d'activation Office, toutes les clés de produit installées, y compris celles de Windows, seront désinstallées.
Vérifiez à nouveau le statut de l'hôte KMS Office avec la commande :
Si la clé KMS Office est supprimée, la sortie indiquera que la licence n'est pas utilisée et que le statut de la licence est non autorisé.
Dans le Gestionnaire DNS, localisez la zone de recherche directe appropriée et supprimez les enregistrements _vlmcs SRV associés à chaque ordinateur qui ne doit pas servir d'hôte KMS Office.
Cette démarche permet de maintenir un environnement Windows et Office sécurisé en éliminant les hôtes KMS non autorisés. Pour plus d'informations, consultez les articles de support de Microsoft liés à l'activation KMS.
Microsoft Word unlicensed product error is a problem that occurs when a user's product license is invalid or the license has expired. In this case, the user is unable to access and use the Microsoft Word application.
You can try the OS for a month without activating it. However, once the trial period expires, you are required to activate Windows 10/11. You will also see the “Activate Windows” watermark on your screen. Q: Does it affect the PC's performance if I don't activate Windows 10/11?
Open the Settings app and head to Update & Security > Activation. You'll see a "Go to Store" button that will take you to the Windows Store if Windows isn't licensed. In the Store, you can purchase an official Windows license that will activate your PC.
Office activation is onetime and it will not force you to register again until the license has been removed from the system. If Office activation fails, you'll see Unlicensed Product or Non-commercial use / Unlicensed Product in the title bar of your Office apps, and most features of Office are disabled.
One way to use Microsoft Office without activation is to download and install the free trial version. The free trial version allows you to use all of the features of Office for 30 days. After 30 days, you will need to purchase a license key in order to continue using Office.
Enter your Microsoft account credentials (email and password) or create a new Microsoft account if you don't have one. After signing in, Microsoft Office will attempt to activate automatically using your Microsoft account. If successful, you'll see a confirmation message, and Office will be activated.
This can happen if you don't uninstall the pre-installed version of Office on your new PC before installing a volume license version of Office. To stop the prompts for activation, make sure your Office uses volume licensing and then update the registry.
If you see the message "You currently have not been assigned an Office license that includes the Office desktop apps" this means that you aren't eligible to install Microsoft 365 Apps. If you see "Office" listed with an "Install Office" button, you're eligible for Microsoft 365 Apps.
Step 1: Go to the search bar and search for the Control Panel.Step 2: Open Control Panel, and under the Programs heading, click on "Uninstall". Note: This may vary depending on the Windows version you're using.
You activate Microsoft 365 by signing in with a Microsoft account. If we detect your Microsoft account, we'll show it on this screen. After you sign in, your product is added to your Microsoft account, so that you can reinstall it later, or manage your new subscription, without a product key.
**Malware and Viruses**: Pirated software often comes from unverified sources and may be bundled with malware, viruses, spyware, or ransomware that can compromise your system.
Introduction: My name is Msgr. Refugio Daniel, I am a fine, precious, encouraging, calm, glamorous, vivacious, friendly person who loves writing and wants to share my knowledge and understanding with you.
We notice you're using an ad blocker
Without advertising income, we can't keep making this site awesome for you.