From “Making Windows XP Start Faster” at http://www.pcmag.com/article2/0,1759,1768883,00.asp
This post started at Microsoft WebBlogs: NNNNOOOOOoooooo….!.
Michael Howard, co-author of Writing Secure Code, posted on his weblog about a pc magazine article that suggested you should disable a couple of services to increase performance.
Two of the services listed under “Stopping Unneeded Startup Services”
Automatic Updates: This service enable Windows XP to check the Web automatically for updates. If you don’t want to use Automatic Updates, you can disable the service. You can always check for updates manually at the Windows Update Web site.
Windows Firewall/Internet Connection Sharing: If you do not use these features, you can disable them.
NNNNOOOOOoooooo….!
I thought that his post was simple, to the point, and I filed it into the “Who in their right mind would do that?” part of my mind. That was until I saw this today and almost fell off my chair…
Warning: The following content may offend some readers
D:\WINDOWS\ehome>doRunner.bat
D:\WINDOWS\ehome>
..\Microsoft.NET\Framework\v1.0.3705\CasPol -s off
Microsoft (R) .NET Framework CasPol 1.0.3705.6018
Copyright (C) Microsoft Corporation 1998-2001. All rights reserved.
Success
... do some stuff ...
D:\WINDOWS\ehome>..\Microsoft.NET\Framework\v1.0.3705\CasPol -s on
Microsoft (R) .NET Framework CasPol 1.0.3705.6018
Copyright (C) Microsoft Corporation 1998-2001. All rights reserved.
Success
Please excuse me for a moment, I am going to be sick …
Who in their right mind disables code access security for every .net application on a system, just to make their application work?
I heard somewhere that MS are considering either removing Caspol.exe all together from the Whidbey release. I would hate to see Caspol.exe disappear altogether, as the framework configuration control panels seem to break to often for my liking, and I need to resort to Caspol.exe to make things work. However please, please, PLEASE remove the -s off option. I am happy to live with whatever pain it causes, if it stops cowboys opening up my system to the world just to make their life easier.