• 0

How To Kill Explorer When Running Program


Question

Ok, I was reading some posts about BF2 and someone said they kill their explorer using ctrl+alt+del and then running the game to get extra resources. It works fine but I was wondering if there is a way I can add an argument to the bf2.exe so it does this automatically?

I have a dock, konfabulator, and some other programs I use constantly...is it possible to include an argument that can kill those as well? Thanks :)

13 answers to this question

Recommended Posts

  • 0

make a batch file for each game.

******* is for each of the programs u want closed...Konfab. Dock, Explorer

Start taskkill /im Explorer.exe
Start taskkill /im ********
Start taskkill /im ********
Start taskkill /im ********
Start taskkill /im ********
start [path]/gamename
exit

  • 0
  Beastage said:
First of all, you can't kill explorer when running windows :)

for the others I'm sure its doable (don't know how) but I'm actually interested to see how its possible, so I'm adding my self to your question :p

586443873[/snapback]

You can kill explorer using task manager. When you end the process all you get left with is the task manager window but you can then run a program using the file menu. Whenever I get done with the game I just to go to file>run>explorer.exe and everything comes back. I'm assuming this is killing explorer?

Thanks, tch1005, I'll give those a shot. :)

  • 0
  tch1005 said:
make a batch file for each game.

******* is for each of the programs u want closed...Konfab. Dock, Explorer

Start taskkill /im Explorer.exe
Start taskkill /im ********
Start taskkill /im ********
Start taskkill /im ********
Start taskkill /im ********
start [path]/gamename
exit

586443897[/snapback]

Don't forget to add lines to restart those services after gamename ends..

And its completely possible to kill explorer while running windows :dontgetit:

  • 0
  HellBender said:
Don't forget to add lines to restart those services after gamename ends..

And its completely possible to kill explorer while running windows :dontgetit:

586443937[/snapback]

Hellbender, would you mind telling me how to do that? Or do you know of a site that explains these types of commands? Thanks :)

edit: Hmmm, I made the batch file and typed the commands that tch1005 suggested. It does kill the programs I want but then it pops up the "turn off computer" prompt. It also says it cannot find the path of the game but I know it is correct (D:\Games\Battlefield_2\BF2.exe). Am I missing something?

Edited by soloredd
  • 0

You are able to end-task "explorer.exe" through ALT-CTRL-DEL..and you can still run your system fine but you just won't have access to your taskbar, which will we gone when you end task "explorer.exe." Just make sure to re-run explorer by going back into ALT-CTRL-DEL and File > Run New Task > "Explorer.exe" after your done playing your game. :D

  • 0

There was a project a while ago on neowin whereby some members started to make a lil' program that ended all other processes when you ran it for playing games n' shizzle, but the performance gain was too small to make the program worthwhile i think.

Maybe someone could chase the creators up?

  • 0
  Julius Caro said:
I thought that games already did something with the other running processes.

Let's say, I have around 100 free mb of RAM. I start a game, play it, and then close it. When I check again I have A LOT more RAM.

586444940[/snapback]

That's because of the way Windows handles memory management. When a game starts, it allocates TONS of memory. Windows flushes everything that's not in use (ie. everything except the game) into the swap file to gain the maximum amount of available RAM. Then, the game uses up most of the available RAM, and it performs better. Tasks that aren't as critical (such as the system shell - explorer.exe) don't get their jobs done as quickly, but the whole point is that they don't need to while the game is running.

Basically, what I'm saying is Windows knows how to manage memory and other resources, and forcibly killing the shell or other services is a waste of time.

  • 0
  John said:
Basically, what I'm saying is Windows knows how to manage memory and other resources, and forcibly killing the shell or other services is a waste of time.

586445060[/snapback]

That would've been my point if I had known about it, lol :p

Edited by Julius Caro
  • 0
  soloredd said:
Hellbender, would you mind telling me how to do that? Or do you know of a site that explains these types of commands? Thanks :)

edit: Hmmm, I made the batch file and typed the commands that tch1005 suggested. It does kill the programs I want but then it pops up the "turn off computer" prompt. It also says it cannot find the path of the game but I know it is correct (D:\Games\Battlefield_2\BF2.exe). Am I missing something?

586443971[/snapback]

You can use the wait command before starting BF2.

start /wait Path to BF2
start explorer.exe

