Windows 10: When I try to run a .bat file it does not let me. It says "This app cant run on your pc"...

Discus and support When I try to run a .bat file it does not let me. It says "This app cant run on your pc"... in Windows 10 Gaming to solve the problem; This is what it says... Discussion in 'Windows 10 Gaming' started by Steven Jenkins4, May 7, 2025 at 6:12 PM.

  1. When I try to run a .bat file it does not let me. It says "This app cant run on your pc"...


    This is what it says

    :)
     
    Steven Jenkins4, May 7, 2025 at 6:12 PM
    #1
  2. Larsen97 Win User

    Trouble running .bat files


    Hi, I'm trying to run .bat files on Windows 10, but it tells me that "This app can't run on your PC".
    It doesn't matter what I use it for, .bat files just won't run anyway.
    Are .bat files no longer supported? (ran fine on Windows 7) Any workarounds?

    I'm no expert on this field, which is why I came here. Sorry if this has already been answered here.

    When I try to run a .bat file it does not let me. It says "This app cant run on your pc"... 42116d1485958079t-trouble-running-bat-files-pwvszwb.png
     
  3. kraemerpw Win User
    Why won't my .BAT file run on Windows Server 2012 R2?

    Hi,

    I have administrative access to a PC running Windows Server 2012 R2. This PC is acting as a Remote Desktop Server. We use this Remote Desktop Server to provide remote access to a few database applications we use. At times, we run a .BAT file that records some date and time information to a log file and then opens a particular MS Access database that automatically runs some code to perform the actions we want and then closes automatically. The .BAT file ends with a Pause command, so when it runs, it completes with the command prompt open and prompting "Press any key to continue". Our exact .BAT file is as written below...

    echo %date% >> itsact.log

    echo %time% >> itsact.log

    echo Executing Update >> itsact.log

    "C:\Program Files (x86)\Microsoft Office\Office15\MSACCESS.EXE" "q:\NJ\AutoInventorySync2003.accdb"

    echo Finished >> itsact.log

    pause

    ... Today, when I started a remote desktop session. This .BAT file would not run. Whether I double-clicked on it or right-clicked and chose "Run as Administrator", absolutely nothing would happen - the command prompt wouldn't open, Access wouldn't open, and nothing would be written to the log file. This has happened on a number of different days after I initially established my connection.

    When this happens, I've noticed that if I manually open a command prompt and type in the fourth line of the .BAT file (the one that opens Access), Access opens the requested database and the desired actions are performed. After I do this one time, I am then able to run the .BAT file and it works as expected as many times as I wish to run it. I believe when I first did this, Access did open with a message saying that active content had been disabled, to which I chose to enable it.

    I was wondering if anyone here can think of a reason why the .BAT file would not run until I manually open up the database at least one time?

    To take this a step farther, our actual setup is such that rather than having to run this .BAT file manually, it was previously called automatically by a utility we run that exists as an .exe file. I do not have the source code for this .exe file, but I am certain that it previously would write some data to a text file and then initiate the above .BAT file. It is currently still writing data to the text file, but it is no longer initiating the .BAT file.

    I suspect this must have something to do with a security setting that was changed on this PC (we did recently have some new IT personnel make some changes to enhance our security) or something that has changed due to a software update, upgrade, or patch that might have been applied. I am having a hard time figuring out exactly what is preventing this .BAT from running.

    Any advice or suggestions will be greatly appreciated.

    Thanks in advance,

    Paul
     
  4. When I try to run a .bat file it does not let me. It says "This app cant run on your pc"...

    Updating .bat File, Removing Default Apps

    Hi SightUp.

    Don't have a bat file but step 4 in Option 2 will give you complete list and you can mod yours.

    Uninstall Apps in Windows 10


    Ken
     
    Caledon Ken, May 7, 2025 at 6:13 PM
    #4
Thema:

When I try to run a .bat file it does not let me. It says "This app cant run on your pc"...

Loading...
  1. When I try to run a .bat file it does not let me. It says "This app cant run on your pc"... - Similar Threads - try run bat

  2. When I try to run a .bat file it does not let me. It says "This app cant run on your pc"...

    in Windows 10 Software and Apps
    When I try to run a .bat file it does not let me. It says "This app cant run on your pc"...: This is what it says https://answers.microsoft.com/en-us/windows/forum/all/when-i-try-to-run-a-bat-file-it-does-not-let-me-it/910636c6-87b8-4eef-b403-e3c02a66590b
  3. THIS APP CANT RUN ON YOUR PC

    in Windows 10 Gaming
    THIS APP CANT RUN ON YOUR PC: Good dayKindly assist, it won't open any apps on the computer rather it displays such message.Regards https://answers.microsoft.com/en-us/windows/forum/all/this-app-cant-run-on-your-pc/7f9230ae-473d-4b15-b344-58415820384d
  4. THIS APP CANT RUN ON YOUR PC

    in Windows 10 Software and Apps
    THIS APP CANT RUN ON YOUR PC: Good dayKindly assist, it won't open any apps on the computer rather it displays such message.Regards https://answers.microsoft.com/en-us/windows/forum/all/this-app-cant-run-on-your-pc/7f9230ae-473d-4b15-b344-58415820384d
  5. This app cant run on your pc

    in Windows 10 Gaming
    This app cant run on your pc: I was wondering what my pc means when it says this app cant run on your pc when i try to upgrade from windows 8 to 10 Ive changed the settings but it still says the same error...
  6. This app cant run on your pc

    in Windows 10 Installation and Upgrade
    This app cant run on your pc: I was wondering what my pc means when it says this app cant run on your pc when i try to upgrade from windows 8 to 10 Ive changed the settings but it still says the same error...
  7. This app cant run on your pc

    in Windows 10 Gaming
    This app cant run on your pc: My laptop suddenly says this app cannot run on my pc without even me trying to open an app this is what my taskbar and desktop currently looks like I am not to sure why some of the apps are like that and i really need help ASAP...
  8. This app cant run on your pc

    in Windows 10 Software and Apps
    This app cant run on your pc: My laptop suddenly says this app cannot run on my pc without even me trying to open an app this is what my taskbar and desktop currently looks like I am not to sure why some of the apps are like that and i really need help ASAP...
  9. This app cant run on your pc

    in AntiVirus, Firewalls and System Security
    This app cant run on your pc: Good Morning, I have a message that reads. This app cant run on your pc To find a version for your pc, check with the software publisher. Does anyone know how to fix this? W...
  10. This app cant run on your pc

    in Windows 10 Customization
    This app cant run on your pc: hello. can you help me i am opening all my software and its saying "This app can't run on your pc "and they all worked before https://answers.microsoft.com/en-us/windows/forum/all/this-app-cant-run-on-your-pc/2e356f6b-7363-4fcf-b9da-8d0c4a5446bb