Hallo,
ich suche eine Möglichkeit unter Windows 7 in den Gruppenrichtlinien den primären DNS - Suffix zu setzen.
Die IP - Konfiguration und die DNS - Server setze ich mit netsh, der DNS-Suffix lässt sich (IMHO) so jedoch
nicht setzen und das bereitet mir Probleme bei der Registrierung von Windows beim KMS - Server.
Laut den Informationen die ich gefunden habe, sollte man diese Konfiguration über die Gruppenrichtlinie machen.
JScript scheidet wohl aus, da müsste ich wohl noch etwas nachziehen, jedenfalls laufen die Beispielskripte
die ich bei MS gefunden habe nicht.
Pfad:
Computerkonfiguration\Administrative Vorlagen\Netzwerk\DNS-Client\Primäres DNS-Suffix
Hätte da jemand eine Lösung?
grüße
Reinhard
Windows 7, statische IP, primary DNS suffix
Re: Windows 7, statische IP, primary DNS suffix
Hallo Reinhard,
die Lösung hast du ja schon beschrieben mit passendem GPO-Pfad. Das macht natürlich haupsächlich dann Sinn, wenn du dort mehrere Suffixe einträgst, z.B. ein abweichendes Suffix für eine zusätzliche Subdomain in der noch gewisse Server sind, die autom. auch gefunden werden sollen.
name.de (Hauptsuffix)
zweitername.de (hier sollen Clients auch suchen)
Wenn es jedoch nur darum geht den KMS Server zu finden, dann benötigst du einen speziellen srv Eintrag an deinem DNS-Server (Egal ob der unter Win oder Linux läuft)
siehe
http://lawrit.lawr.ucdavis.edu/itdocs/ ... cord/view
Gruß
die Lösung hast du ja schon beschrieben mit passendem GPO-Pfad. Das macht natürlich haupsächlich dann Sinn, wenn du dort mehrere Suffixe einträgst, z.B. ein abweichendes Suffix für eine zusätzliche Subdomain in der noch gewisse Server sind, die autom. auch gefunden werden sollen.
name.de (Hauptsuffix)
zweitername.de (hier sollen Clients auch suchen)
Wenn es jedoch nur darum geht den KMS Server zu finden, dann benötigst du einen speziellen srv Eintrag an deinem DNS-Server (Egal ob der unter Win oder Linux läuft)
siehe
http://lawrit.lawr.ucdavis.edu/itdocs/ ... cord/view
Gruß
Re: Windows 7, statische IP, primary DNS suffix
Hi,
den Pfad habe ich
, der KMS Server wird gefunden, sobald ich den Suffix von Hand eintrage, jetzt
fehlt nur noch die Lösung diesen Eintrag per Skript zu machen
.
Irgendwie habe ich die richtige Stelle in den Manuals noch nicht gefunden ;-(.
grüße
Reinhard
den Pfad habe ich

fehlt nur noch die Lösung diesen Eintrag per Skript zu machen

Irgendwie habe ich die richtige Stelle in den Manuals noch nicht gefunden ;-(.
grüße
Reinhard
- SisterOfMercy
- Beiträge: 1556
- Registriert: 22 Jun 2012, 19:18
Re: Windows 7, statische IP, primary DNS suffix
You don't need to do anything with DNS to find a KMS host:
And to set a dns suffix you might be able to use netcfg.exe or netsh.exe
Code: Alles auswählen
[Winbatch_set_KMS]
"%SystemRoot%\system32\cscript.exe" "%SystemRoot%\system32\slmgr.vbs" /ipk KMS-key
"%SystemRoot%\system32\cscript.exe" "%SystemRoot%\system32\slmgr.vbs" /skms hostname/ip-address of KMS server
"%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: Windows 7, statische IP, primary DNS suffix
Hi,
thanks for this snippet, but the DNS - Suffix is really my problem. I've created a simple package to set
the static ip and the dns entries directly after setup the host. The KMS stuff is already included in the
image. If I disable the setup for the static IP, windows has no problem to find the KMS server. As soon
as I add the network setup to the packages which are installed after the installation of the client agent,
windows is not able to register, error: message 0x8007007b. Because windows has to be registered
each year, I'd like to solve this problem.
A simple, but not really nice solution would be to enable dhcp for one day, register again and enable
the static setup again ... possible, but not really nice. So I'm still looking for a nice solution ...
Best regards
Reinhard
btw, I've looked, but not found the option to set even the dns suffix for the current network setup with netsh,
even not for netcfg, but I've not read the full manual, so maybe there is a way to do this ..
thanks for this snippet, but the DNS - Suffix is really my problem. I've created a simple package to set
the static ip and the dns entries directly after setup the host. The KMS stuff is already included in the
image. If I disable the setup for the static IP, windows has no problem to find the KMS server. As soon
as I add the network setup to the packages which are installed after the installation of the client agent,
windows is not able to register, error: message 0x8007007b. Because windows has to be registered
each year, I'd like to solve this problem.
A simple, but not really nice solution would be to enable dhcp for one day, register again and enable
the static setup again ... possible, but not really nice. So I'm still looking for a nice solution ...
Best regards
Reinhard
btw, I've looked, but not found the option to set even the dns suffix for the current network setup with netsh,
even not for netcfg, but I've not read the full manual, so maybe there is a way to do this ..
- SisterOfMercy
- Beiträge: 1556
- Registriert: 22 Jun 2012, 19:18
Re: Windows 7, statische IP, primary DNS suffix
I thought it was every six months. And as far as I know it will try every week.rechle hat geschrieben:thanks for this snippet, but the DNS - Suffix is really my problem. I've created a simple package to set
the static ip and the dns entries directly after setup the host. The KMS stuff is already included in the
image. If I disable the setup for the static IP, windows has no problem to find the KMS server. As soon
as I add the network setup to the packages which are installed after the installation of the client agent,
windows is not able to register, error: message 0x8007007b. Because windows has to be registered
each year, I'd like to solve this problem.
Why do you want to use a static IP?
I have done away with static IP addresses, and converted everything to static leases. This way the clients also get the correct dns and gateway.
Hmm, multiple dns suffixes, wasn't that a dhcp option which is still not supported by windows? I have a few domain.nl and domain.local servers, the idiotPads and not-very-smartphones could find both, but not the windows laptops deployed somewhere else.
Try systracer, or a similar tool. It might be as easy as one registry key.rechle hat geschrieben:btw, I've looked, but not found the option to set even the dns suffix for the current network setup with netsh,
even not for netcfg, but I've not read the full manual, so maybe there is a way to do this ..
Here, look at this: https://social.technet.microsoft.com/fo ... dns-suffix
Bitte schreiben Sie Deutsch, when I'm responding in the German-speaking part of the forum!