Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: How to disable mscorsvw.exe from startup

26 Apr 2011   #1

Windows 8.1 64-bit
How to disable mscorsvw.exe from startup

I have a program called mscorsvw.exe that always runs at startup and it runs about 4 ngen.exe files along with it. This really lags my startup time to about another 5-10 seconds. Anyway to disable it or why this is happening?

My System SpecsSystem Spec
26 Apr 2011   #2

Windows 8.1 ; Windows 7 x86 (Dec2008-Jan2013)

It happens because .NET tries to compile its files.

Here is a tutorial on how to disable a start up file Startup Programs - Change

However myself I use a program Autoruns by Sysinternals/Microsoft.
I think it is easier. You just start this program, look for crapware and untick it.

Or you can use this trick here
and spend some time by letting it finish what it wants for the first and the last time.
After that it should not do that again.
My System SpecsSystem Spec
27 Apr 2011   #3

Windows 8.1 64-bit

Alright I used both the Sysinternals program and the trick you sent. Mscorsvw.exe doesnt run at startup anymore but ngen.exe still does for a second or two. What does that mean?
My System SpecsSystem Spec

27 Apr 2011   #4
Microsoft MVP

Win 7 Ultimate x64

Have you ever let it finish what it needs to do, or have you been killing it in task Manager? Also if you haven't seen it might want to give this a quick read,

What is mscorsvw.exe and why is it eating up my CPU? What is this new CLR Optimization Service? - David Notario's WebLog - Site Home - MSDN Blogs
My System SpecsSystem Spec
27 Apr 2011   #5

Windows 8.1 64-bit

Yeah I did the second thing and let it finish compiling but it still doesnt go away. About 5 ngen.exe starts up and ends in about 2 seconds when the comp starts.
My System SpecsSystem Spec
27 Apr 2011   #6

Windows 10 Pro (x64)

Don't worry about it then.
My System SpecsSystem Spec
27 Apr 2011   #7
Microsoft MVP

Vista, Windows7, Mint Mate, Zorin, Windows 8

With Soluto you can delay the start or kill it (may not be healthy though).
My System SpecsSystem Spec
15 Jun 2011   #8

Windows 7 Pro x64 (1), Win7 Pro X64 (2)

On this same subject of MSCORSVW.EXE...

Just yesterday I applied some Windows Updates. And among them were a number of updates to the .NET components.

Since yesterday, I've seen the well-known and much described system of CPU usage shooting up (with corresponding fan increases to cool the very busy CPU, and associated fan noise). And looking in TASKMGR it's always MSCORSVW.EXE which is the culprit here, apparently doing what it wants to do.

It may be in the background, and it may be at low priority, but it's still requiring 100% CPU and it still has the same effect.

I took the recommended course of action as described in this blog, running ngen.exe in a command prompt window to let it do the rest of its compiles. Took a few minutes, but eventually it finished.

Looking at the relevant directories before I started, it was apparent that something had been modifed in two of the .NET directories, obviously from the Windows Update, and that these were the queued compiles being processed by NGEN.EXE in the background:

03/24/2011 09:42 PM <DIR> v1.0.3705
03/24/2011 09:42 PM <DIR> v1.1.4322
06/15/2011 06:24 PM <DIR> v2.0.50727
11/21/2010 12:06 AM <DIR> v3.0
11/20/2010 08:31 PM <DIR> v3.5
06/15/2011 06:29 PM <DIR> v4.0.30319

And sure enough, now that I've gone ahead and finished all of the "queued items" using the foreground solution trick, I no longer have this 100% CPU issue from the MSCORSVW.EXE service.

It's still shown in services of TASKMGR (though it may not be present any longer if I were to re-boot, which I haven't yet), but at least it's no longer awakening every so often to eat CPU and spin-up my fans. Quite a relief.
My System SpecsSystem Spec
15 Jun 2011   #9

Windows 10 Pro x64

Quote   Quote: Originally Posted by dsperber View Post
It may be in the background, and it may be at low priority, but it's still requiring 100% CPU and it still has the same effect.
Background / low priority on process threads only means they'll throttle if other higher-priority processes come up during the next context switch, and those will get priority for more time than they usually would over lower-priority threads. However, you can still end up with something at low priority chewing up all the CPU if the system thinks the CPU time is available and not in demand by anythig else higher priority. You probably know that already, but it bears repeating anyway.
My System SpecsSystem Spec
08 Aug 2013   #10

Windows 8.1
Updated info on mscorsvw

Microsoft has an updated post that might help you and others.

Wondering why mscorsvw.exe has high CPU usage? You can speed it up.
My System SpecsSystem Spec

 How to disable mscorsvw.exe from startup

Thread Tools

Similar help and support threads
Thread Forum
How to disable mscorsvw.exe/.NET RunTime Optimization Service?
Recently just pushed down some updates on this computer and noticed this new process lurking around. I know it's safe but it's making my browser stutter when i open it. how does one permanently disable this thing? As i don't use programs written in .net framework most of my time on this computer
Performance & Maintenance
Which of these startup items may i disable?
Hello, I am a bit unsure about which of these startup items are safe to be disabled for startup: I have already selected some that I don't mind being disabled. Can someone help with identifying others? I use a ThinkPad W520, Windows 7...
Performance & Maintenance
What Startup Programs Can I Disable?
Hey gang, I was messing around in System Configuration the other day and began to wonder what programs I could / should disable on startup. I have disabled a few pointless things and third party programs, but is there anything else I can get rid of? Also what programs / processes do you guys...
Performance & Maintenance
mscorsvw.exe always running
Is this program always supposed to be running? Ive read it's supposed to go away after awhile but it has yet to do so.
General Discussion
Two instances of mscorsvw after fresh install windows 7
Not sure why but it seems these two instances aren't doing what they are supposed to do considering it never ate my cpu up while compiling after installing all major updates. (fresh install) Both have been in the processes for hours now. :( have a few failed updates too which might be related? Hope...
General Discussion

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 08:27.
Twitter Facebook Google+