This article explains how to remove an old computer that is no longer connected or available from network information in Windows 10.
How to remove an old computer name from the network in Windows 10
Old entries for disconnected computers can get stuck in the DNS cache. There is a simple command you can run in the command prompt to clear this cache. Here’s how it works.
Open an elevated command prompt. One way to do this is to search for cmd and select Run as administrator next to Command Prompt.
At the command prompt, type the following and press Enter: