Adds Current Or Last Logged On User To Local Admin Group

Script checks to see if a user is logged in, if so script uses net localgroup /ADD command to add user to Local Admins Group. If no user is logged in, it will add the last logged on user to the Local Admins Group.(DO NOT run on Domain Controller) Script then writes which user was added to script log if successful.

How to Download a Script

Script Categories
Content Copyright
2013 Virtual Administrator
Number of Downloads
11
Script Version
1.0
Script Author
Script OS
Script RMM
RMM Version
6.2

Search For More Scripts

Generic selectors
Exact matches only
Search in title
Search in content
Search in posts
Search in pages
scripts
training
views
patch_updates
monitorsets
reports
marketingmaterials
Filter by Categories
MSP Guides
Webinars