473,395 Members | 1,401 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Is it safe to use IWAM_<machine name> account for aspnet_wp.exe?

This question references to KB articles:
http://support.microsoft.com/default...b;EN-US;315158
http://support.microsoft.com/default...b;EN-US;317012

I'm running Advanced Server 2000 as a domain controller with IIS 5 (I know I
shouldn't be doing this - just a test machine). I am using the default
ASP.NET (v1.1) machine.config file.....

<processModel..... userName="machine" password="AutoGenerate"..... />

According to KB317012....."The machine and the AutoGenerate values instruct
ASP.NET to use the built-in ASPNET account and to use a cryptographically
strong, random password that is stored in the Local Security Authority (LSA)
for that account."

On my machine this causes the worker process (Aspnet_wp.exe) to run under
the IWAM_<machine name> account instead.
Is this safe? (I've disabled the ASPNET account as it dosn't seam to be
needed). In order to get the SDK samples to work with my SQL Server, I've
added IWAM_<machine name> as a login and database user. Is this safe?

Also, it seams I have to add IWAM_<machine name> to any virtual directory
that uses ASP.NET. I get two error messages from source USERENV in the
Application Log every time Aspnet_wp.exe starts up.....

Event ID: 1000
Windows cannot log you on because the profile cannot be loaded. Contact your
network administrator.
DETAIL - Cannot create a file when that file already exists.

Event ID: 1000
Windows cannot copy file <Document and Settings\ Default
User\Favourites\Links> to location <Document and Settings\My
Domain\IWAM_<machine name>\Favourites\Links>. Contact your network
administrator.
DETAIL - Cannot create a file when that file already exists.

