Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


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

04 Sep 2015   #1
sst61

 
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 System SpecsSystem Spec
.
04 Sep 2015   #2
lehnerus2000

W7 Ultimate SP1, LM18 MATE, W10IP VM, W10 Home, #All 64 bit
 
 

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 System SpecsSystem Spec
05 Sep 2015   #3
GokAy

Windows 7 Ultimate x64 SP1
 
 

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

05 Sep 2015   #4
sst61

 

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 System SpecsSystem Spec
06 Sep 2015   #5
sst61

 

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 System SpecsSystem Spec
06 Sep 2015   #6
GokAy

Windows 7 Ultimate x64 SP1
 
 

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 System SpecsSystem Spec
06 Sep 2015   #7
sdowney717

Windows 7 Ultimate x64
 
 

Quote   Quote: Originally Posted by sst61 View Post
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 System SpecsSystem Spec
06 Sep 2015   #8
lehnerus2000

W7 Ultimate SP1, LM18 MATE, W10IP VM, W10 Home, #All 64 bit
 
 

Quote   Quote: Originally Posted by sdowney717 View Post
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 System SpecsSystem Spec
07 Sep 2015   #9
sst61

 

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 System SpecsSystem Spec
07 Sep 2015   #10
sdowney717

Windows 7 Ultimate x64
 
 

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 System SpecsSystem Spec
Reply

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




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
Bulk Change All Folder Icons in Single Folder or Folder Type
First, please forgive me if I have overlooked this issue in the many searches I have performed thus far. I would like to know if anyone has a way to change all folder icons within a single folder to one specific icon without performing each one individually. I have over 1,400 folders within a...
Customization
Cannot take ownership/cannot change permissions for windows folder
Hello all! All this started when I just wanted to change the way the clock looked to a custom one. I go to the Windows Sidebar folder to locate the Gadgets folder for the clocks, and I try to make backups of a few of the files in the clocks folder by moving some of them to a new folder I...
General Discussion
Linux to Windows 7 change and lost my cd
I have a Sony Vaio VPCEB 15-FA. Everything works fine on Linux but, I need to run Windows 7 for some new required work. When I load the 7 the system does not recognize the cd drive. It works fine under Linux. I have reformatted, loaded Windows 7 only etc but, it still does not work. I assumt...
General Discussion
Easy change back folder & file permissions
I've made a complete mess of My Pictures folder and files. What I did: logged in as non admin user, right clicked Picures folder, then Properties, then Security tab. With Authenticated users selected clicked Edit next to change permissions. Gave admin password, then clicked Full control Deny...
System Security
Where Permissions Change
Ok, so I activated my built-in admin account hoping that I would be able to change the permissions to my actual account (also an admin.) I had the beta of W7 and when my friend installed the Home Premium version to my laptop, he changed my name. Not a problem until I tried to access my old...
Network & Sharing


Our Sites

Site Links

About Us

Find 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 21:49.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App