Windows 10: tasklist.exe - Application Error

Discus and support tasklist.exe - Application Error in Windows 10 Installation and Upgrade to solve the problem; I've been having an issue for the past several days where I get a random error window, regardless of what I'm doing.I've installed the latest Windows... Discussion in 'Windows 10 Installation and Upgrade' started by KzG90, Apr 14, 2022.

  1. KzG90 Win User

    tasklist.exe - Application Error


    I've been having an issue for the past several days where I get a random error window, regardless of what I'm doing.I've installed the latest Windows updates and Windows Security says everything's fine, so I'm not sure what's causing this issue.

    :)
     
    KzG90, Apr 14, 2022
    #1
  2. kg415 Win User

    TASKLIST command LIES!

    I have two Windows 10 PCs connected to a NAS via 1Gps Ethernet and run applications such as Thunderbird, Lightroom, Quicken, and others that lock shared network files on the NAS when in use. On sleep, switch user, or lock screen,
    I wish to gracefully stop these apps if running to release the locks. I've not found a reliable way to do this. After trying to use the Windows Event Scheduler, LockandLoad, or Power Triggers to kill tasks when sleep/switch/lock events are detected, I've
    concluded this approach is futile: if a task doesn't clean up quickly enough after receiving a TASKKILL notification, it will be suspended with the shared files left in an unusable state.

    So to avoid this race condition, I wrote a batch script (below) that runs TASKKILL to end a list of applications, then loops running a TASKLIST command until the killed tasks are no longer listed, then runs a sleep/switch/lock command.
    I disabled the standard sleep and lock start menu items (haven't found a way to disable switch user), and created shortcuts to this script with appropriate arguments.

    It STILL does not work reliably. The only explanation I can think of is that the TASKLIST command must not be returning accurate info.

    What to do?

    @Echo off

    rem Kill tasks that lock shared files, then sleep, switch user, or lock session

    rem Usage:

    rem powersafe {sleep|switch|lock} task1 task2 ...

    rem

    rem Installation:

    rem Copy powersafe.bat to C:\Program Files\PowerSafe

    rem Copy sleep.lnk, switch.lnk, lock.lnk to:

    rem C:\ProgramData\Microsoft\Windows\Start Menu\Programs\PowerSafe

    rem Download and install tsdiscon.exe in %SystemRoot%\System32 if necessary.

    if [%1]==[] (

    echo Usage: powersafe {sleep^|switch^|lock} task1 task2 ...

    exit /b 1

    )

    setlocal EnableExtensions

    set tasklist=

    :KILLTASKS

    if [%2]==[] goto KILLDONE

    taskkill /fi "USERNAME eq %USERNAME%" /im %2

    if errorlevel 0 set tasklist=%tasklist% %2

    shift /2

    goto KILLTASKS

    :KILLDONE

    for /f "tokens=4 delims= " %%G in ('tasklist /fi "IMAGENAME eq tasklist.exe" /nh') do SET id=%%G

    :WAIT

    tasklist /nh /fi "Session eq %id%" | findstr /i "%tasklist%"

    if errorlevel 1 (

    goto SLEEP

    )

    timeout /t 1 /nobreak

    goto WAIT

    :SLEEP

    echo %1

    if /i %1==sleep (

    Rundll32.exe Powrprof.dll,SetSuspendState Sleep

    ) else if /i %1==switch (

    %SystemRoot%\System32\tsdiscon.exe

    ) else if /i %1==lock (

    rem Does NOT lock! -- same as tsdiscon.exe

    rundll32.exe user32.dll,LockWorkStation

    )
     
    kg415, Apr 14, 2022
    #2
  3. yok33 Win User
    Tasklist problem. Please help.

    I tried the following steps to get a list of the processes running on my computer. I actually found it on the Microsoft Windows support website.

    "use the command line command tasklist. For example, in

    Start >Run, type

    tasklist /FO CSV>C:\tasklist.csv [click OK]

    This will produced an Excel spreadsheet of the Task Manager information"

    It seems to run fine, but I have absolutely no idea as to WHERE the list goes to? I cannot find it!

    If someone can help me out on this it would be greatly appreciated, or if someone knows a more simple way to get a list of the processes running on my computer, please let me know.

    In the mean time, I will keep pulling the last few hairs out of my head.

    Yok3233
     
    yok33, Apr 14, 2022
    #3
  4. tasklist.exe - Application Error

    regsvr32.exe - application error

    Hello,

    I would like to inform that Regsvr32.exe Application Error
    Codes are caused by misconfigured system files in your windows operating system or by the following reasons:

    • missing or damaged or modified .dll files.
    • Invalid Entry or Command path.
    • Active X control errors.
    • Registry issues.
    • Viral or Malware Attack.

    I suggest you to run SFC scan and check if it helps.

    System File Checker is a utility in Windows that allows users to scan for corruptions in Windows system files and restore corrupted files.

    Follow the below steps:

    • Right click on the Start button, click on
      Command Prompt (Admin).
    • Type “sfc /scannow” without the quotes and hit
      Enter.
    • After the scan, restart the computer and check for the issue.

    Reference: http://support.microsoft.com/kb/929833

    Note: If you are not able to repair some files after performing SFC scan, I suggest you to refer to the point 3 “Windows Resource Protection found corrupt files but was unable to
    fix some of them. Details are included in the CBS.Log %WinDir%\Logs\CBS\CBS.log”. Under the section “Run the System File Checker tool (SFC.exe)” to repair the corrupted files after performing SFC scan.

    Refer: Use the System File Checker tool to repair missing or corrupted system
    files


    Hope this helps. Keep us posted on the status for further assistance.
     
    Eeshwar Kumar, Apr 14, 2022
    #4
Thema:

tasklist.exe - Application Error

Loading...
  1. tasklist.exe - Application Error - Similar Threads - tasklist exe Application

  2. Applications .exe Fail to Start by Kernelbase.dll error

    in Windows 10 BSOD Crashes and Debugging
    Applications .exe Fail to Start by Kernelbase.dll error: Hello technical team,I have encountered an issue as follows: The exe application I developed, when used with Windows 10 for a while, cannot be opened anymore. When I checked the Event Viewer, I saw an Application Error with KERNELBASE.dll. The detailed error is as follows:...
  3. Fix RAVCpl64.exe Not working, System or Application Error

    in Windows 10 News
    Fix RAVCpl64.exe Not working, System or Application Error: [ATTACH]RAVCpl64.exe is a Realtek process. It will be present on all computers having Realtek drivers. However, it is not supposed to show any kind of error, which it’s been doing on a lot of computers. In this article, we are going to see what you need to do if RAVCpl64.exe...
  4. empty recycle bin error: Application: $RBAJHN9.exe

    in AntiVirus, Firewalls and System Security
    empty recycle bin error: Application: $RBAJHN9.exe: When I go to empty my recycle bin, I get the error: Windows protected your PC Microsoft Defender SmartScreen prevented an unrecognised app from starting. Running this app might put your PC at risk. Application: $RBAJHN9.exe Publisher: Unknown publisher I went to...
  5. Application Framework host .exe

    in Windows 10 BSOD Crashes and Debugging
    Application Framework host .exe: I'm having some issues with certain apps crashing. Discord, Epic Games Launcher. Apps are glitchy. I have all my gpu drivers updated. When i run Dxdiag.exe it shows APPCRASH and application framework host .exe failing. I have a home built gaming pc. I got steam to run...
  6. Multiple Permissions Errors at an Windows 10 EXE Application

    in Windows 10 Support
    Multiple Permissions Errors at an Windows 10 EXE Application: Hello everyone, I'm having some trouble with a Windows 10 Permissions Error and i really need some Windows Experts help, Situation I Have an application that is called SGT, it is a software for industry management the problem is that whenever i'm using a Regular User of...
  7. Multiple Permissions Errors at an Windows 10 EXE Application

    in AntiVirus, Firewalls and System Security
    Multiple Permissions Errors at an Windows 10 EXE Application: Hello everyone, I'm having some trouble with a Windows 10 Permissions Error and i really need some Windows Experts help, Situation I Have an application that is called SGT, it is a software for industry management the problem is that whenever i'm using a Regular User of...
  8. werfault exe application error

    in Windows 10 Drivers and Hardware
    werfault exe application error: this is a very annoying thing to get it just wont disappear ive disabled windows error reports ive tried a few things the instruction at 0x0000000075C58AA9 REFERENCED MEMORY AT 0x0000000075C58AA9,. THE REQUIRED DATA WAS NOT...
  9. Error (0xc000007b) winx86.exe - Application

    in Windows 10 Software and Apps
    Error (0xc000007b) winx86.exe - Application: so malwarebytes wanted to delete this, and now it keeps spamming me with this error "winx86.exe - Application Error The application was unable to start correctly (0xc000007b). Click OK to close the application" I click OK and it keeps popping up with this 111313
  10. winx86.exe - Application Error (0xc000007b)

    in Windows 10 Support
    winx86.exe - Application Error (0xc000007b): so malwarebytes wanted to delete this, and now it keeps spamming me with this error "winx86.exe - Application Error The application was unable to start correctly (0xc000007b). Click OK to close the application" I click OK and it keeps popping up with this 111313