Windows 10: Windows 10 - ShellExecute failed [2]: Is this command correct?

Discus and support Windows 10 - ShellExecute failed [2]: Is this command correct? in Windows 10 Software and Apps to solve the problem; I use notepad++. It is good for opening text based files in multiple format. I usually right click on a file and click the option to open it using... Discussion in 'Windows 10 Software and Apps' started by Li-Nung, May 21, 2021.

  1. Li-Nung Win User

    Windows 10 - ShellExecute failed [2]: Is this command correct?


    I use notepad++. It is good for opening text based files in multiple format. I usually right click on a file and click the option to open it using notepad++. Some of the files I open frequently ask to reopen it as administrator. So I got tired of that and decided to make the notepad++ exe run as administrator

    :)
     
    Li-Nung, May 21, 2021
    #1
  2. Naki Win User

    GPU-Z what command line parameter ?

    Suggestion: /? (-?) and /help (-help) command-line arguments to show a list of all possible arguments in a small window. *Smile Windows 10 - ShellExecute failed [2]: Is this command correct? :)
     
  3. ryanly Win User
    GPU-Z what command line parameter ?

    Current /? (-?) or / help (-help) parameter is invalid
     
    ryanly, May 21, 2021
    #3
  4. Windows 10 - ShellExecute failed [2]: Is this command correct?

    Windows 10 fails to update


    Thanks,

    The Users list compared to the Profile list you posted earlier tell me there is not an issue with Users (a known issue where there is a profile in the list, but not actual User folder).

    The error code suggests corruption in the CBS manifest:
    Try these steps one at time until the issue is resolved or you run out of steps.

    Is Windows activated?
    No? Activate Windows 10

    Launch Command Prompt (Admin)
    enter the following line
    reg query HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate /s
    If DisableWindowsUpdateAccess REG_DWORD 0x1

    launch regedit
    navigate to HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate
    change the value of DisableWindowsUpdateAccess to 0
    exit regedit
    exit Command Prompt

    Launch Windows Update

    Try the next suggestion if the issue is not resolved.

    Restore health to the component store
    DISM - Repair Windows 10 Image
    Step 6. To Use DISM /RestoreHealth /Source:wim Command
    - OR -
    Step 7. To Use DISM /RestoreHealth /Source:esd Command
    Check System Files
    SFC Command - Run in Windows 10
    Read the front material, then
    follow >> OPTION THREE <<
    To Run SFC /SCANNOW Command in Windows 10

    If there are integrity issues reported on screen,
    Follow the instructions in >> OPTION FIVE <<
    To View Only the "SFC" Scan Results from the CBS.LOG

    If there are no integrity errors, Launch Windows Update

    Try the next suggestion if the issue is not resolved.

    Paste the following line into the address bar of File Explorer
    Control Panel\All Control Panel Items\TroubleshootingLaunch System and Security > Fix problems with Windows Update
    Press Advanced
    Select Run as administrator
    Press Next

    Launch Windows Update

    Try the next suggestion if the issue is not resolved.

    Automatically reset Windows Update components
    Download and run MS Windows Update diagnostic cab (direct download)

    Launch Windows Update

    Try the next suggestion if the issue is not resolved.

    Manually reset Windows Updates via batch file

    Windows Update - Reset in Windows 10

    Launch Windows Update
     
    Slartybart, May 21, 2021
    #4
Thema:

Windows 10 - ShellExecute failed [2]: Is this command correct?

Loading...
  1. Windows 10 - ShellExecute failed [2]: Is this command correct? - Similar Threads - ShellExecute failed command

  2. Bcdedit /set correct command

    in Windows 10 Gaming
    Bcdedit /set correct command: What is the correct one cuz im a bit confused about it as some say one to another and it just really confused me....i want to disable it and if i did understand it should be True as false will forcesnoop if im right.bcdedit /set hypervisorloadoptions NOFORCESNOOPor bcdedit...
  3. Bcdedit /set correct command

    in Windows 10 Software and Apps
    Bcdedit /set correct command: What is the correct one cuz im a bit confused about it as some say one to another and it just really confused me....i want to disable it and if i did understand it should be True as false will forcesnoop if im right.bcdedit /set hypervisorloadoptions NOFORCESNOOPor bcdedit...
  4. Bcdedit /set correct command

    in Windows 10 BSOD Crashes and Debugging
    Bcdedit /set correct command: What is the correct one cuz im a bit confused about it as some say one to another and it just really confused me....i want to disable it and if i did understand it should be True as false will forcesnoop if im right.bcdedit /set hypervisorloadoptions NOFORCESNOOPor bcdedit...
  5. DISM commands fail despite phrasing and spelling them correctly

    in Windows 10 Gaming
    DISM commands fail despite phrasing and spelling them correctly: Hello, I am running the latest version of Windows 11. When I try to repair any files using DISM, the commands fail due to Powershell in admin mode not recognizing them. I have triple checked spelling, copy and pasted them from other microsoft answer threads, and they simply...
  6. DISM commands fail despite phrasing and spelling them correctly

    in Windows 10 Software and Apps
    DISM commands fail despite phrasing and spelling them correctly: Hello, I am running the latest version of Windows 11. When I try to repair any files using DISM, the commands fail due to Powershell in admin mode not recognizing them. I have triple checked spelling, copy and pasted them from other microsoft answer threads, and they simply...
  7. Windows 10 Advanced Start Options Command Prompt fails on M.2 SSD

    in Windows 10 Gaming
    Windows 10 Advanced Start Options Command Prompt fails on M.2 SSD: My computer is a self-built, based on a Gigabyte X299 UD4 LGA 2066 motherboard with a Intel Core i9-7900X 3.3 GHz LGA 2066 processor and 16Gb of RAM, Windows 10 Pro installed on a Samsung 970 EVO 1TB M.2 SSD. Windows is set up with multiple users, and usually 2-3 are signed...
  8. Windows 10 Advanced Start Options Command Prompt fails on M.2 SSD

    in Windows 10 Software and Apps
    Windows 10 Advanced Start Options Command Prompt fails on M.2 SSD: My computer is a self-built, based on a Gigabyte X299 UD4 LGA 2066 motherboard with a Intel Core i9-7900X 3.3 GHz LGA 2066 processor and 16Gb of RAM, Windows 10 Pro installed on a Samsung 970 EVO 1TB M.2 SSD. Windows is set up with multiple users, and usually 2-3 are signed...
  9. Windows 10 Advanced Start Options Command Prompt fails on M.2 SSD

    in Windows 10 Installation and Upgrade
    Windows 10 Advanced Start Options Command Prompt fails on M.2 SSD: My computer is a self-built, based on a Gigabyte X299 UD4 LGA 2066 motherboard with a Intel Core i9-7900X 3.3 GHz LGA 2066 processor and 16Gb of RAM, Windows 10 Pro installed on a Samsung 970 EVO 1TB M.2 SSD. Windows is set up with multiple users, and usually 2-3 are signed...
  10. Chkdsk command not working correctly.

    in Windows 10 Ask Insider
    Chkdsk command not working correctly.: After a scan it says that I have errors on my disk and it needs to be repaired. It says I have to restart to repair. Once I restart, it says click any button to stop repair. I don’t press anything, and the computer starts up again without repairing. If I scan again, it says I...