Here is the step:
To Verify and See if your Computer Name is Hidden or Unhidden
- Open Command Prompt
- In the command prompt, type Net Config Server and press Enter. (See screenshots below)
- If it is hidden, then you will see Yes to the right of Server hidden.
- If it is unhidden, then you will see No to the right of Server hidden.
To Hide your Computer Name from Displaying in Network
- In the command prompt, type in bold below and press Enter.
- Net config server /hidden:yes
- You will get a The command completed successfully message afterwards.
To Unhide your Computer Name to Display in Network
- In the elevated command prompt, type in bold below and press Enter.
- Net config server /hidden:no
- You will get a The command completed successfully message afterwards.
- Exit Command Prompt then Restart the computer to apply.