Skip to main content
Sep 19, 2011 1:28 PM UTC
Question

How to hide one PC from another

I need to run a test from one PC (A) where another PC (B) is unavailable (down, broken, hosed).
Specifically the shares on B.


However, B is a server that I cannot actually shut down because of the user impact.
Is there something I can do on PC A so that PC B "doesn't exist" or at least that B's shares are unreachable?
Again, I cannot change anything on B.


I tried adding an entryin into the hosts file, but that didn't work.
Windows knows to use the active directory, even when the entry in hosts is different.

And I cannot take A off the netwotk, because other PC's need to be accessable form A (during the test) while B is inaccessable.


Gerry

    2 replies

    Sep 19, 2011 2:38 PM UTC
    As I mentioned in my original message, I had already tried that.

    It will cause ping to fail.
    But access to shares still works (\\servername\sharename).
    I assume that Windows always uses the Active Directory when using UNC
    notation.


    Gerry

    Translate
    Sep 19, 2011 4:03 PM UTC

    Thanks to all that replied.
    This was the anwser that worked best for me.


    http://www.serverintellect.com/support/windowsserversecurity/ipsec-blockip.aspx

    Gerry

    In Reply to Gerry Champoux:



    I need to run a test from one PC (A) where another PC (B) is unavailable (down, broken, hosed).
    Specifically the shares on B.


    However, B is a server that I cannot actually shut down because of the user impact.
    Is there something I can do on PC A so that PC B "doesn't exist" or at least that B's shares are unreachable?
    Again, I cannot change anything on B.


    I tried adding an entryin into the hosts file, but that didn't work.
    Windows knows to use the active directory, even when the entry in hosts is different.

    And I cannot take A off the netwotk, because other PC's need to be accessable form A (during the test) while B is inaccessable.


    Translate