Script or batch command for adding media libraries


  1. Posts : 2
    Windows 7 Enterprise 64 & 32-bit, Windows 7 Ultimate 64-bit, Windows 7 Professional 64 & 32-bit
       #1

    Script or batch command for adding media libraries


    Hi all,

    Let me start by saying I am running Media Center on Windows 10. It's not a fun workaround, but it works. After the latest update to Windows 10, I had to reinstall Media Center on my 5 PC's. I was curious to see if there was a batch script or VBS out there that I could modify to add libraries back into each computer without going through the usual process in the user interface. I have several libraries to add back into each system. Or, if someone knows where Media Center stores the information for it's Libraries to where I could right a script would be good. Again, I am running Windows 10 and I know I'm posting in a Windows 7 forum. Media Center is not officially supported on Win10. Thank you for any help.
      My Computer


  2. Posts : 2
    Windows 7 Enterprise 64 & 32-bit, Windows 7 Ultimate 64-bit, Windows 7 Professional 64 & 32-bit
    Thread Starter
       #2

    Okay, So I found my answer digging around in the registry. The values for the libraries in WMC are stored in [HKCU\Software\Microsoft\Windows\CurrentVersion\Media Center\MediaFolders]. Each library has a different sub folder inside to match with the associated library (ie Image, Movie, Video). There, you can create tags that say "Folder0", "Folder1", and so on until you have all your folders. Make sure to update or create the "FolderCount" dword to match the number of folders you added to the registry.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 02:15.
Find Us