Skip to content

archways404/arjo-tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Arjo Tools

Modular PowerShell setup utility for configuring ARJO machines.

PowerShell Platform Admin

GitHub Release


Automatic Setup (NL2026)

irm https://arjo-metrics.k14net.org | iex

Quick Start

Open PowerShell and run:

iex (irm "https://arjo.k14net.org")

Backup (direct link):

iex (irm "https://raw.githubusercontent.com/archways404/arjo-tools/master/main.ps1")

An interactive menu will appear — pick what you need, then press 0 to exit when done.


Menu Options

# Option Description
1 Add Printers Installs and configures standard network printers
2 Set Power Settings Applies the standard ARJO power profile
3 Fix Teams Add-in (Outlook Classic) DISABLED Re-enables the Teams Meeting add-in when inactive or crash-disabled
4 Lenovo System Updates (IN BETA) Scans and installs Lenovo driver and firmware updates — relaunches elevated if needed
5 View Lenovo Update Logs (IN BETA) Lists and displays logs from previous Lenovo update runs
6 View Local Admins (IN BETA) Lists users with local administrator rights on domain machines
7 Nils & Kobby Net-User script Look up AD user details and group memberships by username or display name
8 Get PC Info Displays local PC hardware and OS details (name, model, serial, MAC, OS)
9 Get User License Looks up a user's M365 license and recommends MEC or LTSC Office install

After each task completes you are returned to the menu automatically.


Notes

  • Options marked IN BETA are still being tested and may not work in all environments.
  • Lenovo System Updates requires the machine to be a Lenovo device. It will automatically relaunch as Administrator if not already elevated.
  • View Local Admins scans machines in the SEMA3 OU. Offline machines are skipped automatically. Coverage depends on how many machines are online at the time of the scan.

✅ Requirements

  • Windows PowerShell 5.1 or later
  • Admin privileges recommended — required for printer installation and power settings

 


Advanced & Optional

These sections cover specific edge cases. Most users only need the Quick Start above.

▶ Running from CMD instead of PowerShell  
powershell -Command "iex (irm 'https://raw.githubusercontent.com/archways404/arjo-tools/master/main.ps1')"
▶ Execution policy is restricted (script is blocked)  

If you see an error about execution policy, bypass it for the session with:

powershell -ExecutionPolicy Bypass -Command "iex (irm 'https://raw.githubusercontent.com/archways404/arjo-tools/master/main.ps1')"

Note: This bypasses the policy for that single session only — your system policy is not permanently changed.

▶ Run a specific script directly (skip the menu)  

Each component can be run standalone if you only need one specific fix:

# Fix Teams add-in for Outlook Classic only
iex (irm "https://raw.githubusercontent.com/archways404/arjo-tools/master/outlook-classic/ms_outlook16classic_teams_addin.ps1")
# ThinkShield script
iex (irm "https://raw.githubusercontent.com/archways404/arjo-tools/master/ThinkShield/script1.ps1")
▶ Repository structure  
arjo-tools/
├── main.ps1                                   # Interactive menu entrypoint
└── components/
   ├── printers.ps1                            # Printer installation (exposes Add-Printers)
   ├── power.ps1                               # Power configuration (exposes Set-PowerSettings)
   ├── get-pc-info.ps1                         # PC hardware/OS info (exposes Get-PCInfo)
   ├── lenovo-updates.ps1                      # Lenovo driver/firmware updates (exposes Start-LenovoUpdates)
   ├── view-logs.ps1                           # Lenovo update log viewer (exposes Show-LenovoLogs)
   ├── list-local-admin-for-site.ps1           # Local admin listing (exposes Show-GroupMenu)
   ├── nk-net-user-lookup.ps1                  # AD user lookup (exposes Start-UserLookup)
   └── mslic.ps1                               # M365 license lookup + Office recommendation (exposes Get-UserLicense) 

Scripts under components/ expose named functions and are loaded by main.ps1 on demand. Scripts in subdirectories run inline and can also be invoked directly without the menu.

▶ What registry keys does the Teams fix touch?  

All changes are written to current user only (HKCU) — no system-wide modifications.

Registry Key Purpose
HKCU:\...\Outlook\Addins\TeamsAddin.FastConnect Sets LoadBehavior = 3 — marks the add-in as active on startup
HKCU:\...\Outlook\Resiliency\DisabledItems Clears add-ins that Outlook has force-disabled after a crash
HKCU:\...\Outlook\Resiliency\DoNotDisableAddinList Exempts Teams from being auto-disabled again in the future

All operations are idempotent — safe to run multiple times with no side effects.

About

A collection of scripts and tools, made specifically for the IT dept at Arjo.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors