Home All Groups Group Topic Archive Search About

service logs on locally+interactivly but cant access network ?

Author
3 Jun 2005 1:48 PM
scott
Hi,

I've created a Windows service. It requires interaction with the desktop and
is therefore running under the LocalSystem account. It also requires access
to the network. Does anyone know how this can be acheived?

Can you change the access level of LocalSystem account to give it access to
the network? I read with interest the article Windows NT service running in
LocalSystem account context
(http://www.windowsnetworking.com/kbase/WindowsTips/WindowsNT/AdminTips/Services/WindowsNTservicerunninginLocalSystemaccountcontext.html),
but it doesn't really make sense to me.

<from the article>
The service has no network credentials and can only access network resources
using a null session. If a share or pipe is accessible by Guest via a null
session, it has access. There is a common misconception that a service
running as LocalSystem has no network access.
</from the article>

I think this paragraph may be the key but how do I assign a null session to
the LocalSystem account?

Cheers
Stuart

service logs on locally+interactivly but cant access network ?

Author
4 Jun 2005 6:05 PM
Bonj
It might have to be 'NetworkService' rather than 'LocalSystem'?


Show quoteHide quote
"scott" <nospamscott@yahoo.com> wrote in message
news:uNazaLEaFHA.1448@TK2MSFTNGP09.phx.gbl...
> Hi,
>
> I've created a Windows service. It requires interaction with the desktop
> and is therefore running under the LocalSystem account. It also requires
> access to the network. Does anyone know how this can be acheived?
>
> Can you change the access level of LocalSystem account to give it access
> to the network? I read with interest the article Windows NT service
> running in LocalSystem account context
> (http://www.windowsnetworking.com/kbase/WindowsTips/WindowsNT/AdminTips/Services/WindowsNTservicerunninginLocalSystemaccountcontext.html),
> but it doesn't really make sense to me.
>
> <from the article>
> The service has no network credentials and can only access network
> resources using a null session. If a share or pipe is accessible by Guest
> via a null session, it has access. There is a common misconception that a
> service running as LocalSystem has no network access.
> </from the article>
>
> I think this paragraph may be the key but how do I assign a null session
> to the LocalSystem account?
>
> Cheers
> Stuart
>
> service logs on locally+interactivly but cant access network ?
>
>