Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / WinForm General / October 2007

Tip: Looking for answers? Try searching our database.

Windows Service - login question

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Elmo Watson - 29 Oct 2007 21:16 GMT
I am messing around with Windows Services for the very first time - I'm
getting to the installation part, and when I install, it asks for a username
and password.

Is this absolutely necessary?
Also - is there any way to get around it, so that it just runs?
Michael C - 30 Oct 2007 01:22 GMT
> I am messing around with Windows Services for the very first time - I'm
> getting to the installation part, and when I install, it asks for a
> username and password.
>
> Is this absolutely necessary?

No, mine doesn't ask for a username/password. Did you specify to use the
system account (I can't remember the exact details).

> Also - is there any way to get around it, so that it just runs?

You always need to install a service. BTW, I don't use the dot net installer
but just called the API to install the service.
rsine - 30 Oct 2007 12:11 GMT
> I am messing around with Windows Services for the very first time - I'm
> getting to the installation part, and when I install, it asks for a username
> and password.
>
> Is this absolutely necessary?
> Also - is there any way to get around it, so that it just runs?

Elmo,

Michael is correct in that unless you need to, you should not install
the service using the "User" account property (set in the
ServiceProcessInstaller).  Instead, use the LocalService,
NetworkService, or LocalSystem account types.  Using one of these
account types will install you service without any prompting for
username and password.  The only time I have used the "User" account
is when I wanted to install the service with the priviledges of a
specific account.

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.