Windows 10: How can I fix "access denied" when using mkdir

NewtoJava1010123

This may be a stupid question but:

Using command prompt on windows 10, when I attempt to use the command "mkdir x" I always get "Access is denied". So, I have to run cmd as an administrator every time to bypass it. Is there a more efficient process because I have to allow cmd to make changes every time and then change the directory to the one I need. I'm always on my user profile which is already my computer's administrator.

The code I currently use is here:

C:\Users\Public\Desktop>mkdir x
LPChip

The folder C:\Users\Public is not your own profile folder, but the one that changes all profiles.

This folder (and all subfolders) are considered computer folders, rather than user folders. Because it is a change on computer level (it affects the entire computer and all users), Administrative rights are required.

If you start command prompt as administrator, the command will work without error.

If you don't want to start command prompt as administrator, you can still make a folder on your own desktop, it just won't show up on all other users' desktop.

Type in the following command to go to your own desktop folder:

cd /d %userprofile%\desktop

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

How can i check for access denied when getting files?

How can I fix the error "fatal error - cygheap base mismatch detected" when using git on Windows 10?

How to fix "Access denied for user 'root'@'172.22.0.4' (using password: YES)" when connecting to mysql container?

How to fix access denied even as owner when cleaning the cache?

How can i ignore access denied when searching to get all sub directories?

I cannot add a network printer to my windows 10 machine. Access is denied even when I set no username or password

How do I resolve this "Access is denied" error which occurs when using xp_cmdshell in Microsoft SQL?

JetBrain Rider , Access denied when using IIS Express with Windows Authentication

How to fix the issue that I can not delete a set of files on windows 10?

Update to Windows 10 version 1709 is stuck, how can I fix it?

How can I debug AWS Cloudfront signed URL access denied?

How can i avoid or pass over a directory that is access denied?

Using Powershell and Test-Path, how can I tell the difference between a "folder doesn't exist" and "access denied"

How can i resolve this- rake:aborted! Mysql2::Error: Access denied for user 'root'@'localhost' (using password: NO)

How to fix "Access denied" on opening image url

TNetSharingManager and Windows 8 & 10: Access Denied

Access Denied issue with NVM in Windows 10

'Access is denied' to Python 3.8 for PyCharm on Windows 10

Recycling bin access denied on windows 10

How to fix the access_denied_insufficient_permissions when trying to list the users in your Enterprise box account?

How to fix ”mount.nfs: access denied …“ when trying to mount a NFS share exported by a Proxmox 5 machine?

How do I fix a "The requested session access is denied" error for Microsoft Remote Desktop?

Access is denied when use del /f in windows 10 64bit

How can I fix the alignment of the closing tag when using XSLT?

How can I fix this ReferenceError when using .setSelfDeaf()?

How can I change the location of docker images when using WSL2 with Windows 10 Home?

Windows Registry access denied when administrator

Access Denied when running Windows Service

Access is denied when creating file using BIPublisher