• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 708
  • Last Modified:

Add the Domain Users group to the Power Users

I am looking for a way to add the Domain users group to the Power Userss group on the local machine.
0
Trypsim
Asked:
Trypsim
  • 2
1 Solution
 
CrownappraisalCommented:
Right click on My computer > click manage > Local Users and Groups > Groups > double click power users > click add > type in Domain Users and click ok > then click apply.
0
 
TrypsimAuthor Commented:
I need to do this programatically through the C# development environment.
0
 
TrypsimAuthor Commented:
Heres the way i figured out how to do through the command line.
// ------------------------Library---------------------------------------------------
using System.Diagnostics;
// ------------------------------------------------------------------------------------
Process.Start("NET", "LOCALGROUP \"Power Users\" \"NA-TENETWORK\\Domain Users\" /Add");
0
 
Vee_ModCommented:
Closed, 500 points refunded.
Vee_Mod
Community Support Moderator
0

Featured Post

Receive 1:1 tech help

Solve your biggest tech problems alongside global tech experts with 1:1 help.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now