Stop Orb from using 100% Drive Space on Server 2008

Orb is a media server application which allows you to stream all of your videos, music, and photos to almost any device on your network or the internet.

However, it is not officially supported on Server 2008. Since 2008 is based on Vista, I figured why not give it a shot. And it works. There is just one small problem: It throws an absolute fit if it can’t access a file and starts filling the drive with log files. That causes problems when a machine goes to sleep and Orb tries to index files from a SMB share.

I managed to put together a small batch file which will stop the Orb services, clean up the log files, and restart Orb. Running this on the scheduler once a day seems to have stopped the drive space problem.

@echo off
net stop OrbMediaService
taskkill /f /im orbtray.exe
taskkill /f /im orb.exe
taskkill /f /im orbmediaservice.exe
c:
cd\programdata\orbnetworks\logs
del *.log1
del *.back
net start OrbMediaService
cd\
cd \Program Files (x86)\Orb Networks\Orb\bin
start OrbTray.exe

Comments are closed.