Is there some application (with GUI) that enables me to temporarily block access to some remote machine?
My code accesses a remote folder, and I'd like to simulate disconnection of couple of seconds to that server.
I don't want to play with shared folder on the remote or start playing with my machine network configuration which is more complicated.
You could modify your hosts file to point this name to nonexistent IP.
It's here:
C:\Windows\System32\drivers\etc\hosts