Post by Ken SchaeferPost by Lawrence Garvin (MVP)Post by Ken SchaeferI did this test on a Windows Server 2003 R2 box with SP2 installed.
Given that very few WSUS installations have been made to SP2, and the
majority of the past two years were all on SP1, that's probably the more
appropriate platform to address this issue in.
Just for you, I repeated the test on Windows Server 2003 R2 box (no SP2)
- Change logon account for Windows Internal Database to Local System
- Give IIS_WPG group Modify permissions to
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files
- Give IIS_WPG group Modify permissions to C:\Windows\temp
and WSUS v3 seems to work just fine.
My only problem with this is that on a properly functioning WSUS 3 server,
IIS_WPG has no permissions on %windir%\temp.
But, perhaps, this whole issue has been remediated in WSUS 3.0. I don't even
see that any IIS account has any permissions on the \Program Files\Update
Services tree at all on my current WSUS 3.0 front-end server.
Also, since I don't at the moment have a point of reference on an SP1
server, or a WSUS 2.0 server, we've still left unaddressed the issue of the
IWAM_machinename account in the ACLs of the \Program Files\Update Services
folder tree on a WSUS 2.0 server.
Post by Ken SchaeferPost by Lawrence Garvin (MVP)Post by Ken SchaeferPost by Ken SchaeferIt should not make any difference whether directories are ACLed with
either IWAM or ASPNET user accounts, as neither is used by IIS 6.0 (or
ASP.NET) natively on Windows Server 2003.
It doesn't matter whether =IIS6= uses the accounts... it matters that the
=APPLICATION= uses the accounts!
What application are you talking about?
Doh!... WSUS 2.0 -- the one we've been talking about since this thread
started.
And.. if the IWAM or ASPNET accounts don't matter, then we've still not
resolved the question of why IIS needs to be reinstalled on a WSUS 2.0
server.
Nor, why your obviously simple solution doesn't seem to be documented
anywhere in the Microsoft Knowledge Base, including those articles
specifically targeted at this scenario (i.e. running dcpromo on an
IIS-installed system).
Post by Ken SchaeferThere are arbitrary accounts that may, or may not exist, and may or may
not have the actual names that are the defaults.
Can you give me an example of such an application?
<sigh> Ken.. I already did. Please reread the thread history -- either this
thread, or our other monolithic thread on this same subject.
Post by Ken SchaeferPost by Lawrence Garvin (MVP)The *facts* of the ACLs on the \Program Files\Update Services folder seem
to contradict your statement, Ken.
Furthermore, the previously mentioned failures of WSUS on a
Win2003SP1/IIS6/WSUS2 machine also contradict the statement.
Well, I don't have a WSUS v2 application handy, so I will have to take
your word for it.
Thank you!
Post by Ken SchaeferPerhaps that ACL was there to support Windows 2000 installations (where
IWAM_<machinename> is the default account for out-of-process COM+
applications).
There are no out-of-process COM+ applications in WSUS to support. WSUS is,
and always has been, an entirely .NET-based webservices enviroment.
Post by Ken SchaeferIn any case, I don't see why WSUS v2 would be using that account *unless*
it was running on Windows 2000. Are you suggesting that WSUS v2 does
impersonation under the covers by creating a new WindowsIdentity and
impersonating IWAM even on IIS6? That sounds like crazy architecture to me.
I'm not "suggesting" anything. I'm merely pointing out to you what the facts
are. WSUS 2.0 configures IWAM_machinename in the ACLs for \Program
Files\Update Services, and when you 'dcpromo' a WSUS 2.0 server, it breaks
it to the point that IIS must be reinstalled so that the IWAM_machinename
account is in the correct account domain.
Maybe it did do that to support co-existence on Windows 2000 as well as
Windows Server 2003. Maybe it doesn't do it anymore because it no longer has
to support coexistence on a Win2000/IIS5 environment.
But, either way, it does not discount the (as yet unrefuted) fact that
running 'dcpromo' on a WSUS 2.0 server requires reinstallation of IIS.
Post by Ken SchaeferOccam's Razor would suggest that something else is causing your issues.
Yes.. and a hundred empirical examples of the failure over the past two
years would suggest otherwise.
--
Lawrence Garvin, M.S., MCTS, MCP
MVP - Software Distribution (2005-2007)