473,651 Members | 2,437 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Question about Windows services accounts

In MSDN, for the description of the ServiceAccount enumeration it has
the following:
LocalService: An account that acts as a non-privileged user on the
local computer, and presents anonymous credentials to any remote
server.

NetworkService: An account that provides extensive local privileges,
and presents the computer's credentials to any remote server.
What is the meaning/implication of the 2 phrases "presents .... to any
remote server".

--
Philip Daniels
Mar 20 '07 #1
2 1124
Hello,

When you are running a windows service and remotely access a resource (say,
a database server) with integrated authentication, the local service account
will connect as Anonymous, whereas the NetworkService connects to the
database with the computer account.

Best regards,
Henning Krause

<Ph***********@ foo.comwrote in message
news:kc******** *************** *********@4ax.c om...
In MSDN, for the description of the ServiceAccount enumeration it has
the following:
LocalService: An account that acts as a non-privileged user on the
local computer, and presents anonymous credentials to any remote
server.

NetworkService: An account that provides extensive local privileges,
and presents the computer's credentials to any remote server.
What is the meaning/implication of the 2 phrases "presents .... to any
remote server".

--
Philip Daniels
Mar 20 '07 #2
On Tue, 20 Mar 2007 17:27:10 +0100, "Henning Krause [MVP - Exchange]"
<ne************ ***@this.infini tec.dewrote:
>Hello,

When you are running a windows service and remotely access a resource (say,
a database server) with integrated authentication, the local service account
will connect as Anonymous, whereas the NetworkService connects to the
database with the computer account.

Best regards,
Henning Krause
Thanks Henning, your post made me aware that these were user accounts.
It turns out that there are several special types of account (aka
"built-in security principals") which are used for this and other
purposes. They don't show up in the Computer Management snap-in but
you can see them from the "Security" tab for folder permissions in
Explorer.

I found this paper here if anybody is interested:

http://www.microsoft.com/technet/sec...t/default.mspx

--
Philip Daniels
Mar 21 '07 #3

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

Similar topics

2
379
by: JP | last post by:
Can anybody explain me , what is Local System , Local Service and Network Service and how they practically differ from each other. --JP
44
4199
by: lester | last post by:
a pre-beginner's question: what is the pros and cons of .net, compared to ++ I am wondering what can I get if I continue to learn C# after I have learned C --> C++ --> C# ?? I think there must be many know the answer here. thanks
1
2400
by: zahni31 | last post by:
I had trouble to get the hmon work in 8.x FP 8 and FP 9 . The server runnig Windows 2003 SP1 on a member server. The db2 services are running under an domain admin account. Ok, no problem so far (HMON working) . Now i had made a special local group a the member server (contains both local and domain admin accounts and some local accounts without local
2
21888
by: Mark | last post by:
I created an extremely simple windows service that only writes to the EventLogs on Stop and Pause. I installed it using the InstallUtil.exe program, the output of which is below. It appears to be successful. I'm now ready to start my service (I think) but the NET START command does not appear to indicate that the service is available to be run. The output for NET START is below as well. The Services list in the W2K administrator...
0
820
by: HankD | last post by:
We have a particularly strange problem. We are running Two clustered Windows 2003 boxes running IIS 6. Our ASP.NET application run fine but over night they stop working. The error we get is: File or assembly name 0x3yhs89.dll, or one of its dependencies, was not found. We tracked the problem to the ASPNET worker processes (NETWORK SERVICES
0
990
by: Preston Park | last post by:
We are trying to get windows authentication to work with Reporting Services and Analysis Services in a way that may be unsupported. Setup: There are two domains: A and B. There are two servers in the A domain: A\R and A\S Server R is running Reporting Services to serve OLAP reports from data on
2
2433
by: russell.lane | last post by:
I'm building out a pretty standard n-tier web application. The stack includes application/presentation, biz logic, and data access layers on top of an SQL server back end. We want to use impersonation and delegation to forward the user's Windows login through all layers in the stack. To support this, I'm setting up a set of domain accounts which we use to create SPNs for the various services in the various layers. At this point, I'm...
27
4710
by: pisquem | last post by:
I am building an windows service that is to be deployed on a windows server 2003 and I want to have activity written to the event log, I want its own log called ('CustomLog') Below is what I have so far...its builds fine but when I go to start the service i get the following error. --------------------------- Services ---------------------------
4
3433
by: Anthony Yott | last post by:
Folks, In using the aspnet_regiis –ga command I'm running into an issue. I'm using this command against a domain account e.g. aspnet_regiis –ga MyDomain\ayott and it works fine. If I perform the command against another domain account it doesn't do anything but show all the options. I'm running XP SP2 but I'm got a virtual machine with Win2003 loaded up and I get the same exact results. Does anybody know why I can't use this command...
0
8349
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
1
8460
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7296
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6157
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5609
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4281
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2696
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1906
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1585
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.