This is long, because I have tried a number of things without success, but the summary is that I am unable to take control of some directories and their contents on a drive that belongs to me and that is installed in a system that belongs to me.
OS: Windows 10 Professional, latest build
AV: BitDefender Total (latest build and virus database)
Software: I use Carbonite Backup to keep some of the files in this drive backed up remotely. I mention that in case it's relevant (e.g. Carbonite Backup might have some special hold on the files and folders).
System: I custom built this private system and have added new drives to increase storage capacity. As part of adding new drives, I have manually moved the entire contents of some drives to newer, bigger drives. After recently moving the contents of one drive to another, I am not able to take control of most (maybe all) of the files in their new location.
Users: I have a normal, non admin user that I usually log in with. I have a separate admin user. I have also temporarily added my normal user to the Admins group, since Windows 10 indicates the files and folders belong to my normal user.
For some history, some months ago, I had started to prepare to migrate my Windows installation to a faster drive on this PC. I moved some files and folders around at this time, but got distracted and left things in an unfinished state.
Over the past months, I have installed a few large games and downloaded many images and videos from my digital camera. The destination drive for these items was getting full, so I decided to move the stuff to a bigger drive. I moved the files via the Windows interface, and this seemed to have worked without error. The folders included, at the root, a 'Users' folder that had separate subfolders for different users, and under each of those folders were 'Documents' and other standard folders.
The first time I noticed an issue is when I played the Hades game, and it was unable to save my game files, which are located on the larger drive under the Users/MyUser hierarchy. When trying to fix that, I realized that I was able to create files in folders on this drive, but I am not allowed to delete them.
The file and folder properties dialogs for the files on this drive show that a user with the same name as my normal user is the owner of the files, but if I tried to delete one of these files with my normal user, I was presented with a UAC dialog, first. When I tried to authorize the deletion by providing the admin user's password in this dialog, I was presented with an 'Access Denied' error. I made my normal user a member of the Admins group, but still get 'Access Denied' errors when I try to delete any of these files.
In the Access Control properties dialogs for these files and folders, I'm unable to make any changes. All options are grayed out, no matter which user I am logged in with.
I have also tried disabling BitDefender, but that doesn't seem to have any affect.
I then tried to run takeown and icacls, recursively, both as my normal user (now part of the Admins group) and as my original admin user. Both of these failed, even with BitDefender disabled.
Next I logged in to Safe Mode with command line interface and ran takeown, followed by icacls, recursively. The CLI indicated that both had succeeded, with the exception that icacls reported it had failed on one file or folder (it didn't report which one).
I was hopeful this had fixed the problem, but when I logged into Windows normally, I was faced with the exact same behavior with these files and folders - all options in Access Control dialogs were grayed out, and I was still unable to delete any files in the target folders.
As I mentioned above, this is my private system and my private disk drive. I just need to make sure my normal user has full control over the files in the folder, but nothing I have tried so far has done the trick. I also don't want to lose these files, because they include ~15 years worth of digital photo archives.
Edit: Maybe related - I am not able to cd into this larger drive ( E: ) from the command line with any user. I don't get an error message, but cd E: has no effect. I stay in the directory I was already in.
OS: Windows 10 Professional, latest build
AV: BitDefender Total (latest build and virus database)
Software: I use Carbonite Backup to keep some of the files in this drive backed up remotely. I mention that in case it's relevant (e.g. Carbonite Backup might have some special hold on the files and folders).
System: I custom built this private system and have added new drives to increase storage capacity. As part of adding new drives, I have manually moved the entire contents of some drives to newer, bigger drives. After recently moving the contents of one drive to another, I am not able to take control of most (maybe all) of the files in their new location.
Users: I have a normal, non admin user that I usually log in with. I have a separate admin user. I have also temporarily added my normal user to the Admins group, since Windows 10 indicates the files and folders belong to my normal user.
For some history, some months ago, I had started to prepare to migrate my Windows installation to a faster drive on this PC. I moved some files and folders around at this time, but got distracted and left things in an unfinished state.
Over the past months, I have installed a few large games and downloaded many images and videos from my digital camera. The destination drive for these items was getting full, so I decided to move the stuff to a bigger drive. I moved the files via the Windows interface, and this seemed to have worked without error. The folders included, at the root, a 'Users' folder that had separate subfolders for different users, and under each of those folders were 'Documents' and other standard folders.
The first time I noticed an issue is when I played the Hades game, and it was unable to save my game files, which are located on the larger drive under the Users/MyUser hierarchy. When trying to fix that, I realized that I was able to create files in folders on this drive, but I am not allowed to delete them.
The file and folder properties dialogs for the files on this drive show that a user with the same name as my normal user is the owner of the files, but if I tried to delete one of these files with my normal user, I was presented with a UAC dialog, first. When I tried to authorize the deletion by providing the admin user's password in this dialog, I was presented with an 'Access Denied' error. I made my normal user a member of the Admins group, but still get 'Access Denied' errors when I try to delete any of these files.
In the Access Control properties dialogs for these files and folders, I'm unable to make any changes. All options are grayed out, no matter which user I am logged in with.
I have also tried disabling BitDefender, but that doesn't seem to have any affect.
I then tried to run takeown and icacls, recursively, both as my normal user (now part of the Admins group) and as my original admin user. Both of these failed, even with BitDefender disabled.
Next I logged in to Safe Mode with command line interface and ran takeown, followed by icacls, recursively. The CLI indicated that both had succeeded, with the exception that icacls reported it had failed on one file or folder (it didn't report which one).
I was hopeful this had fixed the problem, but when I logged into Windows normally, I was faced with the exact same behavior with these files and folders - all options in Access Control dialogs were grayed out, and I was still unable to delete any files in the target folders.
As I mentioned above, this is my private system and my private disk drive. I just need to make sure my normal user has full control over the files in the folder, but nothing I have tried so far has done the trick. I also don't want to lose these files, because they include ~15 years worth of digital photo archives.
Edit: Maybe related - I am not able to cd into this larger drive ( E: ) from the command line with any user. I don't get an error message, but cd E: has no effect. I stay in the directory I was already in.
Last edited: