cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Buijspa
Level 7
Report Inappropriate Content
Message 1 of 5

Expert rule to block local administrator to add user account in a local group

Hi,

we have some developers with local administrator privileges only on their own devices with a dedicated administrative account (username_locadm).

We would like to block these accounts when they try to add other user accounts in the local groups (e.g. local administrators group or power users group) using any means like command prompt or scripts.

Is it something possible ?

Thanks for your help !

Pat

 

4 Replies
PravasK
McAfee Retired
McAfee Retired
Report Inappropriate Content
Message 2 of 5

Re: Expert rule to block local administrator to add user account in a local group

Hi @Buijspa ,

We don't have any available script to block administrators from creating other administrator users.

You may create a service request to check with support for any suggestions. Usually scripting is done by a team called Professional Services.

Thanks

Buijspa
Level 7
Report Inappropriate Content
Message 3 of 5

Re: Expert rule to block local administrator to add user account in a local group

Hi PravasK,

thanks for your quick reply.

I tough that expert rules are able to block some commands like « net localgroup*administrators*add », even if the user is administrator.

Am I wrong ?

Buijspa

Re: Expert rule to block local administrator to add user account in a local group

You could block the command line, but that wouldn't stop it in the GUI.

Buijspa
Level 7
Report Inappropriate Content
Message 5 of 5

Re: Expert rule to block local administrator to add user account in a local group

Hi,

We can disable the GUI (mmc snap-in)  via GPO.

But do you think we are able to block a script (vbscript, PoSh, .. commands) to add a user account in a local group?

Thanks for your help.

Kind regards,

Pat

You Deserve an Award
Don't forget, when your helpful posts earn a kudos or get accepted as a solution you can unlock perks and badges. Those aren't the only badges, either. How many can you collect? Click here to learn more.

Community Help Hub

    New to the forums or need help finding your way around the forums? There's a whole hub of community resources to help you.

  • Find Forum FAQs
  • Learn How to Earn Badges
  • Ask for Help
Go to Community Help

Join the Community

    Thousands of customers use the McAfee Community for peer-to-peer and expert product support. Enjoy these benefits with a free membership:

  • Get helpful solutions from McAfee experts.
  • Stay connected to product conversations that matter to you.
  • Participate in product groups led by McAfee employees.
Join the Community
Join the Community