Can't create a new folder, Copy or delete files in Desktop without admin rights

tharinnduru1

Member
Joined
Feb 12, 2020
Posts
19
I am the only user on my computer and logged in as the administrator, but when I need to create or delete some folders/files it says I need administrator permission. this problem only appears in desktop
 

Attachments

  • Screenshot 2021-07-23 111737.png
    Screenshot 2021-07-23 111737.png
    53 KB · Views: 11
  • Screenshot 2021-07-23 111852.png
    Screenshot 2021-07-23 111852.png
    14 KB · Views: 12
  • Screenshot 2021-07-23 112040.png
    Screenshot 2021-07-23 112040.png
    23.9 KB · Views: 12
So, it does not happen in any other place but on the Desktop? For instance, in the documents folder, you can create, delete files fine?

If you go into Safe Mode, does it still present the same issue?
 
This might simply be normal. I see this often too and my account is an admin account. It is just a verification and extra security feature.

The question really is, what happens if you click "Continue"? If you still cannot gain access, then there might be a problem.
 
It looks like you have changed the Desktop folder permission, check your user account and administrators have full permission for the Desktop folder.
 
So, it does not happen in any other place but on the Desktop? For instance, in the documents folder, you can create, delete files fine?

If you go into Safe Mode, does it still present the same issue?
yep i can create folders and copy or delete folders/files in documents with out this issue. this only in desktop folder
 
I create a new user account on my computer to see if the same issue will occur while on a different profile, and this issue not appears on that account
 

Attachments

  • Screenshot 2021-07-24 112103.png
    Screenshot 2021-07-24 112103.png
    9.7 KB · Views: 3
Under the old user account:
First, create a restore point by hitting Start and typing, create a restore point, click the create a restore point option that pops up. When it opens, look at the bottom of the window and click the create button, name it whatever you wish, and let it finish.

Open an elevated command prompt by clicking Start, type cmd, CTRL+SHIFT+ENTER. An elevated command prompt should open, in this command prompt copy and paste this:
icacls "C:\Users\yourusername\Desktop" /reset /t /c /l Replace yourusername with your computers user name. Hit enter.

Let us know how it goes.
 
Last edited:
Under the old user account:
First, create a restore point by hitting Start and typing, create a restore point, click the create a restore point option that pops up. When it opens, look at the bottom of the window and click the create button, name it whatever you wish, and let it finish.

Open an elevated command prompt by clicking Start, type cmd, CTRL+SHIFT+ENTER. An elevated command prompt should open, in this command prompt copy and paste this:
icacls "C:\Users\yourusername\Desktop" /reset /t /c /l Replace yourusername with your computers user name. Hit enter.

Let us know how it goes.
this method solved my problem 🤩🤩. can you explain to me what cause this problem
 
The icacls command is used in many different ways, depending on the switches, but it always works on the Access Control Lists (ACLs) [think of it as access permissions] on files and folders.

The command that @xrobwx71 offered says: For the folder specified (your desktop folder, in the example) reset the ACL to what it would have been as the default when windows initially created it. And if it's your user desktop folder you would have had carte blanche for files and folders on the desktop.

/T - Do this for any folders beneath the specified folder, so if you have folders on your desktop with items or more folders in them, all of those will have their ACLs reset

/C - Continue this action even if you hit a file or folder where an error occurs. This essentially means skip the error file and keep going with the rest.

/L - If you encounter symbolic links (better known under windows as Shortcuts) apply the change to the shortcut itself rather than the file it's the shortcut to.


I doubt that anyone can give a definitive answer as to the root cause and I'm not even going to hazard a guess.
 
Thanks @britechguy

@tharinnduru1 Without sitting in front of your PC with almost unlimited time to run tests, I wouldn't be able to tell you the "what".

I can stab at some guesses.

This is not meant to be accusatory as you could have done it without knowing it.

1. You or some other user fiddled with the permissions of that folder. 2. Some program you've installed has fiddled with the permissions of that folder behind the scenes, possibly needing access to certain permissions of that folder and had a flag to revert but it reverted to a higher standard than is the default.
 

Has Sysnative Forums helped you? Please consider donating to help us support the site!

Back
Top