Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Vista Newsgroups > Vista security

Vista - No users in Local Administrators Group

Reply
 
Old 01-21-2009   #1 (permalink)
am


 
 

No users in Local Administrators Group

When attempting to view the members of the local administrators group I see
no users at all, even when in the context of the local administrators
account. If I attempt to add an account to the group that I know is in there
already, I receive the following message:

"Username" is already a member of group "Administrators".

I've also tried running a script to enumerate the users in local
administrators group and this returns no results.

Any ideas how I can resolve this?

My System SpecsSystem Spec
Old 01-22-2009   #2 (permalink)
am


 
 

RE: No users in Local Administrators Group

I knocked up a C# app that calls NetLocalGroupGetMembers but this returns 87
(ERROR_INVALID_PARAMETER) when the groupname parameter = "administrators".
When groupname = "users" the function returns 0 (ERROR_SUCCESS), indicating
that it is succesful.

"am" wrote:
Quote:

> When attempting to view the members of the local administrators group I see
> no users at all, even when in the context of the local administrators
> account. If I attempt to add an account to the group that I know is in there
> already, I receive the following message:
>
> "Username" is already a member of group "Administrators".
>
> I've also tried running a script to enumerate the users in local
> administrators group and this returns no results.
>
> Any ideas how I can resolve this?
My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Add local machine users to local admin group via GPO .NET General
list users in a local group on a distant computer PowerShell
Remove user from administrators group PowerShell
Administrators Group User do not have permission! Vista General
Member of local Administrators Vista account administration


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46