Use group policy to install application with .EXE file

What steps can be used to create a Server 2016 group policy to install an application with an .EXE file on Windows 10 client computers?
IT GuyNetwork EngineerAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

yo_beeDirector of Information TechnologyCommented:
You will need to create either a start up or logon script as one method.

The other is to create a new scheduled task via Group Policy Preferences to run at specific time.

I think the scheduled task is the easier method.

Do you have the switches needed to install without any user interaction?  Without this you will never get it to run.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
McKnifeCommented:
yo_bee's correct.
The author is asking another anonymous question about exe to msi conversion, by the way.

About scheduled tasks: we can use immediate tasks, here, to make it install as soon as possible.
aravind ancheWindows/Vmware Commented:
yo_bee's correct.
try script something like below


Be sure that the computer accounts have read access to your share. They need both share and NTFS permissions. You can do this by adding domain computers to the permissions.

check for the application exists
if exist "%ProgramFiles(x86)%\Program Name" set TargetDir=%ProgramFiles(x86)%\Program Name"
if exist "%TargetDir%\%InstallRev.txt" goto Finish


"\\fileshare\Client Installation\setup.exe -q"

:finish
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Server 2016

From novice to tech pro — start learning today.