oMikR0n Posted April 20, 2011 Share Posted April 20, 2011 Can you help me how i can create a new RS task which it can restart the service? Link to comment
majstang Posted April 20, 2011 Share Posted April 20, 2011 Can you help me how i can create a new RS task which it can restart the service? For example with an autohotkey script: Run, Stop Recording Service.bat, C:\Path Sleep, 8000 ;8 second delay Run, Start Recording Service.bat, C:\Path Stop Recording Service.bat: net stop "DVBVRecorder" Start Recording Service.bat net start "DVBVRecorder" Link to comment
majstang Posted April 20, 2011 Share Posted April 20, 2011 or batch code only with a 5 second delay: net stop "DVBVRecorder" TYPE NUL | CHOICE.COM /N /CY /TY,5 >NUL net start "DVBVRecorder" None of these suggestions are tested Link to comment
uglyrooster Posted April 21, 2011 Share Posted April 21, 2011 (edited) Komisch, woher kennst Du meine Konfiguration : net stop "DVBVRecorder" PING 1.1.1.1 -n 1 -w 5000 >NUL net start "DVBVRecorder" Edited April 21, 2011 by uglyrooster Link to comment
oMikR0n Posted April 21, 2011 Author Share Posted April 21, 2011 Thanks a lot for all your help. I tried the last one and worked! Link to comment
bogdan1980 Posted April 26, 2011 Share Posted April 26, 2011 And how to restart service from client computer? Let say i watch DVBViewer on client computer, but image freeze, and i must stop and start again DVBViewer from server pc. How to do that? Link to comment
majstang Posted April 26, 2011 Share Posted April 26, 2011 And how to restart service from client computer? Quite hard when you have a bunch of network security in the way. Have you tried doing it with Windows Remote Desktop? Maybe PsTools can work http://technet.microsoft.com/en-us/sysinternals/bb896649.aspx There is a pretty nice solution if you are familiar with autohotkey: http://www.autohotkey.com/forum/topic21975.html If running this as a RS task it must be executed silently, cuz otherwise all popups will stall the task. Link to comment
bogdan1980 Posted May 10, 2011 Share Posted May 10, 2011 when i watch tv on client( with dvb recording), and image freeze, i use teamviewer( remote software) conect to server pc, restart dvb server. on server pc i use an batch: NET STOP "DVBViewer Recording Service" NET START "DVBViewer Recording Service" I do not understand why guys on previous post say to use net stop DVBVRecorder, for all i know, DVBViewer service is:DVBViewer Recording Service Link to comment
majstang Posted May 10, 2011 Share Posted May 10, 2011 when i watch tv on client( with dvb recording), and image freeze, i use teamviewer( remote software) conect to server pc, restart dvb server. on server pc i use an batch: NET STOP "DVBViewer Recording Service" NET START "DVBViewer Recording Service" I do not understand why guys on previous post say to use net stop DVBVRecorder, for all i know, DVBViewer service is:DVBViewer Recording Service Servicename for DVBVservice.exe is "DVBVRecorder" Showname is "DVBViewer Recording Service" Check properties...both works just as well Link to comment
Recommended Posts