Access denied editing text files to root C drive

Page 1 of 5 123 ... LastLast

  1. Posts : 26
    windows 7 64bit professional
       #1

    Access denied editing text files to root C drive


    I thought i had all my permissions and sharing done correctly until i tried to edit a text file across my network on another windows 7 machine. When i go to save the file it ask me "save as" which it never did while trying to do the same thing on a windows xp machine. Well after the save as i try to save over the existing file and it as if i wanna replace the file then after hitting ok i get Access Denied message.

    -I have sharing on the drive and the file set to Everyone with full access
    -I have security tab setup so Everyone and Administrators have full access on both drive and file
    -I tried changing ownership of the file several times and that has done nothing on both drive and file
    -Also tried owership with inheritance turned off and on
    -Even tried with firewalls/av software turned on and off
    -The file is not blocked or anything like that
    -UAC is turned off on both machines
    -I can edit the file locally
    -I have notepad set to "Run as Administrator" on both windows 7 machines
    -I can write to the root C: such as copying over a .exe file or something like that. The issue is editing a text file only.

    I can edit a text file on the root C drive on a windows xp machine but not any windows 7 machines across network. I am guessing i must of missed some windows 7 permissions policy some where to enable this. Now i can edit a file on windows 7 machines if it's not on the root of the drive say C:\testfolder\testfile.txt
      My Computer


  2. Posts : 25,847
    Windows 10 Pro. 64/ version 1709 Windows 7 Pro/64
       #2

    Just a thought; would that file be set read only on the Windows 7 computer?
      My Computer


  3. Posts : 26
    windows 7 64bit professional
    Thread Starter
       #3

    How do i check that?
      My Computer


  4. Posts : 25,847
    Windows 10 Pro. 64/ version 1709 Windows 7 Pro/64
       #4

    Go to the program, file or folder and right click and choose properties. See if the Read Only is darkened.
      My Computer


  5. Posts : 26
    windows 7 64bit professional
    Thread Starter
       #5

    Layback Bear said:
    Go to the program, file or folder and right click and choose properties. See if the Read Only is darkened.
    No it's not.
      My Computer


  6. Posts : 25,847
    Windows 10 Pro. 64/ version 1709 Windows 7 Pro/64
       #6

    The only other thing I can think of is while in properties of that program on the problem computer is to tick Security and make sure every one you want to have permission has the control you desire.
    Everyone isn't everyone. At least on my system.
    Look in Group of user Names.

    Notice that Everyone has all check marks but when JACK (BLACK/JACK) is selected their are no check marks. So ever Everyone does not mean Everyone.
    I would have to select each individually and give the permission of my choice.

    Access denied editing text files to root C drive-cpuid-2.png

    Access denied editing text files to root C drive-cpuid-1.png

    Looks like this this when I give JACK (BLACK/JACK) full permission.

    Access denied editing text files to root C drive-cpuid-3.png

    I hope this helps.

    This might also help.

    https://www.sevenforums.com/tutorials...rmissions.html
    Last edited by Layback Bear; 20 Apr 2013 at 18:38.
      My Computer


  7. Posts : 26
    windows 7 64bit professional
    Thread Starter
       #7

    Layback Bear said:
    The only other thing I can think of is while in properties of that program on the problem computer is to tick Security and make sure every one you want to have permission has the control you desire.
    Everyone isn't everyone. At least on my system.
    Look in Group of user Names.

    Notice that Everyone has all check marks but when JACK (BLACK/JACK) is selected their are no check marks. So ever Everyone does not mean Everyone.
    I would have to select each individually and give the permission of my choice.

    Access denied editing text files to root C drive-cpuid-2.png

    Access denied editing text files to root C drive-cpuid-1.png

    Looks like this this when I give JACK (BLACK/JACK) full permission.

    Access denied editing text files to root C drive-cpuid-3.png

    I hope this helps.

    This might also help.

    https://www.sevenforums.com/tutorials...rmissions.html
    Went back and double checked all of that on both computers. Program, folder, and file. This has to be a windows 7 root drive only problem cause i can edit text file from all other places well except from places like c:\windows and such. Did they change some from xp to win 7 about writing or modifying files on the root of the system drive?
      My Computer


  8. Posts : 25,847
    Windows 10 Pro. 64/ version 1709 Windows 7 Pro/64
       #8

    I really don't know. I haven't used XP for a long time so my memory is falling short.
    I will go back to the Ranch and see if I can find some help.
    Should be some folks by when they get a chance.
    Hang in there.

    Did you look through the Tutorial I posted.

    Sharing and Permissions
      My Computer


  9. Posts : 26
    windows 7 64bit professional
    Thread Starter
       #9

    Layback Bear said:
    I really don't know. I haven't used XP for a long time so my memory is falling short.
    I will go back to the Ranch and see if I can find some help.
    Should be some folks by when they get a chance.
    Hang in there.

    Did you look through the Tutorial I posted.

    Sharing and Permissions
    Yes and everything is setup like that.

    Here is a test for you or who ever. If you have to windows 7 machines in your home on the same workgroup(not homegroup) just try and open a text file on the root of of OS drive across the network and modify and try saving it to the same location. It should be a pretty simple test.
      My Computer


  10. Posts : 21,482
    Win 7 x64 Home Premium (and x86 VirtualBox VM)/Win10
       #10

    I find it easier to read ICACLS output for permissions.

    ICACLS <pathname>\<filename>

    (e.g. ICACLS C:\Windows\System32\slui.exe )

    You can try running it locally by remote, and running it remotely, and see if there's a difference.

    Post the results, and I'll try and interpret them
      My Computer


 
Page 1 of 5 123 ... LastLast

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 11:46.
Find Us