-
Notifications
You must be signed in to change notification settings - Fork 258
feat(changelog): instances-changed-windows-images-network-configuration- 2025-08-25 #5457
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 3 commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
132064c
feat(changelog): add new entry
976ae13
docs(ins): update changelog content
bene2k1 39d5da9
docs(ins): fix typo
bene2k1 c7091b0
Apply suggestions from code review
bene2k1 ca0bac7
feat(ins): move content
bene2k1 db94760
Merge branch 'docs/changelog/2025-08-25-132355' of https://github.com…
bene2k1 d5d3046
Update pages/instances/reference-content/enabling-dhcp-network-config…
bene2k1 a97ee5a
Change the note location and msg to indicate that a reboot is mandatory
bbfd167
Merge branch 'docs/changelog/2025-08-25-132355' of https://github.com…
bene2k1 3311397
feat(ins): minor updates
bene2k1 db3b35b
fix(ins): typo
bene2k1 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
13 changes: 13 additions & 0 deletions
13
...gust2025/2025-08-25-instances-changed-windows-images-network-configuration-.mdx
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| --- | ||
| title: Windows Images - Network configuration now uses DHCP. Serial console enabled | ||
| status: changed | ||
| date: 2025-08-25 | ||
| category: compute | ||
| product: instances | ||
| --- | ||
|
|
||
| Windows Server 2022 and Windows Server 2022 Core images now use DHCP for network configuration by default, consistent with all existing Instance OS images. | ||
|
|
||
| For running Instances, no network configuration changes are needed unless you modify the public IPv4 address. | ||
|
|
||
| If you change the public IPv4 address, the Instance will retain its existing static configuration and continue using the previous address. To enable DHCP for your Instance, follow our [dedicated documentation](/instances/troubleshooting/enabling-dhcp-network-configuration-windows-server-2022/) before updating the public IPv4 address. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
178 changes: 178 additions & 0 deletions
178
...ces/troubleshooting/enabling-dhcp-network-configuration-windows-server-2022.mdx
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,178 @@ | ||
| --- | ||
| title: Enabling DHCP Network Configuration for Windows Server 2022 Instances | ||
| description: This page helps you to enable DHCP network configuration for Windows Server 2022 Instances | ||
| tags: windows instance dhcp console | ||
| dates: | ||
| validation: 2025-08-25 | ||
| posted: 2023-08-25 | ||
| --- | ||
| import Requirements from '@macros/iam/requirements.mdx' | ||
|
|
||
|
|
||
| The latest Windows Server 2022 and Windows Server 2022 Core images on Scaleway Instances now use DHCP for network configuration by default. This aligns with the standard mechanism used across all Scaleway Instance OS images. | ||
|
|
||
| For existing running Instances, no changes to network configuration are necessary unless you plan to update the public IPv4 address. In such cases, the Instance may retain its static network configuration, continuing to use the previous public IPv4 address. To switch to DHCP and ensure the new address is applied correctly, follow the steps below to enable DHCP before assigning the new IP. | ||
bene2k1 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| <Message type="important"> | ||
| These steps involve modifying network settings, which carry a risk of losing network connectivity (e.g., SSH or RDP access). To avoid this, enable and configure serial console access on your Instance beforehand. This allows you to maintain access via the Scaleway console even if standard network connections fail. | ||
| </Message> | ||
|
|
||
| <Requirements /> | ||
|
|
||
| - A Scaleway account logged into the [console](https://console.scaleway.com) | ||
| - [Owner](/iam/concepts/#owner) status or [IAM permissions](/iam/concepts/#permission) allowing you to perform actions in the intended Organization | ||
| - An [Instance](/instances/how-to/create-an-instance/) running Windows Server 2O22 | ||
|
|
||
|
|
||
| ## Enabling serial console access | ||
|
|
||
| Scaleway provides a serial console (TTY) for Instances, which is essential for troubleshooting network issues. | ||
| For Windows Server Instances, you must configure the OS to enable the Special Administration Console (SAC) for serial access. | ||
|
|
||
| ### Enabling SAC in Windows (OS Configuration) | ||
|
|
||
| Connect to your Windows Instance via RDP or another method and run the following commands in an elevated Command Prompt (Administrator) or PowerShell: | ||
|
|
||
| 1. Enable Emergency Management Services (EMS): | ||
| ``` | ||
| bcdedit /emssettings EMSPORT:1 | ||
| bcdedit /ems {current} on | ||
| ``` | ||
|
|
||
| 2. (Optional but recommended) Enable the boot menu in serial console: | ||
bene2k1 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| ``` | ||
| bcdedit /set {bootmgr} displaybootmenu yes | ||
| bcdedit /set {bootmgr} timeout 10 | ||
| bcdedit /set {bootmgr} bootems yes | ||
| ``` | ||
|
|
||
| 3. Reboot the Instance for changes to take effect: | ||
bene2k1 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| ``` | ||
| shutdown /r /t 0 | ||
| ``` | ||
|
|
||
| For more details, refer to [Microsoft's Azure Serial Console for Windows](https://learn.microsoft.com/en-us/troubleshoot/azure/virtual-machines/windows/serial-console-windows) documentation on enabling serial console for Windows VMs. | ||
|
|
||
| ### Accesing the serial console via Scaleway console | ||
bene2k1 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| 1. Log in to the [Scaleway console](https://console.scaleway.com/). | ||
| 2. Navigate to **Compute** > **CPU & GPU Instances**. | ||
| 3. Click on the Instance your want to configure. | ||
bene2k1 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| 4. On the Instance **Overview** page, click **Console** to open the serial console in a pop-up window. | ||
| 5. Once connected, you should see the SAC> prompt. Use commands like `cmd` to start a command channel, then `ch -si 1` to switch to it. | ||
bene2k1 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| For more on using the Scaleway serial console, see [How to use the serial console to connect to an Instance](/instances/how-to/use-serial-console/). | ||
bene2k1 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| ## Steps to enable DHCP configuration | ||
|
|
||
| Once serial console access is confirmed, proceed to configure DHCP using the Server Configuration tool (sconfig) on your Windows Instance. You can access sconfig via RDP, PowerShell, or the serial console. | ||
bene2k1 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| 1. Open an elevated Command Prompt (Administrator) or PowerShell and run: | ||
bene2k1 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| ``` | ||
| sconfig | ||
| ``` | ||
|
|
||
| 2. In the sconfig menu, select option **8** (Network settings). | ||
|
|
||
| 3. Select the network adapter index (usually **1** for the primary adapter). | ||
|
|
||
| 4. Select option **1** (Set network adapter address). | ||
|
|
||
| 5. Choose **D** for DHCP. | ||
|
|
||
| 6. The system will apply the changes and release any existing DHCP lease. | ||
|
|
||
| 7. Return to the main menu and select option **13** (Restart server) to reboot and activate the configuration. | ||
| <Message type="note"> | ||
| The reboot can be delayed if immediate downtime is not feasible, but it is required for full activation. | ||
| </Message> | ||
|
|
||
| Below is an example interaction for reference: | ||
|
|
||
| ```sh | ||
| =============================================================================== | ||
| Welcome to Windows Server 2022 Datacenter | ||
| =============================================================================== | ||
|
|
||
| 1) Domain/workgroup: Workgroup: WORKGROUP | ||
| 2) Computer name: WIN-010DQB68HIR | ||
| 3) Add local administrator | ||
| 4) Remote management: Enabled | ||
|
|
||
| 5) Update setting: Download only | ||
| 6) Install updates | ||
| 7) Remote desktop: Enabled (all clients) | ||
|
|
||
| 8) Network settings | ||
| 9) Date and time | ||
| 10) Telemetry setting: Required | ||
| 11) Windows activation | ||
|
|
||
| 12) Log off user | ||
| 13) Restart server | ||
| 14) Shut down server | ||
| 15) Exit to command line (PowerShell) | ||
|
|
||
| Enter number to select an option: 8 | ||
| =============================================================================== | ||
| Network settings | ||
| =============================================================================== | ||
|
|
||
| Available network adapters: | ||
|
|
||
| Index # | IP address | Description | ||
| 1 | 1.1.1.1 | Red Hat VirtIO Ethernet Adapter | ||
|
|
||
| Select network adapter index # (Blank=Cancel): 1 | ||
| =============================================================================== | ||
| Network adapter settings | ||
| =============================================================================== | ||
|
|
||
| NIC index: 1 | ||
| Description: Red Hat VirtIO Ethernet Adapter | ||
| IP address: 1.1.1.1, | ||
| fe80::dc00:ff:ff:ff:ff:ff | ||
| Subnet mask: 255.255.255.255 | ||
| DHCP enabled: False | ||
|
|
||
| Default gateway: 62.210.0.1 | ||
| Preferred DNS server: | ||
| Alternate DNS server: | ||
|
|
||
| 1) Set network adapter address | ||
| 2) Set DNS servers | ||
| 3) Clear DNS server settings | ||
|
|
||
| Enter selection (Blank=Cancel): 1 | ||
| Select (D)HCP or (S)tatic IP address (Blank=Cancel): D | ||
| Setting NIC to use DHCP... | ||
| Successfully set gateway. | ||
| Successfully enabled DHCP. | ||
| Successfully released DHCP lease.. : 00-01-00-01-30-3E-73-36-DE-00-00-84-DB-2B | ||
| (Press ENTER to continue): | ||
| =============================================================================== | ||
| Welcome to Windows Server 2022 Datacenter | ||
| =============================================================================== | ||
|
|
||
| 1) Domain/workgroup: Workgroup: WORKGROUP | ||
| 2) Computer name: WIN-010DQB68HIR | ||
| 3) Add local administrator | ||
| 4) Remote management: Enabled | ||
|
|
||
| 5) Update setting: Download only | ||
| 6) Install updates | ||
| 7) Remote desktop: Enabled (all clients) | ||
|
|
||
| 8) Network settings | ||
| 9) Date and time | ||
| 10) Telemetry setting: Required | ||
| 11) Windows activation | ||
|
|
||
| 12) Log off user | ||
| 13) Restart server | ||
| 14) Shut down server | ||
| 15) Exit to command line (PowerShell) | ||
|
|
||
| Enter number to select an option: 13 | ||
| Are you sure you want to restart? (Y)es or (N)o: Y | ||
| ``` | ||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.