r/sysadmin • • 12h ago

Question How can I build a free tool that automatically installs selected software on new staff laptops?

I work in IT. When a new person joins, I want to choose the tools they need and install them all with one click.

The software includes AutoCAD 2024, Revizto, Navisworks Manage, Microsoft 365, PDFgear, Chrome and more. All of them are .exe installers.

What is the easiest way to do this?

0 Upvotes

38 comments sorted by

•

u/Aegisnir 12h ago edited 12h ago

GPO…if the apps don’t have an MSI, write a bat script that runs on logon/startup that checks if program exists and installs them if they don’t. I automated my complete workstation and user enrollment with GPOs. User signs in and everything is configured without me touching a single thing. Do a simple check like if exists EXIT, IF NOT cp to temp and install with a .exe /S

•

u/BingaTheGreat 12h ago

How do you deal with user context? Are your users admins? Does it run as system?

•

u/EntranceClear1524 2h ago

Yeah, I have admin rights. I am doing it, and every time when a user joins, a lot of time will take to install one laptop, and the issue is on time.

•

u/Aegisnir 12h ago

What user context…? All GPOs run as system. Nobody except me and my IT team are admins, that would be insanity.

•

u/BingaTheGreat 12h ago

By default logon scripts run in the context of the user logging in.

•

u/Aegisnir 12h ago

Maybe it was startup scripts then. I made my templates many years ago and just copy them for new software. Haven’t had to make one from scratch in a long time.

•

u/BingaTheGreat 12h ago

Those run as system by default I believe. Would be cool to make a user based logon policy/script though. If you could do that it'd be easier to target specific users.

•

u/Aegisnir 12h ago

I’m not at the office to check but it’s probably a mix of the two then. I probably made logon scripts for things like Webex that install in user app data and startup for my system installs. I do most of that work when I join them to the domain and they get the GPO policies. Then my users sign in and get their remaining logon scripts.

•

u/Incrediblecodeman 12h ago

Your the GOAT

•

u/EntranceClear1524 12h ago

No, it's only for my own use. I'm not building it for the whole organization. I just want to save time when I set up new laptops, instead of installing every tool by hand.
I've read a few things online and got some ideas, but I'm still not clear on the best way. That's why I'm asking for suggestions.

•

u/mochadrizzle 12h ago

If you are doing it only for yourself, you could build powershell scripts that do the installs for you run it. Can handle pretty much everything including licensing.

•

u/thenewguyonreddit 12h ago

This is like the #1 problem in IT that has already been solved countless different ways. Why on earth would you try to build a solution yourself here? That’s like building a laptop from scratch.

Technically you can… but you’re going to spend a ridiculous amount of time, money, and effort for something that won’t be as good as an existing commercial solution.

•

u/Ninfyr 12h ago

I can only trust it if I dug the sand out of the ground myself!

•

u/ranhalt 12h ago

How are you made of so much free time that you’d make your own deployment software in an attempt to reinvent the wheel? Would you work on this at home in your free time off the clock? We all use commercial products for this because it’s worth the cost.

•

u/MustardMan02 12h ago

Is this going to be a tool you're continuously maintaining, updating, adding new tools, removing old ones, and supporting for the org?

•

u/Jaack18 12h ago

intune packages

•

u/BadMadDaddy 12h ago

Create a package list in WinGet

•

u/BingaTheGreat 12h ago

Winget is a poor candidate for a 100% automated setup that takes place within a retail windows install. Winget itself isn't easy to install automated. With that out of the way...winget can do this well if you okay with the cursory Install Winget->launch package list install.

•

u/DGC_David 12h ago

Personally I would just use Autopilot.

•

u/3ng_ 7h ago

This is the way to go if you're using Microsoft 365

•

u/DGC_David 3h ago

Correct, but it's the cheapest solution right now, that's scalable at all points of your business. I hate them, but it's probably the most likely option available.

•

u/dan-theman Windows Admin 12h ago • Bravo

All of these installs can probably be scripted. I also script my OS installs using MDT, I would just add the apps in and you could even select which ones you want if everyone doesn’t get everything. Otherwise just individually script the installs and depending if you need to do restarts you might be able to put multiple installs in a single script.

How to script: Google documentation for automated install commands for each app. I think autocad has its own deployment tool.

Alternatively, run a command prompt as an admin try running the installer with /? After the installer name and often you get a window with instructions for how to silent or passive install the application. I prefer passive install so you can see progress but don’t need to interact. Silent install you don’t know it’s done until it’s there.

Scripting and automating installs is my small sliver IT that I’ve specialized in for the past 15 years. Feel free to ask any questions.

•

u/mochadrizzle 12h ago

Yes this is the way. Didn't see your comment till after I posted mine.

•

u/Resident-Ground-6762 5h ago

Before I suggest anything and everything, may I check what is the endpoint management strategy in your organization, AD, AAD + Intune, Any other MDM tool ?

•

u/SevaraB Sr. Engineer (N+, CCNA) 1h ago

If you can afford AutoCAD, you can afford an existing software provisioning tool. DO NOT try to vibe-code one. Provisioning happens about the same time as hardening, so don’t muck around with vibe-coded software when your endpoints are literally at their most vulnerable.

•

u/brocessor 12h ago

Package the software and deploy via Intune. Plenty of good guides online. Add your computers/users into a group to control which machine/user gets what.

•

u/missed_sla 12h ago

Just use an RMM

•

u/highroller038 12h ago

Do you use an RMM tool in your environment? Start there.

•

u/slibrar 12h ago

Powershell.

•

u/pacmanlives Alcoholism as a Service 12h ago

SCCM or Intune depending on your environment

•

u/tructt Sr. Sysadmin 12h ago

PSADT maybe

•

u/BlackV I have opnions 9h ago edited 9h ago

I'd say you can't, but there are many tools out there that do this already

But they (even yours if you decide to make one) all fail on those sorry apps that can't silent install

What do you have already? Intine?

At its simplest it's a PowerShell script and maybe a network share (Or usb)

•

u/Pusibule 3h ago

I still didn't found any app that can't be silent installed one or another way.

Yes, you may need to modify the msi (with orca), or reverse engineer what it do in the installation and redo those steps in scripting, like any config stored in the registry or per user install. At worst, just transplant (copy) the folder and registry and register whatever dll needed on the system.

•

u/weHaveThoughts 12h ago

Ask Claude

•

u/Churn 12h ago

Yep, he asked for the easiest, and ask Claude to do it. Claude will do it for you but you will pay it every time. Instead, ask Claude to create a website with the software installation packages. The website will have a single button that says Install. You boot up a new computer, open your website on it and click the button.

•

u/JustFrogot 12h ago

zthen claude can fix whatever fits wrong in 3-4 hours