Music Folder in Navigation Pane Shows No Content


If you don’t believe you moved the Music folder correctly, take note of this tutorial:

 

My Computers

System One System Two

  • OS
    Windows 11 Pro 23H2 Build 22631.5039
    Computer type
    PC/Desktop
    Manufacturer/Model
    Sin-built
    CPU
    Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz (4th Gen?)
    Motherboard
    ASUS ROG Maximus VI Formula
    Memory
    32.0 GB of I forget and the box is in storage.
    Graphics Card(s)
    Gigabyte nVidia GeForce GTX 1660 Super OC 6GB
    Sound Card
    Onboard
    Monitor(s) Displays
    4 x LG 23MP75 - 2 x 24MK430H-B - 1 x Wacom Pro 22" Tablet
    Screen Resolution
    All over the place
    Hard Drives
    Too many to list.
    OS on Samsung 1TB 870 QVO SATA
    PSU
    Silverstone 1500
    Case
    NZXT Phantom 820 Full-Tower Case
    Cooling
    Noctua NH-D15 Elite Class Dual Tower CPU Cooler / 6 x EziDIY 120mm / 2 x Corsair 140mm somethings / 1 x 140mm Thermaltake something / 2 x 200mm Corsair.
    Keyboard
    Corsair K95 / Logitech diNovo Edge Wireless
    Mouse
    Logitech G402 / G502 / Mx Masters / MX Air Cordless
    Internet Speed
    100/40Mbps
    Browser
    All sorts
    Antivirus
    Kaspersky Premium
    Other Info
    I’m on a horse.
  • Operating System
    Windows 11 Pro 23H2 Build: 22631.4249
    Computer type
    Laptop
    Manufacturer/Model
    LENOVO Yoga 7i EVO OLED 14" Touchscreen i5 12 Core 16GB/512GB
    CPU
    Intel Core 12th Gen i5-1240P Processor (1.7 - 4.4GHz)
    Memory
    16GB LPDDR5 RAM
    Graphics card(s)
    Intel Iris Xe Graphics Processor
    Sound Card
    Optimized with Dolby Atmos®
    Screen Resolution
    QHD 2880 x 1800 OLED
    Hard Drives
    M.2 512GB
    Antivirus
    Defender / Malwarebytes
    Other Info
    …still on a horse.
I have tried both of these reg files to remove and add the Music folder. After running the Remove Music reg file, I launch File Explorer and all instances of the Music folder in the navigation pane are still there. Running the Add Music reg file doesn't repair the issue.
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    Acer Aspire TC-1760
    CPU
    Intel Core i5-12400
    Motherboard
    Acer Aspire TC-1760
    Memory
    16gb
    Graphics Card(s)
    Intel UHD Graphics 730
I can’t see in the thread where you checked the properties of the Music folder on the left of File Explorer, did you do so? Sorry if I missed it. Where does it say that the Music folder exists? What is the path?

Does it say F: Music or C: Users/Username/Music??
 

My Computers

System One System Two

  • OS
    Windows 11 Pro 23H2 Build 22631.5039
    Computer type
    PC/Desktop
    Manufacturer/Model
    Sin-built
    CPU
    Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz (4th Gen?)
    Motherboard
    ASUS ROG Maximus VI Formula
    Memory
    32.0 GB of I forget and the box is in storage.
    Graphics Card(s)
    Gigabyte nVidia GeForce GTX 1660 Super OC 6GB
    Sound Card
    Onboard
    Monitor(s) Displays
    4 x LG 23MP75 - 2 x 24MK430H-B - 1 x Wacom Pro 22" Tablet
    Screen Resolution
    All over the place
    Hard Drives
    Too many to list.
    OS on Samsung 1TB 870 QVO SATA
    PSU
    Silverstone 1500
    Case
    NZXT Phantom 820 Full-Tower Case
    Cooling
    Noctua NH-D15 Elite Class Dual Tower CPU Cooler / 6 x EziDIY 120mm / 2 x Corsair 140mm somethings / 1 x 140mm Thermaltake something / 2 x 200mm Corsair.
    Keyboard
    Corsair K95 / Logitech diNovo Edge Wireless
    Mouse
    Logitech G402 / G502 / Mx Masters / MX Air Cordless
    Internet Speed
    100/40Mbps
    Browser
    All sorts
    Antivirus
    Kaspersky Premium
    Other Info
    I’m on a horse.
  • Operating System
    Windows 11 Pro 23H2 Build: 22631.4249
    Computer type
    Laptop
    Manufacturer/Model
    LENOVO Yoga 7i EVO OLED 14" Touchscreen i5 12 Core 16GB/512GB
    CPU
    Intel Core 12th Gen i5-1240P Processor (1.7 - 4.4GHz)
    Memory
    16GB LPDDR5 RAM
    Graphics card(s)
    Intel Iris Xe Graphics Processor
    Sound Card
    Optimized with Dolby Atmos®
    Screen Resolution
    QHD 2880 x 1800 OLED
    Hard Drives
    M.2 512GB
    Antivirus
    Defender / Malwarebytes
    Other Info
    …still on a horse.
