Menu
Forums
New posts
Search forums
Articles
Latest reviews
Search resources
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Windows 10 Forums
Windows 10 Support
User Administration windows 10
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="moiseyo" data-source="post: 65849" data-attributes="member: 13300"><p>I have account within Amininistration group</p><p></p><p>The code Powershell ( and .NET as well )</p><p> (new-object System.Security.Principal.WindowsPrincipal([System.Security.Principal.WindowsIdentity]::GetCurrent())).IsInRole("Administrators")</p><p></p><p>returns false</p><p></p><p>-------------------------</p><p></p><p>I ran command </p><p> [System.Security.Principal.WindowsIdentity]::GetCurrent().Groups</p><p></p><p>in 2 cases under my account and Powershell as Administrative</p><p></p><p>and found that Powershell as Administrative has 4 more roles</p><p></p><p></p><p></p><p> Powershell as Administrative</p><p></p><p> BinaryLength AccountDomainSid</p><p></p><p> -- ---------------- -----</p><p> 12 S-1-1-0</p><p> 12 S-1-5-114 - Extra</p><p> 28 S-1-5-21-573147726-3479669810-588349159 S-1-5-21-573147726-3479669810-588349159-1001</p><p> 16 S-1-5-32-544 - Extra</p><p> 16 S-1-5-32-551 - Extra</p><p> 16 S-1-5-32-559</p><p> 16 S-1-5-32-547 - Extra</p><p> 16 S-1-5-32-545</p><p> 12 S-1-5-4</p><p> 12 S-1-2-1</p><p> 12 S-1-5-11</p><p> 12 S-1-5-15</p><p> 52 S-1-11-96-3623454863-58364-18864-2661722203-1597581903-24264218...</p><p> 12 S-1-5-113</p><p> 12 S-1-2-0</p><p> 16 S-1-5-64-36</p><p> </p><p></p><p> Powershell as Me</p><p> BinaryLength AccountDomainSid Value</p><p> ------------ ---------------- -----</p><p> 12 S-1-1-0</p><p> 28 S-1-5-21-573147726-3479669810-588349159 S-1-5-21-573147726-3479669810-588349159-1001</p><p> 16 S-1-5-32-559</p><p> 16 S-1-5-32-545</p><p> 12 S-1-5-4</p><p> 12 S-1-2-1</p><p> 12 S-1-5-11</p><p> 12 S-1-5-15</p><p> 52 S-1-11-96-3623454863-58364-18864-2661722203-1597581903-24264218...</p><p> 12 S-1-5-113</p><p> 12 S-1-2-0</p><p> 16 S-1-5-64-36</p><p></p><p></p><p>Question :</p><p>How can I set my account as truly admin?</p></blockquote><p></p>
[QUOTE="moiseyo, post: 65849, member: 13300"] I have account within Amininistration group The code Powershell ( and .NET as well ) (new-object System.Security.Principal.WindowsPrincipal([System.Security.Principal.WindowsIdentity]::GetCurrent())).IsInRole("Administrators") returns false ------------------------- I ran command [System.Security.Principal.WindowsIdentity]::GetCurrent().Groups in 2 cases under my account and Powershell as Administrative and found that Powershell as Administrative has 4 more roles Powershell as Administrative BinaryLength AccountDomainSid -- ---------------- ----- 12 S-1-1-0 12 S-1-5-114 - Extra 28 S-1-5-21-573147726-3479669810-588349159 S-1-5-21-573147726-3479669810-588349159-1001 16 S-1-5-32-544 - Extra 16 S-1-5-32-551 - Extra 16 S-1-5-32-559 16 S-1-5-32-547 - Extra 16 S-1-5-32-545 12 S-1-5-4 12 S-1-2-1 12 S-1-5-11 12 S-1-5-15 52 S-1-11-96-3623454863-58364-18864-2661722203-1597581903-24264218... 12 S-1-5-113 12 S-1-2-0 16 S-1-5-64-36 Powershell as Me BinaryLength AccountDomainSid Value ------------ ---------------- ----- 12 S-1-1-0 28 S-1-5-21-573147726-3479669810-588349159 S-1-5-21-573147726-3479669810-588349159-1001 16 S-1-5-32-559 16 S-1-5-32-545 12 S-1-5-4 12 S-1-2-1 12 S-1-5-11 12 S-1-5-15 52 S-1-11-96-3623454863-58364-18864-2661722203-1597581903-24264218... 12 S-1-5-113 12 S-1-2-0 16 S-1-5-64-36 Question : How can I set my account as truly admin? [/QUOTE]
Verification
Post reply
Forums
Windows 10 Forums
Windows 10 Support
User Administration windows 10
Top