How to close/end processes via command line


Recommended Posts

  dreamthief said:
Im just dont get it. Why you would want to use command line to kill task?

Maybe to free up resources before running a resource intensive app or game? Makes sense to use a batch to kill all the processes you don't need then start the app, much easier than opening task manager & ending them one by one ;)

  kwapster said:
Maybe to free up resources before running a resource intensive app or game? Makes sense to use a batch to kill all the processes you don't need then start the app, much easier than opening task manager & ending them one by one ;)

bingo

--

Ain't there a way to use Taskkill "process name" or file.exe? :/

  Gary_Player said:
Ahhhhhhhhh I just remotely shutdown explorer on another guy's computer :D

THANKS :D

LMAO!!! YES! I used to do that to my friend a lot in different ways. Like create a batch file that does it and then put it on one of my friends desktops labeled as something else (one of my dumber friends). The guy I was doing it to didn't like it very much and now threatens my balls so I find others.

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • Microsoft shares "immediate remediation" script if you deleted this Windows system folder by Sayan Sen Following the Windows 11/10 Patch Tuesday updates for April 2025, users began noticing a new and mysterious "inetpub" folder in the C: directory. What added to the intrigue was that the folder seemed empty for many people, and thus it was assumed that it could be malicious. As such, many users even proceeded to delete the folder. However, as it turns out, Microsoft later confirmed that this folder was indeed part of the April Patch as it was delivered against the CVE-2025-21204 escalation of privilege security vulnerability. Curiously, a security researcher found that interpub itself could also in turn help threat actors permanently block Windows security updates, although, according to the tech giant, it is only categorized as a "moderate" severity at the moment, something that does not require immediate servicing. As such, Microsoft insists that inetpub must not be deleted "irrespective of whether Internet Information Services (IIS) is active." The company shared a new PowerShell script to restore the folder in case you deleted it, adding that it requires "immediate remediation." This reminds us of the recent Defender definition updates that were released for Windows image files against Lumma. In its MSRC advisory, Microsoft cautioned: "For systems with KB5055528 installed but %systemroot%\inetpub directory deleted, immediate remediation is required. If the inetpub directory has been deleted, you need to run the remediation script Set-InetpubFolderAcl.ps1. This script will: Recreate the inetpub directory if it has been deleted. Ensure that the directory permissions are correctly configured to prevent unauthorized access and potential vulnerabilities related to CVE-2025-21204. Update ACLs for the DeviceHealthAttestation directory, if it exists. This directory was created on certain Server versions by the February 2025 security updates. The script will update the ACLs for the DeviceHealthAttestation directory to ensure it is secure." To get the script, users can head over to this page on Microsoft's official PowerShell Gallery website. It should be run with elevated privileges. The page also provides some additional instructions if needed.
    • Three words...Fu**ing Hell Mate!  
  • Recent Achievements

    • Mentor
      Karlston went up a rank
      Mentor
    • One Month Later
      EdwardFranciscoVilla earned a badge
      One Month Later
    • One Month Later
      MoyaM earned a badge
      One Month Later
    • One Month Later
      qology earned a badge
      One Month Later
    • One Year In
      Frinco90 earned a badge
      One Year In
  • Popular Contributors

    1. 1
      +primortal
      489
    2. 2
      snowy owl
      258
    3. 3
      +FloatingFatMan
      253
    4. 4
      ATLien_0
      217
    5. 5
      Xenon
      152
  • Tell a friend

    Love Neowin? Tell a friend!