How to change ownership of a file in Windows 10Windows 7 permission denied errorWindows 8 Permissons: Copying...

Is it insecure to send a password in a `curl` command?

Relation between independence and correlation of uniform random variables

What does Deadpool mean by "left the house in that shirt"?

Pronounciation of the combination "st" in spanish accents

What does "^L" mean in C?

Help rendering a complicated sum/product formula

Print last inputted byte

What favor did Moody owe Dumbledore?

Should I be concerned about student access to a test bank?

A Ri-diddley-iley Riddle

Can a medieval gyroplane be built?

Is honey really a supersaturated solution? Does heating to un-crystalize redissolve it or melt it?

Synchronized implementation of a bank account in Java

Print a physical multiplication table

Is there a term for accumulated dirt on the outside of your hands and feet?

What does Jesus mean regarding "Raca," and "you fool?" - is he contrasting them?

How could an airship be repaired midflight?

Writing in a Christian voice

Do US professors/group leaders only get a salary, but no group budget?

Asserting that Atheism and Theism are both faith based positions

Calculate the frequency of characters in a string

Is it true that good novels will automatically sell themselves on Amazon (and so on) and there is no need for one to waste time promoting?

What does "mu" mean as an interjection?

PTIJ What is the inyan of the Konami code in Uncle Moishy's song?



How to change ownership of a file in Windows 10


Windows 7 permission denied errorWindows 8 Permissons: Copying a File, Access Denied, Despite Take OwnershipPC: System32 folder ownership issue. Not BootingWindows 7 - all files owned by login now “Access Denied”Windows 10 - access deniedCannot Delete VSHiveStubWindows 10: Prevent guest users from deleting files in another driveCannot gain access to second drive (SSD)Cannot fix random reoccurring permission issues in Windows 10 VMI am getting access denied to internal hard drive and failed to enumerate objects













0















I have a file that's created by a program, and apparently an interaction with the system and Google Backup & Sync somehow scrambles the owner and permissions of the file. (The owner shows up as either "Unknown" or "Unable to display current owner", depending on where I look at it.)



I need to reclaim ownership of the file.



The standard method (from the File Explorer right click, Properties, Security tab, Advanced, Change Owner) doesn't work because I don't have permission to do that. Basically I need super user access on my own system so I can override what the OS thinks and actually administrate the file.



Anyone got a clue? Rebooting seems to clear the issue but that's a crappy solution. I have a Cygwin shell on this system if that helps. I'd prefer to not have to download any special utilities unless the source is very trustworthy.



Edit The problem re-occured. So far I'm not able to set the owner of the offending files:



C:UsersBrenden>icacls "C:UsersBrendenGoogle Driveprojtempj8build   classesquicktestAbstractTest.class" /SETOWNER "%username%" /c
C:UsersBrendenGoogle Driveprojtempj8buildclassesquicktestAbstractTest.class: Access is denied.
Successfully processed 0 files; Failed processing 1 files

C:UsersBrenden>


This command fails too:



C:WINDOWSsystem32>takeown /F "C:UsersBrendenGoogle Driveprojtempj8buildclassesquicktestAbstractTest.class"
ERROR: Access is denied.

C:WINDOWSsystem32>









share|improve this question
















