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.

Filter by
Sorted by
Tagged with
2 votes
1 answer
105 views

MSSQL 2008 Service Account

Background: We are a smallish company that prefers to keep things simple and not have to manage our Active Directory very much. My company uses a single administrator account to setup and do all the ...
1 vote
0 answers
267 views

Service Delay In created service Error 1053

Heya all bit of a noob when it comes to all this but I created my own service to start an EXE as a service but it keeps telling me it didnt respond in a timely fashion is there any way to give it abit ...
1 vote
1 answer
2k views

Configuring service restart with 'restart service after' parameter

It appears that sc.exe isn't capable of setting the 'restart service after' parameter and powershell isn't capable of setting up service restarts at all. My intended configuration is failure1/...
4 votes
3 answers
3k views

What is the difference between running a Windows service vs. running through shell?

I am trying to troubleshoot an issue on a Windows 2008 server where running attempting to connect to a "Timberline Data Source" ODBC driver crashes if the call is in a "service" context, but succeeds ...
0 votes
1 answer
2k views

What has changed with Win 2008 Server that Samba rpc control no longer works?

I've been happily using Samba's net rpc service ... to control services on a Windows 2003 server from my linux box, however now controlling a Windows 2008 server gives me WERR_ACCESS_DENIED errors. ...
9 votes
1 answer
72k views

How to kill a hung service on Windows 2008R2

I have a Windows 2008R2 server running NSClient++. For some reason the service has got its knickers in a twist and stopped responding to Nagios polling. When I tried to restart the service the ...
8 votes
2 answers
4k views

What is the best way to allow a domain user to start and stop services on the machine?

What is the best way to allow a domain user to start and stop services on the machine? The domains user cannot be made admin.
1 vote
3 answers
3k views

Print Spooler service causes slow startup

We have a server that takes ~20mins to start up. Some testing was done, and we were able to determine that it is the print spooler service that is causing the slow down. Not enabling it with ...
0 votes
1 answer
789 views

Service path cannot be found but file exists

I have several services that used to run on Windows Server 2003 and are now meant to run on Windows Server 2008 R2. They are all 32 bit. They install OK in 2008 but when I try to start them I get ...
2 votes
0 answers
2k views

How to Make a WMI call fail?

I'm a developer but I have a question that seems belongs more in the ServerFault category than StackOverflow. We have a production service that every so often tends to throw: System.Runtime....
5 votes
2 answers
27k views

Error 1069 the service did not start due to a logon failure

Our CruiseControl.NET service on Win2003 Server (VMWare Virtual) was recently changed from a service account to a user account to allow for a new part of our build process to work. The new user has "...
1 vote
3 answers
99 views

Restarting windoes 2k3 from the command prompt

I have a windows server 2003 (x64) and I want to restarting it from the command line but when I execute shutdown -r it doesn't work . What am I going to do ?
3 votes
1 answer
1k views

How can I tell what user account is being used by a service to access a network share on a Windows 2008 server?

I've got a third-party app/service running on a Windows 2003 SP2 server that is trying to fetch something from a network share on Windows 2008 box. Both boxes are members of an AD domain. For some ...
4 votes
1 answer
788 views

"SC.EXE config" and dollar sign in service name

Say I want to make Windows Service startup dependent on SQL Server. In my case service name for SQL Server is MSSQL$SQL11 (SQL11 is SQL Server instance name) However, when I issue this command: SC....
1 vote
1 answer
985 views

Is it possible to have DependOnService to depend on a service on another machine

On one server I have a Windows service that is dependent on a Windows service on another server. Is it possible to set up a dependency like this?
2 votes
2 answers
352 views

Change windows group permissions without the sufficient rights in a batch

I wrote a batch file, which creates multiple folders und subfolders in the current directory. The group permission of one folder is also changed. This works on my local workstation with administrator ...
2 votes
1 answer
2k views

Correct Place to enable windows services in GPO?

