I have transferred a number of folders from my old PC to a new one using a backup program. Now, due to permissions issues, I cannot copy them or delete them. I can go to properties/security for each folder and file and first change ownership and then do it again to grant permissions so I can do the copy or delete, but there are hundreds of files. Is there a way change ownership and permissions in batch mode? I tried using the takeown command line utility but can’t seem to find the right syntax to change ownership to my local user account – it always ends up giving ownership to the admin account. Anyone have a suggestion? Thanks.
![]() |
There are isolated problems with current patches, but they are well-known and documented on this site. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |
-
File Permissions
Home » Forums » AskWoody support » Windows » Windows 10 » Questions: Win10 » File Permissions
- This topic has 10 replies, 7 voices, and was last updated 4 years, 7 months ago by
Richard Merchant.
Tags: permissions ownership
AuthorTopicWSIHipschman
AskWoody PlusOctober 12, 2020 at 8:04 pm #2303722Viewing 8 reply threadsAuthorReplies-
Rick Corbett
AskWoody MVPOctober 12, 2020 at 9:27 pm #2303740Have a look at this Raymond.CC article – 6 Tools To Take Ownership and Get Full Control Of Files and Folders – not forgetting the comments at the bottom of the article.
I use the first (registry) method – Take Ownership, whick took but a few seconds to merge to the registry and become available in File Explorer‘s right-click context menu – but any of the others should work for you.
The last one – which I’ve downloaded but not yet used – seems particularly useful as it’s small, free and portable.
PS – Post back if you also need a method to bulk ‘unblock’ files that have been transferred from another PC.
Hope this helps…
-
anonymous
GuestOctober 12, 2020 at 11:25 pm #2303729For those more in the know about security and permissions than I, would having @WSIHipschman enable the inheritance factor help solve the dilemma of how to quickly be able to change the access permissions to hundreds of files within a folder?
My idea is for him/her to take ownership of the folder the files are in and then propagate that attribute to the files within the folder through the inheritance factor. My idea uses the GUI, and the items built into the Security tab of the folder’s properties sheet instead of the command line as they have suggested in the original post above.
@WSIHipschman , for any of this to work, you must be a member of the Administrators group on the computer. If you are only a member of the Users group, you’ll have to log on to the computer as the administrator. For the most part, only Administrators or members of the Administrators group can take ownership of objects such as files and folder. -
WSIHipschman
AskWoody PlusOctober 13, 2020 at 5:39 pm #2304015Thanks to both of you for the replies.
Rick, I am a rather cautious person and even though the programs you listed are probably safe, I was hoping to do this without automated registry edits or installing unproven software. If I can’t I will try one of them.
Anonymous: I just tried that. The inheritance goes for a while and then hits one of several folders where it stops with the error shown in Error.png (attached). If I look at the folder properties I find that it apparently has no owner, i.e. the attempt to have it inherit ownership failed. I can fix the folder manually, but then I still end up having do the same with every file in it. If I fix all those files I just get the same kind of error with another folder. There are too many to do them all manually.
-
WSIHipschman
AskWoody PlusOctober 13, 2020 at 7:04 pm #2304033 -
mn–
AskWoody LoungerOctober 13, 2020 at 7:20 pm #2304035Well, there’s always the command line and PowerShell. Surely the icacls command is available and we shoudl have people here who can build up a syntax that’ll do what’s needed?
As admin (from a “run as admin” CMD or PowerShell window or something like that), you should be able to do do something like,
icacls topleveldir /grant:r Administrators:(OI)(CI)F /T/C/L
icacls topleveldir /setowner user /T/C/L
icacls topleveldir /grant user:(OI)CI)F /inheritance:r /T/C/L… don’t offhand remember how this went, don’t have a Windows box right now over here
… and icacls syntax is a bit weird.
-
Paul T
AskWoody MVP -
Richard Merchant
AskWoody PlusOctober 19, 2020 at 12:11 pm #2305460I have a “variation of this theme” problem. Being old I continue to use Eudora for email and run it on two computers – desktop and laptop. Desktop I consider the “master” so I regularly “sync” (using Powerdesk FileSync utility) the data folders (no program folders) by copying/overwriting all the ‘newer’ mailbox (*.mbx) and table (*.toc) files. Oddly the sync process fails on a couple – not all – of the files giving a permissions error. I can go over to the laptop and ‘take ownership’ of the files, and then the sync process works seamlessly. But I have to do this repetitively… And those files are not the only ones changed – just refused.
Anyone give me a clue why this behavior is happening?
- files are not protected in any way
- files are in a public location (not windows protected etc)
- files are small, txt files in essence
Thanks
Richard
-
PaulK
AskWoody LoungerOctober 19, 2020 at 3:19 pm #2305518What are the file types of these couple (is it exactly two?) files? Always the same two?
What process/program creates them?
When you go to change the Owner, who is listed as the Current Owner?“And those files are not the only ones changed – just refused.”
– ‘Changed’? – Other files also with different owners, but copy works anyway?
-
-
Paul T
AskWoody MVP -
Richard Merchant
GuestOctober 24, 2020 at 12:44 pm #2306661Thanks:
Could PowerDesk be changing file permissions? I don’t see any reason why – for one reason I’m not actually using the program Powerdesk, which has the capability of doing so, but just one of the utilities associated with it. (I can’t activate Powerdesk anymore, one of the c****y activation servers keeps rejecting me, but the various utilities bundled with it continue to work so I simply use them independently).
I’m the same owner and only owner (notwithstanding the various Windows owners) and I take ownership multiple times as I suggested. The file is shared with the workgroup, full permissions. All the other files – 10 or 20 – sync just fine and insofar as Windows is concerned these individual files are no different than any others.
I’m not 100% sure that they are the same files each time but the message/effect is exactly the same. The owner permissions to do not look different each time – though why would they? Eudora itself doesn’t change permissions insofar as I am aware. And of the files, one is a mailbox file, the other an index file for a different mailbox so there is no logic I see there.
Richard
Viewing 8 reply threads - This topic has 10 replies, 7 voices, and was last updated 4 years, 7 months ago by
-