bumped to the homepage by Community 28 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
















  • markspace - Try these two commands and tell me if this helps solve: icacls "C:folderpathfile.txt" /SETOWNER "%username%" /C and then takeown /F "C:folderpathfile.txt".... If this helps, tag me back as @PimpJuiceIT and I'll add this information along with some additional detail plus some reference sources for further learning.

    – Pimp Juice IT
    Jul 11 '18 at 2:30











  • The first command you gave me didn't work: see my edit but it says "Access is denied." Any other ideas? @PimpJuiceIT

    – markspace
    Oct 9 '18 at 23:59











  • @PimpJuiceIT Just tried takeown by itself in a command prompt and it fails also.

    – markspace
    Oct 10 '18 at 0:57











  • Read over this post and look over some of the commands if states to run with options and such. I think perhaps running takeown /f "C:UsersBrendenGoogle Drive*.*" /r /a /d y and then ICACLS "C:UsersBrendenGoogle Drive*.*" /reset /T /C /L /Q may help but look over all the thread and what people say does work for some. It's likely a security setting at a higher level up parent folder wise that needs to be reset or whatever but not sure if you could disable inheritance from `"C:UsersBrendenGoogle Drive` and then set the security but another thought I had.

    – Pimp Juice IT
    Oct 10 '18 at 2:14











  • Oh.... here's the post too by the way: social.technet.microsoft.com/Forums/windows/en-US/…

    – Pimp Juice IT
    Oct 10 '18 at 2:15
















0















I have a file that's created by a program, and apparently an interaction with the system and Google Backup & Sync somehow scrambles the owner and permissions of the file. (The owner shows up as either "Unknown" or "Unable to display current owner", depending on where I look at it.)



I need to reclaim ownership of the file.



The standard method (from the File Explorer right click, Properties, Security tab, Advanced, Change Owner) doesn't work because I don't have permission to do that. Basically I need super user access on my own system so I can override what the OS thinks and actually administrate the file.



Anyone got a clue? Rebooting seems to clear the issue but that's a crappy solution. I have a Cygwin shell on this system if that helps. I'd prefer to not have to download any special utilities unless the source is very trustworthy.



Edit The problem re-occured. So far I'm not able to set the owner of the offending files:



C:UsersBrenden>icacls "C:UsersBrendenGoogle Driveprojtempj8build   classesquicktestAbstractTest.class" /SETOWNER "%username%" /c
C:UsersBrendenGoogle Driveprojtempj8buildclassesquicktestAbstractTest.class: Access is denied.
Successfully processed 0 files; Failed processing 1 files

C:UsersBrenden>


This command fails too:



C:WINDOWSsystem32>takeown /F "C:UsersBrendenGoogle Driveprojtempj8buildclassesquicktestAbstractTest.class"
ERROR: Access is denied.

C:WINDOWSsystem32>









share|improve this question
















bumped to the homepage by Community 28 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
















  • markspace - Try these two commands and tell me if this helps solve: icacls "C:folderpathfile.txt" /SETOWNER "%username%" /C and then takeown /F "C:folderpathfile.txt".... If this helps, tag me back as @PimpJuiceIT and I'll add this information along with some additional detail plus some reference sources for further learning.

    – Pimp Juice IT
    Jul 11 '18 at 2:30











  • The first command you gave me didn't work: see my edit but it says "Access is denied." Any other ideas? @PimpJuiceIT

    – markspace
    Oct 9 '18 at 23:59











  • @PimpJuiceIT Just tried takeown by itself in a command prompt and it fails also.

    – markspace
    Oct 10 '18 at 0:57











  • Read over this post and look over some of the commands if states to run with options and such. I think perhaps running takeown /f "C:UsersBrendenGoogle Drive*.*" /r /a /d y and then ICACLS "C:UsersBrendenGoogle Drive*.*" /reset /T /C /L /Q may help but look over all the thread and what people say does work for some. It's likely a security setting at a higher level up parent folder wise that needs to be reset or whatever but not sure if you could disable inheritance from `"C:UsersBrendenGoogle Drive` and then set the security but another thought I had.

    – Pimp Juice IT
    Oct 10 '18 at 2:14











  • Oh.... here's the post too by the way: social.technet.microsoft.com/Forums/windows/en-US/…

    – Pimp Juice IT
    Oct 10 '18 at 2:15














0












0








0








I have a file that's created by a program, and apparently an interaction with the system and Google Backup & Sync somehow scrambles the owner and permissions of the file. (The owner shows up as either "Unknown" or "Unable to display current owner", depending on where I look at it.)



I need to reclaim ownership of the file.



