Free Republic
Browse · Search
Smoky Backroom
Topics · Post Article

Skip to comments.

Easiest way to get rid of "Access Denied" errors Windows 10/11
January 9, 2023 | self

Posted on 01/09/2023 4:04:27 PM PST by entropy12

click here to read article


Navigation: use the links below to view more comments.
first 1-2021-4041-42 next last
Save your work before attempting this procedure, although I have used this without any problems of losing data. I can not guarantee success, but this procedure has saved me tons of Windows 10 aggravation.

Open command prompt as administrator, enter following 2 commands, substitute z:xxxxxxxx with name of your folder in which the problem exists. For example substitute z:xxxxxxx with D:\TOPFOLD as name of folder. Note spaces in command lines.

takeown /f z:xxxxxxx /r /d y

icacls z:xxxxxxx /grant administrators:F /T

The result will be all folders and files inside and below folder D:/TOPFOLD will be recursively assigned to you as logged in user, with all permissions granted. No more "Acess Denied" errors.

1 posted on 01/09/2023 4:04:27 PM PST by entropy12
[ Post Reply | Private Reply | View Replies]

To: entropy12

You can also fix just 1 file with this procedure.
Simply use address of problem file instead of folder as shown in example. For example D:\TOPFOLD\mylist.txt


2 posted on 01/09/2023 4:16:17 PM PST by entropy12 (Food is most popular anxiety drug, exercise is the least popular.)
[ Post Reply | Private Reply | To 1 | View Replies]

To: entropy12

BKMK - Thanks.


3 posted on 01/09/2023 4:18:46 PM PST by granite (The heart of the wise inclines to the right, but the heart of the fool to the left.Ecclesiastes 10:2)
[ Post Reply | Private Reply | To 1 | View Replies]

To: entropy12

Get Windows 7. XP also works just fine.


4 posted on 01/09/2023 4:20:34 PM PST by Libloather (Why do climate change hoax deniers live in mansions on the beach?)
[ Post Reply | Private Reply | To 1 | View Replies]

To: entropy12

Do I assume correctly that these admin cmd lines are on the machine which I wish to access?

I had a HD crash about 2 wks ago and lost access to my D drive (W10) from my laptop (W11).

Been searching everywhere for how to regain it. Tried several work arounds, but nothing works.

If this works for me, man, are you a lifesaver.


5 posted on 01/09/2023 4:21:30 PM PST by Trot (really good word processor)
[ Post Reply | Private Reply | To 1 | View Replies]

To: entropy12
Easiest way to get rid of "Access Denied" errors Windows 10/11

Linux

6 posted on 01/09/2023 4:21:52 PM PST by Pollard ( >>> The Great Reset is already underway! <<<)
[ Post Reply | Private Reply | To 1 | View Replies]

To: entropy12

I didn’t know that! Thanks for posting. 😁


7 posted on 01/09/2023 4:23:35 PM PST by SandwicheGuy ("Man is the only pack animal that will follow an unstable leader." Cesar Chavez)
[ Post Reply | Private Reply | To 2 | View Replies]

To: entropy12

Since I am the only one on my computers, I turn off most of the stuff in the Windows UAC (User Access Control).


8 posted on 01/09/2023 4:27:43 PM PST by TomGuy
[ Post Reply | Private Reply | To 1 | View Replies]

To: Pollard

“Linux”

I looked on Google store and that app is not available.


9 posted on 01/09/2023 5:07:20 PM PST by TexasGator (!!!)
[ Post Reply | Private Reply | To 6 | View Replies]

To: Pollard
I would really love to know how to work on a Linux OS, and have already set up a Cinnamon version (the latest), but I've never been able to figure out how to navigate it efficiently.

I've been in Windows since 3.0, so it's familiar and often familiarly frustrating.

I realize I need to work with Linux to get it, but I've not gotten even basics.

Any suggestions on a good starting point?

10 posted on 01/09/2023 5:28:36 PM PST by Trot (really good word processor)
[ Post Reply | Private Reply | To 6 | View Replies]

To: Trot
Tried several work arounds, but nothing works.

You have to get the drive mounted first. You can't run commands on an unmounted drive.

https://www.diskpart.com/windows-10/d-drive-missing-windows-10-3889.html

