Click here to Skip to main content
Rate this: bad
Please Sign up or sign in to vote.
See more: Vista C++
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 7-May-13 1:24am
Richard MacCutchan at 7-May-13 8:04am
What OS, what group, what command? Please expalin your problem clearly.
@BangIndia at 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

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Yes I know this problem!
I can solve it! (but on Linux Frown | :( )
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
Admin -> Users / Guests
User -> nothing
Guest -> nothing
I'd ;ike I was helpful!
Smile | :)

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

Advertise | Privacy | Mobile
Web04 | 2.8.150326.1 | Last Updated 7 May 2013
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100