The standard method (from the File Explorer right click, Properties, Security tab, Advanced, Change Owner) doesn't work because I don't have permission to do that. Basically I need super user access on my own system so I can override what the OS thinks and actually administrate the file.



Anyone got a clue? Rebooting seems to clear the issue but that's a crappy solution. I have a Cygwin shell on this system if that helps. I'd prefer to not have to download any special utilities unless the source is very trustworthy.



Edit The problem re-occured. So far I'm not able to set the owner of the offending files:



C:UsersBrenden>icacls "C:UsersBrendenGoogle Driveprojtempj8build   classesquicktestAbstractTest.class" /SETOWNER "%username%" /c
C:UsersBrendenGoogle Driveprojtempj8buildclassesquicktestAbstractTest.class: Access is denied.
Successfully processed 0 files; Failed processing 1 files

C:UsersBrenden>


This command fails too:



C:WINDOWSsystem32>takeown /F "C:UsersBrendenGoogle Driveprojtempj8buildclassesquicktestAbstractTest.class"
ERROR: Access is denied.

C:WINDOWSsystem32>









share|improve this question
















I have a file that's created by a program, and apparently an interaction with the system and Google Backup & Sync somehow scrambles the owner and permissions of the file. (The owner shows up as either "Unknown" or "Unable to display current owner", depending on where I look at it.)



I need to reclaim ownership of the file.



The standard method (from the File Explorer right click, Properties, Security tab, Advanced, Change Owner) doesn't work because I don't have permission to do that. Basically I need super user access on my own system so I can override what the OS thinks and actually administrate the file.



Anyone got a clue? Rebooting seems to clear the issue but that's a crappy solution. I have a Cygwin shell on this system if that helps. I'd prefer to not have to download any special utilities unless the source is very trustworthy.



Edit The problem re-occured. So far I'm not able to set the owner of the offending files:



C:UsersBrenden>icacls "C:UsersBrendenGoogle Driveprojtempj8build   classesquicktestAbstractTest.class" /SETOWNER "%username%" /c
C:UsersBrendenGoogle Driveprojtempj8buildclassesquicktestAbstractTest.class: Access is denied.
Successfully processed 0 files; Failed processing 1 files

C:UsersBrenden>


This command fails too:



C:WINDOWSsystem32>takeown /F "C:UsersBrendenGoogle Driveprojtempj8buildclassesquicktestAbstractTest.class"
ERROR: Access is denied.

C:WINDOWSsystem32>






windows-10 file-permissions






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Oct 10 '18 at 0:58







markspace

















asked Jul 10 '18 at 21:23









markspacemarkspace

1013




1013





bumped to the homepage by Community 28 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