When I moved the location of the Music folder, I took the properties of the %USERPROFILE%\Music folder to change the location. And I have already run the Remove_Music_folder and the Add_Music_folder reg files.
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    Acer Aspire TC-1760
    CPU
    Intel Core i5-12400
    Motherboard
    Acer Aspire TC-1760
    Memory
    16gb
    Graphics Card(s)
    Intel UHD Graphics 730
My Mar 13th post has a screenshot of the Music folder property sheet. All the fields are blank.
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    Acer Aspire TC-1760
    CPU
    Intel Core i5-12400
    Motherboard
    Acer Aspire TC-1760
    Memory
    16gb
    Graphics Card(s)
    Intel UHD Graphics 730
My Mar 13th post has a screenshot of the Music folder property sheet. All the fields are blank.
open ISE, paste the following code, save as .ps1 and run with admin powershell. should restore original music folder location:


Code:
$defaultMusicPath = "$env:USERPROFILE\Music"
Set-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders" -Name "My Music" -Value $defaultMusicPath
Set-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{4BD8D571-6D19-48D3-BE97-422220080E43}" -Value $defaultMusicPath
Write-Host "Music folder path has been restored to default: $defaultMusicPath"
 

My Computer

System One

  • OS
    Windows 11 Pro
OK, sorry then. Moving a folder loacation is quite simple, via properties. The need to edit registry keys for this is not something I have had to do or ever help someone with and I believe that it’s unnecessary. That is of course if you followed the tutorial on moving the music folder properly. If not, I can’t imagine what you did.
 

My Computers

System One System Two

  • OS
    Windows 11 Pro 23H2 Build 22631.5039
    Computer type
    PC/Desktop
    Manufacturer/Model
    Sin-built
    CPU
    Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz (4th Gen?)
    Motherboard
    ASUS ROG Maximus VI Formula
    Memory
    32.0 GB of I forget and the box is in storage.
    Graphics Card(s)
    Gigabyte nVidia GeForce GTX 1660 Super OC 6GB
    Sound Card
    Onboard
    Monitor(s) Displays
    4 x LG 23MP75 - 2 x 24MK430H-B - 1 x Wacom Pro 22" Tablet
    Screen Resolution
    All over the place
    Hard Drives
    Too many to list.
    OS on Samsung 1TB 870 QVO SATA
    PSU
    Silverstone 1500
    Case
    NZXT Phantom 820 Full-Tower Case
    Cooling
    Noctua NH-D15 Elite Class Dual Tower CPU Cooler / 6 x EziDIY 120mm / 2 x Corsair 140mm somethings / 1 x 140mm Thermaltake something / 2 x 200mm Corsair.
    Keyboard
    Corsair K95 / Logitech diNovo Edge Wireless
    Mouse
    Logitech G402 / G502 / Mx Masters / MX Air Cordless
    Internet Speed
    100/40Mbps
    Browser
    All sorts
    Antivirus
    Kaspersky Premium
    Other Info
    I’m on a horse.
  • Operating System
    Windows 11 Pro 23H2 Build: 22631.4249
    Computer type
    Laptop
    Manufacturer/Model
    LENOVO Yoga 7i EVO OLED 14" Touchscreen i5 12 Core 16GB/512GB
    CPU
    Intel Core 12th Gen i5-1240P Processor (1.7 - 4.4GHz)
    Memory
    16GB LPDDR5 RAM
    Graphics card(s)
    Intel Iris Xe Graphics Processor
    Sound Card
    Optimized with Dolby Atmos®
    Screen Resolution
    QHD 2880 x 1800 OLED
    Hard Drives
    M.2 512GB
    Antivirus
    Defender / Malwarebytes
    Other Info
    …still on a horse.
Thx for the Powershell code. It worked. Now when I select the Music folder, it shows no files (since they were moved to F:\Music) with the proper Details columns. And the properties of the Music folder do show that it points to the original location.
But now another related issue has arisen. When viewing the properties of the Music folder, there is no Location tab to change it's reference to F:\Music. The same holds true with the properties of the %USERPROFILE%\Music folder.
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    Acer Aspire TC-1760
    CPU
    Intel Core i5-12400
    Motherboard
    Acer Aspire TC-1760
    Memory
    16gb
    Graphics Card(s)
    Intel UHD Graphics 730
try this .ps1 - change the C:\NewMusicFolder path to desired new location

Code:
function Set-KnownFolderPath {
    param (
        [Parameter(Mandatory = $true)]
        [string]$KnownFolder,
        [Parameter(Mandatory = $true)]
        [string]$Path
    )

    $KnownFolders = @{
        'Music' = '3dfdf296-dbec-4fb4-81d1-6a3438bcf4de'
    }

    if ($KnownFolders.ContainsKey($KnownFolder)) {
        $FolderGUID = $KnownFolders[$KnownFolder]
        $Shell = New-Object -ComObject Shell.Application
        $Folder = $Shell.Namespace(0x5)
        $FolderItem = $Folder.ParseName($FolderGUID)
        $FolderItem.InvokeVerb("Properties")
        # Update the path here
    } else {
        Write-Host "Unknown folder: $KnownFolder"
    }
}