Which is the correct place to enable windows services through GPO on Windows Server 2008? The domain has computers running XP, Vista, and 7. Computer Configuration > Policies > Windows Settings > ...
0 votes
1 answer
1k views

Trying to get an old 32-bit service (.dll) to run on a Windows 2008 server

I'm been trying to get an old 32-bit service (.dll) of ours to run on a Windows 2008 (R1 and R2). The service accesses a system-DNS for ODBC connection and secondly it performs some statistic HTTP ...
1 vote
2 answers
1k views

What's causing the delay in my network adapter binding to the network?

I have a server that takes several minutes for the NIC to bind itself to the network upon startup (it has a statically-configured IP). This causes the WINS and Intersite Messaging services (and ...
1 vote
1 answer
280 views

Failing to read mapped drive as a service, but not when run interactively

I have program that reads/writes to a mapped drive. It works properly when accessing the mapped drive if I run it interactively (e.g. double click or command line), however it fails if run as a ...
7 votes
4 answers
9k views

Why can a user grant themselves the Log On As A Service right?

This article describes the (relatively laborious) steps you should go through to grant an Active Directory user the Log On As A Service right. However, if I install a service and manually specify my ...
5 votes
2 answers
14k views

How do I grant "log on as a service" permission to a (local) from the command-line?

On Windows Server 2008 R2 Core Edition, how do I assign the "log on as a service" permission to a user, from the command-line? (ntrights.exe from the Win2003 resource kit is not included in Win2008 ...
5 votes
1 answer
2k views

How to Get Company Name for a Windows Service Using Powershell

In order to be able to easily detect which of a group of security products is installed on a machine, I would like to be able to filter the Powershell Get-Service output by the Company Name attached ...
2 votes
3 answers
2k views

How can I make Windows Server start my Apache service after the IIS service?

I have both Apache and IIS on a Windows Server 2k3. The Apache server is reached by tunneling through IIS using the Apache Tomcat Redirector Everything works just fine until I reboot. When I do ...
2 votes
2 answers
646 views

With powershell, how do I find out which user is running a service?

As mentioned in the title, how to find out which user is running a service with powershell?
0 votes
1 answer
1k views

SQL Server reporting services shutting down without log info

Using SQL Server 2008 Reporting services. Finding that the service is shutdown without anything in the windows event log or in SQL Server events. I see the log entry for the service starting when I ...
6 votes
2 answers
19k views

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

How to change user credentials of windows service from command line?
3 votes
2 answers
2k views

Do Windows Servers (2008) cache .net assemblies somehow?

A co-worker of mine is having the following issue (so some relevant details may require further vetting): The server is Windows 2008 Server. There is a Windows Service that is running (exe (.net), ...
3 votes
3 answers
3k views

Windows Service >> 'Log on as' does not load user's profile?

I have an application running as a service under a certain user, but for some reason when the machine is (re)started and the service starts it does not load that particular user's profile (including ...
16 votes
1 answer
18k views

How to add SSH key to PuTTY Agent at startup in Windows Server?

I need to add a private SSH key to Putty Agent (pagent.exe) every time a Windows server starts up -- before a user logs on interactively. The key is to be used by a service. If it was a regular user ...
3 votes
1 answer
2k views

How do you give an account permission to a start and stop a Windows Service?

How can I give an account permission to start or stop a particular Windows Service using SC.exe? What I'm trying to do is from one machine A call these operations from another machine B: net.exe use ...
2 votes
2 answers
995 views

What's the best way to Deploy/Update/Control Windows services on a hundred EC2 servers?

I'm developing an image processing application running on Windows on Amazon EC2. The application is currently a console app I'm starting manually on a few machines. I'm refactoring it into a Windows ...
-1 votes
1 answer
577 views

What is the difference between Windows XP services and Windows 7 services?

I have downloaded an open source C++ application. This application run as a Linux daemon, listening at a port, and waiting for connection from client PC. Someone has compiled this application under ...
1 vote
2 answers
848 views

web server: REST API "forwarder"

We have a REST API in our application, however we do not wish to put the server which provides this API in a web-accessible location. I would like to install something in a web-accessible server ...
-1 votes
1 answer
407 views

Can't override service exe file after service was stopped

On Windows Server 2008 R2 I stopped my service and trying to override the exe file to update it, but it gives me access denied exception. What can I do to fix it?
3 votes
2 answers
5k views

How to get a service to listen on port 80 on Windows Server 2003

I've coded a custom windows service that listens on TCP port 80 but when I try to install it on a Windows Server 2003 machine it fails to start because some other service is already listening on that ...
0 votes
4 answers
418 views

Why some XP installs don’t automatically Start SQL2005 Service (Instance)

I have a number of XP machines that have a SQL 2005 Instance running on them, and they are set to start automaticly in Service Control Manager. On 1 or 2 of these machines when you reboot, the SQL ...
0 votes
1 answer
149 views

How can I securely set up an available PostgreSQL connection in Windows?

I'm running PostgreSQL in Windows. I have a vanilla installation with a single admin Windows user account, which I've used to install PostgreSQL and pgAdmin III. Using pgAdmin III I created a database ...
1 vote
2 answers
3k views

Can't uninstall windows service

I have somehow managed to half uninstall a windows service I was developing. In no particular order It won't delete if I use sc delete servicename It gives an exception using installutil /u ...
1 vote
2 answers
81 views

How to go about deploying windows services to a number of nodes

I have about a dozen windows service which I need to deploy fairly frequently to a fairly large collection of nodes. I was looking at Octopus Deploy which seemed pretty good but I was wondering what ...
2 votes
3 answers
2k views

Login failed when SQL Server starts

I've got a windows service that needs to connect to SQL Server databases (SQL Server 2008 R2, Windows Server 2008 R2). This service depends on SQL Server. The problem is when the SQL Server service ...
0 votes
1 answer
419 views

application trying to use net.exe to map shared folder on different domain

I am a c# developer running in to issues with a program of mine that tries to transfer files on to a shared folder on a computer which is on a different domain. i.e my windows service sits on domain '...
2 votes
2 answers
4k views

Registry keys unavailable to application being run from a service

We are writting a custom windows service application. The service is set to allow interaction with the desktop, and the service application will need to execute another "normal" application. The ...
0 votes
1 answer
185 views

Is it possible to install a windows service that requires a password with SCCM?

Is it possible to do an unattended installed of a windows service that requires a password with SCCM? It would be nice if SCCM could run a package as a service account. That way the package could ...
2 votes
1 answer
1k views

What GPO rights are required for an exchange service account?

I'm trying to create an exchange domain service account. I'd like to define the rights in a Group Policy Object. since this is for both a 2 node DAG, and 2 node CAS Array, I need to know the rights ...
3 votes
2 answers
2k views

Deploying C# Windows Service in multiple servers

I've created a C# windows service and its ready to be deployed. I have 215 servers on which this windows service is to be installed. I have to login to each box and deploy the service. Is there an ...
4 votes
3 answers
5k views

How to map a drive for a windows service?

I am supporting the installation of a CCTV system from the Windows 2003 R2 Standard side of the equation, the intention was to use use a NAS for long term storage (quite a lot of data is generated in ...
0 votes
1 answer
331 views

window xp network service don't start

In a windows XP pc, joined to a domain, I have a service (SCardSvr) that use to run as "NT AUTHORITY\NetworkService". Accidentally I changed the logon to local system account and the service didn't ...
0 votes
2 answers
736 views

What are Apache's real service dependencies? (Failing to start on reboot but works fine after that.)

I've had varied luck with my Apache service starting successfully after a reboot in the past. Nowadays, I have several Apache services running, and on the last reboot (after a Windows Update) none of ...
5 votes
2 answers
9k views

Error installing a .NET Windows service with InstallUtil

I keep getting the error below when every I try to use the InstallUtil to install my .NET service. I put "installutil myservice.exe" into command prompt and then get the error. Any idea of what the ...

1
5 6
7
8 9