XPero

XPero's utilities

107 posts in this topic

Hi XPero,

this version grants access to the user Administrator, but not the group Administratoren (Administrators).

André

0

Share this post


Link to post
Share on other sites

I think I've found another way of doing it. I will update the app soon this week or the next. Thanks for all Andre.

0

Share this post


Link to post
Share on other sites

ok, no problem. I will test the new version asap after you release it :)

0

Share this post


Link to post
Share on other sites

any progress with the new version?

0

Share this post


Link to post
Share on other sites

No sorry. I will post this week for sure.

0

Share this post


Link to post
Share on other sites

ok, I will wait :)

0

Share this post


Link to post
Share on other sites

Boooh, It doesnt work :( I will be adding a textbox, so people can supply "Administrators" in their own language. :}

0

Share this post


Link to post
Share on other sites

OK, beta 2 out in 1st post :) Please Andre test this one. I think it is fixed. Cheers

0

Share this post


Link to post
Share on other sites

no, it still doesn't work on my German Vista :(

0

Share this post


Link to post
Share on other sites

Hi XPero, you used "BUILDIN\Adminstrators" to grant control. This code snippet retrives the translated Name (in German: VORDEFINIERT\Administratoren"). I hope this will work. Could you include this code into your tool?

string getName(WellKnownSidType wksid)
{
SecurityIdentifier sid = new SecurityIdentifier(wksid, null);
NTAccount account = (NTAccount)sid.Translate(typeof(NTAccount));
return account.Value;
}


getName(WellKnownSidType.BuiltinAdministratorsSid)

Edited by MagicAndre1981
0

Share this post


Link to post
Share on other sites

Wow, thanks a lot! New version uploaded.

0

Share this post


Link to post
Share on other sites

ok, I'll test it this evening, when I'm at home.

0

Share this post


Link to post
Share on other sites

the new version works perfect :)

0

Share this post


Link to post
Share on other sites

Yahooo. Thanks for your help :)

0

Share this post


Link to post
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

  • Recently Browsing   0 members

    No registered users viewing this page.