windows service

  • Thread starter Thread starter Ivan G.
  • Start date Start date
I

Ivan G.

Hi.

How to write to network share located on another computer from windows
service? Service runs under LocalService account.

Thanx.
 
Give the domain computer account rights to the share, or perform network
authentication using WNetAddConnectionX APImethod.

Arild
 
Hi,

a) To impersonate a user having sufficient permissions

or

b) To grant necessary permissions to the LocalService account (not sure this
is possible though)

or

c) Configure the service to run under another account having necessary
permissions
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top