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
2
votes
1 answer

What is required for logging start/stop of the service?

I would like to log entry when some service was started/stopped. For example this post (Last restart/start time of a windows service) explains how to view logs. The problem is, when I start/stop given service nothing is logged at all. So probably I…
astrowalker
  • 149
  • 1
  • 7
2
votes
1 answer

Is a windows service installed globally?

I have coded a simple c# windows service.If its installed using installutil ,will the service be available for all users of the system? In case of server operating system,under what account the service should be installed so that it will start…
techno
  • 181
  • 1
  • 8
2
votes
0 answers

Stopping a windows service via command line, where the service has symbols in it

For whatever reason the company who installed this service used the same name for the display and the service name. Which is this format (not exact wording to protect them) "Blah® Blah™ Agent Service" When I look at the properties of the service…
Daniel
  • 21
  • 2
2
votes
1 answer

Cygwin SFTP directory security

Here is what we are trying to accomplish: A client drops off a file on a Windows/Cygwin SFTP folder A Windows service scans the folder and processes the file The problem: The Windows service is getting a WinIOError when attempting to delete the…
2
votes
1 answer

WERR_ACCESS_DENIED error despite all services running

I am trying to list all rpc commands from an Ubuntu machine on a Win 10 Pro machine: net rpc service list -I -U username Getting the following error: Failed to open Service Control Manager. [WERR_ACCESS_DENIED] All the following services are…
pkaramol
  • 131
  • 5
2
votes
1 answer

'net view' generates error "The service has not been started"

I have a problem in Symantec Endpoint Protection Manager where by the computer browser to do a remote push install has randomly stopped working showing the error message Network Provider: Microsoft Windows Network Error: The service has not been…
user6888062
  • 245
  • 1
  • 6
  • 12
2
votes
1 answer

DCOM 0x80070005 Access Denied

I have very strange thing I can't beat up for couple of days. I have a self-written .NET based 32-bit service (compiled with x86 flag), that has worked on Win 10 Pro 64-bit machine, which consumes DCOM component…
kosmo
  • 31
  • 1
  • 4
2
votes
0 answers

Windows 7 services not recognizing environment variable changes

I have 200+ Windows 7 machines that are part of a render farm. They're all running a service that is responsible for running render farm commands on the machine. Currently, several environment variables are set via Group Policy. After changing…
Brendan Abel
  • 270
  • 1
  • 3
  • 13
2
votes
0 answers

Can I as a normal user run stuff under a managed service account?

Let's say I have remote access to a server which uses MSA's to run application pools and windows services. Can I as a normal (not elevated) user run program's under those MSA's? For example PsExec.exe -u domain\MsaAccount$ cmd.exe I would say no,…
2
votes
1 answer

Run a (R) script as a service [server 2012R2]

(complete windows noob here, I've been using Linux since a kid) If I just run: C:\Progra~1\R\R-3.4.0\bin\x64\Rscript.exe C:\Users\NPX9sx9000010190CAL\Desktop\el_leo\code_15.R in the windows server DOS terminal as an administrator, it works…
user189035
  • 125
  • 1
  • 6
2
votes
1 answer

Windows Service run as SYSTEM for AD-users

I created a Windows Service that starts a program in the background and makes sure a webapplication needs no further installation. When I start this service in the administrator account, the background program launches nice and quitly and runs…
2
votes
1 answer

Why is my Windows BuildBot service failing immediately with error 7000?

I'm setting up a BuildBot worker in a Windows Server 2016 Datacenter Edition VM running on Azure. This is going build our product for Windows, using the Visual Studio C++ compiler. I've got to the point where the worker is installed and running in…
2
votes
3 answers

Srv service does not exist as an installed service

I am failing to turn on File and printer sharing on my Windows Server 2008 R2 Enterprise Edition. Drilling down into the issue at hand I found that the following services were failing to start: Computer Browser Server On attempting to start the…
2
votes
2 answers

Run program at startup, detached and as another user?

I need to run dnscrypt-proxy: 1. run automatically at startup or at my logon 2. windowless (not attached to cmd.exe) 3. as another user (not as my username) If I use cmd.exe's runas, then dnscrypt-proxy.exe will also close when I close cmd.exe. It…
2
votes
3 answers

Printing from a windows service in one domain to a print server in another windows domains without trust

I face the the following problem: We have one Windows domain with an application running in an user context of user of this domain (let's call this domain "A"). This Windows service has to print to an printserver of one or more domains (let's call…