Windows 10: Win 11. A deleted task starting a .bat file is still running every time

Discus and support Win 11. A deleted task starting a .bat file is still running every time in Windows 10 Software and Apps to solve the problem; Situation: There was Win 10. There was a task starting a .bat file at user logon with 1 min delay. After upgrading to Win 11 the task was DELETED... Discussion in 'Windows 10 Software and Apps' started by to4ilo, Dec 22, 2021.

  1. to4ilo Win User

    Win 11. A deleted task starting a .bat file is still running every time


    Situation: There was Win 10. There was a task starting a .bat file at user logon with 1 min delay. After upgrading to Win 11 the task was DELETED manually the program started by the mentioned .bat file is not working under Win 11.Problem: Every logon the .bat file is still executed. Task scheduler - there is no task. Windows/system32/tasks - there is no task. registry - there is no task. The task is still running.Where should I dig? Where can it be preserved to make me go crazy?

    :)
     
    to4ilo, Dec 22, 2021
    #1
  2. NinjaNife Win User

    BAT File That Deletes Files Below Specific Size

    I am wondering how to make a bat file that can delete all files below a certain size (in this case 10kb). I have a folder on my server that has game screenshots in it (taken by Punkbuster) and need to sort out the good shots from the bad, and figure this is easier than manually deleting thousands of files.. The "bad" shots (blanks with failed renders) range in size from 4kb-8kb, so the bat file can delete anything lower than 10kb with no issues. Is this possible, and if so how do I make one? Thanks for your help.


    *EDIT*
    I have found a bat file that can delete specific types/sizes, but it only allows you to delete file sizes of 0kb (empty text documents and such), and replacing the "0" with "10" or any other number hasn't worked for me so far.
     
    NinjaNife, Dec 23, 2021
    #2
  3. floundo Win User
    Scheduled Task Won't Launch Program with .bat File

    It's set to trigger the bat to open the program every morning at 2:20 a.m., and the one that closes it every night at 11:30 p.m.

    But I have been just trying to run the task manually from task scheduler to test it and it doesn't open the program, even though double clicking the bat to launch manually it does open.

    The action is to start a program "C:\Media Encoder BATS\ADOBE_ME_START.bat" and the other is "C:\Media Encoder BATS\ADOBE_ME_CLOSE.bat"

    Script of start bat is:

    @Echo off

    start "Adobe Media Encoder" "C:\Program Files\Adobe\Adobe Media Encoder CC 2018\Adobe Media Encoder.exe"
     
    floundo, Dec 23, 2021
    #3
  4. Win 11. A deleted task starting a .bat file is still running every time

    bat job started by Task Scheduler does not pause

    The file I am starting with the Task Scheduler has a type extension "bat." If that isn't sufficient to cause it to run under Command interpreter and not Power Shell, can I add a qualifier in the Task Scheduler? I really don't want to edit every line of the bat file. Or maybe the Task Scheduler could start cmd and the actual bat file could be specified in the additional parameter?

    I produce a log file using commands like time /T > c:\bat\test.log. The time-date stamp on the log file is proof that the bat job ran when it was scheduled.

     
    Old Professor, Dec 23, 2021
    #4
Thema:

Win 11. A deleted task starting a .bat file is still running every time

Loading...
  1. Win 11. A deleted task starting a .bat file is still running every time - Similar Threads - deleted task starting

  2. Is it safe to run this bat file?

    in AntiVirus, Firewalls and System Security
    Is it safe to run this bat file?: Spo I was wondering how to get sandbox on windows 10 home and I came across this forum saying that I could run this bat file to try and install it.Enable Windows Sandbox Feature in Windows 10 Home Edition Tutorials tenforums.comThe bat file I downloaded was not blocked by...
  3. Win 11. A deleted task starting a .bat file is still running every time

    in Windows 10 Gaming
    Win 11. A deleted task starting a .bat file is still running every time: Situation: There was Win 10. There was a task starting a .bat file at user logon with 1 min delay. After upgrading to Win 11 the task was DELETED manually the program started by the mentioned .bat file is not working under Win 11.Problem: Every logon the .bat file is still...
  4. *.bat -files not starting!

    in Windows 10 Gaming
    *.bat -files not starting!: I have a friend that wants to host a Minecraft server for a few friends, and we put "java -Xmx1024M -Xms1024M -jar server.jar nogui" in "Start.bat" in a folder, but nothing happens when we start the file server.jar is also in that folder! He has Java installed and Windows 10...
  5. Start VM via bat file in Windows Task Scheduler

    in Windows 10 Virtualization
    Start VM via bat file in Windows Task Scheduler: I'm attempting to start a VM from a bat file with Windows 10 Task Scheduler. The bat by itself and the script via CMD execute correctly, though I cannot get it to run as a bat in Task Scheduler. I've tried different configurations, directly from a CMD, etc. Interesting...
  6. Bat Files Won't Run?

    in Windows 10 Gaming
    Bat Files Won't Run?: Basically I'm installing BattlEye for a Steam game and I click the .bat file in the game's subfolder to download it (when I was prompted to download it I clicked no but now I practically need it for most servers), and I download the .bat from the main website and it also...
  7. Trouble running .bat files

    in Windows 10 Support
    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...
  8. Can't Run .Bat Files

    in Windows 10 Support
    Can't Run .Bat Files: I try to run .bat files and the just run in note pad. There is no "open with" option. 48199
  9. Have a .bat file start up as "run as administrator" in start up.

    in Windows 10 Support
    Have a .bat file start up as "run as administrator" in start up.: Hi, Let me start with my setup. In File explorer I have a library called "Start up" . This contains 2 paths: Path 1 C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup and Path 2 C:\Users\AJ ANNING\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup...
  10. Cannot run BAT file with Task Scheduler "Access Denied".

    in Windows 10 Support
    Cannot run BAT file with Task Scheduler "Access Denied".: Hi all. I am learning some basic batch scripting and I've created a file with the following code: [img] All this does is move various file types to various folders to clean up my desktop. If I click on the .bat file directly it works great. But if I try to run it...