Windos Aktivierungspaket .bat
Re: Windos Aktivierungspaket .bat
Weil ich
a) solche Automatismen in der Firmen-Policy nicht möchte, da ich so nicht die volle Kontrolle habe - dort wo ich das Paket abschieße weiß ich direkt ob alles O.K ist und muss keine Zeit abwarten, bis der Client sich bequemt den Server zu konnektieren. Bei Misserfolg erhält der Support bei allen Opsi-Scripten direkt eine Email mit Details.
b) unser Netzwerk sehr heterogen ist und Windows nur eine Systemoption darstellt - dafür will ich nicht im DNS rumpfuschen.
a) solche Automatismen in der Firmen-Policy nicht möchte, da ich so nicht die volle Kontrolle habe - dort wo ich das Paket abschieße weiß ich direkt ob alles O.K ist und muss keine Zeit abwarten, bis der Client sich bequemt den Server zu konnektieren. Bei Misserfolg erhält der Support bei allen Opsi-Scripten direkt eine Email mit Details.
b) unser Netzwerk sehr heterogen ist und Windows nur eine Systemoption darstellt - dafür will ich nicht im DNS rumpfuschen.
Re: Windos Aktivierungspaket .bat
Moinsens...
Nun kannst Du die Seite erstellen.
Gruß
Thomas_H
Jupp... man konnte die Seite nicht erstellen. Ich habe es geprüft, es war ein Schreibfehler: [[userpace...]] statt [[userspace...]]mensch90 hat geschrieben:Wollte ich gestern, habe auch den Indexeintrag hinzugefügt. Habe jedoch keine Rechte die Unterseite anzulegen....
Nun kannst Du die Seite erstellen.
Gruß
Thomas_H
Kennst Du schon die WIKI für OPSI-Scripte? Fertige Installationsscripte bekommen und ablegen unter OPSI-Wiki
Aus dem Glashaus
: UIB bietet auch Schulungen und Supportverträge für Opsi an.
Aus dem Glashaus


