How to change Win 7 folder permissions on a linux PC?

Page 1 of 6 123 ... LastLast

  1. Posts : 28
    x64
       #1

    How to change Win 7 folder permissions on a linux PC?


    Hi
    Is there a way/utility to change Windows 7 x64' folders' permissions for user (C:\Users\SS) on a linux pc?

    I have the boot up problem (Win 7 OS) of black screen of death with mouse pointer, after accessing the folder from Windows 10 and accidentally clicked Ok to to the prompt that 'You dont currently have permission to access this folder - click ok to permanently get access to this folder' as win 10 prompt me. So it no longer boots in to win 7 (my main win 7 which I dont want to reinstall).

    As a second drive in a another win 7x64 OS, I cant even access its content or size, no bar next to the drive, just the label and the word NTFS, double clicking it you get the message 'F:\is not accessible. Access denied.' - it looks just like it is corrupted or bad partition or bad boot sector, but it isnt, I know that SSD couple of years old, never had a problem.

    I run CHCDSK & SFC /scannow no problems found. Yet if I boot from this drive, it goes very fast to the Black Screen Of Death with mouse pointer - no commands, task man or any key entry, just a moveable mouse pointer, no log in, if I press press on/off button it sees that and says 'shutting down' and does but thats it.

    Since I cant access it in windows environment, I am trying to access and repair it in linux if possible

    Thanks for any pointers, bear in mind I am very beginner in linux.

    Sean
      My Computer


  2. Posts : 4,049
    W7 Ultimate SP1, LM19.2 MATE, W10 Home 1703, W10 Pro 1703 VM, #All 64 bit
       #2

    I suspect it will be ridiculously difficult to do what you are asking.

    If the permission changes cascaded through the W7 folder structure, it won't be feasible to manually repair the permissions.
    You might have to copy all of your data from W7 (you can use a Linux Live CD/DVD/USB to do that) and then reinstall W7.

    You should wait to see if other members have some suggestions though.

    You should also create a backup HDD/SSD image of your system, using something like Macrium Reflect, before you attempt repairs (just in case anything goes wrong).

    Tutorials
    Imaging with free Macrium
    MACRIUM REFLECT - Create Bootable Rescue USB Drive
      My Computer


  3. Posts : 5,656
    Windows 7 Ultimate x64 SP1
       #3

    You can try a System Restore from a "Windows 7 Repair Disk" or your installation DVD/USB if you have one.
      My Computer


  4. Posts : 28
    x64
    Thread Starter
       #4

    Hi, thank you both for your input. It was just a long shot.
    I have tried the win repair, no joy, I am guessing because of permission changes, win cannot access restore point which there are plenty of. I havent really lost any data as my data was on another drive, I am trying to get win back as I dont want to re install as there are a lot of specialist/difficult to setup software which I dont want to go through installing and setting up.

    I wait a little longer to see if anyone else can contribute.

    Thanks again.
      My Computer


  5. Posts : 28
    x64
    Thread Starter
       #5

    Hi, thank you both for your input. It was just a long shot.
    I have tried the win repair, no joy, I am guessing because of permission changes, win cannot access restore point which there are plenty of. I havent really lost any data as my data was on another drive, I am trying to get win back as I dont want to re install as there are a lot of specialist/difficult to setup software which I dont want to go through installing and setting up.

    I wait a little longer to see if anyone else can contribute.

    Thanks again.
      My Computer


  6. Posts : 5,656
    Windows 7 Ultimate x64 SP1
       #6

    I have 2 experimental ideas

    1. Try a System Restore in Win 10. Maybe it can change back the permissions/ownership to before what it has changed. Make sure restore point is from before the change.
    2. In Windows 10, right click Windows 7 partition and go into properties, switch to Security tab, add Everyone as Full Control. Everyone should have the same SID on both Win7 and 10, so "maybe" it will work.

    While trying (2), click the Advanced button on Security tab, then switch to Owner, click Edit and take a screenshot and post here - Screenshots and Files - Upload and Post in Seven Forums
      My Computer


  7. Posts : 705
    Windows 7 Ultimate x64
       #7

    sst61 said:
    Hi
    Is there a way/utility to change Windows 7 x64' folders' permissions for user (C:\Users\SS) on a linux pc?

    I have the boot up problem (Win 7 OS) of black screen of death with mouse pointer, after accessing the folder from Windows 10 and accidentally clicked Ok to to the prompt that 'You dont currently have permission to access this folder - click ok to permanently get access to this folder' as win 10 prompt me. So it no longer boots in to win 7 (my main win 7 which I dont want to reinstall).

    As a second drive in a another win 7x64 OS, I cant even access its content or size, no bar next to the drive, just the label and the word NTFS, double clicking it you get the message 'F:\is not accessible. Access denied.' - it looks just like it is corrupted or bad partition or bad boot sector, but it isnt, I know that SSD couple of years old, never had a problem.

    I run CHCDSK & SFC /scannow no problems found. Yet if I boot from this drive, it goes very fast to the Black Screen Of Death with mouse pointer - no commands, task man or any key entry, just a moveable mouse pointer, no log in, if I press press on/off button it sees that and says 'shutting down' and does but thats it.

    Since I cant access it in windows environment, I am trying to access and repair it in linux if possible

    Thanks for any pointers, bear in mind I am very beginner in linux.

    Sean
    You can try this, copy the file to a linux partition using linux mint or ubuntu. Boot linux, copy file from NTFS to EXT4 partition.

    Then boot windows, run Access to Ext 2/3/4, HFS and ReiserFS from Windows, copy retrieve the files out of linux back into your working windows drive. See if they work again.
      My Computer


  8. Posts : 4,049
    W7 Ultimate SP1, LM19.2 MATE, W10 Home 1703, W10 Pro 1703 VM, #All 64 bit
       #8

    sdowney717 said:
    You can try this, copy the file to a linux partition using linux mint or ubuntu. Boot linux, copy file from NTFS to EXT4 partition.

    Then boot windows, run Access to Ext 2/3/4, HFS and ReiserFS from Windows, copy retrieve the files out of linux back into your working windows drive. See if they work again.
    I don't think that will work for System files (i.e. some files required a specific owner like "Trusted Installer").
      My Computer


  9. Posts : 28
    x64
    Thread Starter
       #9

    GokAy: your option 1, I am not too sure if that would do anything to a secondary drives' permissions. Your option 2 is something that I had planned to do at some point, first I like to take an image of the drive as it is before I change anything else, once done, i will try to change permissions in 10.

    I ran CACLA & ICACLS commands in DOS to change folder permissions and it seems to have done that without any errors, I am checking its success level and whether it helps at all.

    Currently with that, I am still in the same situation and cannot access the drive in any windows OS.

    Thank you for all your inputs for now, will update when there is more.

    Thanks,
    Sean
      My Computer


  10. Posts : 705
    Windows 7 Ultimate x64
       #10

    If you have a flash drive, boot up a live usb of ubuntu.
    Then access the locked files and copy them to the working drive. Or copy to an external drive.

    But I see your trying to make the win7 boot again, which yeah, I dont think I can help, my idea will only recover data files.

    you can use linux to modify NTFS file permissions, read here
    permissions - How do I use 'chmod' on an NTFS (or FAT32) partition? - Ask Ubuntu
    to do this I think you need an installed ubuntu, not a live usb.

    chown in linux lets you change who owns the file or folder, and can be done recursively.
    chmod lets you change the permissions on the file, what can be done with it.
      My Computer


 
Page 1 of 6 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 09:44.
Find Us