Plus Membership
Donations from Plus members keep this site going. You can identify the people who support AskWoody by the Plus badge on their avatars.
AskWoody Plus members not only get access to all of the contents of this site -- including Susan Bradley's frequently updated Patch Watch listing -- they also receive weekly AskWoody Plus Newsletters (formerly Windows Secrets Newsletter) and AskWoody Plus Alerts, emails when there are important breaking developments.
Get Plus!
Welcome to our unique respite from the madness.
It's easy to post questions about Windows 11, Windows 10, Win8.1, Win7, Surface, Office, or browse through our Forums. Post anonymously or register for greater privileges. Keep it civil, please: Decorous Lounge rules strictly enforced. Questions? Contact Customer Support.
Search Newsletters
Search Forums
View the Forum
Search for Topics
Recent Topics
-
Backup and access old e-mails after company e-mail address is terminated (Awaiting moderation)
by
M W Leijendekker
26 minutes ago -
Enabling Secureboot
by
ITguy
2 hours, 43 minutes ago -
Windows hosting exposes additional bugs
by
Susan Bradley
7 hours, 28 minutes ago -
No more rounded corners??
by
CWBillow
3 hours, 16 minutes ago -
Android 15 and IPV6
by
Win7and10
8 hours, 33 minutes ago -
KB5058405 might fail to install with recovery error 0xc0000098 in ACPI.sys
by
Susan Bradley
19 hours, 49 minutes ago -
T-Mobile’s T-Life App has a “Screen Recording Tool” Turned on
by
Alex5723
22 hours, 31 minutes ago -
Windows 11 Insider Preview Build 26100.4202 (24H2) released to Release Preview
by
joep517
17 hours, 5 minutes ago -
Windows Update orchestration platform to update all software
by
Alex5723
1 day, 5 hours ago -
May preview updates
by
Susan Bradley
17 hours, 13 minutes ago -
Microsoft releases KB5061977 Windows 11 24H2, Server 2025 emergency out of band
by
Alex5723
8 hours, 48 minutes ago -
Just got this pop-up page while browsing
by
Alex5723
22 hours, 1 minute ago -
KB5058379 / KB 5061768 Failures
by
crown
19 hours, 6 minutes ago -
Windows 10 23H2 Good to Update to ?
by
jkitc
3 hours, 39 minutes ago -
At last – installation of 24H2
by
Botswana12
1 day, 21 hours ago -
MS-DEFCON 4: As good as it gets
by
Susan Bradley
8 hours, 24 minutes ago -
RyTuneX optimize Windows 10/11 tool
by
Alex5723
2 days, 9 hours ago -
Can I just update from Win11 22H2 to 23H2?
by
Dave Easley
8 hours ago -
Limited account permission error related to Windows Update
by
gtd12345
2 days, 22 hours ago -
Another test post
by
gtd12345
2 days, 23 hours ago -
Connect to someone else computer
by
wadeer
2 days, 17 hours ago -
Limit on User names?
by
CWBillow
2 days, 20 hours ago -
Choose the right apps for traveling
by
Peter Deegan
2 days, 10 hours ago -
BitLocker rears its head
by
Susan Bradley
1 day, 18 hours ago -
Who are you? (2025 edition)
by
Will Fastie
1 day, 17 hours ago -
AskWoody at the computer museum, round two
by
Will Fastie
2 days, 12 hours ago -
A smarter, simpler Firefox address bar
by
Alex5723
3 days, 9 hours ago -
Woody
by
Scott
3 days, 18 hours ago -
24H2 has suppressed my favoured spider
by
Davidhs
1 day, 18 hours ago -
GeForce RTX 5060 in certain motherboards could experience blank screens
by
Alex5723
4 days, 9 hours ago
Recent blog posts
Key Links
Want to Advertise in the free newsletter? How about a gift subscription in honor of a birthday? Send an email to sb@askwoody.com to ask how.
Mastodon profile for DefConPatch
Mastodon profile for AskWoody
Home • About • FAQ • Posts & Privacy • Forums • My Account
Register • Free Newsletter • Plus Membership • Gift Certificates • MS-DEFCON Alerts
Copyright ©2004-2025 by AskWoody Tech LLC. All Rights Reserved.