Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Question
Wednesday, February 14, 2018 4:37 PM | 1 vote
OS Info:
OS Name: Microsoft Windows 10 Pro
Version: 10.0.16299 Build 16299
I'm trying to save a file in the location:
C:\Program Files\Redis\redis.windows-service.conf.txt
**
**
When trying to save my changes to this text file I get the following error popup. Just to note, I am the administrator on this computer. I think the Windows OS is on some sort of military grade drugs.
C:\Program Files\Redis\redis.windows-service.conf.txt
You don't have permission to save in this location.
contact the administrator to obtain permission.
Would you like to save in the Documents folder instead?
Please for the love of god Microsoft, get this working.
All replies (6)
Wednesday, February 14, 2018 4:48 PM
Hi SOMA11,
Try this:
1. Right-click on the drive that is causing the problem.
2. Left-click on Properties.
3. Click on the Security tab.
4. In the first window click on Administrators (your computer name-PC Administrators).
5. Just below the window click on Edit.
6. Click on Administrators (your computer name-PC Administrators) again.
7. Here's the key to making it work. If Apply is grayed-out, check a box in the Deny column. It will then bring up Apply.
8. Check a box in the Allow column. It should check all of the boxes except the last one and uncheck all of the boxes in the Deny column.
9. Click Apply. It should run a scan of the files in the drive. When the scan is finished, click Ok. The first box should still be open.
10. In the first window, click on Users (your computer name-PC\Users) and repeat steps 5-9, of course clicking on Users (your computer name-PC\Users)
instead of Administrators (your computer name-PC Administrators).
NOTE: You may not have to click in the Deny column after the first scan is completed for step 10 as indicated in step 7.
Regards
Simon
If you find that my post has answered your question, please mark it as the answer. If you find my post to be helpful in anyway, please click vote as helpful. Regards Simon Disclaimer: This posting is provided AS IS with no warranties or guarantees, and confers no rights.
Wednesday, February 14, 2018 5:40 PM
@Soma11 the program you use to save to %PROGRAMFILES% needs to run elevated.
That has been the case since Windows Vista, so I wonder why you only found this out now.
Wednesday, February 14, 2018 5:52 PM
EckiS is right. It sounds like you just need to right click on the program you're using to edit the file (ie Notepad) and select "Run as Administrator," then browse to and open redis.windows-service.conf.txt, make your edits and save.
Thursday, February 15, 2018 6:41 AM
Hi,
Please try to run the following command line as administrator in Command Prompt to take owner of the folder Redis.
takeown /f file_name /d y
icacls file_name /grant username_or_usergroup:F /q
Then, check the issue again.
Bests,
Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact [email protected].
Tuesday, January 8, 2019 10:10 AM
I have the same problem simply moving the file from downloads to Program Files
Tuesday, January 8, 2019 2:42 PM
When you move the file in explorer, a UAC dialog should be presented.