Windows 10: cannot run an exe file in CMD administrator

Discus and support cannot run an exe file in CMD administrator in Windows 10 Software and Apps to solve the problem; From exe file property ===> check: Run this program as an administrator open cmd: run as adminitrator type cd ==> enter... Discussion in 'Windows 10 Software and Apps' started by join, Jan 20, 2021.

  1. join Win User

    cannot run an exe file in CMD administrator


    From exe file property ===> check: Run this program as an administrator

    open cmd: run as adminitrator

    type cd ==> enter

    C:\Users\MYNAME\Downloads\Programs\Apps\Viber Setup ==> Enter

    ===> 'C:\Users\MYNAME' is not recognized as an internal or external command, operable program or batch file.
    ****NOTE: UserName is replaced by "MYNAME''' because it is my personal name, so I changed it. When I typed in cmd, I used the exact UserName. It was changed when I posted it here
    ------------------------------------------------------------------------------------
    How can I run an exe file in the "viber setup" folder in cmd asministrator? Thank you
    It is windows 10 version 20H2

    :)
     
  2. Eric Ber Win User

    Can't run .exe file

    Hi Phil,

    There are several reasons why you are having issues running .exe files on your Windows 10 laptop. To assist you better, kindly answer the questions below:

    • Have you made any changes to your laptop prior to this issue?
    • What troubleshooting steps have you done so far?
    • What is the error message that you received when running .exe files?

    Regards.
     
    Eric Ber, Jan 20, 2021
    #2
  3. Exe files can only be opened by "run as administrator"

    Hi,

    Corrupted registry settings, some third-party products, or viruses can change the default configuration for running .exe files. To rectify the issue with opening this particular file type, we suggest that you follow the steps
    below:

    • Right-click on the Start button, then choose Command Prompt (Admin) from the menu.
    • Type regedit and press Enter.
    • Go to HKEY_CLASSES_ROOT\.exe.
    • Double-click (Default) key, then set the Value data to
      exefile.
    • Scroll down to go to HKEY_CLASSES_ROOT\exefile\shell\open\command key.
    • Double-click (Default) key, then set the Value data to “%1” %*.
    • Restart your computer.

    Update us if it addressed your issue.

    Thank you.
     
    Angela Pun, Jan 20, 2021
    #3
  4. cannot run an exe file in CMD administrator

    Can't run exe file

    Hi,

    Please answer these questions so that we may assist you better.

    • Do you receive any error code or error messages while executing the .exe file? If yes, What is it?
    • Is the issue with Windows programs or other third party programs?
    • Have you made any changes to the computer prior to this issue occurring?
    Ensure that you have administrative privileges to run the .exe file.

    You may right click on a .exe file and select run as an administrator and check.

    Method 1:

    Try to run a System File Checker (SFC) scan to check for any file corruption. SFC scan will scan for corrupt system files on the computer and repair them.

    • Press Windows key + X, click Command Prompt (Admin).
    • In the Command Prompt, type the following command, and then press ENTER:

      sfc /scannow

    Hope this helps, let us know the status of the issue.
     
    Rakesh Narayanaswamy, Jan 20, 2021
    #4
Thema:

cannot run an exe file in CMD administrator

Loading...
  1. cannot run an exe file in CMD administrator - Similar Threads - cannot run exe

  2. Cannot run exe file without administrator permissions

    in Windows 10 Gaming
    Cannot run exe file without administrator permissions: Cannot run exe file without administrator permissions using Window 11. Just purchased desktop PC. Tried to run plug-in external dvd drive. It will not automatically run the setup file. Says it is blocked and requires admin. permission. I am the administrator. I tried right...
  3. Cannot run exe file without administrator permissions

    in Windows 10 Software and Apps
    Cannot run exe file without administrator permissions: Cannot run exe file without administrator permissions using Window 11. Just purchased desktop PC. Tried to run plug-in external dvd drive. It will not automatically run the setup file. Says it is blocked and requires admin. permission. I am the administrator. I tried right...
  4. can't run CMD as administrator?

    in Windows 10 Gaming
    can't run CMD as administrator?: can't run CMD as administrator?missing msdmo.dll filekeep getting the error "a file associated with this cannot be found" or "device associated............etc"...
  5. cannot run an exe file in CMD asministrator

    in Windows 10 Software and Apps
    cannot run an exe file in CMD asministrator: From exe file property ===> check: Run this program as an administrator open cmd: run as adminitrator type cd ==> enter C:\Users\MYNAME\Downloads\Programs\Apps\Viber Setup ==> Enter ===> 'C:\Users\MYNAME' is not recognized as an internal or external command, operable...
  6. Not able to run cmd as Administrator

    in Windows 10 Customization
    Not able to run cmd as Administrator: As i have activated hidden administrator by using the cmd "net user administrator /active:yes", but i have not set any password. Now when i login as guest account am not able to run cmd as administrator as when i try to run it as administrator, its asking to enter...
  7. Cannot run any exe files

    in Windows 10 BSOD Crashes and Debugging
    Cannot run any exe files: Today I found that I cannot run any exe files, including cmd, regedit, task manager, chrome, whatever (but I can open chrome by html document, or similarly adobe reader by pdf). I installed a 7zip yesterday, don't know if that caused the problem but anyway I cannot uninstall...
  8. Cannot run .exe files, cmd (admin)

    in Windows 10 BSOD Crashes and Debugging
    Cannot run .exe files, cmd (admin): Hi! I tried to install a program to recover some lost pictures from an android phone. Later on some error popped up basically saying I couldn’t install the program. I’ve since then deleted the installer exe file. For some reason nothing was working so i force shutdown my...
  9. Cannot Run An .Exe file

    in Windows 10 Support
    Cannot Run An .Exe file: I've got maybe two problems: . I put the .exe file folder in the system path but still get a 'file not found' error when it is called from another prog. and that should have been foolproof because I used the 'browse' thing. So that's maybe a problem with the path thing. ....
  10. CMD run as administrator registry

    in Windows 10 Support
    CMD run as administrator registry: We have an automated sysprep process that works fine for windows 8 but not in windows 10. The whole process runs when run manually through an elevated cmd prompt but after sysprep i need the cmd prompts to be automatically elevated to prompt for a computer name change....