Comments
 
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  ...
Add a new comment
 
Your name:
Your e-mail:
Your comment:
 
Basic BBcode is supported.
Captcha:
Type the letters and numbers as shown.
/get/captcha/1734487695
Not readable? Get another.