|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Windows service LocalSystem accountservice application. I get an error "Access denied..." whenever I try to access a shared folder on the network. On 7/24/2006 Michael D. Ober wrote: Windows services, by default, don't have access to the network. In w2k and XP there is a network version of the system account you can use. Does anyone know about this version of the local system account, or any other way to access network folders on a windows service logged on as a Local System account? I much prefer NOT to use a user account since many (or most) of my customers are not IT professionals. It would be cumbersome to ask them to supply a user name and password of a user with permissions to log on a service during the install process. Thanks for any help. Walt -- Walt I'm guessing Michael mean the following account:
NT AUTHORITY\NetworkService While that account has network access, it still might not be able to access your shared folders (depending on the security settings of the share). I would still recommend a dedicated account. /claes Show quoteHide quote "Walt" <W***@discussions.microsoft.com> wrote in message news:E8A2CB51-CD5A-4294-BEF0-D63309BC4EAC@microsoft.com... >I need to access a network folder with read/write permissions from a >windows > service application. I get an error "Access denied..." whenever I try to > access a shared folder on the network. > > On 7/24/2006 Michael D. Ober wrote: > Windows services, by default, don't have access to the network. In w2k > and > XP there is a network version of the system account you can use. > > Does anyone know about this version of the local system account, or any > other way to access network folders on a windows service logged on as a > Local > System account? > > I much prefer NOT to use a user account since many (or most) of my > customers > are not IT professionals. It would be cumbersome to ask them to supply a > user name and password of a user with permissions to log on a service > during > the install process. > > Thanks for any help. > > Walt > -- > Walt Hello Claes,
Also, mapped drives are not available if there is no interactive session logged on, so you'd do well to avoid those. The dedicated account suggestion is ideal. Just have your installer create the account with the proper permissions. Then you know the name and password of the account and don't have to ask anyone for it. -Boo Show quoteHide quote > I'm guessing Michael mean the following account: > NT AUTHORITY\NetworkService > While that account has network access, it still might not be able to > access your shared folders (depending on the security settings of the > share). I would still recommend a dedicated account. > > /claes > > "Walt" <W***@discussions.microsoft.com> wrote in message > news:E8A2CB51-CD5A-4294-BEF0-D63309BC4EAC@microsoft.com... > >> I need to access a network folder with read/write permissions from a >> windows >> service application. I get an error "Access denied..." whenever I >> try to >> access a shared folder on the network. >> On 7/24/2006 Michael D. Ober wrote: >> Windows services, by default, don't have access to the network. In >> w2k >> and >> XP there is a network version of the system account you can use. >> Does anyone know about this version of the local system account, or >> any >> other way to access network folders on a windows service logged on as >> a >> Local >> System account? >> I much prefer NOT to use a user account since many (or most) of my >> customers >> are not IT professionals. It would be cumbersome to ask them to >> supply a >> user name and password of a user with permissions to log on a service >> during >> the install process. >> Thanks for any help. >> >> Walt >> -- >> Walt
Best way to store dataset to disk???
Query results to file Transparent BackGround Newb looking for data binding help Datasets and Adapter Updates how to translate from c# this instruction Deleteing all files from target folder as a presetup task Webbrowser control - buffering - audio/video playback problem... Using VB and ADO.NET Building my own "SMTP" mail - control ? |
|||||||||||||||||||||||