Questions tagged [windows-service]

Windows services, also referred to as NT services, are background service processes run by the Service Control Manager based on the service settings and optionally restarted as needed. Windows services are also capable of being launched on demand, based on other service dependencies.

More information at:

http://msdn.microsoft.com/en-us/library/d56de412(v=vs.80).aspx

http://en.wikipedia.org/wiki/Windows_service

430 questions
7
votes
3 answers

How do I give a domain user permission to start and stop a Tomcat service?

I realize this is almost identical to this question but the big difference is that the methods described in the MSKB article DO NOT WORK for installed Tomcat services. They work for simple Windows services but not for the Tomcat services we need to…
Instantsoup
  • 315
  • 1
  • 4
  • 11
7
votes
2 answers

Can I safely disable WinHttpAutoProxySvc if I don't have a proxy?

I noticed that this service starts and stops regularly seeking for proxies, but in the service description says that it implements the HTTP client stack. Is it used for something more than proxy autodiscover? Will I break something by disabling it?
jmservera
  • 123
  • 1
  • 1
  • 7
7
votes
2 answers

Having to run IISRESET twice to start all IIS related services

Seems like when I do IISRESET from command prompt, I'm getting the restart error about 90% of the time. Running IIS7 on Win 2008. But I've seen the same thing with IIS6 and Win2003. Running IISRESET a second time seems to start everything, or I…
NealWalters
  • 1,333
  • 8
  • 19
  • 39
6
votes
4 answers

How do I create a task scheduler to restart a software service in Windows Server 2008 R2

I have a pesky software service that fails every few weeks. It has two components. Service A and Service B. Service B gets in a weird state and stops accepting connections from Service A. The only way out is to restart both services manually, or…
6
votes
3 answers

Disable windows file shares without losing share config

Background We're currently upgrading an old app from running on Windows Server 2003 to running it on Windows Server 2012. Users and other systems communicate with this system via HTTP (i.e. users accessing the website), FTP (files to sync data from…
6
votes
3 answers

Slow logon via Remote Desktop to Server 2012 and Smart Card service errors

When I logon my Server 2012 R2 server via Remote Desktop it sits at the logon screen for 10-20 seconds before logging me in. Once logged in I find the following three errors in the Windows System Event log, all logged as Event ID 7011 with the…
6
votes
1 answer

How do I set a service startup type to be 'Automatic (delayed)' using GPO?

A Windows service has 4 different startup types that can be configured: Automatic, Automatic (delayed), Manual and Disabled. I have a service running on a combination of Windows 7 and Server 2008 R2 Desktops that I need to set as 'Automatic…
growse
  • 8,020
  • 13
  • 74
  • 115
6
votes
2 answers

Win2008: SC SDSET - how to grant a specific local user rights to stop and start a specific local service?

Where is a useful reference for the sdset command? I can read and read, and I have yet to find a straightforward list of steps to say: Service: App User: Joe Grant Joe start/stop/restart to App (Why can't it be that easy? ) Note: Getting sdset wrong…
6
votes
2 answers

What is the WinHttpAutoProxySvc?

What is the WinHttpAutoProxySvc ? Is it involved in the Windows Updating system? Is it ever used in any way if there is no proxy server?
Corey
  • 2,031
  • 12
  • 39
  • 54
6
votes
2 answers

How to Install an executable as a Windows Service

I have an executable that doesn't require any interaction with the user and I want to install it as a Windows service; what do I need to have and do to make that happen? I didn't write the app; I don't have the source and not willing to have…
TheBlueSky
  • 187
  • 2
  • 8
6
votes
2 answers

How do I make one service dependent on another in Windows 7?

If I view properties for a service, I can see the "Dependencies" tab, but I can't assign other services to this tab. I have two services that start on startup, a server and a database. The server depends on the database - if the db hasn't started,…
6
votes
2 answers

How to change user credentials of windows service from command line?

How to change user credentials of windows service from command line?
Gal Shadeck
6
votes
3 answers

Recommended service account setup for MS SQL Server 2005/2008

We have a number of MS SQL servers in our environment running either SQL Server 2005 standard/enterprise or SQL server 2008 enterprise. Currently the SQL services are running as local service or network service and the MS recommended best practice…
6
votes
1 answer

User for MSSQL 2008 Service Accounts

I want to create a Domain User that runs the SQL Service Accounts. The reason for this is that I have setup mirroring and MS recommends having the same user (a domain user account) running the services across all the the computers in the…
Campo
  • 1,609
  • 17
  • 33
5
votes
2 answers

Vboxheadless without a command prompt (VirtualBox)

I'm trying to run VirtualBox VM's in the background from a service. I'm having trouble starting a process the way I desire. I'd like to start the virtualbox guest in headless mode as a separate process and show nothing as far as GUI. Here's what…
joe