Articles

Affichage des articles du février, 2021

Windows Activation

Image
 After installing a Windows server 2019, the activation failed with the error code 0xC004F074 The iso from which the installation was done is expecting to find a Key Management Service (KMs) on the local area network. In order to solve the problem, the solution is to change the product key to much the one bought from Microsoft. Open the browser and type in the Microsoft Licensing URL https://www.microsoft.com/Licensing/servicecenter/Downloads/DownloadsAndKeys.aspx A valid account is needed to be able to download iso images and keys Go to the Downloads and keys tab Look for the installed Windows version (Windows 2019 Standard in our case) Copy the key (clé in french) in the clipboard Open a DOS Windows and type : slmgr.vbs -ipk XXXXX-XXXXX-XXXXX-XXXXX-XXXXX where XXXXX-XXXXX-XXXXX-XXXXX-XXXXX the key copied previously Proceed with the activation and voilà Windows gets activated N.B. Some screen shots are in french because I use a french windows version.

Activation de Windows

Image
  Après installation d’un serveur Windows 2019, l’activation donne l’erreur 0xC004F074 Je crois que le code produit lié à l’iso utilisé pour l’installation s’attend à trouver sur le réseau local un service KMS (Key Management Service). Pour résoudre le problème nous allons changer le code produit du serveur Windows. Aller sur le site Licensing de Microsoft : https://www.microsoft.com/Licensing/servicecenter/Downloads/DownloadsAndKeys.aspx Se connecter en utilisant un compte pouvant accéder aux licences achetées auprès de Microsoft Aller sur l’onglet Téléchargements et clés Chercher dans la liste la version de Windows installée (Windows 2019 Standard dans mon cas) Copier la clé dans le presse-papier Ouvrir une fenêtre dos puis taper : slmgr.vbs -ipk XXXXX-XXXXX-XXXXX-XXXXX-XXXXX Avec XXXXX-XXXXX-XXXXX-XXXXX-XXXXX la clé qui a été copiée Procéder à l’activation et voilà Windows est activé

Adresses IP des clients erronée sur WSUS

Image
  Problème : J’ai un serveur WSUS sur un vlan différent du vlan des postes clients. Entre les deux un UMT (un FortiGate pour être plus précis) assure les connections inter-vlans. Les règles ont été mis en place sur le pare-feu pour permettre la communication entre le serveur WSUS et les clients. Cependant un petit problème s’est posé, tous les clients apparaissent sur la console WSUS avec l’adresse de leur passerelle par défaut. Les serveurs qui sont dans le même vlan que le serveur WSUS apparaissent avec leurs vrais adresses IP. Solution : Il s’est avéré que le problème est dû à la translation d’adresse effectuée par le firewall Aller sur la règle qui permet la communication entre les deux vlans et désactiver le NAT. On peut alors forcer la communication avec le serveur WSUS sur les postes clients ou bien attendre la prochaine synchronisation. La commande pour forcer la synchronisation la commande est : wuauclt /detectnow L e cas échéant on peut aussi taper la commande sui

Wrong IP Address of clients on WSUS

Image
Problem: In my setup a WSUS server was installed in a vlan different from the clients. An UMT (namely a FortiGate) ensures the inter-vlans communications. The necessary rules were established to permit the communications between WSUS and the clients. However, the clients report to the server with the wrong IP address. In fact, they all appear on the console with their gateway. Servers which are on the same vlan as WSUS appear on the console with their true IP address. Solution: After investigation, It was found out that the address translation done by the firewall was causing the problem. To solve the problem, edit the policy which permits the communication between the clients vlan and the WSUS server and disable the NAT feature. Reporting of clients could be forced, or we can wait for the next synchronization in order to see clients appearing with their true IP address on the WSUS console. The command used to force synchronization is: wuauclt /detectnow Sometimes, the abov