Re: Windos Aktivierungspaket .bat
Hopla, wenn man nicht so von anderen Wiki-Syntaxen verwöhnt wäre...ist nun online
-
- Beiträge: 32
- Registriert: 23 Okt 2013, 15:49
-
- Beiträge: 32
- Registriert: 23 Okt 2013, 15:49
Re: Windos Aktivierungspaket .bat
Ich habs jetzt mal mit Registry Key setzen probiert das will aber nicht so funktionieren
[Actions]
Registry_win_kms
[Registry_win_kms]
openkey [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SoftwareProtectionPlatform]
set "KeyManagementServiceName"=REG_SZ:"kms.serveradresse"
openkey [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SoftwareProtectionPlatform]
set "KeyManagementServicePort"=REG_SZ:"1688"
das sollte doch funktionieren?
[Actions]
Registry_win_kms
[Registry_win_kms]
openkey [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SoftwareProtectionPlatform]
set "KeyManagementServiceName"=REG_SZ:"kms.serveradresse"
openkey [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SoftwareProtectionPlatform]
set "KeyManagementServicePort"=REG_SZ:"1688"
das sollte doch funktionieren?
- SisterOfMercy
- Beiträge: 1556
- Registriert: 22 Jun 2012, 19:18
Re: Windos Aktivierungspaket .bat
No, that doesn't work, it should be like this:PepeChiller hat geschrieben:openkey [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SoftwareProtectionPlatform]
set "KeyManagementServiceName"=REG_SZ:"kms.serveradresse"
openkey [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SoftwareProtectionPlatform]
set "KeyManagementServicePort"=REG_SZ:"1688"
Code: Alles auswählen
openkey [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SoftwareProtectionPlatform]
set "KeyManagementServiceName"="kms.serveradresse"
Bitte schreiben Sie Deutsch, when I'm responding in the German-speaking part of the forum!
-
- Beiträge: 32
- Registriert: 23 Okt 2013, 15:49
Re: Windos Aktivierungspaket .bat
Code: Alles auswählen
[1] [Jun 12 16:11:09:569] [win7activation] ============ Version 4.11.3.11 WIN32 script "o:\win7activation\install.ins"
[1] [Jun 12 16:11:09:569] [win7activation] start: 2014-06-12 16:11:09
[1] [Jun 12 16:11:09:569] [win7activation] installing product: win7activation_1.0-1.0
[1] [Jun 12 16:11:09:569] [win7activation] on client named "computerb.a.f.s.d."
[1] [Jun 12 16:11:09:569] [win7activation] loggedin user ""
[1] [Jun 12 16:11:09:569] [win7activation] winst running as "SYSTEM"
[1] [Jun 12 16:11:09:569] [win7activation] winst running with admin privileges
[1] [Jun 12 16:11:09:569] [win7activation] winst running in standard script mode
[1] [Jun 12 16:11:09:569] [win7activation] executing: "C:\Program Files (x86)\opsi.org\opsi-client-agent\opsi-winst\winst32.exe"
[1] [Jun 12 16:11:09:569] [win7activation] system infos:
[1] [Jun 12 16:11:09:572] [win7activation] 12-34-56-78 - PC hardware address
[1] [Jun 12 16:11:09:572] [win7activation] COMPUTER.a.d.f.g.de - IP name
[1] [Jun 12 16:11:09:572] [win7activation] 192.168.2.1 - IP address
[1] [Jun 12 16:11:09:572] [win7activation] DEU - System default locale
[1] [Jun 12 16:11:09:572] [win7activation] MS Windowds 6.1 64 Bit
[1] [Jun 12 16:11:09:572] [win7activation] opsi service version : 4
[1] [Jun 12 16:11:09:572] [win7activation]
[6] [Jun 12 16:11:09:573] [win7activation] Registry key [HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion] opened
[6] [Jun 12 16:11:09:573] [win7activation] Key closed
[5] [Jun 12 16:11:09:670] [win7activation]
[5] [Jun 12 16:11:09:670] [win7activation] Execution of registry_win_kms
[6] [Jun 12 16:11:09:671] [win7activation] Registry key [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SoftwareProtectionPlatform] opened
[6] [Jun 12 16:11:09:671] [win7activation] Variable "KeyManagementServiceName" is keeping its value "kms.adresse"
[6] [Jun 12 16:11:09:671] [win7activation] Key closed
[6] [Jun 12 16:11:09:671] [win7activation] Registry key [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SoftwareProtectionPlatform] opened
[6] [Jun 12 16:11:09:671] [win7activation] Variable "KeyManagementServicePort" is keeping its value "1688"
[6] [Jun 12 16:11:09:671] [win7activation] Key closed
[1] [Jun 12 16:11:09:671] [win7activation] ___________________
[1] [Jun 12 16:11:09:671] [win7activation] script finished
[1] [Jun 12 16:11:09:671] [win7activation] 0 errors
[1] [Jun 12 16:11:09:671] [win7activation] 0 warnings
- SisterOfMercy
- Beiträge: 1556
- Registriert: 22 Jun 2012, 19:18
Re: Windos Aktivierungspaket .bat
Well, it did work, the OPSI part, did.PepeChiller hat geschrieben:didnt work. any idea?
Try the slmgr.vbs stuff from the command line on that client. You probably will get an error that way, which might help in solving this problem. Maybe the hostname resolution is a bit broken, then try the IP address of the KMS server.
Have you installed the correct KMS-key on the client? Look here for the list: http://technet.microsoft.com/en-us/libr ... 12867.aspx
Code: Alles auswählen
"%SystemRoot%\system32\cscript.exe" "%SystemRoot%\system32\slmgr.vbs" /ipk KMSKEY
"%SystemRoot%\system32\cscript.exe" "%SystemRoot%\system32\slmgr.vbs" /skms <Name[:Port] | : port> [Activation ID]
"%SystemRoot%\system32\cscript.exe" "%SystemRoot%\system32\slmgr.vbs" /ato
Bitte schreiben Sie Deutsch, when I'm responding in the German-speaking part of the forum!
Re: Windos Aktivierungspaket .bat
My script ist working like a charm since 6 months, so your kms-server isn't installed properly.
What does a "telnet myip 1688" bring up? Port open?
Did u inserted the general key for enterprise and not for a professional client?
http://technet.microsoft.com/de-de/libr ... 12867.aspx
Edit: sorry my poster above even mentioned the key
What does a "telnet myip 1688" bring up? Port open?
Did u inserted the general key for enterprise and not for a professional client?
http://technet.microsoft.com/de-de/libr ... 12867.aspx
Edit: sorry my poster above even mentioned the key

-
- Beiträge: 32
- Registriert: 23 Okt 2013, 15:49
Re: Windos Aktivierungspaket .bat
Jo Enterprise Key war richtig gesetzt.
Den Namen durch die IP-Adresse zu ersetzten hat auch nichts gebracht.
Aber wenn die standartmäßige Aktivierung nicht klappt, sollte doch wenigstens das hard coden in die Registry funktionieren oder? Tuts aber nicht....
Den Namen durch die IP-Adresse zu ersetzten hat auch nichts gebracht.
Aber wenn die standartmäßige Aktivierung nicht klappt, sollte doch wenigstens das hard coden in die Registry funktionieren oder? Tuts aber nicht....