Problem with Windows 7 files/folders permission


  1. Posts : 6
    Windows 7
       #1

    Problem with Windows 7 files/folders permission


    Hi everyone,

    I am experiencing a very annoying problem with Windows 7 files and folders permission.

    My computer hard drive consists of 2 partitions: partition C for OS installation (which was previously Vista and now Windows 7) and partition D for my data. After installing Windows 7, I couldn't access partition D any more. I then add a permission for me with the full control option. After that, I could see the contents of the partition. But I couldnt do anything such as renaming or deleting any file and folder easily. If I wanted to do something, I had to right-clicked it and do the same thing as I had done earlier with the partition. And this was really annoying. I couldn't even play a music file without doing so.

    Is there any way to solve my problem? Any answer would be very appreciated.

    Thanks in advance!
      My Computer


  2. Posts : 901
    Windows 7 Ultimate 64bit
       #2

    Take Ownership of file - Vista Forums

    Use the above to take ownership of the file,then you can do as you like:)
      My Computer


  3. Posts : 6
    Windows 7
    Thread Starter
       #3

    Minotar said:
    Take Ownership of file - Vista Forums

    Use the above to take ownership of the file,then you can do as you like:)
    Hi,

    Thank you for your answer, but my drive has GB of files, so you think that I have to use the Take Ownership of file for every single file I have?
      My Computer


  4. Posts : 901
    Windows 7 Ultimate 64bit
       #4

    Sedousan said:
    Minotar said:
    Take Ownership of file - Vista Forums

    Use the above to take ownership of the file,then you can do as you like:)
    Hi,

    Thank you for your answer, but my drive has GB of files, so you think that I have to use the Take Ownership of file for every single file I have?
    No,i think if you left the file path (lets say you have the partition named as D) you would have file path D:\(username)

    That should work as all your files should be stored in that file ,mine is under D:\Dan-PC

    If they aren't in a folder,put them in one if you can.
      My Computer


  5. Posts : 6
    Windows 7
    Thread Starter
       #5

    Minotar said:
    No,i think if you left the file path (lets say you have the partition named as D) you would have file path D:\(username)

    That should work as all your files should be stored in that file ,mine is under D:\Dan-PC

    If they aren't in a folder,put them in one if you can.
    Hi Minotar,

    Could you please explain to me how to use that software more clearly? After installing it (well, actually it is a registry file, isn't it?), if I right-clicked a file or a folder I could see the option "Take Ownership", but when I right-clicked the partition D this option did not appear. Besides, judging from your above instruction, to take ownership of a partition I must run "Take Ownership" from the command line. If that's the case could you show me the complete syntax of the command?

    Thank you very much, Minotar.
      My Computer


  6. Posts : 901
    Windows 7 Ultimate 64bit
       #6

    I hope its ok to edit this for this user,if not,please remove...im talking to you shawn lol


    1.
    Open a elevated command prompt.

    2. In the elevated command prompt, type takeown /f D:\Dan-PC and press Enter.
    NOTE: Substitute (full path of file) with your file's full path. For example,takeown /f C:\Windows\System32\en-US\winload.exe.mui

    3. A message will be displayed that this completed successfully. This will give you ownership of the file.

    4. In the same elevated command prompt, type icacls D:\Dan-PC /grant Daniel/Dan-PC (Note:mine shows up in previous command as dan/Dan-PC,so just type in what it says,something like dan/dan-pc owns this file):F and press Enter.
    NOTE: Substitute (full path of file) with the full path of the file and (user name) with your user name. For example, icacls D:\Dan-PC /grant Daniel/Dan-PC:F

    5. A message will be displayed that this completed successfully.
    NOTE: You should be able to delete or modify the file now. If you still can't, you may need to reboot into Safe Mode and try this again. It may vary according to the file. Some are more stubborn.
    I hope this is clear enough.

    Dan
      My Computer


  7. Posts : 6
    Windows 7
    Thread Starter
       #7

    Phew! I finally did it using your above instruction.

    You've saved my life. I just can't thank you enough.

    Wish you well.

    Sedousan.
      My Computer


  8. Posts : 901
    Windows 7 Ultimate 64bit
       #8

    Happy to help

    Dan
      My Computer


 

  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 22:52.
Find Us