I'm running Windows 8 Pro. My account type is of admin:
And My UAC is off:
Yet, I still get errors like this:
I do not have windows 8 but I had the same issue with my computer. On my system you have to log in as an administrator in safe mode to access some system folders and folders by other user logins. Other users login accounts on your computer can make their folders private and prevent not only other user logins from having access, but also an administartor account from accessing them. The computer system can also prevent some files from being accessed by the user by default. If it is not extremely necessary to access these type of files, then they are better left alone. However, sometimes it is just apparent that some things need to be revised ir deleted. In this case, you have to go into safe mode (speaking about my system) and tweak the properties of any file to allow access to "administrator", which will give acces to any user with an administartor account. For files that have been marked "to make private," and ones that deny access, you must add your user login name or administrator to the list of user types or users that can access the folder, and if successful, when running in normal mode you will be able to access these folders or files. It is a bit on the complicated side and your system is no doubt a little different. However, it is soemthing that can be fixed by someone with a bit of knowledge about how user acces works for your syste. The best place to start a search would be on the microsoft help pages online.
If you enable and log in as the account named Administrator, everything will be elevated. It's not recommended, it's probably a bad idea, but it should work.
The error message in the picture you posted states that the operation requires elevation. It means what it says. Even though you are a member of the administrators group on the machine, you aren't automatically running with elevated permissions all the time. This is a security feature. Windows XP for example wasn't like this. Vista and later have been.
If you elevate your command prompt and run the installer from there, or right click on the installer in Explorer and choose Run as administrator, you will start the installer with elevated permissions and it should work, or at least give you a different error message. All turning off UAC does for you is not provide you with a special prompt asking you if it's ok first. It doesn't automatically elevate everything you do. I already told you the only way I know of to do that.
You don't say what you're doing when this happens, but this sounds like it may be a problem you're encountering in your own code. If you try to start a child that requires elevation (marked in the .exe) using CreateProcess and you're not already elevated, it will fail. GetLastError() will report ERROR_ELEVATION_REQUIRED.
To run an .exe that requires elevation, you have to use ShellExecuteEx() if you're not already running elevated.
Thank you for your interest in this question.
Because it has attracted low-quality answers, posting an answer now requires 10 reputation on this site.
Would you like to answer one of these unanswered questions instead?