Greetings, If this has already been covered I apologize. I did search and read the first ten pages of previous posts to no avail.
Here are my issues:
We deny by default any domain UserID from being in the local machine admin group. However, we do have an exception policy and process in place to request an exception. That list of approved exceptions is polled once per quarter to ensure that the user still needs that access. So, the list of "Allowed Administrators" will necessarily change. I was hoping to find some instructions on crafting a SQL query that would allow me to manage that list more efficiently.
As an example, as we are just getting started, the current list of allowed administrators was entered by me and it is only about 15 IDs long. However, I just finished creating the latest exception list and have that in an excel spreadsheet. It contains over 500 userIDs. Rather than manually enter 500 IDs, is there a SQL script already created that would allow me (with some modification of course) to import that list directly into the database?
Another example given our desired process... Next quarter when I review this list again, I will have to pull some IDs out of the table and add some new one's in. Again, is there an already existing script that accomplishes this sort of task?
Finally, if these types of scripts do not currently exist, would it be possible to receive some guidance in the creation of them. Once created by us, we will be happy to post them here once we redact our company specific info.
Thanks for your attention to my query.