bumped to the homepage by Community 28 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.















  • markspace - Try these two commands and tell me if this helps solve: icacls "C:folderpathfile.txt" /SETOWNER "%username%" /C and then takeown /F "C:folderpathfile.txt".... If this helps, tag me back as @PimpJuiceIT and I'll add this information along with some additional detail plus some reference sources for further learning.

    – Pimp Juice IT
    Jul 11 '18 at 2:30











  • The first command you gave me didn't work: see my edit but it says "Access is denied." Any other ideas? @PimpJuiceIT

    – markspace
    Oct 9 '18 at 23:59











  • @PimpJuiceIT Just tried takeown by itself in a command prompt and it fails also.

    – markspace
    Oct 10 '18 at 0:57











  • Read over this post and look over some of the commands if states to run with options and such. I think perhaps running takeown /f "C:UsersBrendenGoogle Drive*.*" /r /a /d y and then ICACLS "C:UsersBrendenGoogle Drive*.*" /reset /T /C /L /Q may help but look over all the thread and what people say does work for some. It's likely a security setting at a higher level up parent folder wise that needs to be reset or whatever but not sure if you could disable inheritance from `"C:UsersBrendenGoogle Drive` and then set the security but another thought I had.

    – Pimp Juice IT
    Oct 10 '18 at 2:14











  • Oh.... here's the post too by the way: social.technet.microsoft.com/Forums/windows/en-US/…

    – Pimp Juice IT
    Oct 10 '18 at 2:15



















  • markspace - Try these two commands and tell me if this helps solve: icacls "C:folderpathfile.txt" /SETOWNER "%username%" /C and then takeown /F "C:folderpathfile.txt".... If this helps, tag me back as @PimpJuiceIT and I'll add this information along with some additional detail plus some reference sources for further learning.

    – Pimp Juice IT
    Jul 11 '18 at 2:30











  • The first command you gave me didn't work: see my edit but it says "Access is denied." Any other ideas? @PimpJuiceIT

    – markspace
    Oct 9 '18 at 23:59











  • @PimpJuiceIT Just tried takeown by itself in a command prompt and it fails also.

    – markspace
    Oct 10 '18 at 0:57











  • Read over this post and look over some of the commands if states to run with options and such. I think perhaps running takeown /f "C:UsersBrendenGoogle Drive*.*" /r /a /d y and then ICACLS "C:UsersBrendenGoogle Drive*.*" /reset /T /C /L /Q may help but look over all the thread and what people say does work for some. It's likely a security setting at a higher level up parent folder wise that needs to be reset or whatever but not sure if you could disable inheritance from `"C:UsersBrendenGoogle Drive` and then set the security but another thought I had.

    – Pimp Juice IT
    Oct 10 '18 at 2:14











  • Oh.... here's the post too by the way: social.technet.microsoft.com/Forums/windows/en-US/…

    – Pimp Juice IT
    Oct 10 '18 at 2:15

















markspace - Try these two commands and tell me if this helps solve: icacls "C:folderpathfile.txt" /SETOWNER "%username%" /C and then takeown /F "C:folderpathfile.txt".... If this helps, tag me back as @PimpJuiceIT and I'll add this information along with some additional detail plus some reference sources for further learning.

– Pimp Juice IT
Jul 11 '18 at 2:30





markspace - Try these two commands and tell me if this helps solve: icacls "C:folderpathfile.txt" /SETOWNER "%username%" /C and then takeown /F "C:folderpathfile.txt".... If this helps, tag me back as @PimpJuiceIT and I'll add this information along with some additional detail plus some reference sources for further learning.

– Pimp Juice IT
Jul 11 '18 at 2:30













The first command you gave me didn't work: see my edit but it says "Access is denied." Any other ideas? @PimpJuiceIT

– markspace
Oct 9 '18 at 23:59





The first command you gave me didn't work: see my edit but it says "Access is denied." Any other ideas? @PimpJuiceIT

– markspace
Oct 9 '18 at 23:59













@PimpJuiceIT Just tried takeown by itself in a command prompt and it fails also.

– markspace
Oct 10 '18 at 0:57





@PimpJuiceIT Just tried takeown by itself in a command prompt and it fails also.

– markspace
Oct 10 '18 at 0:57













Read over this post and look over some of the commands if states to run with options and such. I think perhaps running takeown /f "C:UsersBrendenGoogle Drive*.*" /r /a /d y and then ICACLS "C:UsersBrendenGoogle Drive*.*" /reset /T /C /L /Q may help but look over all the thread and what people say does work for some. It's likely a security setting at a higher level up parent folder wise that needs to be reset or whatever but not sure if you could disable inheritance from `"C:UsersBrendenGoogle Drive` and then set the security but another thought I had.

– Pimp Juice IT
Oct 10 '18 at 2:14





Read over this post and look over some of the commands if states to run with options and such. I think perhaps running takeown /f "C:UsersBrendenGoogle Drive*.*" /r /a /d y and then ICACLS "C:UsersBrendenGoogle Drive*.*" /reset /T /C /L /Q may help but look over all the thread and what people say does work for some. It's likely a security setting at a higher level up parent folder wise that needs to be reset or whatever but not sure if you could disable inheritance from `"C:UsersBrendenGoogle Drive` and then set the security but another thought I had.

