Click here to Skip to main content
15,867,885 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I am trying to move one user to admin group.
but i am getting an error "A new member could not be added to a local group because the member has the wrong account type."

why its coming..?
Posted
Comments
Richard MacCutchan 7-May-13 8:04am    
What OS, what group, what command? Please expalin your problem clearly.
@BangIndia 7-May-13 8:36am    
windows vista, try to move administrator group. UserMapToGroup is my API.
but if i create new user its working . but old user which is already created its not working..

1 solution

Yes I know this problem!

I can solve it! (but on Linux :( )

It gives this error because you cannot create users if you haven't got admin's premissions!

You can hack the password if you want with C++. I will do a video how to do it (Working on Windows 7, XP, Vista, 8, 2000 and more!). Then you can create a Admin Type user.

Admin -> Admin type
User -> User type
Guest -> User type, No password

Creates:

Admin -> Users / Guests
User -> nothing
Guest -> nothing

I'd ;ike I was helpful!

:)
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900