Already a NinjaOne customer? Log in to view more guides and the latest updates.

Script Share: User Management

*Disclaimer — NinjaOne does not verify or test the scripts posted in this forum. We recommend testing all custom scripts on a small set of devices prior to running them on a broad scale*

Submit new scripts and script requests in our Script Share community topic in the Dojo.

 

NameDescriptionOS
User Report API ScriptGet users API script which exports the data into a CSV 
Manage Local Administrator Accounts and Group Memberships Windows
Set a specified local admin account on a schedule for a client Windows
User Software Installation Alert Windows
Automated Domain Administrator Password Management Script for Windows Server Windows
Domain Endpoint: Restrict and TerminateDenies interactive logon for domain users and securely terminates the endpointWindows

Script to change the Teamviewer Random password (for spontaneous access)

 Windows

Hide or Show Systray Icons as Required

This simple script allows for an exe name list to change the hide/show status has required.Windows
Configure Google Credential Provider Windows
Join Active Directory Domain Windows
Map Network Drive with End User Credential Inputs Windows
Set Minimum Password Requirements Windows
Check if password is setlocal userWindows
Changes TeamViewer Password Windows
Remove Admin Rights from User Windows
Create Local Admin Accounts Windows
Create Default Local UserOn all workstationsWindows
Create User (group devices)for group of machinesWindows
Change Local Admin Password Windows
Create Admin User and Hide from Login Screen Windows
Disable or Delete User Windows
Notify and Alert when AD User is Logged Out Windows
Auto Log-off on Idle Windows
ADsync: Powershell ScriptingRun script as scheduled taskWindows
Customize Default User Windows
Create (Admin) AccountCyberDrainWindows
Delete AccountCyberDrainWindows
Create Local Admin Windows

Back-Up and Restore

Last logged on userWindows

New User Creation

 Windows

Remote Lockout

 Windows

Offboarding M365 User

 Windows

Isolate Host on Network

 Windows

Reset Password

 Windows

Convert Users

Admin Privileges to Standard UsersWindows

Check for unwanted local admins

 Windows

Check Admin Account

 Windows

Rotate Admin Password

 Windows

Domain Controller Scripts

 Windows

Domain Admin Password Rotation/Creation

 Windows
Wifi Password Reveal Windows
Configure User's Options in Windows Update Windows
Delete All Admin (exclude MSP admin)Deletes all admins excluding MSP AdminWindows
Rotate Admin PasswordsRotate local admin passwords using passphrases.Windows
Force Lock Screen After 15 MinutesIn comments 
Create Local User Mac
Change User Profile Picture Mac

FAQ

Next Steps