Email this to a friend
 
posted on January 1st 1970, at 01:00
by lunarg
There's a known issue when attempting to configure a network adapter to set a static IP address through SConfig on a freshly installed Windows Server 2022 Core. Upon attempting to configure the IP address, it will fail with the following error message:

Error
Setting NIC to static IP...

Failed to release DHCP lease.

Result code: 83
Method name: ReleaseDHCPLease

You can manually work around the issue by configuring the IP address using Powershell directly:

First, list all network adapters present to find the correct one:Get-NetAdapter

You can reference by Name (InterfaceAlias) or by ifIndex (InterfaceIndex).

Next, remove any existing (APIPA) addresses:Remove-NetIPAddress -InterfaceAlias  ...

Send a link to this post to yourself or a friend.

Send to e-mail:
Your name:
Your e-mail:
Captcha:
Type the letters and numbers as shown.
/get/captcha/1714320909
Not readable? Get another.
 
Information entered is solely used for sending a one-time e-mail, and is not retained and/or passed on to a third party.