![]() |
|
|||
|
System Suspend and Resume Problem - Solved
Hi,
I had an issue where btvnetworkservice.exe did not work correctly after the btv server "suspened" (S3) then resumed. I ended up creating a vb script to resolve this that once invoked always stays running in a loop and whenever the system is resumed, invokes a bat file that kills btvnetworkservice.exe and BTV restarts it. Here is the script: Set oShell = CreateObject("WScript.Shell" ) Set colMonitoredEvents = GetObject("winmgmts:" )._ ExecNotificationQuery("Select * from Win32_PowerManagementEvent" ) Do Set objLatestEvent = colMonitoredEvents.NextEvent Select Case objLatestEvent.EventType Case 7 ' To run a batch file hidden, you can do like this: WScript.sleep 60000 oShell.Run """C:\bat\killbtvnetworkservice.bat""", 0, False ' Launch Notepad 'oShell.Run "Notepad.exe", 1, False 'MsgBox "Resuming from suspend, task launched", _ 'vbInformation + vbSystemModal, "Suspend" End Select Loop (the value 7 in the case statment above is a system resume event). And the bat file (which I grabbed the syntax from another post): taskkill /F /IM BTVNetworkService.exe This allows the "recorded shows" to be correct, after a system standy and resume. Does anyone else have this issue? My solution isn't great as I am killing the process so it can be restarted.
__________________
Media Server: E5200 | 2 GB RAM | 1 PVR-150 | 1 PVR-1250| 1 PVR-2250 | 1.2 TB RAID 5 array | 2.0 TB RAID 5 array | xp pro | btv 4.9.2 Media delivered to several BTV LINK machines |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| System hang on wakeup solved | rooobosmith | Beyond TV and Beyond TV Link User-to-User Troubleshooting & Support Forum | 0 | 02-25-2009 02:20 PM |
| WMV Playback Problem (Pause/Resume) | Carey | Beyond TV and Beyond TV Link | 4 | 02-16-2009 06:26 PM |
| Suspend and BTV Link problem | tscales | Beyond TV and Beyond TV Link User-to-User Troubleshooting & Support Forum | 2 | 05-07-2007 07:07 PM |
| Problem Solved | mrgrocery | Beyond Media Discussion | 0 | 11-05-2005 09:32 AM |
| Annoying ATI problem - SOLVED! | illianj | Beyond TV and Beyond TV Link User-to-User Troubleshooting & Support Forum | 1 | 03-13-2002 03:20 PM |