Running a Program From a Shared or Mapped Drive

I wrote a program recently  that needed to be run from 10 different computers simultaneously.  I kept on copying the source code to all 10 computers until the idea of centralizing the code hit me one night.  Well instead of copying all the source why not have the source code on one location and simply call the exe from the clients. In the past, one use to just copy the source code to the network drive and did not have to worry too much about permissions and security. 

With the .NET  Framework one has to explicitly give permission to run program from the shared drive and here are the instructions.

1. Go to control panel  -> administrative Tools -> Microsoft .net configuration …


2.   Right Click on the "Runtime Security Policy" and click on "Adjust"


3. Give Full Trust to Local Intranet


4. Then Finish and Voila