Optimising Virtualisation on desktop by killing unnecessary Windows Processes

Hello to all.

I have been having problems lately virtualising on my pc. I run a Windows Vista Home Premium on an Intel Pentium Dual CPU @ 2.00 GHz and 3GB main memory – a Sony Viao. The problem is that I have quite a lot of unnecessary process running which I do not need to run my Virtual machines.

Also, some of these processes are very stubborn. Killing them from the task manager using the CTRL+ALT+DEL and invoking Task Manager still does not kill the processes permanently as I want it.

So, after doing a couple of research around these windows process, I came to find out they can be handled properly without any side effect to the host.

A good approach from my own perspective was just to kill and terminate the processes and have them come back no more until am done with my virtualisation.

Ok. Now, you may want to find out the critical processes that are using up your system resources which you may not want at the moment.
You can achieve this is seconds by running the tasklist command on the cmd prompt. Additionally, you may want to filter these so that you get a report on a list of all the processes that are using most of the memory. To achieve this, run this:
tasklist  /FI “MEMUSAGE gt 10000″ >>  tasks.txt  && start task.txt
This command lists all the processes using more than 10000KB. From here now, you can now get the processes you may have to terminate.
From these you can now determine which processes are to go down.
Be very careful not to terminate critical system processes. You may now create a batch file with the following entries:

@ echo off
TASKKILL /F /IM explorer.exe
TASKKILL /F /IM dwm.exe
TASKKILL /F /IM otherprocess.exe

And so on. You can then save the batch file and run it on the command line.
But for you to effectively implement this, you may have to have a basic idea of how to use the windows command line interface.

This way, you will be able to free your memory and use it to Virtualise effectively.

To be able to check your Outlook or Word, you need to include the office 12 folder in your path variable.

To do this, make sure to set the path variable to include the installation location of the Office binaries which is at %systemdrive%/Program Files/Microsoft Office/Office12

With this in place, your virtualisation works fine which you have only wanted applications up and running.

I will also be updating this blog on enhancing this process with garbage collection.

Tags: , , , , ,