this post was submitted on 23 Nov 2023
10 points (91.7% liked)

Sysadmin

7717 readers
82 users here now

A community dedicated to the profession of IT Systems Administration

No generic Lemmy issue posts please! Posts about Lemmy belong in one of these communities:
!lemmy@lemmy.ml
!lemmyworld@lemmy.world
!lemmy_support@lemmy.ml
!support@lemmy.world

founded 1 year ago
MODERATORS
 

I thought this was the right place to ask, let me know if somewhere else was better.

I have a classroom in a public school with around 30 PCs (windows) I need to install software on (python and codium). They are all the same PCs. In the past there was a management system but due to some licensing issues that does not work anymore.

How its been done before: Go to each and every PC and setup everything manually, or do it once and mirror the HDD 30 times .... both ways very time consuming.

I thought there might be a better way to do this, do you have any idea?

top 15 comments
sorted by: hot top controversial new old
[–] ichbinjasokreativ@lemmy.world 7 points 1 year ago (1 children)

PowerShell is the way to go here, either through winrm or psexec

[–] surewhynotlem@lemmy.world 2 points 1 year ago (1 children)

This is the answer for such a small group of machines. Have chatgpt write a script that runs X on every device in a list. Then have X be the install from a network share.

[–] nyar@lemmy.world 4 points 1 year ago

Then, with the script it made, double check every line and confirm it didn't make shit up.

[–] SheeEttin@lemmy.world 6 points 1 year ago

PDQ Deploy is pretty highly recommended.

[–] oDDmON@lemmy.world 5 points 1 year ago

Look into psexec, MS bought it & the rest of that suite of tools, long ago and last I looked, still supported them. (Yep. Still do)

They were easily scripted, perfect for managing small labs, or OUs.

More here: https://learn.microsoft.com/en-us/sysinternals/downloads/psexec

[–] REdOG@lemmy.world 5 points 1 year ago

Id make sure winrm is setup and use Ansible.

Or install and configure ssh and use powershell

[–] sitzathlet@feddit.de 4 points 1 year ago

If it can't cost anything, and time is not too much of an issue, you might want to use winget or chocolatey. If there's packages, you can write the script quite easily, then run it on every machine.

[–] Dran_Arcana@lemmy.world 3 points 1 year ago* (last edited 1 year ago) (1 children)

The tool sets you're looking for fall under a category called IaC (infrastructure as code). They allow you to define environments and add installers and configuration to those environments. Typically they require an extra network-accessable server to act as a controller for the toolset.

My personal go-to at work for exactly what you're asking is Puppet.

Other popular options: Sccm, Chef, Ansible

[–] surewhynotlem@lemmy.world 3 points 1 year ago

I've never heard of IAC on Windows desktops. IAC is about consistent building of cloud resources. These are individual physical devices and probably aren't all being flashed and rebuilt with every deployment.

[–] IMongoose@lemmy.world 3 points 1 year ago

Me as a potato would use https://ninite.com/ for python and figure out a silent install for codium and make a batch script to install them.

I would also look into setting up a https://fogproject.org/ server to image windows devices if you have no money or resources.

[–] possiblylinux127@lemmy.zip 1 points 1 year ago

Are they domain joined? You could always use active directory to do a mass install. I like RZget from Ruckzuck but I'm sure there are plenty of similar tools.

Another option is to use SSH and clusterssh to run commands on each machine. Its more of a Linux solution but it should work assuming you willing to go around and add the same public key to each machine.

[–] netburnr@lemmy.world 1 points 1 year ago (1 children)
[–] surewhynotlem@lemmy.world 2 points 1 year ago

Not free though

[–] chevy9294@monero.town 0 points 1 year ago (1 children)

USB Rubber Ducky or similar

[–] possiblylinux127@lemmy.zip 2 points 1 year ago

Now that's a solution I've never thought of