– Pimp Juice IT
Oct 10 '18 at 2:14













Oh.... here's the post too by the way: social.technet.microsoft.com/Forums/windows/en-US/…

– Pimp Juice IT
Oct 10 '18 at 2:15





Oh.... here's the post too by the way: social.technet.microsoft.com/Forums/windows/en-US/…

– Pimp Juice IT
Oct 10 '18 at 2:15










2 Answers
2






active

oldest

votes


















0














I've had an issue with file ownership before.



Follow this tutorial. It worked like a charm for me.




  • Open File Explorer, and then locate the file or folder you want to take ownership of.


  • Right-click the file or folder, click Properties, and then click the Security tab.


  • Click the Advanced button. The "Advanced Security Settings" window will appear. Here you need to change the Owner of the key.
    Click the Change link next to the "Owner:" label


  • The Select User or Group window will appear. Select
     the user account via the Advanced button or just type your user account in the area which says 'Enter the object name to select' and click OK.


  • Optionally, to change the owner of all subfolders and files inside the folder, select the check box "Replace owner on subcontainers and objects" in the "Advanced Security Settings" window. Click OK to change the ownership.


  • Now you need to provide full access to the file or folder for your account. Right-click the file or folder again, click Properties, and then click the Security tab.


  • Click the Add button. The "Permission Entry" window will appear on the screen:


  • Click "Select a principal" and select your account:


  • Set permissions to "Full control":


  • Click OK.







share|improve this answer


























  • Chris, to make this a self-contained answer, please summarize or quote at least the essentials from that tutorial (and keep the link to that useful article).

    – DrMoishe Pippik
    Jul 10 '18 at 22:16













  • I'm on mobile right now, so I'll have to do several edits to meet the guideline. I'll remember that from now on.

    – Chris
    Jul 10 '18 at 22:19






  • 1





    I specifically mentioned this in my OP. It doesn't work. At the point where I click Change next to the Owner, it says I'm not allowed to do that. So no doesn't work.

    – markspace
    Jul 10 '18 at 22:23











  • @markspace I'm blind. I'll do some more research when I get back to my computer and I'll update you if I can figure another method, if it's still unsolved. Sorry about that

    – Chris
    Jul 10 '18 at 22:31



















0














Try:



Taking ownership of a file or folder from command line



Open an elevated Command Prompt window.



To do so:



a. Go to > Start > All Programs > Accessories



b. Right-click on Command Prompt, and then click Run as Administrator.



c. Type the following command and press Enter key:



takeown /f [path to folder] /r /d y



d. Then assign the Administrators group Full Control Permissions for the folder, use this command and hit Enter key:



icacls [path to folder] /grant administrators:F /T



The /T parameter is added so that the operation is carried out through all the sub-directories and files within that folder.






share|improve this answer
























  • This also says "access denied" even though I ran it as administrator and got the little "Are you sure you want let this app make changes to your device?" pop up.

    – markspace
    Oct 10 '18 at 0:11













Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1338064%2fhow-to-change-ownership-of-a-file-in-windows-10%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























2 Answers
2






active

oldest

votes








2 Answers
2






active

oldest

votes









active

oldest

votes






active

oldest

votes









0














I've had an issue with file ownership before.



Follow this tutorial. It worked like a charm for me.




  • Open File Explorer, and then locate the file or folder you want to take ownership of.


  • Right-click the file or folder, click Properties, and then click the Security tab.


  • Click the Advanced button. The "Advanced Security Settings" window will appear. Here you need to change the Owner of the key.
    Click the Change link next to the "Owner:" label


  • The Select User or Group window will appear. Select
     the user account via the Advanced button or just type your user account in the area which says 'Enter the object name to select' and click OK.


  • Optionally, to change the owner of all subfolders and files inside the folder, select the check box "Replace owner on subcontainers and objects" in the "Advanced Security Settings" window. Click OK to change the ownership.


  • Now you need to provide full access to the file or folder for your account. Right-click the file or folder again, click Properties, and then click the Security tab.


  • Click the Add button. The "Permission Entry" window will appear on the screen:


  • Click "Select a principal" and select your account:


  • Set permissions to "Full control":


  • Click OK.







