You get a bonus - 1 coin for daily activity. Now you have 1 coin

Windows: how to hide a computer from Network Neighborhood

Practice



Task: hide a computer from Network Neighborhood so that it isn't visible in that folder on other computers. In other words, make it so our computer doesn't show up in Network Neighborhood.


To do this we'll use the net utility, which comes bundled with any Windows OS.

Note. In Windows Vista/7/2008 this command must be run as administrator, for example by launching "Command Prompt" (CMD) via "Run as administrator".


Hiding it

C:\> net config server /hidden:yes


Checking the current state

C:\> net config server
Server Name \\MY_COMP
Server Comment

Software version Windows 7 Professional
Server is active on
NetbiosSmb (MY_COMP)
NetBT_Tcpip_{B2069634-6BF0-4522-BE80-5865AD84D4F7} (MY_COMP)
NetBT_Tcpip_{342D3ACA-46C5-4764-BD69-C16AE9E72521} (MY_COMP)


Server hidden Yes
Maximum Logged On Users 20
Maximum Open Files per Session 16384

Idle Session Time (min) 15
The command completed successfully.

As you can see - the "Server hidden" value is "Yes" - meaning the computer will not be visible in Network Neighborhood.


Unhiding it (showing it again)

C:\> net config server /hidden:no
Applies to: Windows XP/Vista/7; Server 2003/2008

Comments

To leave a comment

If you have any suggestion, idea, thanks or comment, feel free to write. We really value feedback and are glad to hear your opinion.
To reply

Lectures and tutorial on "Operating Systems and System Programming"

Terms: Operating Systems and System Programming