Skip to content

eneerge/NAble-Remove-Users-From-Admin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

NAble-Remove-Users-From-Admin

This script will remove all users from the specified group.

This was written initially to ensure that users do not have local administrator access on their machine, but can also be used for removing users from other groups.

In RMM, you can run this as a daily task to ensure users have not unintentionally received admin.

Also, when enrolling devices in AzureAD, the first user that signs in will receive Administrator rights. Making this script run immediately after deployment will remove that Azure user from the Administrators group.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published