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.

dhcp konfiguration via vbs

Empfohlene Antworten

hi,

es ist möglich über vbs dhcp auf win2000pro aktiv zu setzen.

wie ihr unten sehen könnt, habe ich das schon hinbekommen.

nun möchte ich aber den umgekehrten weg gehen und dem rechner eine feste ip zuweisen und das ganze aktiv setzen.

nach viel probiererei und leserei in der msdn bin ich zu dem schluss gekommen, dass es über die registry nicht funktioniert. gibt es vielleicht einen anderen weg? ich würde nicht fragen, wenn ich nicht lange gesucht hätte.

pd maximus

script:

Dim WSHShell, NList, N, IPAddress, IPMask, IPValue, RegLoc,Enable

Set WSHShell = WScript.CreateObject("WScript.Shell")

On Error Resume Next

RegLoc = "HKLM\System\ControlSet001\Services\{BB0D29B9-03D2-454E-8433-13A917BF89B8}\Parameters\Tcpip\"

IPValue = ""

IPAddress = RegLoc & "IPAddress"

Enable = RegLoc & "EnableDHCP"

IPMask = RegLoc & "SubnetMask"

IPValue = WSHShell.RegRead(IPAddress)

If (IPValue <> "") and (IPValue <> "0.0.0.0") then

' WSHShell.RegWrite Enable,"0x00000000 (0)"

WSHShell.RegWrite IPAddress,"0.0.0.0"

WSHShell.RegWrite IPMASK,"0.0.0.0"

end If

WScript.Quit

hehe, vielen dank, ich habs geschnallt.

ich habe jemanden gefunden, der das gegenteil behauptet.

wenn es doch eine lösung geben sollte werde ich sie dir

posten (wenn du möchtest). ich bin da sehr gespannt.

cu maximus

<BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica, sans-serif">Zitat:</font><HR>Original erstellt von MAXIMUS*LEVIUS:

<STRONG>hehe, vielen dank, ich habs geschnallt.

ich habe jemanden gefunden, der das gegenteil behauptet.

wenn es doch eine lösung geben sollte werde ich sie dir

posten (wenn du möchtest). ich bin da sehr gespannt.

cu maximus</STRONG>

  • 1 Jahr später...

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Konto

Navigation

Suchen

Suchen

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.