share|improve this answer


























  • Chris, to make this a self-contained answer, please summarize or quote at least the essentials from that tutorial (and keep the link to that useful article).

    – DrMoishe Pippik
    Jul 10 '18 at 22:16













  • I'm on mobile right now, so I'll have to do several edits to meet the guideline. I'll remember that from now on.

    – Chris
    Jul 10 '18 at 22:19






  • 1





    I specifically mentioned this in my OP. It doesn't work. At the point where I click Change next to the Owner, it says I'm not allowed to do that. So no doesn't work.

    – markspace
    Jul 10 '18 at 22:23











  • @markspace I'm blind. I'll do some more research when I get back to my computer and I'll update you if I can figure another method, if it's still unsolved. Sorry about that

    – Chris
    Jul 10 '18 at 22:31
















0














I've had an issue with file ownership before.



Follow this tutorial. It worked like a charm for me.




  • Open File Explorer, and then locate the file or folder you want to take ownership of.


  • Right-click the file or folder, click Properties, and then click the Security tab.


  • Click the Advanced button. The "Advanced Security Settings" window will appear. Here you need to change the Owner of the key.
    Click the Change link next to the "Owner:" label


  • The Select User or Group window will appear. Select
     the user account via the Advanced button or just type your user account in the area which says 'Enter the object name to select' and click OK.


  • Optionally, to change the owner of all subfolders and files inside the folder, select the check box "Replace owner on subcontainers and objects" in the "Advanced Security Settings" window. Click OK to change the ownership.


  • Now you need to provide full access to the file or folder for your account. Right-click the file or folder again, click Properties, and then click the Security tab.


  • Click the Add button. The "Permission Entry" window will appear on the screen:


  • Click "Select a principal" and select your account:


  • Set permissions to "Full control":


  • Click OK.







share|improve this answer


























  • Chris, to make this a self-contained answer, please summarize or quote at least the essentials from that tutorial (and keep the link to that useful article).

    – DrMoishe Pippik
    Jul 10 '18 at 22:16













  • I'm on mobile right now, so I'll have to do several edits to meet the guideline. I'll remember that from now on.

    – Chris
    Jul 10 '18 at 22:19






  • 1





    I specifically mentioned this in my OP. It doesn't work. At the point where I click Change next to the Owner, it says I'm not allowed to do that. So no doesn't work.

    – markspace
    Jul 10 '18 at 22:23











  • @markspace I'm blind. I'll do some more research when I get back to my computer and I'll update you if I can figure another method, if it's still unsolved. Sorry about that

    – Chris
    Jul 10 '18 at 22:31














0












0








0







I've had an issue with file ownership before.



Follow this tutorial. It worked like a charm for me.




  • Open File Explorer, and then locate the file or folder you want to take ownership of.


  • Right-click the file or folder, click Properties, and then click the Security tab.


  • Click the Advanced button. The "Advanced Security Settings" window will appear. Here you need to change the Owner of the key.
    Click the Change link next to the "Owner:" label


  • The Select User or Group window will appear. Select
     the user account via the Advanced button or just type your user account in the area which says 'Enter the object name to select' and click OK.


  • Optionally, to change the owner of all subfolders and files inside the folder, select the check box "Replace owner on subcontainers and objects" in the "Advanced Security Settings" window. Click OK to change the ownership.


  • Now you need to provide full access to the file or folder for your account. Right-click the file or folder again, click Properties, and then click the Security tab.


  • Click the Add button. The "Permission Entry" window will appear on the screen:


  • Click "Select a principal" and select your account:


  • Set permissions to "Full control":


  • Click OK.







share|improve this answer















I've had an issue with file ownership before.



