andy vt's tools & blog

automating lazy

This Blog


andy vt's blog

Better way to share TV on a network

A few days ago I posted what I thought was a great way to access recorded tv on a network share; it turned out to be not the best idea if you wanted your guide to update. 

Fortunately, I got some background on why that approach wouldn't work and some insight into some approaches that would from an authoritative source. 

UseShare is a much less intrusive way to accomplish the same thing (giving the MC services valid network credentials).  It is implemented as a Windows service configured to run with Network Service Credentials which maps shares with NET USE. 

For this solution I just use the same credentials of the main account on my WMC boxes to save myself the trouble of creating another account.

After installing browse to the directory where it was installed and open useshare.exe.config.  In the appSettings section add a key for each machine you would like to map a share to.  The value in "value" will get passed directly to NET USE, so everything that is supports will work.  Note that arguments with spaces need to be enclosed in quotes (see the second entry for an e.g.). 


Open up regedt32, browse to HKLM\Software\Microsoft\Windows\CurrentVersion\Media Center\Service\Recording, and add the network path to the shared folder where your tv is stored to the "WatchedFolder" value.

Either reboot the box, or start the UseShare service and restart "Windows Media Center Receiver Service" and "Windows Media Center Scheduler Service".

If you're using an extender, you'll want to create a cmd/bat file that does the same thing for your extender user. 




isomerize said:

I haven't been able to make this solution work.  I had previously tried a similar work around using a user login for the MCE reciever service (scheduler doesn't need to be changed to view archived recordings from a server) and found the same EPG update problem (code 13 in MCE, can't access the internet) though i could play, record, and delete files on a WHS box through vista MCE, flawlessly.  However, using useshare, I don't get access to the server folder under any net use arguments I've tried (i.e. just the UNC path or setting up a mapped letter drive).  Has anyone else gotten this to work?  If so, can you post another screenshot of the useshare.xe.config file that worked.

November 4, 2007 3:57 AM

babgvant said:

first thing is to make sure that your syntax is correct.  if you can execute the command via net use it will work.  copy everything after the net use into the config file.  

make sure that your share names match b/w the net use command and the watched folders key.  i prefer to map UNC instead of drive letter, but either way should work.  

if you're still having trouble start a thread and we can figure out what's going on.

November 4, 2007 12:30 PM

jlevy said:

I've been trying to get this working without success.  I have a valid net use command, but the problem appears to be that the service is not registered in Windows Vista services.  When I open "Services" from the Microsoft Mgmt Console, I don't see useshare listed anywhere.  Should I?  Please advise.  Overall, this solution does seem to be the right way to share recorded TV, but I can't seem to make it work.

December 2, 2007 10:40 PM
@2008 andy vt
Powered by Community Server (Non-Commercial Edition), by Telligent Systems