Remove IIS Log Files (2-1) --- Handle Group User Accounts

Note: This article was published on 01/24/2025. --- This is a working note.

Although this topic is ndependent, but it was derived from the Remove IIS Log Files project. So we merge this article into the series of articles for REmove IIS Log Files.

This series of articles are to discuss a task to remove IIS Log Files. We start from doing the task manually, then make automation, and the last deploy the automation to pipelines (different servers):

Issue:

When we setup Task Scheduler, the scheduler needs to be run by a specific account, such as SYSTEM as below:

In case, we need to setup a specific account to run the scheduler, as below, how should we configure the user as a role needed:

This is an issue to handle Group User Accounts in server.

Solution --- the Way to Setup Group User Accounts in Windows server

Type user accounts in Windows Search bar --- the computer must be a server.

Click User Accounts to Open the page:

Cllick Manage User Accounts to open User Accounts

You may find the item you look for,

otherwise Click Advanced Tab:

Click Advanced to Open Local Users and Groups Windows:

Click Groups on the left panel, Choose Administrators to Open Administrators Peoperties Window:

If the item you are looking for is not there,

If not, Click Add button to open the Select Users Computers, Service Accounts, or Groups window:

Type in the Object name:

If the group name is not you want, Click Locations button to open locatioins Window:

Switch the group name:

OK

OK

OK

OK

Up Next
    Ebook Download
    View all
    Learn
    View all