#1 Global Leader in Data Protection & Ransomware Recovery

How to Set Custom VLAN ID in Recovery Media

KB ID: 4454
Product: Veeam Agent for Microsoft Windows
Published: 2023-06-02
Last Modified: 2023-06-02
mailbox
Get weekly article updates
By subscribing, you are agreeing to have your personal information managed in accordance with the terms of Veeam's Privacy Notice.

Cheers for trusting us with the spot in your mailbox!

Now you’re less likely to miss what’s been brewing in our knowledge base with this weekly digest

error icon

Oops! Something went wrong.

Please, try again later.

Purpose

This article documents how to configure the Veeam Agent for Microsoft Windows Recovery Media to use a specific VLAN ID.

Use Case:

  • You need to access a repository located in a different VLAN than the original machine was using.

Solution

Because the Recovery Media is based on WinPE, which lacks tools to set the VLAN ID via PowerShell or a UI, modifications must be made manually via the registry.

  1. Boot from Recovery Media.
  2. Click the Tools tile.
Tools
  1. Click the Command Prompt tile.
Command Prompt
  1. Execute the command: regedit
Regedit
  1. Navigate to the following registry key:

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\ {4d36e972-e325-11ce-bfc1-08002be10318}

    This GUID is the system-defined GUID for Network Adapters.
  2. Within that key will be subkeys (e.g., 0000, 0001) for each NIC. Review each and identify the 000x subkey that belongs to the NIC that needs to have a VLAN ID assigned.

    If you do not see the NIC, make sure that the NIC driver is installed (Tools > Load Driver).
  3. Within the NIC's subkey, create a new String Value.
NIC Subkeys
  1. Name the String Value: VlanID
  2. Set the 'Value data' to the VlanID.
VLANID
  1. Close the Registry Editor.
  2. Return to the Command Prompt and enter the following command to reinitialize the NIC:
    Tip: Use 'netsh int show int' to list network interface names.
    netsh int set int <InterfaceName> disabled
    
    netsh int set int <InterfaceName> enabled
    
Netsh
To submit feedback regarding this article, please click this link: Send Article Feedback
To report a typo on this page, highlight the typo with your mouse and press CTRL + Enter.

Spelling error in text

This site is protected by hCaptcha and its Privacy Policy and Terms of Service apply except as noted in our Privacy Policy.
Thank you!

Thank you!

Your feedback has been received and will be reviewed.

Oops! Something went wrong.

Please, try again later.

You have selected too large block!

Please try select less.

KB Feedback/Suggestion

This form is only for KB Feedback/Suggestions, if you need help with the software open a support case

By submitting, you are agreeing to have your personal information managed in accordance with the terms of Veeam's Privacy Notice.
This site is protected by hCaptcha and its Privacy Policy and Terms of Service apply except as noted in our Privacy Policy.
Verify your email to continue your product download
We've sent a verification code to:
  • Incorrect verification code. Please try again.
An email with a verification code was just sent to
Didn't receive the code? Click to resend in sec
Didn't receive the code? Click to resend
Thank you!

Thank you!

Your feedback has been received and will be reviewed.

error icon

Oops! Something went wrong.

Please, try again later.