473,320 Members | 1,865 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

windows services auto-logon to a computer

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!
Nov 15 '05 #1
2 2688
fr
"Mullin Yu" <mu*******@ctil.com> дÈëÏûÏ¢ÐÂÎÅ
:#m**************@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!

Nov 15 '05 #2
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!

Nov 15 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: Earl Eiland | last post by:
How does one make a Python program auto-execute in Windows? Earl
1
by: Girish | last post by:
Im looking for information on how to build a windows service (not web service) on a .net enabled platform. Now, ive had some experience building services using vc++ 6.0 - and I can tell you its...
4
by: Serg | last post by:
Is it possible to create Windows Services that executes other applications (batch files), checks for newer versions (placed to a specific folder) and terminates them by demand (or as scheduled or...
0
by: david | last post by:
I have change (copied) my ASP.NET form client code to the Window form to use Web Services. The codes are almost identical. Compile has no problem. When I start to run the windows form, it auto...
3
by: Matt D | last post by:
I've got two web services that use the same data types and that clients will have to consume. I read the msdn article on sharing types...
2
by: Alex | last post by:
I am now working on a project where a requirement is the autogeneration of web service (asmx) files that will be located on a network drive to be shared by multiple load balanced web servers. I am...
8
by: Todd Jaspers | last post by:
Hey guys, I've written a fairly simple Windows C# Application using Visual Studio 2005. I have to manually run it, but I would prefer to have it run on it's own, as if it was a Windows NT...
4
by: =?Utf-8?B?TWFyaw==?= | last post by:
Hi... Following the samples online, we implemented a windows service in .Net. Like most services, there's a worker thread actually doing stuff in the background. The problem we've run into is...
0
by: =?Utf-8?B?U2ltb25EZXY=?= | last post by:
Hi All I would like to install the same Windows Service project on the same server under different names, one for each customer. I have been able to do it but I would like an expert opinion as...
3
by: vmantrana | last post by:
Hi guys: I have a question about windows services, I have been trying to find the answer but only found the same question from 3 years ago with no response. I wish you guys can help me with...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.