Hi, I am hoping this post is going to make some people very happy. I have found a fix for the issue where deploying the .NET Framework 3.0 at T-13 via svcpack.inf causes WebClient 87 errors when the computer is restarted. For those of you who just want to know what the fix is, you just need to add the following line to a CMD file and then execute it via svcpack.inf AFTER the .NET Framework 3.0 installation takes place: mkdir "%ALLUSERSPROFILE%\..\LocalService\Local Settings\Temporary Internet Files" (This is in addition to the other .NET Framework 2.0/3.0 fixes) This fix will also work if you have a computer which is already displaying this issue - i.e. if you run this command on a computer that has the WebClient errors now, it *should* fix them. For those of you who want to know how I found this out, here goes: Basically I work at a school where we use RIS and Group Policy to deploy stuff, and one of the things that I started doing recently was to deploy the .NET Frameworks as part of svcpack.inf instead of using Group Policy so that the files would be already 'in place' after the first reboot, a task which was made much easier by the advice and support provided on the forums here at msfn.org as well as other places online (thanks!) Well recently I found some software that required the .NET Framework 3.0, and so I wanted to add it to our svcpack.inf so that it was in place before Group Policy attempted to do the installation. I did already know about the issues deploying the .NET Framework 2.0 via svcpack.inf through reading Aaron Stebner's weblog, and also about the WebClient issue, but I thought I would give it a go. To my surprise although I did get the WebClient errors on the *first* reboot after the installation, I did not get them on *subsequent* reboots, unlike everyone else - at the time I didn't think too hard about this & just counted myself lucky. However recently we upgraded our virus scanner at school from VirusScan Enterprise 7.1 to VirusScan Enterprise 8.5, and after removing VSE 7.1 from our Group Policy Software Installation objects, I noticed that *new* computer installations were coming up with the dreaded 'WebClient' errors *every time* they booted, instead of just once at the first boot - aargh! Event Type: Error Event Source: Service Control Manager Event Category: None Event ID: 7016 Description: The WebClient service has reported an invalid current state 87. For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp. Event Type: Error Event Source: Service Control Manager Event Category: None Event ID: 7022 Description: The WebClient service hung on starting. For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp. I quickly put my 'troubleshooting' hat on and tried to work out what had changed. As it turns out, it appears that when VirusScan Enterprise 7.1 was installed, it was creating a 'Temporary Internet Files' folder in the LocalService profile which hadn't existed there before. I investigated futher and found out that this folder would normally exist on a computer after a clean installation of Windows, but that for some reason installing the .NET Framework 3.0 using svcpack.inf at T-13 prevented this, and hence the errors were occuring. Creating the folder again resolved all of the problems and WebClient would start up perfectly. So I had my fix, but I still wanted to understand the problem more, so I delved deeper into the workings of Setup and .NET Framework 3.0. I altered svcpack.inf to load up a command prompt (using cmd.exe) just before and just after the .NET Framework 3.0 install took place at T-13, and took file listings and a registry dump before and after the installation (using 'dir' and 'reg'), so that I could find out what had changed. What I discovered was that before the .NET Framework 3.0 installs, the only folders (hidden or otherwise) under C:\Documents and Settings are the 'All Users' and 'Default User' folders - there are no profiles for LocalService and NetworkService as there are once Setup has completed. However, *after* the .NET Framework 3.0 installation takes place, the LocalService profile *has* been created, but only partially - presumably it only contains the contents of the 'template' Default User profile as it stands at that point in Windows Setup, which means not all of the 'normal' folders have been created, and one of those which is missing is 'Local Settings\Temporary Internet Files'. This causes a problem with WebClient (a service that runs using the LocalService profile) when it starts up, presumably because it needs the folder, but is not 'clever' enough to create the folder if it doesn't exist. However, if we create the folder ourselves, then WebClient is 'clever' enough to create everything that goes *inside* that folder & set it up properly, so the problem is resolved. I mention this because there is another way to 'fix' the problem which also works and may be a bit 'cleaner', and yet IMO also carries some risk. It is also possible to execute the following command after the .NET Framework 3.0 setup completes: rmdir /S /Q "%ALLUSERSPROFILE%\..\LocalService" and the problem will be resolved; since the LocalService profile is not 'meant' to exist at the T-13 stage of setup, we can safely delete it, and it will be recreated at the 'correct' point in Setup later on, and it *will* contain the 'Temporary Internet Files' folder. I have tested this fix as well and it seems to work. However this approach does contain some drawbacks in my point of view: It presumes that the .NET Framework 3.0 setup has not written anything 'important' to the LocalService profile which is needed in order for the .NET Framework 3.0 to work. Even if the .NET Framework 3.0 does not write anything important, it assumes that *future* versions of the .NET Framework will also not write anything important. It is not possible to use this command to 'fix' an existing 'broken' WebClient install once Setup has completed - in fact it will probably make things much worse. I mention it here in case people are interested in an alternative way to fix the problem, since as things stand if you use the 'mkdir' fix to install the .NET Framework 3.0 in svcpack.inf your system will be running with a slightly 'stunted' copy of the LocalService profile which may not contain all of the folders & registry settings that would have been created as part of a 'normal' Windows install - so your mileage may vary. Having said that we have been effectively running all of our 400-odd computers with this 'fix' for some time now (due to VirusScan Enterprise 7.1 creating this directory for us), and so I have no reason to believe that there are will be any problems caused by this, even if it is not the 'cleanest' solution. I hope this helps a lot of you resolve one of those really annoying problems that has been bugging us for some time; please let me know how you get on! Also I have not tested this fix with any versions of the .NET Framework later than 3.0 - I leave it to you all to find out if this 'fix' helps with 3.0, 3.5 and 3.5 SP1! Thanks for reading, and kind regards, Chris