Script or batch command for adding media libraries

Foxman1999

New member
Local time
12:33 PM
Messages
2
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

Computer type
PC/Desktop
OS
Windows 7 Enterprise 64 & 32-bit, Windows 7 Ultimate 64-bit, Windows 7 Professional 64 & 32-bit
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

Computer type
PC/Desktop
OS
Windows 7 Enterprise 64 & 32-bit, Windows 7 Ultimate 64-bit, Windows 7 Professional 64 & 32-bit
Back
Top