Click here to Skip to main content
11,479,034 members (59,102 online)
Rate this: bad
good
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
Comments
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
good
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

Creates:

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

I'd ;ike I was helpful!

Smile | :)
  Permalink  

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

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 210
1 F-ES Sitecore 195
2 OriginalGriff 130
3 Frankie-C 120
4 DamithSL 95
0 Sergey Alexandrovich Kryukov 7,890
1 OriginalGriff 7,366
2 Sascha Lefèvre 3,064
3 Maciej Los 2,491
4 Richard Deeming 2,335


Advertise | Privacy | Mobile
Web01 | 2.8.150520.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