How to Execute an EXE stored in a Document Library directly in Client’s Machine in SharePoint 2013

Sathish Nadarajan
 
Solution Architect
June 14, 2015
 
Rate this article
 
Views
17541

Recently in our application, I met with some requirement like, there are certain tools (utilities/EXE’s) were there, which were stored on the Document Libraries. When the End User clicks on those links, they are asking for the default SAVE, SAVE AS Options alone. As shown in the figure below.

image

There is no Run Option. i.e., if the user is a frequent user, then the download is happening whenever he clicks on the link. To avoid this, and to make a User friendly approach, on click, directly it should Run. It will ask for your permission. That we cannot avoid. But, the download will not happen frequently.

To achieve, this again, let us go by step by step. In the Previous article, we saw how to upload the EXE files into SharePoint Document Library.

1. Go to Central Administration.

image

2. Go to Manage Web Applications.

image

3. Select the Web Application and Click on General Settings.

image

4. On the Browse file Handling Section, select Permissive. By default, it will be Strict.

5. Click OK and come back.

6. Click on the EXE from your document library.

7. We will get the third option called Run.

image

For the testing purpose, I have created a TrialWindows.exe and uploaded.

 

Happy Coding,

Sathish Nadarajan.

Category : SharePoint

Author Info

Sathish Nadarajan
 
Solution Architect
 
Rate this article
 
Sathish is a Microsoft MVP for SharePoint (Office Servers and Services) having 15+ years of experience in Microsoft Technologies. He holds a Masters Degree in Computer Aided Design and Business ...read more
 

Leave a comment