That forces it to wait until BF2 exits, then it relaunches explorer.

  • 0
  Julius Caro said:
I thought that games already did something with the other running processes.

Let's say, I have around 100 free mb of RAM. I start a game, play it, and then close it. When I check again I have A LOT more RAM.

586444940[/snapback]

My quest for figuring this is more for the running apps...konfabulator, yzdock, nod32, and itunes. The explorer.exe isn't much of an issue, I was just experimenting. It's kind of a pain to close everything, play the game, then start them again. The big one is yzdock as it steals focus when you have the mouse at the bottom of the screen.

Thanks for the help everyone, I'll see if I can't mess around a bit more and get it to work...it still wants to shut the computer down and says it cannot find the path :huh:

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

    • No registered users viewing this page.
  • Posts

    • Have a ton of the Beach Boys on USB that I play while cruising in the car in my avatar.  Good times music. Very sad to hear of his passing. 😪
    • Haha, that didn't take long. On the bright side, that one is a fix for more issues...we'll see if anything major pops-up in the coming weeks.
    • Something like this https://www.neowin.net/news/wi...ashes-when-launching-games/ you mean?
    • Valerion StreamMaster Plus2 4K Dolby Vision gaming projector is $300 off with promo coupon by Sayan Sen If you are in the market for a premium projector, you should have a look at the Valerion StreamMaster Plus2 4K Gaming Projector. The product is designed primarily for gaming and multimedia use and promises an excellent "smoother streaming experience" compared to other projectors in its class. The projector supports "true" 4K Ultra HD, which should provide clear images for detailed gaming environments and media playback. The brightness level of 2000 lumens intends to make the device usable in various ambient lighting conditions, from dim gaming rooms to brighter living areas. And in terms of audio, it packs an S/PDIF for digital audio out. The key technical specifications of the Valerion StreamMaster Plus2 4K Gaming Projector are given below: Brightness: 2000 ISO Lumens Light Source: RGB triple laser Contrast Ratio: 10000:1 with EBL Mode (EBL = enhanced black level) Color Gamut: 110% Rec.2020 Throw Ratio: Fixed 1.2:1 (supports screen sizes up to 300 inches) Dynamic Tone Mapping: Enabled HDR and 3D Support: Supports IMAX Enhanced, Dolby Vision, HDR10+, Active 3D, Filmmaker Mode Google TV OS AI-SoC MT9618, 4 GB RAM and 128 GB ROM Input Lag: 4ms at 1080P@240Hz, 8ms at 1080P@120Hz, 15ms at 4K@60Hz Wi-Fi 6e, Bluetooth 5.2 Typically, it is listed at $1999. However, the projector is currently available for $1699, thanks to a special promo code, making it an attractive option for those looking to upgrade their gaming or home cinema setup. Get it at the link below: StreamMaster Plus2 4K Gaming Projector - 300" IMAX Enhanced Home Theater, 3D & Dolby Vision, HDR10+: $1999 + $300 off with promo code "VALERION" at checkout => $1699.00 (Shipped by Amazon, Sold by Valerion) This Amazon deal is US-specific and not available in other regions unless specified. If you don't like it or want to look at more options, check out the Amazon US deals page here. Get Prime (SNAP), Prime Video, Audible Plus or Kindle / Music Unlimited. Free for 30 days. As an Amazon Associate, we earn from qualifying purchases.
    • Yeah you are reading different article. Does your article talk about Elon's big dong and has video him naked by any chance? I think the problem is you are commenting on the wrong tab you are actually viewing. Sorry the Telsa you buy is not the same product these robotaxi's will be. WTF? Funny how you didn't even reply to Steven's comment here. Thanks for playing but you are getting all worked up and saying ###### you wouldn't to anyone's face so we are done.
  • Recent Achievements

    • Apprentice
      Cole Multipass went up a rank
      Apprentice
    • Posting Machine
      David Uzondu earned a badge
      Posting Machine
    • One Month Later
      Stokenking earned a badge
      One Month Later
    • One Month Later
      Kevin Jones earned a badge
      One Month Later
    • Week One Done
      Kevin Jones earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      535
    2. 2
      ATLien_0
      263
    3. 3
      +Edouard
      195
    4. 4
      +FloatingFatMan
      184
    5. 5
      snowy owl
      135
  • Tell a friend

    Love Neowin? Tell a friend!