How to make domain joined computer to my network when he come to my network area?

TestUser 40 Reputation points
2024-08-27T11:30:12.39+00:00

I am using window server 2022 AD, I joined a computer to my domain, then remove the static ip of that computer, while the computer is still on my domain, the dns server ip showing 75.75.75.75, even though my the computer is on my same network, but then again its not becuase my main dns is 192.162.0.267, and its showing 75.75.75.75.

The user able to take the computer ton his home and connect to different, but my main aim is when the user come to my location it should automatically get the dns server ip 192.162.0.267 and automatically connect to the internet of my network.

Please help what to do.

Note: i dont wanna manually change the statp ip to get my dns server ip on client computer.

Windows for business | Windows Client for IT Pros | Directory services | Active Directory
Windows for business | Windows Server | User experience | Other
{count} votes

2 answers

Sort by: Most helpful
  1. Wesley Li 11,275 Reputation points
    2024-08-28T14:03:38.0733333+00:00

    Hello, I would like to confirm a few key points in order to give a more accurate recommendation:

    Is the DHCP service configured in your domain environment?

    "I joined a computer to my domain, then remove the static ip of that computer"

    Does the computer join your domain over a wired or wireless connection?

    When you mentioned 'removing static IP', did you specifically mean removing the IP address of the computer, or changing the DNS server address configured on the computer?


  2. gh X 260 Reputation points
    2024-08-28T23:19:59.82+00:00

    There was an error in the answer above, but for some reason it can no longer be edited.

    If your work domain uses a static IP and DNS and your home network uses a dynamic IP and DNS, do the following setup:

    Laptop connected to work network

    Laptop logs out of the domain

    Laptop goes to Settings/Network and internet

    Locate the currently connected Wi-Fi network (work network) and go to “Properties”.

    In “IP Assignment”, tap “Edit” and change “Auto DHCP” to Manual.

    Then configure the static IP address, subnet mask, default gateway and DNS server.

    Join the laptop to the domain.

    2.

    Connect your laptop to your home Wi-Fi network and follow the steps above

    Make sure the IP and DNS settings are both automatic (DHCP)

    Summary

    The Wi-Fi network awareness feature will automatically switch configurations when the laptop is connected to the network.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.