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 7 Home Premium 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 7 Home Premium 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 7 Home Premium 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 8.1 Pro (x64)
 
 

Don't worry about it then.
My System SpecsSystem Spec
27 Apr 2011   #7
whs
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 / WinXP Pro x86 on (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 Server 2008 R2
 
 

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
Reply

 How to disable mscorsvw.exe from startup




Thread Tools



Similar help and support threads for2: How to disable mscorsvw.exe from startup
Thread Forum
How to disable CHKDSK completely on startup Performance & Maintenance
Solved What Startup Programs Can I Disable? Performance & Maintenance
disable system startup repair General Discussion
mscorsvw.exe always running General Discussion
Two instances of mscorsvw after fresh install windows 7 General Discussion
Want to disable wireless device at startup... Network & Sharing
Disable startup animation Media Center

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 09:28 AM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33