Showing posts with label hang. Show all posts
Showing posts with label hang. Show all posts

Sunday, January 10, 2010

[TIP] Terminate full-screen games and appls when they stop responding

Actually it is pretty simple and doesn’t require any advance level of computer knowledge.
First you need to know what is the process name used by the game. Let’s take Counter Strike 1.6 as an example. You can check the process name for the game by right clicking the Counter-Strike 1.6 shortcut and select Properties.
Go to the Shortcut tab to view the Target. As you can see, Counter Strike 1.6 process is actually hl.exe.

Now you need to create a batch file that will kill the hl.exe process when you simultaneously hit a combination of shortcut keys. Open notepad, and type the command line shown below.
taskkill /IM hl.exe
Save the text file as anything.bat and not .txt
When you run the anything.bat file, it should be able to close the game.


Now we will assign a shortcut key to run the batch file.
Right click the anything.bat file and select “Create Shortcut”. A new file named “Shortcut to anything.bat” will appear. Right click at “Shortcut to anything.bat” file and select Properties. Click at the Shortcut Key blank area and type any key of your choice. 
If you type the letter “K”, it will automatically assign Ctrl + Alt + K as the shortcut key to run the killcss.bat file.
One very more important rule is that the shortcut must be placed at desktop for it to take effect.
When the game hangs in future, I just need to hit Ctrl + Alt + K key to kill the game so you can restart the game without having to restart your computer.

Sunday, September 27, 2009

[TIP] Correcting System Hang at Startup

If your system hangs about 2 or 3 minutes at startup, where you can't access the Start button or the Taskbar, it may be due to one specific service (Background Intelligent Transfer) running in the background. Microsoft put out a patch for this but it didn't work for most. Here's what you need to do:

1. Click on Start -> Run, type 'msconfig', then click 'OK'.
2. Go to the 'Services' tab, find the 'Background Intelligent Transfer' service, disable it, apply the changes & reboot.

This problem with the Background Intelligent Transfer Service should have been corrected in Windows update Q 314862, part of Service Pack 1.