Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Empfohlene Antworten

Veröffentlicht

Hallo zusammen,

wie kann ich am besten von einen Windowsclient die statische IPv4 Adresse in DHCP ändern?

Ich würde es gerne über ein Script lösen und das Script via GPO ausrollen (Startvorgang beim Client).

Mit "netsh" hat es heute irgendwie nicht funktioniert - " netsh interface ipv4 set address name="Ethernet" source=dhcp ".

Gibt es die Möglichkeit den netsh Befehl an einen Windowsclient im Netzwerk zu senden?

Wie würdet Ihr das machen?

Ich bin wie immer über Hilfe dankbar!

 

Gruß Michael

Teste bitte einmal

Set-NetIPInterface -InterfaceAlias 'Ethernet 1' -Dhcp Enabled

 

Datt vom Chief müsste so passen.

Ich weiß aber nicht, ob ich das so mit der groben Kelle machen wollen würde:

  1. Keiner kann sagen ob der Adapter umbenannt wurde, dann läuft das Script ins Leere. Bei Clients unrealistisch aber nicht ausgeschlossen
  2. Im Produktionsumfeld ggf. tödlich wenn die Maschinensteuerung auf eth1 konfiguriert wurde und das Firmennetz auf eth2 reinkommt.
  3. Clients mit fester IP haben diese i.d.R. nicht grundlos. Ich würde auf jeden Fall erst prüfen wo es herkommt, bevor ich da was umstelle.
  • Autor

Hallo, 

danke für die Antworten. 

In diesem Fall ist es ein Büro Windowsclient und der Name wurde nicht umbenannt - in diesem Fall "Ethernet". 

Ich habe das Script in der GPO (Computerkonfiguration) angepasst. Nach dem nächsten Startvorgang werde ich es prüfen. 

Der Client ist noch aus alten Zeiten in dem IT-Netz und da soll er raus. Bei einen produktiven Client würde ich das auch nicht machen. 

Erstelle ein Konto oder melde dich an, um einen Kommentar zu schreiben.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.