Follow this tutorial. It worked like a charm for me.




  • Open File Explorer, and then locate the file or folder you want to take ownership of.


  • Right-click the file or folder, click Properties, and then click the Security tab.


  • Click the Advanced button. The "Advanced Security Settings" window will appear. Here you need to change the Owner of the key.
    Click the Change link next to the "Owner:" label


  • The Select User or Group window will appear. Select
     the user account via the Advanced button or just type your user account in the area which says 'Enter the object name to select' and click OK.


  • Optionally, to change the owner of all subfolders and files inside the folder, select the check box "Replace owner on subcontainers and objects" in the "Advanced Security Settings" window. Click OK to change the ownership.


  • Now you need to provide full access to the file or folder for your account. Right-click the file or folder again, click Properties, and then click the Security tab.


  • Click the Add button. The "Permission Entry" window will appear on the screen:


  • Click "Select a principal" and select your account:


  • Set permissions to "Full control":


  • Click OK.








share|improve this answer














share|improve this answer



share|improve this answer








edited Jul 10 '18 at 22:28

























answered Jul 10 '18 at 22:09









ChrisChris

11




11













  • Chris, to make this a self-contained answer, please summarize or quote at least the essentials from that tutorial (and keep the link to that useful article).

    – DrMoishe Pippik
    Jul 10 '18 at 22:16













  • I'm on mobile right now, so I'll have to do several edits to meet the guideline. I'll remember that from now on.

    – Chris
    Jul 10 '18 at 22:19






  • 1





    I specifically mentioned this in my OP. It doesn't work. At the point where I click Change next to the Owner, it says I'm not allowed to do that. So no doesn't work.

    – markspace
    Jul 10 '18 at 22:23











  • @markspace I'm blind. I'll do some more research when I get back to my computer and I'll update you if I can figure another method, if it's still unsolved. Sorry about that

    – Chris
    Jul 10 '18 at 22:31



















  • Chris, to make this a self-contained answer, please summarize or quote at least the essentials from that tutorial (and keep the link to that useful article).

    – DrMoishe Pippik
    Jul 10 '18 at 22:16













  • I'm on mobile right now, so I'll have to do several edits to meet the guideline. I'll remember that from now on.

    – Chris
    Jul 10 '18 at 22:19






  • 1





    I specifically mentioned this in my OP. It doesn't work. At the point where I click Change next to the Owner, it says I'm not allowed to do that. So no doesn't work.

    – markspace
    Jul 10 '18 at 22:23











  • @markspace I'm blind. I'll do some more research when I get back to my computer and I'll update you if I can figure another method, if it's still unsolved. Sorry about that

    – Chris
    Jul 10 '18 at 22:31

















Chris, to make this a self-contained answer, please summarize or quote at least the essentials from that tutorial (and keep the link to that useful article).

– DrMoishe Pippik
Jul 10 '18 at 22:16







Chris, to make this a self-contained answer, please summarize or quote at least the essentials from that tutorial (and keep the link to that useful article).

– DrMoishe Pippik
Jul 10 '18 at 22:16















I'm on mobile right now, so I'll have to do several edits to meet the guideline. I'll remember that from now on.

– Chris
Jul 10 '18 at 22:19





I'm on mobile right now, so I'll have to do several edits to meet the guideline. I'll remember that from now on.

– Chris
Jul 10 '18 at 22:19




1




1





I specifically mentioned this in my OP. It doesn't work. At the point where I click Change next to the Owner, it says I'm not allowed to do that. So no doesn't work.

– markspace
Jul 10 '18 at 22:23





I specifically mentioned this in my OP. It doesn't work. At the point where I click Change next to the Owner, it says I'm not allowed to do that. So no doesn't work.

– markspace
Jul 10 '18 at 22:23













@markspace I'm blind. I'll do some more research when I get back to my computer and I'll update you if I can figure another method, if it's still unsolved. Sorry about that

– Chris
Jul 10 '18 at 22:31





@markspace I'm blind. I'll do some more research when I get back to my computer and I'll update you if I can figure another method, if it's still unsolved. Sorry about that

