{"action":"created","issue":{"url":"https://api.github.com/repos/pbatard/rufus/issues/757","repository_url":"https://api.github.com/repos/pbatard/rufus","labels_url":"https://api.github.com/repos/pbatard/rufus/issues/757/labels{/name}","comments_url":"https://api.github.com/repos/pbatard/rufus/issues/757/comments","events_url":"https://api.github.com/repos/pbatard/rufus/issues/757/events","html_url":"https://github.com/pbatard/rufus/issues/757","id":154703617,"number":757,"title":"ER: Check that current user account has admin rights","user":{"login":"pbatard","id":1206968,"avatar_url":"https://avatars.githubusercontent.com/u/1206968?v=3","gravatar_id":"","url":"https://api.github.com/users/pbatard","html_url":"https://github.com/pbatard","followers_url":"https://api.github.com/users/pbatard/followers","following_url":"https://api.github.com/users/pbatard/following{/other_user}","gists_url":"https://api.github.com/users/pbatard/gists{/gist_id}","starred_url":"https://api.github.com/users/pbatard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pbatard/subscriptions","organizations_url":"https://api.github.com/users/pbatard/orgs","repos_url":"https://api.github.com/users/pbatard/repos","events_url":"https://api.github.com/users/pbatard/events{/privacy}","received_events_url":"https://api.github.com/users/pbatard/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"pbatard","id":1206968,"avatar_url":"https://avatars.githubusercontent.com/u/1206968?v=3","gravatar_id":"","url":"https://api.github.com/users/pbatard","html_url":"https://github.com/pbatard","followers_url":"https://api.github.com/users/pbatard/followers","following_url":"https://api.github.com/users/pbatard/following{/other_user}","gists_url":"https://api.github.com/users/pbatard/gists{/gist_id}","starred_url":"https://api.github.com/users/pbatard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pbatard/subscriptions","organizations_url":"https://api.github.com/users/pbatard/orgs","repos_url":"https://api.github.com/users/pbatard/repos","events_url":"https://api.github.com/users/pbatard/events{/privacy}","received_events_url":"https://api.github.com/users/pbatard/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/pbatard/rufus/milestones/31","html_url":"https://github.com/pbatard/rufus/milestones/2.10","labels_url":"https://api.github.com/repos/pbatard/rufus/milestones/31/labels","id":1755345,"number":31,"title":"2.10","description":"","creator":{"login":"pbatard","id":1206968,"avatar_url":"https://avatars.githubusercontent.com/u/1206968?v=3","gravatar_id":"","url":"https://api.github.com/users/pbatard","html_url":"https://github.com/pbatard","followers_url":"https://api.github.com/users/pbatard/followers","following_url":"https://api.github.com/users/pbatard/following{/other_user}","gists_url":"https://api.github.com/users/pbatard/gists{/gist_id}","starred_url":"https://api.github.com/users/pbatard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pbatard/subscriptions","organizations_url":"https://api.github.com/users/pbatard/orgs","repos_url":"https://api.github.com/users/pbatard/repos","events_url":"https://api.github.com/users/pbatard/events{/privacy}","received_events_url":"https://api.github.com/users/pbatard/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":0,"state":"open","created_at":"2016-05-09T12:42:25Z","updated_at":"2016-05-14T17:08:39Z","due_on":"2016-09-29T23:00:00Z","closed_at":null},"comments":8,"created_at":"2016-05-13T12:46:18Z","updated_at":"2016-05-15T12:01:19Z","closed_at":null,"body":"It looks that a lot of users still don't realize that they need admin privileges for Rufus to run properly (eg. #756), and `requireAdministrator` in the manifest doesn't seem to always work as advertised by Microsoft.\r\n\r\nWe may want to add a check to confirm the user does have admin rights."},"comment":{"url":"https://api.github.com/repos/pbatard/rufus/issues/comments/219281856","html_url":"https://github.com/pbatard/rufus/issues/757#issuecomment-219281856","issue_url":"https://api.github.com/repos/pbatard/rufus/issues/757","id":219281856,"user":{"login":"pbatard","id":1206968,"avatar_url":"https://avatars.githubusercontent.com/u/1206968?v=3","gravatar_id":"","url":"https://api.github.com/users/pbatard","html_url":"https://github.com/pbatard","followers_url":"https://api.github.com/users/pbatard/followers","following_url":"https://api.github.com/users/pbatard/following{/other_user}","gists_url":"https://api.github.com/users/pbatard/gists{/gist_id}","starred_url":"https://api.github.com/users/pbatard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pbatard/subscriptions","organizations_url":"https://api.github.com/users/pbatard/orgs","repos_url":"https://api.github.com/users/pbatard/repos","events_url":"https://api.github.com/users/pbatard/events{/privacy}","received_events_url":"https://api.github.com/users/pbatard/received_events","type":"User","site_admin":false},"created_at":"2016-05-15T12:01:19Z","updated_at":"2016-05-15T12:01:19Z","body":"Well, the thing is, obviously, I __tested__ the whole thing on Windows 7 with a regular user account I created, and, because does embed a manifest with `requireAdministrator`, when I tested it, Rufus did refuse to launch because that user wasn't an admin. I even tried to played with UAC, but I could not get into a situation where Rufus would launch from a regular user account, which is exactly what I expect to happen from using `requireAdministrator` in the manifest, and which is also what Microsoft documents should happen.\r\n\r\nHowever, it's not the first time someone reports that, despite this, they seem to have been able to launch Rufus from a regular user account without prompt, even though the application is designed not to let that happen.\r\n\r\nSo, I have no idea how you guys have configured your regular user accounts, but clearly what Microsoft says should be enough to prevent non admin users for ever running an app that __explicitly requests__ admin rights, is not enough and that's the point of this enhancement.\r\n\r\nI am convinced that, for the vast majority of people, who have created their user account in the standard manner, the current `requireAdministrator` manifest mechanism will work, but this is done for the __minority__ of people who someone managed to configure their regular user account in a manner where it doesn't.\r\n\r\nNow, if anyone can provide step by step details on __how exactly__ they were able to create a user account on Windows 7 (or other version), that is a regular user and yet will be able to launch Rufus without being prompted for admin rights, I'll be really interested!"}}