11 posted on 01/09/2023 5:35:47 PM PST by TChad (Progressives are in favor of removing healthy sex organs from children. Conservatives oppose this.)
[ Post Reply | Private Reply | To 5 | View Replies]

To: entropy12

Use your own computer, not a stranger’s... /s


12 posted on 01/09/2023 5:47:18 PM PST by SuperLuminal (Where is the next Sam Adams when we so desperatly need him)
[ Post Reply | Private Reply | To 1 | View Replies]

To: Trot
Any suggestions on a good starting point?

You don't mention your distro. For transitioning away from Windows, try Mint Cinnamon.

13 posted on 01/09/2023 5:55:00 PM PST by TChad (Progressives are in favor of removing healthy sex organs from children. Conservatives oppose this.)
[ Post Reply | Private Reply | To 10 | View Replies]

To: Trot
One thing you CAN do is make a USB stick with a simple version of Linux on it, like Lubuntu.

Boot from that USB stick, and you'll get an option to try without installing the Linux OS.

You should be able to use the File Explorer while you're in the trial Linux to look at your Win 10 drive [the drive might already be mounted, as TChad talks about in post #11].

I've done that in the past to transfer files from a belly-up Win OS to safety.

14 posted on 01/09/2023 5:56:29 PM PST by kiryandil (put yer vote in the box, chump. HARHARHARHAR)
[ Post Reply | Private Reply | To 5 | View Replies]

To: Trot; TChad
https://www.forbes.com/sites/jasonevangelho/2018/11/27/choosing-linux-2-awesome-tools-to-find-your-perfect-linux-os/?sh=4ce983a3beb0

The two tools in the Forbes article:

https://librehunt.org/

https://distrochooser.de/en/

15 posted on 01/09/2023 6:00:43 PM PST by kiryandil (put yer vote in the box, chump. HARHARHARHAR)
[ Post Reply | Private Reply | To 10 | View Replies]

To: Pollard

I have a ton of my own programs to help me trade stocks, written for Windows. Windows is very good and has more software available than all other systems combined. But it a complex system and one has to be a little bit computer savvy.

Linux etc are fine if all you do is surf the net and do not have ability to write your own code for things you do in life.


16 posted on 01/09/2023 6:49:34 PM PST by entropy12 (Food is most popular anxiety drug, exercise is the least popular.)
[ Post Reply | Private Reply | To 6 | View Replies]

To: Libloather

I have used Windows 7 for many years. Windows 10 has updates for viruses and intrusions, so less vulnerable than Windows 7.


17 posted on 01/09/2023 6:52:19 PM PST by entropy12 (Food is most popular anxiety drug, exercise is the least popular.)
[ Post Reply | Private Reply | To 4 | View Replies]

To: Trot

For the computer you started with, you are the administrator.

If you have a new HD, partition it for a new drive called D:

The 2 line code I presented is when sometimes ownership of a folder or file, for some unknown reason is no longer yours. I had a folder owned by “TRUSTED INSTALLER” instead of me. And it kept giving me Access denied errors when I tried to copy or move the files inside the folder.


18 posted on 01/09/2023 6:57:35 PM PST by entropy12 (Food is most popular anxiety drug, exercise is the least popular.)
[ Post Reply | Private Reply | To 5 | View Replies]

To: SuperLuminal

Haha I only use my own computers. Windows is known to mess up with ownership of folders during updates.


19 posted on 01/09/2023 6:59:59 PM PST by entropy12 (Food is most popular anxiety drug, exercise is the least popular.)
[ Post Reply | Private Reply | To 12 | View Replies]

To: Trot; TChad

Tchad is entirely correct. Use Diskpart utility to partition the hard drive first. Then if you run into “Acess Denied” errors, is where my 2 line code will help fix that..


20 posted on 01/09/2023 7:31:47 PM PST by entropy12 (Food is most popular anxiety drug, exercise is the least popular.)
[ Post Reply | Private Reply | To 5 | View Replies]


Navigation: use the links below to view more comments.
first 1-2021-4041-42 next last

Disclaimer: Opinions posted on Free Republic are those of the individual posters and do not necessarily represent the opinion of Free Republic or its management. All materials posted herein are protected by copyright law and the exemption for fair use of copyrighted works.

Free Republic
Browse · Search
Smoky Backroom
Topics · Post Article

FreeRepublic, LLC, PO BOX 9771, FRESNO, CA 93794
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson