RejZoR's little secrets

Little technology secrets for big everyday problems...

Slow Windows XP SP3 startup with .NET Framework 4

, , , , , , , ,

I've had massive problems with ultra slow Windows XP boot. First on friends PC, then on my netbook.
After a clean system restoration, everything worked fine. After doing full Windows Update, system slowed down to a crawl on a system boot. It took forever for Security Center icon to show up and network interface to initialize. And we're talking about 3 minutes here, not few seconds. And after 2 hour investigation, i found out the cause for this massive slowdown is, you won't believe it, .NET Framework 4 ! The problem is apparently limited to Widnows XP as i haven't witnessed anything similar on Vista or Win7 systems and they do have .NET Framework 4 installed. Though it makes me wonder how Microsoft managed to let such crap through. And i don't get it why .NET Framework 4 is even causing this.
Microsoft really needs to look into this problem as there is loads of ppl with this problem, it's just that half of them don't even know .NET Framework 4 is causing it.

Slowdown will happen if you have the following:
- Windows XP SP3
- installed .NET Framework 4

How to fix this problem:
Microsoft hasn't provided an official fix yet, but here is the fix that solves this slow system startup.

DOWNLOAD FIX TOOL

Just download the fix tool, unpack it and run. It will probably take few minutes to process.
In case if there are any errors inside this fix tool after running it, please contact me as this version is using a fixed execution path and will probably fail to work once .NET 4 minor version changes or if you have Windows installed on drive other than C:

It will probably be required to run this fix again after installing new .NET Framework updates unless MS will iclude fix for this in such update...

A must have add-ons for FirefoxSafer web browsing tips

Comments

Unregistered user Monday, September 20, 2010 2:39:44 PM

lunarg writes: You can also disable the Microsoft .NET Framework 4 NGEN service, which seems to be causing the hold up.

RejZoRrejzor Monday, September 20, 2010 3:11:25 PM

Any idea what is this service meant for? I mean, does .NET Framework 4 functionality remains or does disabling this service cripples it in any way?

Unregistered user Sunday, October 10, 2010 4:52:47 AM

Anonymous writes: NGEN processes information about your system/software to help programs execute faster, with less need to ponder them each time they're run. If you're experiencing startup slowdowns with the latest version of it, from what I've read, it's probably hung up on one of the things it's trying to process. Try the steps described here to manually kick it into gear: http://www.vmwareinfo.com/2009/07/did-you-know-mscorsvwexe-tip.html Other people have reported that doing this cured their slow startups. Removing .NET 4 entirely is only a 'solution' unless/until you want to use software that requires it. ;-)

RejZoRrejzor Sunday, October 10, 2010 6:23:07 AM

Have just tested this and it works! Thanks a lot! I'll update the post above with this fix. Though it makes me wonder why Microsoft hasn't done this automatically after installation of .NET Framework 4...

Unregistered user Sunday, October 10, 2010 7:52:40 AM

Anonymous writes: gonna give it a go

Unregistered user Thursday, October 14, 2010 10:23:06 AM

Momus writes: Wow! You just saved my day ! Thanks a lot!

RejZoRrejzor Thursday, October 14, 2010 2:36:11 PM

I'm here to save other ppls days smile

Also, whenever you install new .NET Framework 4 patch, you'll probably have to run the fix again. At least i had to on my netbook. But after it processed everything, it was booting fast again.

Unregistered user Saturday, October 30, 2010 2:32:00 PM

Mikiman writes: What exactly does this tool do to fix the problem?

Unregistered user Saturday, October 30, 2010 2:34:15 PM

Mikiman writes: I tested the tool on www.virustotal.com and it seems to be a trojan http://www.virustotal.com/file-scan/report.html?id=7e3044bbcbb6e4d964f80bc13dd4f93a527a6ae44cdd7a2b2561ff5ca80d9e78-1288449022

RejZoRrejzor Saturday, October 30, 2010 5:42:42 PM

The file is clean, bunch of crappy scanners report it as malware because they are, well crap.

Unregistered user Wednesday, December 15, 2010 9:06:55 PM

bzgzd writes: So what is your fix actually doing? It runs "ngen update" in C:\Windows\Microsoft.NET\Framework\v4.0.30319" or disable "Microsoft .NET Framework NGEN" services?

RejZoRrejzor Sunday, January 2, 2011 8:07:10 PM

It generates the .NET queued stuff. I just wrapped it in a nice and easy to use package. There shouldn't be any side effects unlike with disabling services that breaks stuff.

Unregistered user Sunday, January 16, 2011 9:42:12 AM

Anonymous writes: hey, the fix doesnt download!

RejZoRrejzor Sunday, January 16, 2011 11:06:37 AM

It downloads, it's just that SkyDrive is having some problems lately.

Unregistered user Wednesday, March 30, 2011 6:36:05 PM

Mike writes: Would you mind posting the code so we can see what you are doing to fix the problem? And build it ourselves?

RejZoRrejzor Wednesday, March 30, 2011 8:26:00 PM

Why would you want to write it on your own if it's already written?

Unregistered user Wednesday, March 30, 2011 10:23:48 PM

Mike writes: I don't want to write it myself, but I would like to see what what steps you are taking to fix the problem. Also, I would probably be fired for suggesting running an exe in production that I downloaded without knowing what it was doing.

Unregistered user Monday, May 16, 2011 7:35:56 PM

Bert64It writes: With great respect for RejZor site & his coding :-) , after tought to well-behaviour practices, I think is not recomandable to install any obscure .exe when there is a simplest and easiest solution, see here: http://social.msdn.microsoft.com/Forums/en/netfxsetup/thread/cb75c4dc-e0af-4b22-85b2-c2c1b08bfea1#289ce516-e810-4f59-94d6-0d910bcb1813 (clearly, adapt Net versions paths as you need). The evolution of this could be: it must not be very hard to do a simple .bat file that cycles (for ... ) thru C:\WINDOWS\Microsoft.NET\Framework current subpaths, and re-NGEN every NET version it's installed on machine. Got no time now, but if & when I decide to bloat my Pc with N/4 i will try and perhaps post again. Same can surely be done with command scripts, Powershell or similar. Hi nice day to all Bert64it

Unregistered user Friday, June 3, 2011 3:57:50 AM

Anonymous writes: No Offense RejZoR, but, I totally agree here with everyone else. - Namely, NEVER install any obscure ".exe" from anyone, unless, they can clearly show the "exact" steps (aka, like a readable script, and/or ".bat" file). That should be a no-brainer period ! In fact, what is your ".exe" doing exactly ? Do you care to share that ? :)

RejZoRrejzor Friday, June 3, 2011 8:42:23 PM

It's doing magic. Why is no one complaining why Microsoft is not showing what they are doing under the hood? Or Electronic Arts? Or anyone else in that matter? Sure they created sort of trust and public image, but then again so do i. If users and readers don't trust me, then there is no point in releasing stuff and posting interesting info.

The BAT is "obscured" because i've seen too many so called experts who rip the thing apart, call it their way and not crediting those who require credits. In my case i credit myself and the actual original author based on who's guide i made this automated method.
It's not an almighty method but it does the job.

Unregistered user Tuesday, June 7, 2011 2:42:07 PM

Anonymous writes: thanks RejZoR, it really solve the problem. I recently reinstalled my xp sp3, at first start up everything runs smooth , but once .net framework 4.0 is installed windows suspend for about 1 minute at startup then resume. I have worked with .net 4.0 for a while and never experience this problem before. From my experience I suppose the .net must be installed in order (in other word you have to install every version) otherwise this problem will happen, this is just my assumption not test it yet though. anyway thanks for the fix.

RejZoRrejzor Tuesday, June 7, 2011 8:00:06 PM

Nah, it's not that. I've always installed all the versions and in 99% of times, it tok ages to boot. Just in 2 cases it worked fine.

Unregistered user Saturday, July 2, 2011 9:01:34 AM

Anonym writes: I have now the problem that .NET4 detroys fully working installations of WIN7, see my blog http://habitec.wordpress.com . Here my Google-supported translation of the issue: An HP NW9440 laptop of a customer that has worked well with XPpro/SP3. Since the last update (I do not know if NET 4.0 was in it) the PC will not boot anymore, but reports "broken registry". Customer says, if I have to re-install it, then with Windows 7. I've now tried everything to systematically narrow down the problem, I am now in my 10th Installation or something ... - Windows 7 32 bit and 64 bit are affected - Vanilla installation, install all updates and latest drivers other than any NET -> PC is working properly - Then (! Not with the other updates!) install the updates NET351 -> PC still works -. As soon as the update installs NET4.0 client -> PC will not boot, system repair can not repair, restore point failed No repair possible, just reinstall. [This shows, incidentally, the failure of the built-in backup program, because only with Acronis I can back to a point before the installation ...] For my friend it was some PCs that had network problems after NET4.0 update. After uninstalling everything went fine. [This tip brought me only on the right track]

Unregistered user Saturday, July 2, 2011 12:17:18 PM

THIS WORK TRUST ME! writes: OK guys I downloaded this patch to fix that.Run it and installed just fine,after that I go Start->Run->And there type msconfig Then window will pop up after that go to "services" tab and there find Microsoft NET Framework bla bla... something called like that and disable it! Then just restart computer and boot time will be fast like before :)) This works for me and all other people so try this you will see it works!

RejZoRrejzor Saturday, July 2, 2011 12:19:59 PM

You're just disabling the .NET 4 functionality by disabling that service really, you're not actually fixing it. If you'll install .NET 4 application it will fail to work. Where with my fix it will still work and you'll still have a quick boot.

Unregistered user Wednesday, July 6, 2011 11:06:13 AM

Vasily writes: Can you provide me this fix for execution path on drive H:? Thanks!!!

Unregistered user Wednesday, July 6, 2011 11:13:17 AM

Vasily writes: ...and greetings to RejZoR from Macedonia ;)

Unregistered user Friday, July 8, 2011 4:37:22 PM

Anonymous writes: First of all a big THANK YOU for your effort to bring us little easier lives. Now that fix works but did you try contacting microsoft regarding this fix? What do they say? Did they even respond? If not I think we should combine our efforts and send microsoft kind mail to research this fix and apply it in their updates so small people who don't have luck finding this site find a little easier lives. Again a big THANK you for your help.

RejZoRrejzor Friday, July 8, 2011 7:44:20 PM

Not really sure who to even contact. And i'm sure MS is aware of this, they just don't seem to be bothered releasing any kind of fix for it. Which i find a bit dumb. They also needed several months to fix the broken DirectX Web Updater...

Unregistered user Sunday, July 17, 2011 7:31:23 PM

Jason writes: Hi, It worked for me but the Microsoft .NET Framework NGEN (in Services) has to be set to Automatic before applying the tool otherwise it does not work. I was running on XP SP3. There was a bunch of errors but it has done the job. This is a text document of the whole code including the errors while the fix tool was being applied. http://www.mediafire.com/?4n5t4lmvkhi4uar Hope this is useful for you to improve the tool Microsoft should have written. Jas

Unregistered user Thursday, August 11, 2011 3:16:16 PM

Anonymous writes: LOL, Microsft dont want to fix this issue. They just want it to slowdown XP so that people are forced into upgrading into new Windows. Most people that arent understanding what making the pc slowdown just gonna give up and buy a new machinem that is bs and this should have been resolved in July updates or even August.

Unregistered user Friday, August 26, 2011 12:47:01 PM

Rich writes: I understand concerns about running unknown exe's but this one is fine and fixes the problem. Much respect.

Unregistered user Wednesday, September 7, 2011 1:09:23 PM

TJ writes: If you want to know what is in the code just Un-UPX the file and decompile the exe. From the looks all it is doing is creating a bat file called.. Microsoft .NET Framework 4 Startup Fix.bat and running the a one line ngen code for .net 4.0...Here is the code and part you see when you run it. You can also see the file in your Temp Folder when you run it as it creates it. @ECHO OFF C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\ngen.exe executequeueditems ECHO. ECHO. ECHO Microsoft .NET Framework 4 Startup Fix for WinXP by RejZoR - www.rejzor.tk ECHO Original fix for .NET v2 by Aaron Silber ECHO. PAUSE

Unregistered user Saturday, October 1, 2011 10:37:12 AM

Anonymous writes: it worked for me just well, i dont even have an anti-virus program,i took the risk and downloaded it and installed it 2 xD,and it's been almost a month now and my computer is still good =].. thx for the program ^^

Unregistered user Saturday, January 21, 2012 1:43:43 AM

vitalcore writes: Thank you a lot for the fix. It worked on my computer as well. It seems like it should be run after every update of NET Framework.

Unregistered user Tuesday, February 21, 2012 9:41:36 PM

Anonymous writes: you fucking from slovenia THAT STARTUP ''FIX'' it's a virus called ZEUS created by fucking SLAVS like you REJZOR. Don't trust him his spyway it's from his country that's it's a virus.

RejZoRrejzor Tuesday, February 21, 2012 10:45:12 PM

I wanted to delete your stupid comment but have decided to respond to it instead. I can still delete it if i ever want to.

You have balls to badmouth all the slavic nations and call us, Slovenians bad names just because you "think" this fix of mine is a Zeus malware. You might have plenty of balls but you clearly have absiolutely no brains. Some even have vacuum in their head, you don't even have that. You don't have anything in your thick empty skull. My fix is just an obfuscated batch file. If that is Zeus for you, then you have absolutely no clue what a Zeus malware is. And i can assure you it's nothing like an obfuscated BAT file... so i guess the guy who i credited in the fix is a Zeus creator. Because if you google a bit for his name, you'll find out what the fix actually does. And if you build it yourself, you'll see that it does exactly the same thing. But instead of doing a 30 second research, you opted for insulting instead.
Nice, mature.

