Windows 10 Command Prompt system cannot find the file specified

17,056

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.

Share:
17,056

Related videos on Youtube

SeanClt
Author by

SeanClt

I am a HPE Software Consultant Specialed and certified in 10 HP Enterprise Softare

Updated on September 18, 2022

Comments

  • SeanClt
    SeanClt over 1 year

    Environment

    Windows 10 1511 Stable Release UAC Disabled Disabled UAC 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"

    Error Screenshot

    Impact

    i have many batch scripts that relies on the M: drive and they don't work anymore

    What i have tried so Far

    1. Rebooted the machines
    • user364455
      user364455 about 8 years
      CMD with admin right or not?
    • SeanClt
      SeanClt about 8 years
      Yes 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
      user364455 about 8 years
      Are you sure that UAC disabled, but not in auto-allow mode?
    • InterLinked
      InterLinked about 8 years
      Have you tried "cd M:"?
    • SeanClt
      SeanClt about 8 years
      yes cd M: same result attached screenshot of UAC
    • SeanClt
      SeanClt about 8 years
      just fixed my issue updating the answer
    • SeanClt
      SeanClt about 8 years
      Thanks for the comments, your comments kept me going in testing in further
    • Austin T French
      Austin T French almost 7 years
      cd /d M: would be the correct command in cmd.exe (see also superuser.com/questions/610787/…)
    • user24601
      user24601 over 4 years
      What 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
      SeanClt over 4 years
      Just marked the solution which worked give it a try
  • magicandre1981
    magicandre1981 about 8 years
    this breaks the new store apps, this is why moving slider down since Win8 no longer disables UAC completely.
  • SeanClt
    SeanClt about 8 years
    Can 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
    magicandre1981 about 8 years
    All apps from the Windows store don't work if UAC is disabled via EnableLUA set to 0.