A
azastawski
I am writing a .Net Windows service in C#. The service
will periodically poll remote computers and use the
ServiceController class to see if specific services are
running.
When I install the service using the local system account,
the service runs, but cannot connenct to remote machines.
When I use the NetworkService account I cannot
successfully install the service. When I use my user
account, everything works fine.
I understand that the user account prompts for the correct
password at installation, but what about when the user's
password changes and the service must access the network?
Will the service present the user's old password to the
remote computers or will it present the computers
credentials where the service is running? I am confused.
will periodically poll remote computers and use the
ServiceController class to see if specific services are
running.
When I install the service using the local system account,
the service runs, but cannot connenct to remote machines.
When I use the NetworkService account I cannot
successfully install the service. When I use my user
account, everything works fine.
I understand that the user account prompts for the correct
password at installation, but what about when the user's
password changes and the service must access the network?
Will the service present the user's old password to the
remote computers or will it present the computers
credentials where the service is running? I am confused.