Windows Aktivierung KMS nicht mehr per Opsi möglich
Verfasst: 13 Aug 2018, 13:29
Ich habe gerade ein sehr merkwürdiges Problem.
Ich lasse unsere Windows 7 Maschinen über unseren KMS-Server aktivieren. Das entsprechende Opsi-Paket hat auch bis vor 2 Wochen auf jeden Fall funktioniert.
Ich mache da nichts besonderes. Ich deaktiviere den Schlüssel, trage unseren Schlüssel und KMS-Server ein und dann wird aktiviert.
Die Registrierung des Servers hat laut der Logdatei zwar funktioniert, die Aktivierung bringt aber einen DNS-Fehler. Der Server ist vom betreffenden Client erreichbar.
Mein Problem besteht jetzt darin, dass die Aktivierung funktioniert, wenn ich den Befehl manuell in einer cmd ausführe. Hat jemand eine Ahnung, woran das liegen kann? Nach der ersten manuellen Aktivierung funktioniert anschließend das OPSI-Paket auch wieder.
Ich lasse unsere Windows 7 Maschinen über unseren KMS-Server aktivieren. Das entsprechende Opsi-Paket hat auch bis vor 2 Wochen auf jeden Fall funktioniert.
Ich mache da nichts besonderes. Ich deaktiviere den Schlüssel, trage unseren Schlüssel und KMS-Server ein und dann wird aktiviert.
Code: Alles auswählen
Set $Cscript$ = "%System%\cscript.exe"
Set $Slmgr$ = "%System%\slmgr.vbs"
DosInAnIcon_ActivateKMS
[DosInAnIcon_ActivateKMS]
$Cscript$ $Slmgr$ /upk
$Cscript$ $Slmgr$ /ipk $Licensekey$
$Cscript$ $Slmgr$ /skms $Server$:1688
$Cscript$ $Slmgr$ /ato
Mein Problem besteht jetzt darin, dass die Aktivierung funktioniert, wenn ich den Befehl
Code: Alles auswählen
C:\Windows\system32\cscript.exe C:\Windows\system32\slmgr.vbs /skms server:1688
Code: Alles auswählen
[5] [Aug 13 13:09:32:224] [activatekms] Execution of: DosInAnIcon_ActivateKMS
[7] [Aug 13 13:09:32:224] [activatekms] Save to file with encoding: system
[8] [Aug 13 13:09:32:224] [activatekms] Will save (system) to file: c:\opsi.org\tmp\_opsiscript_Zo73Ah21.cmd :
[7] [Aug 13 13:09:32:224] [activatekms] Executing "cmd.exe" /C c:\opsi.org\tmp\_opsiscript_Zo73Ah21.cmd
[6] [Aug 13 13:09:38:155] [activatekms] ExitCode -2147015893
[7] [Aug 13 13:09:38:155] [activatekms]
[7] [Aug 13 13:09:38:155] [activatekms] output:
[7] [Aug 13 13:09:38:155] [activatekms] --------------
[7] [Aug 13 13:09:38:155] [activatekms]
[7] [Aug 13 13:09:38:155] [activatekms] C:\Windows\system32>C:\Windows\system32\cscript.exe C:\Windows\system32\slmgr.vbs /upk
[7] [Aug 13 13:09:38:155] [activatekms] Microsoft (R) Windows Script Host, Version 5.8
[7] [Aug 13 13:09:38:155] [activatekms] Copyright (C) Microsoft Corporation 1996-2001. Alle Rechte vorbehalten.
[7] [Aug 13 13:09:38:155] [activatekms]
[7] [Aug 13 13:09:38:155] [activatekms] Der Product Key wurde erfolgreich deinstalliert.
[7] [Aug 13 13:09:38:155] [activatekms]
[7] [Aug 13 13:09:38:155] [activatekms]
[7] [Aug 13 13:09:38:156] [activatekms] C:\Windows\system32>C:\Windows\system32\cscript.exe C:\Windows\system32\slmgr.vbs /ipk XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
[7] [Aug 13 13:09:38:156] [activatekms] Microsoft (R) Windows Script Host, Version 5.8
[7] [Aug 13 13:09:38:156] [activatekms] Copyright (C) Microsoft Corporation 1996-2001. Alle Rechte vorbehalten.
[7] [Aug 13 13:09:38:156] [activatekms]
[7] [Aug 13 13:09:38:156] [activatekms] Der Product Key XXXXX-XXXXX-XXXXX-XXXXX-XXXXX wurde erfolgreich installiert.
[7] [Aug 13 13:09:38:156] [activatekms]
[7] [Aug 13 13:09:38:156] [activatekms]
[7] [Aug 13 13:09:38:156] [activatekms] C:\Windows\system32>C:\Windows\system32\cscript.exe C:\Windows\system32\slmgr.vbs /skms server:1688
[7] [Aug 13 13:09:38:156] [activatekms] Microsoft (R) Windows Script Host, Version 5.8
[7] [Aug 13 13:09:38:156] [activatekms] Copyright (C) Microsoft Corporation 1996-2001. Alle Rechte vorbehalten.
[7] [Aug 13 13:09:38:156] [activatekms]
[7] [Aug 13 13:09:38:156] [activatekms] Der Schlüsselverwaltungsdienst-Computername wurde erfolgreich auf server:1688 festgelegt.
[7] [Aug 13 13:09:38:156] [activatekms]
[7] [Aug 13 13:09:38:156] [activatekms] C:\Windows\system32>C:\Windows\system32\cscript.exe C:\Windows\system32\slmgr.vbs /ato
[7] [Aug 13 13:09:38:156] [activatekms] Microsoft (R) Windows Script Host, Version 5.8
[7] [Aug 13 13:09:38:156] [activatekms] Copyright (C) Microsoft Corporation 1996-2001. Alle Rechte vorbehalten.
[7] [Aug 13 13:09:38:156] [activatekms]
[7] [Aug 13 13:09:38:156] [activatekms] Windows(R) 7, Professional edition (b92e9980-b9d5-4821-9c94-140f632f6312) wird aktiviert...
[7] [Aug 13 13:09:38:156] [activatekms] Fehler: 0x8007232B Der DNS-Name ist nicht vorhanden.