Unregistered user Wednesday, February 22, 2012 11:37:11 AM

Anonymous writes: Hey RejZor thanks for this fix, its work!

Unregistered user Thursday, March 8, 2012 5:28:41 AM

Anonymous writes: This isn't a unique fix, it's been known for a while. why do people like to obscure information like this?

RejZoRrejzor Thursday, March 8, 2012 3:10:23 PM

Because i decided so and because the EXE container automatically triggers UAC so everything past this point works with system level rights. BAT files on their own don't.

Unregistered user Friday, March 23, 2012 2:43:40 PM

Anonymous writes: I want thank you guys, especially rejzor who has ended one nightmare. After uninstalling the net 4.0 product it still keeps crashing the machine and programs. I hope this will work. aprox. 10 time installation of this nice OS. Be aware of wloobe.

Unregistered user Friday, May 18, 2012 4:16:12 AM

TM writes: I have a similar problem : after installing .net4 and all ms updates my system became very slow to shut dowm. If I remove .net4 the system becomes normal again. I tried your procedure for (ngen) but it did not work for my case. Any idea on how to fix this?

RejZoRrejzor Friday, May 18, 2012 7:18:49 PM

It has to work. This is the only reason why everything gets so freakin slow...

Unregistered user Saturday, May 26, 2012 1:44:22 AM

Anonymous writes: hey this worked for me....thanks a lot!!

Unregistered user Saturday, May 26, 2012 9:51:21 AM

Anonymous writes: Hello everyone. How does this software work? It just says like this. Is it done fixing? Microsoft (R) CLR Native Image Generator - Version 4.0.30319.1 Copyright (c) Microsoft Corporation. All rights reserved. All compilation targets are up to date. Microsoft .NET Framework 4 Startup Fix for WinXP by RejZoR - www.rejzor.tk Original fix for .NET v2 by Aaron Silber Press any key to continue . . . Pls reply.

RejZoRrejzor Saturday, May 26, 2012 3:46:05 PM

Well, if it says that, then you most likely don't even have the boot slowdown issue...

Unregistered user Sunday, May 27, 2012 1:24:15 PM

Anonymous writes: nah! i also tried this solution.... Solution to this problem When .NET redistributable is installed, it compiles the high priority assemblies in 5 to 10 minutes and then waits until your computer is idle to process the low priority assemblies. The following method forces all of the remaining items to be compiled with a command called NGEN.exe. Follow these steps: 1) Run cmd.exe from Start > Run 2) Type cd\ 3) Type cd Windows\Microsoft.NET\Framework\v2.0.50727 4) Type NGEN executequeueditems and press Enter 5) It will take about 10minutes depending upon system speed. After the process is complete, the following prompt will appear in the command prompt C:\Windows\Microsoft.NET\Framework\v2.0.50727> 6) Type exit to close the command prompt. After performing these steps, your computer will boot up at usual speed. but same result........ Microsoft Windows XP [Version 5.1.2600] (C) Copyright 1985-2001 Microsoft Corp. C:\Documents and Settings\Reyes>cd\ C:\>cd Windows\Microsoft.NET\Framework\v4.0.30319 C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319>NGEN executequeueditems Microsoft (R) CLR Native Image Generator - Version 4.0.30319.1 Copyright (c) Microsoft Corporation. All rights reserved. All compilation targets are up to date. C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319> maybe .net framework is not my problem here.

Unregistered user Monday, May 28, 2012 7:26:33 PM

DMK666 writes: Ugh... I installed NET. Framework 4 on my computer yesterday to run a System Spec Report to send out.. today when i turn it on it got so damn slow.. >.

Unregistered user Monday, May 28, 2012 7:46:44 PM

DMK666 writes: IT WORKED!! Thank you so much RejZoR! xD Ugh.. Microsoft cant do any shit right... I was getting paranoid with all those random slowdowns... Maybe this is the first signs saying that its time to upgrade OS to Win7 or something... Once again thanks a lot RejZoR for saving the day. xD PS: BitDefender Total Security 2012 reports the file to be CLEAN! :D

Unregistered user Sunday, August 5, 2012 1:20:25 AM

Anonymous writes: Hi I installed the frameworks 4 n then i ran your fix, it took a few moment to complete then i rebooted the machine. Its still slow loading window. Any help thx

How to use Quote function:

  1. Select some text
  2. Click on the Quote link

Write a comment

Comment
(BBcode and HTML is turned off for anonymous user comments.)

If you can't read the words, press the small reload icon.


Smilies