'Access is denied' message when copying

Firefox1701

New member
Local time
9:48 AM
Messages
24
Anyone who's masochistic enough to want to read the full back-story to this is welcome to indulge themselves by reading my first thread on this forum; however, that's left me with two problems which I'm posting separately.


I'm sure this is another 'easy when you know how' thing; but still: having just installed a new SSD as my primary C drive, I'm using what used to be my C drive ( a 1TB HDD ) as what is now my backup D drive. In fumbling my way through that process, I've had to do a handful of bits of work using the old C drive ( now the D drive ). I thought it would be a simple case of copying the files that had been worked on, from the D drive to the new C drive; however, although some of the files seem to have copied successfully, I'm getting a large amount of 'Target: access is denied' messages, which, as you'd expect, result in the files not being copied, which in turn means the new C drive still isn't fully operational.


Obviously I realise that the workaround is to continue to use the old C drive ( now the D drive ) for the time being; but that's cumbersome and obviously not a long-term solution. I usually use TeraCopy for all my copying and backups, and it's always copied the files from the working drive without a problem; however, this is the first time I can remember that I've had to copy files to the working primary drive, and it's really not having it. I've tried TeraCopy, I've tried drag-and-drop, I've tried copy-and-paste, and it's the same result each time. I don't know if it makes any difference, but far and away the majority of the files are pictures and music files, and a handful of documents.


