Jump to content

Delete users from the local admin group


Recommended Posts

2 hours ago, Jos said:

Sorry was still updating the previous post... :)

Anyways, i still think the domainname should be included in the commandline or not? 
Did you try these manually yourself from the commandline:?

C:\WINDOWS\system32\cmd.exe /c net localgroup Administrators "PDS_PlantDesign_Desktop_Admin" /delete 
C:\WINDOWS\system32\cmd.exe /c net localgroup Administrators "DOMAIN\PDS_PlantDesign_Desktop_Admin" /delete

Jos

no this does not work.  

for some reason I cannot get any command to work to remove this group.

I've tried many syntax and still will not remove this one group.

Link to comment
Share on other sites

  • Developers

You did run the CMD prompt as Administrator ..right? 
Well, AutoIt3 can't yet do wonders by making things work that won't work manually. Guess you need to get that sorted first. :)

Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...