What is this svchost.exe (LocalServiceAndNoImpersonation) using all my CPU?

If you've got Win7 you can find out which actual service is using your CPU via the Resource Monitor, ResMon.exe.

On the CPU tab, the second frame down is "Services" You can right-click on the offender and stop it. Often a stop and restart will fix it, at least till next time.

svchost.exe (LocalServiceAndNoImpersonation) using about 30% of core i5..

I want to set a Windows Environment Variable for my whole user login session

Use setx to permanently set an environment variable

If you've used windows environment variables at all, you've probably wished you could set them in a command window for use in another program.
You can't change the environment of an already-running program - the environment is copied when a program starts - but you can set environments values for your user session that will be picked up by any new programs you launch with setx:

setx myvariable thenewvalue

Much easier than right-clicking to get to My Computer properties.
setx /? will also tell you about setting permanent, machine-wide and remote machine environment values.

setx comes with Windows 7 or in the Windows Resouce Kit.

How to unset a variable set with setx

setx myvariable ""

See http://support.microsoft.com/kb/195050 for more details.

Asp.net / IIS7 : System.BadImageFormatException: Could not load file or assembly

You have something like this:


Server Error in '/Vendorapplication' Application.
Could not load file or assembly 'Oracle.DataAccess' or one of its dependencies. An attempt was made to load a program with an incorrect format.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.BadImageFormatException: Could not load file or assembly 'Oracle.DataAccess' or one of its dependencies. An attempt was made to load a program with an incorrect format.
Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

It's because you are trying to run 32 bit dlls on a 64 bit system. Fix it in IIS manager by changing the advanced settings on you application pool to enable 32 bit applications. Or create a new app pool specifically for them.

Alex James Brown has a nice picture: change app pool to 32 bit