I sense this might be something to do with 'administrator privileges' or 'permissions' or some-such ( that's nothing more than a vaguely-educated guess ), but since I'm the only one using the computer, I wouldn't have thought I'd need to get my own permission to do stuff!!!


As previously, any inspiration gratefully received.
 

My Computer

Computer type
PC/Desktop
OS
Windows 7 Ultimate
Were exactly are you coping to its telling you you don't have permission to write to that folder if you are trying to copy software then the folders will be owned by system.
 

My Computer

Computer type
PC/Desktop
OS
win 8 32 bit
There were quite a lot of files involved all told, but from memory, most of them would have been going to the 'My Pictures' folder, some to the 'My Music' folder, and some to the 'My Documents' folder.


'Owned by system' sounds decidedly 1984ish! If I want to put stuff in those folders, particularly given that I'm the only one who ever uses this computer, surely that must be do-able ...?


P.S.: There was no software involved, in the sense that nothing I was trying to copy was software.
 

My Computer

Computer type
PC/Desktop
OS
Windows 7 Ultimate
Ok this appears to be the old "New drive permissions" issue that has been around for a while ,(I first came across it in NT3.5), on NTFS folder structures.

Basically the user that we see is based on a Name of some sort, it's human friendly, the system on the other hand uses a digital user ID this shows to us humans as a long set of numbers starting with S it's known as a security Identifier or SID.

If you install windows onto a system twice using the same user name they will look the same but due to the way that the permissions system works each will have a different SID. as the SID is what the system uses to allocate and use file access permissions, you have to set both sets of files to have the same Owner at the SID level.

This is a fairly simple task, from the new install, navigate to the top level of your data tree on the old drive, Right Click select security, then advanced and at the top of the tab will be a the controls for taking ownership of the files, ensure that the inherit checkbox is ticked and set the owner for the files to your new user, this is then automatic and should complete without issues. Sometimes< permissions can get a little confused and give an error, in this case OK through making a note of the location and later you can apply this reset procedure from that point at the top of the subtree.

Sounds complex, it's a pain but once you've done it a few times it's simple :-)
 

My Computers

System One System Two

  • Computer type
    PC/Desktop
    Computer Manufacturer/Model Number
    ChillBlast - Custom to my design
    OS
    Windows 11 Pro x64 [Latest Release and Release Preview]
    CPU
    Ryzen 9 5950X, 3.8 - 5.2 MHz
    Motherboard
    Asus Prime X570-Pro
    Memory
    64GB [2 x 32GB] DDR4 3200MHz
    Graphics Card(s)
    4GB NVIDIA GEFORCE GTX 1650 Ti
    Sound Card
    On-board SPDIF to 5.1 System + HDMI [5.1 system]
    Monitor(s) Displays
    32" UHD 32 Bit HDR Monitor + 43" UHD 4K 32Bit HDR TV
    Screen Resolution
    2 x 3840 x 2160 @60Hz
    Hard Drives
    1TB M2 SSD OS, 500GB Fast Access SSD, 2 x 8TB Data + Various Externals from 1TB to 4TB, 10TB NAS
    PSU
    NZXT C750 80 PLUS Gold 750W Modular PSU
    Case
    Workstation Case [Matt Black]
    Cooling
    NZXT Kraken X63 280mm CPU Cooler +2x Quiet Case fans
    Keyboard
    Logitech Wireless MX Keys & K400 + others
    Mouse
    Logitech Wireless MX Master 3S
    Internet Speed
    920 MB Down 50 MB Up
    Antivirus
    BitDefender Total Security Pro
    Browser
    Chrome (always run latest Non-Beta)
    Other Info
    Also run ...
    Laptop - Quad 8GB - Windows 10 Pro x64
    Nexus 7 Android tablet x2
    Samsung 10.2" tablet
    Blackview TAB 8 4G Android Tablet c/w Keyboard
    Wacom Intuos Pro Medium Pen Pad
    Wacom Intuos Pro Small Pen Pad
    Wacom Expresskeys Remote
    Loopdeck+ Graphics Controller
    Shuttle Pro v2 Control
  • Computer type
    Laptop
    System Manufacturer/Model Number
    Dell XPS 17 10750H
    OS
    Windows 11 Pro x64 Latest RP
    CPU
    Intel I7 10750H 5.0GHz
    Motherboard
    Dell XPS
    Memory
    32GB [2x16GB] DDR4 2933 MHz
    Graphics Card(s)
    nVidia GTX1650Ti 4 GB GDDR6
    Sound Card
    Stock [Realtek] 4 Speaker
    Monitor(s) Displays
    17" IPS UHD+ Infinity Edge Touchscreen
    Screen Resolution
    3840 x 2400
    Hard Drives
    2TB M2 NVMe, 4TB External + various 500GB & 1TB External NVMe (also have access to spinner HDD from
    PSU
    Stock
    Case
    Stock XPS Aluminium & Carbon Fibre
    Cooling
    Stock - Active Fan Control
    Keyboard
    Backlit + Various Logitech
    Mouse
    Stock Track Pad + Logitech MX Trackball
    Internet Speed
    72 MB Down 18MB Up
    Browser
    Chrome
    Other Info
    Also run ...
    Laptop - Quad 8GB - Windows 10 Pro x64
    Nexus 7 Android tablet x2
    10.2" tablet
    Sony Z3 Android Smartphone
    Wacom Intuos Pro Medium Pen Pad
    Wacom Intuos Pro Small Pen Pad
    Wacom Expresskeys Remote
    Loopdeck+ Graphics Controller
    Shuttle Pro v2 Control Pad
    10TB NAS
Unless I'm doing something wrong or I've misunderstood the instructions ( either of which is entirely possible ) that hasn't seemed to work, which is to say that the exact same files that were showing as 'access denied' the first time round, still are.


I've assumed that the 'top level of the data tree' would be the C drive as shown in 'My Computer'. I've gone to Properties>Security>Advanced; I assume the next thing you intended me to do was to click the 'Owner' tab? If so, there is no 'inherit' checkbox within that window ( or elsewhere that I can find ).


You say 'set the owner for the files to your new user'; there seems to be no way to do that without clicking 'edit', so I've done that; however, it still won't allow me to edit the 'current owner'.


By the by, I have no idea why it seems to have taken this position for certain files but not others!
 

My Computer

Computer type
PC/Desktop
OS
Windows 7 Ultimate
The drive you need to "fix" is the D: drive that has the original data files on it (from when it was the C: drive)

You may achieve more success, if you used windows default setup, Documents, downloads, pictures Etc, if you start the resetting procedure at the root of these folders Rather than the whole of the drive which may contain remnants of the original system files

The reason for some files working and some not is usually due to another User that windows creates, "Everyone" - any files owned by "Everyone" are available to any user that is logged in to the system
 

My Computers

System One System Two

  • Computer type
    PC/Desktop
    Computer Manufacturer/Model Number
    ChillBlast - Custom to my design
    OS
    Windows 11 Pro x64 [Latest Release and Release Preview]
    CPU
    Ryzen 9 5950X, 3.8 - 5.2 MHz
    Motherboard
    Asus Prime X570-Pro
    Memory
    64GB [2 x 32GB] DDR4 3200MHz
    Graphics Card(s)
    4GB NVIDIA GEFORCE GTX 1650 Ti
    Sound Card
    On-board SPDIF to 5.1 System + HDMI [5.1 system]
    Monitor(s) Displays
    32" UHD 32 Bit HDR Monitor + 43" UHD 4K 32Bit HDR TV
    Screen Resolution
    2 x 3840 x 2160 @60Hz
    Hard Drives
    1TB M2 SSD OS, 500GB Fast Access SSD, 2 x 8TB Data + Various Externals from 1TB to 4TB, 10TB NAS
    PSU
    NZXT C750 80 PLUS Gold 750W Modular PSU
    Case
    Workstation Case [Matt Black]
    Cooling
    NZXT Kraken X63 280mm CPU Cooler +2x Quiet Case fans
    Keyboard
    Logitech Wireless MX Keys & K400 + others
    Mouse
    Logitech Wireless MX Master 3S
    Internet Speed
    920 MB Down 50 MB Up
    Antivirus
    BitDefender Total Security Pro
    Browser
    Chrome (always run latest Non-Beta)
    Other Info
    Also run ...
    Laptop - Quad 8GB - Windows 10 Pro x64
    Nexus 7 Android tablet x2
    Samsung 10.2" tablet
    Blackview TAB 8 4G Android Tablet c/w Keyboard
    Wacom Intuos Pro Medium Pen Pad
    Wacom Intuos Pro Small Pen Pad
    Wacom Expresskeys Remote
    Loopdeck+ Graphics Controller
    Shuttle Pro v2 Control
  • Computer type
    Laptop
    System Manufacturer/Model Number
    Dell XPS 17 10750H
    OS
    Windows 11 Pro x64 Latest RP
    CPU
    Intel I7 10750H 5.0GHz
    Motherboard
    Dell XPS
    Memory
    32GB [2x16GB] DDR4 2933 MHz
    Graphics Card(s)
    nVidia GTX1650Ti 4 GB GDDR6
    Sound Card
    Stock [Realtek] 4 Speaker
    Monitor(s) Displays
    17" IPS UHD+ Infinity Edge Touchscreen
    Screen Resolution
    3840 x 2400
    Hard Drives
    2TB M2 NVMe, 4TB External + various 500GB & 1TB External NVMe (also have access to spinner HDD from
    PSU
    Stock
    Case
    Stock XPS Aluminium & Carbon Fibre
    Cooling
    Stock - Active Fan Control
    Keyboard
    Backlit + Various Logitech
    Mouse
    Stock Track Pad + Logitech MX Trackball
    Internet Speed
    72 MB Down 18MB Up
    Browser
    Chrome
    Other Info
    Also run ...
    Laptop - Quad 8GB - Windows 10 Pro x64
    Nexus 7 Android tablet x2
    10.2" tablet
    Sony Z3 Android Smartphone
    Wacom Intuos Pro Medium Pen Pad
    Wacom Intuos Pro Small Pen Pad
    Wacom Expresskeys Remote
    Loopdeck+ Graphics Controller
    Shuttle Pro v2 Control Pad
    10TB NAS
Hello Nigel,


When you say 'fix' ...?
 

My Computer

Computer type
PC/Desktop
OS
Windows 7 Ultimate
This is your system as I understand it ...

You have recently created a new windows install on a new SSD
You have renamed/assigned your your existing old C: drive as your D:drive
You cannot access the files that are on the D: drive - the system requires you to use permissions for access

Due to this ...

The files on your D: are still owned by your old user on your old system, permissions are written to the individual files and folders with the unique SID numbers that I spoke of, (even if the User names appear the same to us, to windows they are different and Unique so you need to "Fix" the permissions by using your new current user to take ownership of the old files. to do this you need to follow my initial instructions on your old c: drive, now allocated as D

Rather than me write a full explanation of File Permissions in windows this link gives a simplified version of the full system

NTFS permissions (Windows NT) – Network Encyclopedia

It is based on Windows NT from the 1990's but still applies to Windows 7 and every Issue of Windows since NT It,s not required reading ;) but may help to understand the underlying system

Our Admin Shawn Brink has developed a shortcut that works with the right mouse click to assign permissions automatically

Take Ownership Shortcut

This should allow you to change permissions, as you go, to either Folders or files (after using it on an item you do not need to do it again)
 

My Computers

System One System Two

  • Computer type
    PC/Desktop
    Computer Manufacturer/Model Number
    ChillBlast - Custom to my design
    OS
    Windows 11 Pro x64 [Latest Release and Release Preview]
    CPU
    Ryzen 9 5950X, 3.8 - 5.2 MHz
    Motherboard
    Asus Prime X570-Pro
    Memory
    64GB [2 x 32GB] DDR4 3200MHz
    Graphics Card(s)
    4GB NVIDIA GEFORCE GTX 1650 Ti
    Sound Card
    On-board SPDIF to 5.1 System + HDMI [5.1 system]
    Monitor(s) Displays
    32" UHD 32 Bit HDR Monitor + 43" UHD 4K 32Bit HDR TV
    Screen Resolution
    2 x 3840 x 2160 @60Hz
    Hard Drives
    1TB M2 SSD OS, 500GB Fast Access SSD, 2 x 8TB Data + Various Externals from 1TB to 4TB, 10TB NAS
    PSU
    NZXT C750 80 PLUS Gold 750W Modular PSU
    Case
    Workstation Case [Matt Black]
    Cooling
    NZXT Kraken X63 280mm CPU Cooler +2x Quiet Case fans
    Keyboard
    Logitech Wireless MX Keys & K400 + others
    Mouse
    Logitech Wireless MX Master 3S
    Internet Speed
    920 MB Down 50 MB Up
    Antivirus
    BitDefender Total Security Pro
    Browser
    Chrome (always run latest Non-Beta)
    Other Info
    Also run ...
    Laptop - Quad 8GB - Windows 10 Pro x64
    Nexus 7 Android tablet x2
    Samsung 10.2" tablet
    Blackview TAB 8 4G Android Tablet c/w Keyboard
    Wacom Intuos Pro Medium Pen Pad
    Wacom Intuos Pro Small Pen Pad
    Wacom Expresskeys Remote
    Loopdeck+ Graphics Controller
    Shuttle Pro v2 Control
  • Computer type
    Laptop
    System Manufacturer/Model Number
    Dell XPS 17 10750H
    OS
    Windows 11 Pro x64 Latest RP
    CPU
    Intel I7 10750H 5.0GHz
    Motherboard
    Dell XPS
    Memory
    32GB [2x16GB] DDR4 2933 MHz
    Graphics Card(s)
    nVidia GTX1650Ti 4 GB GDDR6
    Sound Card
    Stock [Realtek] 4 Speaker
    Monitor(s) Displays
    17" IPS UHD+ Infinity Edge Touchscreen
    Screen Resolution
    3840 x 2400
    Hard Drives
    2TB M2 NVMe, 4TB External + various 500GB & 1TB External NVMe (also have access to spinner HDD from
    PSU
    Stock
    Case
    Stock XPS Aluminium & Carbon Fibre
    Cooling
    Stock - Active Fan Control
    Keyboard
    Backlit + Various Logitech
    Mouse
    Stock Track Pad + Logitech MX Trackball
    Internet Speed
    72 MB Down 18MB Up
    Browser
    Chrome
    Other Info
    Also run ...
    Laptop - Quad 8GB - Windows 10 Pro x64
    Nexus 7 Android tablet x2
    10.2" tablet
    Sony Z3 Android Smartphone
    Wacom Intuos Pro Medium Pen Pad
    Wacom Intuos Pro Small Pen Pad
    Wacom Expresskeys Remote
    Loopdeck+ Graphics Controller
    Shuttle Pro v2 Control Pad
    10TB NAS
Back
Top