How do I deploy exe via gpo? I am trying to install Python but they only do EXEs now!
You can install exe's via active directory GPO.
Refer below link it is explained step-by-step.
If the Answer is helpful, please click
Accept Answer and up-vote, so that it can help others in the community looking for help on similar topics.
You cannot deploy ".exe" through GPO. It has to be .msi.
You need to convert the .exe to .msi first and then you will be able to install the .msi
The most common way would be to create a logon script that verifies the installation (installed/not installed).
The GPO would be:
Computer Configuration > Policies > Windows Settings > Scripts (Startup/Shutdown).
You will need to save a script in a DFS share accessible for the clients (such as Netlogon, or other if configured) and store a BAT script.
Examples of the script:
IF EXIST "c:\myapp - Installed.txt" GOTO END
echo "Myapplication is installed on this computer" > "c:\myapp - Installed.txt"
Basically it checks if a TXT file is already created, if yes: it finishes, if not: proceeds with install and then write the file. You may need to check the install parameters of your app for things like /passive or /silent to run on background without user interaction.
Hope this helps in your case,
--If the reply is helpful, please Upvote and Accept as answer--
14 people are following this question.