...... and a <My Domain Name> folder is created in the Document and Settings
folder (if it dosn't already exist - it remains empty).

Thanks
Nov 17 '05 #1
3 5341
Hello,
As the article is suggesting:
"To work around this problem, use one of the following methods:

- Create a weak account that has the correct permissions, and then
configure the <processModel> section of the Machine.config file to use
that account.

- Set the userName attribute to SYSTEM in the <processModel> section of
the Machine.config file.

- Configure the <processModel> section of the Machine.config file to
use an administrator account.

NOTE: Allowing ASP.NET applications to run as SYSTEM or an administrator
account has serious
security implications. If you use either of these workarounds, code that is
run in the Aspnet_wp.exe
process will have access to the domain controller and the domain settings.
Executable files that are
started from the Aspnet_wp.exe process run in the same context and also
have access to the domain
controller.

Did you try any of these workarounds?

For .Net Framework 1.1 the ASPNET account is not supposed to be created on
a
Win2K server promoted to a DC. In this case, ASP.NET is supposed to run as
the IWAM
account
There are 3 options when you install this version of the framework on a
Windows
2000 DC:
1. Give IWAM the correct permission to run the app <"machine" now maps to
this
user">
2. Create a new account and grant the correct permissions
3. Run the process as SYSTEM

Please let me know if you have more questions on this.

Thanks,
Bassel Tabbara
Microsoft, ASP.NET

This posting is provided "AS IS", with no warranties, and confers no rights.
--------------------
| From: <.>
| Subject: Is it safe to use IWAM_<machine name> account for aspnet_wp.exe?
| Date: Tue, 1 Jul 2003 10:41:06 -0400
| Lines: 43
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
| Message-ID: <uM**************@TK2MSFTNGP10.phx.gbl>
| Newsgroups: microsoft.public.dotnet.framework.aspnet
| NNTP-Posting-Host: d150-83-130.home.cgocable.net 24.150.83.130
| Path: cpmsftngxa09.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTN GP10.phx.gbl
| Xref: cpmsftngxa09.phx.gbl microsoft.public.dotnet.framework.aspnet:31390
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
|
| This question references to KB articles:
| http://support.microsoft.com/default...b;EN-US;315158
| http://support.microsoft.com/default...b;EN-US;317012
|
| I'm running Advanced Server 2000 as a domain controller with IIS 5 (I
know I
| shouldn't be doing this - just a test machine). I am using the default
| ASP.NET (v1.1) machine.config file.....
|
| <processModel..... userName="machine" password="AutoGenerate"..... />
|
| According to KB317012....."The machine and the AutoGenerate values
instruct
| ASP.NET to use the built-in ASPNET account and to use a cryptographically
| strong, random password that is stored in the Local Security Authority
(LSA)
| for that account."
|
| On my machine this causes the worker process (Aspnet_wp.exe) to run under
| the IWAM_<machine name> account instead.
| Is this safe? (I've disabled the ASPNET account as it dosn't seam to be
| needed). In order to get the SDK samples to work with my SQL Server, I've
| added IWAM_<machine name> as a login and database user. Is this safe?
|
| Also, it seams I have to add IWAM_<machine name> to any virtual directory
| that uses ASP.NET. I get two error messages from source USERENV in the
| Application Log every time Aspnet_wp.exe starts up.....
|
| Event ID: 1000
| Windows cannot log you on because the profile cannot be loaded. Contact
your
| network administrator.
| DETAIL - Cannot create a file when that file already exists.
|
| Event ID: 1000
| Windows cannot copy file <Document and Settings\ Default
| User\Favourites\Links> to location <Document and Settings\My
| Domain\IWAM_<machine name>\Favourites\Links>. Contact your network
| administrator.
| DETAIL - Cannot create a file when that file already exists.
|
| ..... and a <My Domain Name> folder is created in the Document and
Settings
| folder (if it dosn't already exist - it remains empty).
|
| Thanks
|
|
|
Nov 17 '05 #2
I'm using the IWAM account. It seams to work but for some reason it creates
an empty folder by the name of my domain under the Document and Settings
profile directory. It also generates the two errors mentioned in my first
post. I'm aware of the KB advice but why not continue to use IWAM?
Nov 17 '05 #3
Hello,
As I mentioned in my previous post, in ASP.Net 1.1 the IWAM account is used
on a Domain Controller in place of
the ASPNET account. You should be fine using this account. It is safe and
there is nothing to worry about.
Concerning the folders created under Document and Settings, this is normal
behavior.

Please let me know if you need any more help on this.
Thanks,
Bassel Tabbara
Microsoft, ASP.NET

This posting is provided "AS IS", with no warranties, and confers no rights.
--------------------
| From: <.>
| References: <uM**************@TK2MSFTNGP10.phx.gbl>
<Kv**************@cpmsftngxa09.phx.gbl>
| Subject: Re: Is it safe to use IWAM_<machine name> account for
aspnet_wp.exe?
| Date: Tue, 1 Jul 2003 20:51:48 -0400
| Lines: 6
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
| Message-ID: <e#**************@TK2MSFTNGP10.phx.gbl>
| Newsgroups: microsoft.public.dotnet.framework.aspnet
| NNTP-Posting-Host: d150-83-130.home.cgocable.net 24.150.83.130
| Path: cpmsftngxa09.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTN GP10.phx.gbl
| Xref: cpmsftngxa09.phx.gbl microsoft.public.dotnet.framework.aspnet:31593
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
|
| I'm using the IWAM account. It seams to work but for some reason it
creates
| an empty folder by the name of my domain under the Document and Settings
| profile directory. It also generates the two errors mentioned in my first
| post. I'm aware of the KB advice but why not continue to use IWAM?
|
|
|
Nov 17 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Dan Jacobson | last post by:
Using <A name="x_y-z"></A>, I even get nervous about the _ and -. w3-recs/RECS/html4/struct/links.html seems to say all of ascii is cool and beyond. Anyway, just what is the safe range for...
3
by: dm_dal | last post by:
I was looking at some commercial assemblies that we had purchased through Lutz Roeder's .Net Reflector, and noticed this entry in some of them. What is it and how does it get there? Also,...
15
by: Aman | last post by:
Hi, wrote this piece of code on SunOS 5.9 , compiler g++ 2.95.3 trying to see the byte order of an int or short int by converting to char* . doesn't work . the char* cpt doesn't seem to be...
17
by: pub | last post by:
When creating a list: list<class A*> l; How to delete all the objects whose pointers are contained in "l"? Thanks for your comments?
14
by: Stefan Mueller | last post by:
With the following code I can add a new row to an existing table. That really works great. Many thanks to all who helped me so far. But my problem is that the added cells do somehow not have the...
1
by: Joel Finkel | last post by:
Folks, I am unable to execute any ASPX files on a Windows 2000 Server, running as a Primary Domain Controller. The error is "Error BC31019: Unable to write to output file '<filename>'" By...
2
by: Rainer Queck | last post by:
Hello NG, I might be in the wrong NG with this question. If this is the case, please let me know the right one. I have a problem with Visual SourceSafe 2005 sent to me with one of the last...
130
by: euler70 | last post by:
char and unsigned char have specific purposes: char is useful for representing characters of the basic execution character set and unsigned char is useful for representing the values of individual...
2
by: Shalini Bhalla | last post by:
while submitting my site to a webdirectory i was instructed to put < matatag name="webdirectoryname" content="0.0.1.3.1.15.2.2.2"> What does it mean and why i sholud put this in my site and...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.