Hi,
Please let me know how do I run the app under current logged in user from the service.
To give you background, I have a VB.NET Windows service whose sole functionality is to run a Winform App at a specified time. Apart from that it also sets a system wakeup timer so that the system can be woken up at the specified time, if it goes ...
Hello,
I have WIX installers for two windows services. Both are installed using the same credentials, but one works while the other fails with the error "Service "PCP Event Processor-3.9.9.0-wix' (MyServiceExeName) could not be installed. Verify that you have sufficient privileges to install system services.". I use a common wxi file f...
Is there any quick way to, given an executable file, create a Windows service that, when started, lauches it?
...
We have a windows service running under a network account that calls and runs an ActiveX exe. The exe is running under the local system account, not the network account of the service. Can anyone point me in the right direction for making the exe run under the network account?
...
How can we implement like this request:
http://nominatim.openstreetmap.org/reverse?format=xml&lat=52.5487429714954&lon=-1.81602098644987&zoom=18&addressdetails=1
in a windows service.
what we are trying to do is this:
run a request from windows service, and when we get the response back,we will save to DB?
Edit: the ...
I have created a windows service and compiled on 32 bit.
I deployed the service on 64 bit machine.
Now, when I run the service as local system account it runs as 32 bit while if I change it to run as domain/network account it starts as 64 bit service.
Can anyone please help me on what should I do so that it always runs as 32 bit??
...
To workaround a VLC related bug (see http://forum.videolan.org/viewtopic.php?f=14&t=58516) I have to set IMMLoad parameter (placed in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\IMM) to zero. I have two questions concerning this fact:
On some machines I saw IMMLoad on other - LoadIMM. What is the difference?
On ...
I have a batch file that I have been using to install my C# Windows Services for awhile now, never had a problem until Windows 7. I have attempted to run the batch file with Administrator privileges. I have attempted to run the command prompt with admin privs, navigate to the windows service EXE and run InstallUtil there. Still doesn't w...
Hello,
I am trying to create a simple Windows Service. The User Account for the service is NetworkService Then i ran installUtil from command prompt and i got this :-
The Commit phase completed
successfully.
The transacted install has completed.
which means the service got installed successfully. But when i try to run it fr...
I'm creating a C#.Net Windows Service and am wondering if you always have to call base.OnStop(); in the service's OnStop() method and why?
protected override void OnStop()
{
threadRunning = false;
this.ExitCode = 0;
base.OnStop();
}
...
I have a windows service running on my local machine. It's configured to run under NT AUTHORITY\NETWORK SERVICE. The program access a network shared drive on a computer in the same subnet. That shared directory has Everyone set to Full control.
I'm getting False on File.Exists, but the file exists. I'm certain this is a permission issu...
Hi programmers
I'm using Tomcat 5.5 on Windows Vista. When I exit my tomcat, I can't run it again.
Access is denied. Unable to open the
service 'Tomcat5'
Why is that so? What can I do to make it work again? Must I reinstall everytime I exit tomcat?
...
My application connects to an arbitrary (configurable) instance of SQL Server.
If the instance is local, the application needs to ensure that the SQL service is started before connecting.
Given the name of the instance, how do I determine the name of the service to start?
...
I am running a Python script as a Windows service, but it seems to be failing whenever I set it to auto-start. I believe this may be because the service uses network resources that are not yet mounted when the service starts. Is there a way I can get it to wait until startup is complete before running?
...
Suppose an executable named ConsoleOrService.exe is written in C#. It currently is a hybrid. I can just start it on the command line, or I can install it using the .Net's installutil ConsoleOrService.exe and then start the service. I would like a third option: running it on the command line like so: ConsoleOrService.exe --install and ha...
I have a windows service which is creating a Named Pipe in it's service main Function. The code snippet is below:
void WINAPI ServiceMain(DWORD argc, LPTSTR *argv)
{
DWORD status;
DWORD specificError;
m_ServiceStatus.dwServiceType = SERVICE_WIN32;
m_ServiceStatus.dwCurrentState = SERVICE_START_PENDING;
m_ServiceStatus.dwContro...
I have a windows service (actually a serviced component) implemented in native C++. I want to be able to run it using the NT AUTHORITY/LOCAL SERVICE account but I want it to be able to store some startup-state information somewhere. Is there somewhere that the local service account has write access to? As far as I can tell, the built-in ...
I'm kind of shooting in the dark here - searches don't seem to be productive on this. I want to create a .NET program to monitor the install and uninstall of fonts. If something is installed or uninstalled, I want to run a program to do something.
I thought maybe a Windows Service, but haven't gotten very far with figuring out how to mo...
Is there any up to date guide on running lighttpd as a Windows service? By googling I've found this forum post from 4 years ago, I just want to be sure there isn't anything more up-to-date or any gotchas I should be aware of, before I spend too much time yak shaving
...
All,
I have a very general question regarding a future project. I need to build a piece of engine software that accepts a big variety of inputs (as simple as plain numbers and as complex as multiple arrays of different data). This software will process the input and provide a calculated output. The preference is to make it quite generi...