Skip to main content
September 19, 2011
Question

How to hide one PC from another

  • September 19, 2011
  • 2 replies
  • 720 views

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

    September 19, 2011
    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

    September 19, 2011

    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.