Skip to content

NinjaOne — Recommended Script Library Imports

Import these scripts from the NinjaOne Template Library during integration setup. Once imported, the Junto AI agent can use them for device management, troubleshooting, and security response. The agent always requests technician approval before executing any script.

How to Import

  1. In NinjaOne, go to Administration > Library > Automation.
  2. Select the Template Library tab.
  3. Find the script you want to import and click the ... menu.
  4. Select Import.
  5. Click Save.

Repeat for each script you want to make available to the agent.

NinjaOne Template Library

These scripts cover the most common agent workflows. Import all of them.

Troubleshooting & Repair

ScriptOSVariablesUse Case
DISM - Windows Image RepairWindowsYesRepair corrupted Windows system files
Office 365 - RepairWindowsYesQuick or Online repair of Office installations
Time Sync - Sync NowWindowsNoForce time synchronization when clocks drift
WMI - Health CheckWindowsNoDiagnose WMI issues causing monitoring failures
System Performance CheckWindowsYesCollect CPU, memory, disk, network diagnostics
System Performance Check - macOSmacOSYesSame for macOS endpoints

User & Account Management

ScriptOSVariablesUse Case
Create New Local UserWindowsYesProvision local accounts with auto-generated passwords
Rename Local UserWindowsYesRename local accounts
Modify User Account - macOSmacOSYesEnable, disable, delete, hide macOS accounts
Local Users ReportWindowsNoAudit local accounts on a device
User Logon History ReportWindowsNoInvestigate logon/logoff sessions
User Logon History Report - LinuxLinuxNoSame for Linux endpoints

Security & Compliance

ScriptOSVariablesUse Case
Verify running processes are signedWindowsNoFind unsigned processes (compromise indicator)
Block Microsoft Account CreationWindowsYesEnforce corporate account policy
Blue Screen AlertWindowsNoDetect BSOD events for proactive response
Expiring Secure Boot Certificate 2026 AlertWindowsNoIdentify devices needing certificate updates
Windows Updates - Secure Boot Certificate ManagementWindowsYesApply the Secure Boot certificate fix
Dell ControlVault Vulnerability Check & RemediationWindowsNoDetect and remediate Dell CVE DSA-2025-053
Enable or Disable UFW Firewall - LinuxLinuxYesManage Linux firewall state
File or Folder Exists AlertWindowsYesAlert on presence of suspicious files

Windows Updates & Maintenance

ScriptOSVariablesUse Case
Windows Updates - Reset Update Settings to DefaultWindowsNoFix broken Windows Update configurations
Windows Updates - Enable or Disable Check for Updates ButtonWindowsNoControl update behavior on managed devices
System Restore - Check StatusWindowsNoVerify System Restore is enabled
System Restore - Create a Restore PointWindowsNoCreate restore point before changes
System Restore - Restore Point ReportWindowsNoAudit available restore points

Software Management

ScriptOSVariablesUse Case
Uninstall a Windows ApplicationWindowsYesRemove applications via standard uninstall
Software Removal - Uninstall Dell Support AssistWindowsNoRemove bloatware
Install PowerShell 7WindowsNoUpgrade to modern PowerShell
Install PowerShell 7 - macOSmacOSNoSame for macOS
Install PowerShell 7 - LinuxLinuxNoSame for Linux
Manage Dell Command UpdateWindowsNoScan for and install Dell firmware/driver updates

Network & Connectivity

ScriptOSVariablesUse Case
Get Current Wi-Fi PasswordWindowsYesRetrieve Wi-Fi credentials (saves to secure field)
Wi-Fi ReportWindowsNoGenerate wireless LAN diagnostics
Active Power Plan ReportWindowsNoAudit power settings affecting performance

Reporting & Inventory

ScriptOSVariablesUse Case
Active Directory - Audit ReportWindowsYesAD environment overview
Detect Windows 10 ESUWindowsNoIdentify devices eligible for Extended Security Updates
MDM - Profile Enrollment Audit - macOSmacOSNoAudit MDM enrollment status

Optional Scripts

These are useful but less commonly triggered by the agent.

ScriptOSVariablesUse Case
Create Desktop Shortcut - EXEWindowsYesDeploy application shortcuts
Create Desktop Shortcut - URLWindowsYesDeploy URL shortcuts
Create Desktop Shortcut - RDPWindowsYesDeploy RDP shortcuts
Display PopUpWindowsNoShow messages to end users
Set Default Filetype AssociationsWindowsYesConfigure default apps
Enable or Disable Classic Outlook SignaturesWindowsYesManage Outlook signature settings
Enable or Disable Location Services - macOSmacOSYesToggle macOS location services
Ninja Remote - Update Technician PlayerWindowsNoUpdate remote control tool
Remove Notepad++WindowsNoRemove Notepad++

These are specialized or internal NinjaRMM scripts that don't apply to typical agent workflows:

  • NinjaOne Agent Deployment by AD Immediate Scheduled Task GPO — Infrastructure deployment, not agent-driven
  • Ninja - Windows 365 Cloud PC - Partner Connector Tool — One-time setup, security-sensitive
  • DEX Survey Scripts (1-3) — End-user experience surveys, not troubleshooting