Windows 8.1 requires elevated rights for common tasks

1

I've moved from Windows 7 to Windows 8.1 (fresh install, different machines) and I'm having some issues with user permissions on my Windows 8.1 machine.

It seems to require Administrator rights for even the most basic tasks such as running git pull in the msysGit shell or using SourceTree's GUI for discarding changed but uncommited files. If I start either of the two projects with "Run as Admin", they work. On Windows 7 this wasn't required.

It's not just Git-related things that fail unless ran with admin, others too. For example, Slack for Windows only works if run as admin.

So, is there anyway to turn of paranoid mode?
Or at least anywhere to check if there are any misconfigured settings that lead to this?

Francisc

Posted 2015-08-11T12:39:27.263

Reputation: 967

When you are doing your pull, where is it pulling files to? If the directory is not one you would normally have rights to, this could be why. – Unfundednut – 2015-08-11T12:56:44.723

Try changing UAC settings. – geek1011 – 2015-08-11T12:56:48.050

@MrStatic: It's in a Program Files/something folder. I'm an admin of my system, I have access anywhere. – Francisc – 2015-08-11T13:18:49.673

@geek1011: My UAC is set to not notify. I don't think the issues lies with this. – Francisc – 2015-08-11T13:19:10.940

This is not normal, don't change your UAC settings. When using the Default (top on the slider) UAC setting, you should not get these problems. Can add the output of whoami /all and `icacls c:\code' to your question. Where c:\code is a location where you have problems git pulling. – Peter Hahndorf – 2015-08-11T13:19:42.927

Normal administrators don't have write access to files under Program Files you should not edit files there. – Peter Hahndorf – 2015-08-11T13:21:16.833

I have write access there if I RunAs the apps. – Francisc – 2015-08-11T14:36:39.137

Answers

1

The issue is a permissions issue. You have a few options. The one most would accept as proper would be to move where you are pulling the files to. Even admin accounts are treated as regular user accounts unless the program has been elevated. So I would suggest moving the files from Program Files to somewhere else. Maybe C:\ProgramData or C:\Git.

The other option is to explicitly give you account rights on the folder. Right click on the folder in question and click Properties. Then click Security and then Advanced. Add your user in and give yourself Full Control.

Unfundednut

Posted 2015-08-11T12:39:27.263

Reputation: 6 650