0
votes
0answers
23 views

How to create Windows service with %computername% in command?

The command: sc create my-service binPath= "\\192.168.0.4\myshare\myfolder\myapp.exe --log \\192.168.0.4\myshare\myfolder\logs\%computername%.log" DisplayName= "My App" start= auto depend= ...
0
votes
1answer
152 views

Start jade via batch script as service on windows server 2012 amazon ec2 instance

I would like to start the Jade agent platform with a batch script on an windows server ec2 instance as a service. The reason for this is, that I want to start jade automatically at system startup. ...
2
votes
2answers
10k views

How do I recover from “repair pending” error in SFC?

I am trying to fix an issue with Windows registry and services. I tried running sfc command but this is the error message I get? C:\Windows>sfc /scannow Beginning system scan. This process will ...
2
votes
2answers
2k views

Windows 8 stop or start services from the command line

I have a touch screen Windows 8 laptop, which has a touch screen keyboard that constantly shows up when I am working in metro apps. Is there a way to stop a service (specifically "Touch screen ...
0
votes
1answer
689 views

Is there a way to restart a service on a remote machine from a batch script?

I'm looking for a way to restart Windows services from batch scripts (preferrably CMD) on a remote machine using a different account than the one the script is running as Looking at the parts ...
1
vote
0answers
2k views

What command line options are available to svchost.exe?

It seems the only command line option used by Windows for svchost.exe is -k, followed by the group name which svchost needs to start for a given service. Yet, use of a command line option indicates ...
3
votes
2answers
3k views

How can I query the logon as user of a Windows service using the command line?

Currently sc query shows service name, display name and other attributes of the services installed on my box. However it does not tell me what the "log on as" setting is. How can I get this ...
0
votes
1answer
2k views

Error Installing Service with InstallUtil

I've recently created a Windows Service and am attempting to install it using InstallUtil. The service I am trying to install works/installs correctly on a machine running Windows 2008, but I am ...
5
votes
1answer
18k views

How do I enable services on a Windows computer via a command line?

On my Sony Viao pcg-811124 laptop with Windows 7, I disabled all non-Windows services through msconfig. When I restarted my laptop, it booted up, but I cannot view the screen, even in safe mode. I ...
13
votes
4answers
148k views

How do I get the “net send” messenger service working on Windows 7?

When trying to use the method below to send message in Windows 7 nothing happens. net send It seems the Messenger Service is not working. Any suggestions as to why?
0
votes
1answer
3k views

How can I resolve this error when using net start / stop: “The service name is invalid”?

We have a server that hosts a service (I'll call it "tomato"). Up until now, a client pc has been able to start and stop this service. They just double-click a batch file, and inside that batch file ...