Windows 10 Command Prompt system cannot find the file specified
So even thought i had disabled UAC from Control Panel > User Accounts > Change User Account Control Settings to Never Notify but it still didn't help
I had to disable the UAC from registry, this i remember from working on a HP software where it specifically told to disable from registry
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System
In the details pane (Right Pane)
locate the EnableLUA key (REG_DWORD type).
Double click to Modify.
In the Value data box, type 0 (zero),
and then click OK.
restart the computer.
Related videos on Youtube
SeanClt
I am a HPE Software Consultant Specialed and certified in 10 HP Enterprise Softare
Updated on September 18, 2022Comments
-
SeanClt over 1 year
Environment
Windows 10 1511 Stable Release UAC Disabled I have a C: and an M: mounted from another Windows Machine
Issue
I can view, edit & delete contents of M: without any issues when using Windows Explorer
But when i try to access the same via command prompt
M: or cd M: both have same error
I got the following error "The System Cannot Find the file Specified"
Impact
i have many batch scripts that relies on the M: drive and they don't work anymore
What i have tried so Far
- Rebooted the machines
-
user364455 about 8 years
CMD
with admin right or not? -
SeanClt about 8 yearsYes attached screenshot of the error, Also UAC disabled so CMD opens as Administrator even regularly, but same way issue when i right click and select "run As administrator"
-
user364455 about 8 yearsAre you sure that UAC disabled, but not in auto-allow mode?
-
InterLinked about 8 yearsHave you tried "cd M:"?
-
SeanClt about 8 yearsyes cd M: same result attached screenshot of UAC
-
SeanClt about 8 yearsjust fixed my issue updating the answer
-
SeanClt about 8 yearsThanks for the comments, your comments kept me going in testing in further
-
Austin T French almost 7 years
cd /d M:
would be the correct command in cmd.exe (see also superuser.com/questions/610787/…) -
user24601 over 4 yearsWhat does this have to do with UAC? I just started having this issue and I don't know what changed. I cannot access any files, create new files or directories from the command line even when running as Admin. No issues when using File Explorer.
-
SeanClt over 4 yearsJust marked the solution which worked give it a try
-
magicandre1981 about 8 yearsthis breaks the new store apps, this is why moving slider down since Win8 no longer disables UAC completely.
-
SeanClt about 8 yearsCan you provide specifics which app broke it so i can test that as well? I don't use much apps but still would like to confirm
-
magicandre1981 about 8 yearsAll apps from the Windows store don't work if UAC is disabled via EnableLUA set to 0.