Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
WOL and CQCAppShell service not started
#1
I'm using a batch file to put 2 of my secondary CQC machines into standby, then using a WOL command to bring them back again.

It works apart from when the PC's come out of standby the CQCAppShell services isn't started and needs to be restarted again.

I have another batch file using psservice.exe to remotely restart the service on the pc's but it's not working from the IV, only when run from the MS. I use a triggered event with an ExecApp command to trigger the batch file on the c:drive or the master server, the batch file then remotely restarts the service.

The PC's are both running Windows 7.

First question - Is there a way to bring the PCs out of standby and have the CQCAppShell started by default?

If not - When using the triggered event I'm using the IV to set a variable value to true which then triggers the event, I thought the event would be triggered on the master server therefore the batch file stored on the MS c:drive. Is this the case?

I can't use the invokeFile command because the appservers aren't available on the PCs I'm trying to start the service on because CQCAppShell is not started. Is there another way to run the batch files on the MS making sure to execute the batch file on the c:drive?

Thanks.
Reply
#2
Maybe start the service as a triggered event in the Windows 7 task scheduler rather than trying to do it via CQC?
Wuench
My Home Theater/Automation Website

[THREAD=5957]BlueGlass CQC Config[/THREAD]
[THREAD=10624]Wuench's CQC Drivers[/THREAD]
Reply
#3
Great thanks, hadn't thought of that but now have a scheduled task which restarts the service via my batch file whenever the PC resumes from standby.

No worrying about CQC doing it and works a treat.

Thanks
Reply
#4
Do you have the service marked as automatic start? It should start up when the machine starts up, unless there's something unusual about coming out of standby that's different from booting up normally.
Dean Roddey
Software Geek Extraordinaire
Reply
#5
The service is marked as Automatic, it's only on a resume from standby that the CQCAppShell isn't started, but the new scheduled task makes it restart so it's a good work around.
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Backup without Stopping Service RichardU 5 446 02-14-2018, 02:28 PM
Last Post: znelbok
Exclamation Windows as a service? Now, there’s an argument for Linux batwater 5 1,571 04-19-2017, 10:42 AM
Last Post: Dean Roddey
  ExecApp to Start/Stop Windows Service? jaydonoghue 6 1,804 01-04-2017, 06:46 PM
Last Post: Dean Roddey
  cqc down. restarting service fixed it. bbrendon 42 5,906 12-27-2014, 10:39 PM
Last Post: bbrendon
  Macros won't load in editor - service restart required bbrendon 6 1,479 05-03-2014, 12:47 PM
Last Post: Dean Roddey
  CQC Service not starting on boot jmwhooper 8 1,986 12-10-2013, 01:16 PM
Last Post: Dean Roddey
  Tray Monotor Stop service action DaveB 1 537 11-11-2012, 01:47 PM
Last Post: Dean Roddey
  CQC Service wont start after win update Win 7 64bit martinmcc 7 1,376 11-18-2010, 03:47 PM
Last Post: Dean Roddey
  Is Night incorrect since summertime started in Australia trouble 3 885 10-11-2010, 02:47 AM
Last Post: trouble
  CQC web service Tedp 8 662 08-17-2009, 12:42 PM
Last Post: phenix

Forum Jump:


Users browsing this thread: 1 Guest(s)