– Chris
Jul 10 '18 at 22:31













0














Try:



Taking ownership of a file or folder from command line



Open an elevated Command Prompt window.



To do so:



a. Go to > Start > All Programs > Accessories



b. Right-click on Command Prompt, and then click Run as Administrator.



c. Type the following command and press Enter key:



takeown /f [path to folder] /r /d y



d. Then assign the Administrators group Full Control Permissions for the folder, use this command and hit Enter key:



icacls [path to folder] /grant administrators:F /T



The /T parameter is added so that the operation is carried out through all the sub-directories and files within that folder.






share|improve this answer
























  • This also says "access denied" even though I ran it as administrator and got the little "Are you sure you want let this app make changes to your device?" pop up.

    – markspace
    Oct 10 '18 at 0:11


















0














Try:



Taking ownership of a file or folder from command line



Open an elevated Command Prompt window.



To do so:



a. Go to > Start > All Programs > Accessories



b. Right-click on Command Prompt, and then click Run as Administrator.



c. Type the following command and press Enter key:



takeown /f [path to folder] /r /d y



d. Then assign the Administrators group Full Control Permissions for the folder, use this command and hit Enter key:



icacls [path to folder] /grant administrators:F /T



The /T parameter is added so that the operation is carried out through all the sub-directories and files within that folder.






share|improve this answer
























  • This also says "access denied" even though I ran it as administrator and got the little "Are you sure you want let this app make changes to your device?" pop up.

    – markspace
    Oct 10 '18 at 0:11
















0












0








0







Try:



Taking ownership of a file or folder from command line



Open an elevated Command Prompt window.



To do so:



a. Go to > Start > All Programs > Accessories



b. Right-click on Command Prompt, and then click Run as Administrator.



c. Type the following command and press Enter key:



takeown /f [path to folder] /r /d y



d. Then assign the Administrators group Full Control Permissions for the folder, use this command and hit Enter key:



icacls [path to folder] /grant administrators:F /T



The /T parameter is added so that the operation is carried out through all the sub-directories and files within that folder.






share|improve this answer













Try:



Taking ownership of a file or folder from command line



Open an elevated Command Prompt window.



To do so:



a. Go to > Start > All Programs > Accessories



b. Right-click on Command Prompt, and then click Run as Administrator.



c. Type the following command and press Enter key:



takeown /f [path to folder] /r /d y



d. Then assign the Administrators group Full Control Permissions for the folder, use this command and hit Enter key:



icacls [path to folder] /grant administrators:F /T



The /T parameter is added so that the operation is carried out through all the sub-directories and files within that folder.







share|improve this answer












share|improve this answer



share|improve this answer










answered Jul 12 '18 at 20:55









MoabMoab

51.5k1494160




51.5k1494160













  • This also says "access denied" even though I ran it as administrator and got the little "Are you sure you want let this app make changes to your device?" pop up.

    – markspace
    Oct 10 '18 at 0:11





















  • This also says "access denied" even though I ran it as administrator and got the little "Are you sure you want let this app make changes to your device?" pop up.

    – markspace
    Oct 10 '18 at 0:11



















This also says "access denied" even though I ran it as administrator and got the little "Are you sure you want let this app make changes to your device?" pop up.

– markspace
Oct 10 '18 at 0:11







This also says "access denied" even though I ran it as administrator and got the little "Are you sure you want let this app make changes to your device?" pop up.

– markspace
Oct 10 '18 at 0:11




















draft saved

draft discarded




















































Thanks for contributing an answer to Super User!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1338064%2fhow-to-change-ownership-of-a-file-in-windows-10%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

VNC viewer RFB protocol error: bad desktop size 0x0I Cannot Type the Key 'd' (lowercase) in VNC Viewer...

Tribunal Administrativo e Fiscal de Mirandela Referências Menu de...

looking for continuous Screen Capture for retroactivly reproducing errors, timeback machineRolling desktop...