Set-KnownFolderPath -KnownFolder "Music" -Path "C:\NewMusicFolder"
 

My Computer

System One

  • OS
    Windows 11 Pro
The following error on running the code:
You cannot call a method on a null-valued expression.
At line:18 char:9
+ $FolderItem.InvokeVerb("Properties")
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [], RuntimeException
+ FullyQualifiedErrorId : InvokeMethodOnNull
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    Acer Aspire TC-1760
    CPU
    Intel Core i5-12400
    Motherboard
    Acer Aspire TC-1760
    Memory
    16gb
    Graphics Card(s)
    Intel UHD Graphics 730
run this one. used wrong clsid (there are 2 options for music folder natively

Code:
function Set-KnownFolderPath {
    param (
        [Parameter(Mandatory = $true)]
        [string]$KnownFolder,
        [Parameter(Mandatory = $true)]
        [string]$Path
    )

    $KnownFolders = @{
        'Music' = '4BD8D571-6D19-48D3-BE97-422220080E43'
    }

    if ($KnownFolders.ContainsKey($KnownFolder)) {
        $FolderGUID = $KnownFolders[$KnownFolder]
        $Shell = New-Object -ComObject Shell.Application
        $Folder = $Shell.Namespace(0x5)
        $FolderItem = $Folder.ParseName($FolderGUID)
        $FolderItem.InvokeVerb("Properties")
        # Update the path here
    } else {
        Write-Host "Unknown folder: $KnownFolder"
    }
}

Set-KnownFolderPath -KnownFolder "Music" -Path "C:\NewMusicFolder"
 

My Computer

System One

  • OS
    Windows 11 Pro
The code still returns the same error At line:18 char:9
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    Acer Aspire TC-1760
    CPU
    Intel Core i5-12400
    Motherboard
    Acer Aspire TC-1760
    Memory
    16gb
    Graphics Card(s)
    Intel UHD Graphics 730
what is your music folder's clsid?

look in registry at
Code:
HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders
 

My Computer

System One

  • OS
    Windows 11 Pro
For %USERPROFILE%\Music it is {4BD8D571-6D19-48D3-BE97-422220080E43}
For F:\Music it is {A0C69A99-21C8-4671-8703-7934162FCF1D}
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    Acer Aspire TC-1760
    CPU
    Intel Core i5-12400
    Motherboard
    Acer Aspire TC-1760
    Memory
    16gb
    Graphics Card(s)
    Intel UHD Graphics 730
For %USERPROFILE%\Music it is {4BD8D571-6D19-48D3-BE97-422220080E43}
For F:\Music it is {A0C69A99-21C8-4671-8703-7934162FCF1D}
prob shell.application having issues. try this one. replace the path in the last line

Code:
function Set-KnownFolderPath {
    param (
        [Parameter(Mandatory = $true)]
        [string]$KnownFolder,
        [Parameter(Mandatory = $true)]
        [string]$Path
    )

    # Map Known CLSID
    $KnownFolders = @{
        'Music' = '{4BD8D571-6D19-48D3-BE97-422220080E43}'
    }

    if ($KnownFolders.ContainsKey($KnownFolder)) {
        $FolderGUID = $KnownFolders[$KnownFolder]
        
        $RegistryPath = "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders"

        Set-ItemProperty -Path $RegistryPath -Name $FolderGUID -Value $Path
        Stop-Process -Name explorer -Force
        Start-Process explorer.exe

        Write-Host "The $KnownFolder folder has been successfully updated to: $Path"
    } else {
        Write-Host "Unknown folder: $KnownFolder"
    }
}

Set-KnownFolderPath -KnownFolder "Music" -Path "C:\NewMusicFolder"
 

My Computer

System One

  • OS
    Windows 11 Pro
Set-KnownFolderPath -KnownFolder "Music" -Path "F:\Music"
The Music folder has been successfully updated to: F:\Music.
I restarted Explorer after executing the code. Yet the Music folder still points to %USERPROFILE%\Music.
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    Acer Aspire TC-1760
    CPU
    Intel Core i5-12400
    Motherboard
    Acer Aspire TC-1760
    Memory
    16gb
    Graphics Card(s)
    Intel UHD Graphics 730
Also, the {4BD8D571-6D19-48D3-BE97-422220080E43} key doesn't exist in my Registry.
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    Acer Aspire TC-1760
    CPU
    Intel Core i5-12400
    Motherboard
    Acer Aspire TC-1760
    Memory
    16gb
    Graphics Card(s)
    Intel UHD Graphics 730

Latest Support Threads

Back
Top Bottom