I have 100 web servers and noticed that some of them have request filtering enabled for “.exe” extension. This means that if a user wants to access a .exe file with an application we ave it is blocked by the server.
Is there a way of doing any type of command line or script whereby I know which servers are affected? Currently I am testing by doing a manual check by going to internet explorer and typing in:
http://***SERVER1***/website/OFFICEPRO/2007/Office%20Professional/setup.exe
http://***SERVER2***/website/OFFICEPRO/2007/Office%20Professional/setup.exe
If I get a pop-up box stating to enter my credentials then that works. Hwoever if I get “Error Page (404)” then that does not work.
Thanks,
You can use powershell to do this, the following should get you on your way:
The file named servers.txt contains the list of servers you want to check.