Windos services run with a security context of the account they are configured to run under.
Just open properties of a system service and on the Log On tab indicate "This account" and specify the credentials.
The service will run with this context. You can create a dedicated account in a domain that will have appropriate access rigths to the required resources.
--
Cezary Nolewajka
mailto:c.*********************@no-sp-am-eh-mail.com
remove all "no-sp-am-eh"s to reply
"Mullin Yu" <mu*******@ctil.com> wrote in message news:%2****************@TK2MSFTNGP09.phx.gbl...
hi,
i want to write a windows service automatically logon to a network computer
so that after re-starting the computer without logon, the computer can logon
to that computer and can use its resources e.g. printer, files
any ideas?
thanks!