A. Using the registry editor set the key HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\LanManServer\Parameters and set value Hidden from 0 to 1 which should be of type DWORD. You should then reboot. You can also type
net config server /hidden:yes
The above command also automatically creates quite a lot of other values under \Parameters key, too.
You can still connect to the computer, but it is not displayed on the browser.