Recommended Posts

Ok, here's a stupid one. I need to have the My Music folder back. I've never bothered with these "My" folders, but when installing iTunes with AirTunes it asks for that particular folder. I created a folder in /documents/my login/My Documents/ but it never got the blessed special icon, and it is not recognized in iTunes.

Link to comment
https://www.neowin.net/forum/topic/474429-how-to-recreate-my-music-folder/
Share on other sites

Get the tweakUI powertoy from the microsoft powertoys website. It lets you specifiy the location of "special folders", one of which is My Music.

I don't use the normal C:/Docu~1/user/My Docu~1/My music setup, preferring for X:/music/ , etc. Using tweakUI i set "my Music" to that folder so iTunes works properly.

Alright, you're going to have to go into the registry to this key:

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders\

And add a new String Value named "My Music" with the path to your music folder as the data.

  pixels said:

Alright, you're going to have to go into the registry to this key:

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders\

And add a new String Value named "My Music" with the path to your music folder as the data.

Weirdest thing, it turns out that there's already a My Music string in the registry that's empty, but if I fill in the path it still stays empty after rebooting!!

I noticed that the My Music (along with the rest of the "my..." folders) need to be System folders (adjust in attributes).

That combined with the proper path in that key will probably do it.

Also, make sure that the my music path is relative to the my documents path in c:\documents and settings\%username%\

start> run> cmd

at the prompt type the following... [enter] = hit enter key

cd\ [enter]

cd C:\documents and settings\%username%\my documents\ [enter]

attrib [enter]

check to see if there is an "S" listed to the right of C:\documents and settings\%username%\my documents\my music; if it is, then it is already a system folder. Try the TweakUI thing listed below... If there is no S listed continue here...

attrib +S My Music [enter]

attrib [enter]

check to make sure there is an "S" listed to the right of C:\documents and settings\%username%\my documents\my music

You can also "restore" the my music folder with Microsoft's own TweakUI (link listed on the right). I forget exactly where it is in TweakUI, but it's listed somewhere.

For more on attrib check out the ATTRIB page on ss64.com.

In the My music folder, create a text file with Notepad, type the following:

[DeleteOnCopy]

Owner= <------ insert your user name here

Personalized=13

PersonalizedName=My Music

[.ShellClassInfo]

InfoTip=@Shell32.dll,-12689

IconFile=%SystemRoot%\system32\SHELL32.dll

IconIndex=-237

save it in the my music folder as desktop.ini

If you have Windows Media Player installed, theres a setting which says "Monitor My Media Folders" or something very similar, if this option is selected, it should automatically recreate your My Music folder if you didnt delete it from the list of Monitored folders

  bigflavor said:

1.

start> run> cmd

at the prompt type the following... [enter] = hit enter key

cd\ [enter]

cd C:\documents and settings\%username%\my documents\ [enter]

attrib [enter]

check to see if there is an "S" listed to the right of C:\documents and settings\%username%\my documents\my music; if it is, then it is already a system folder. Try the TweakUI thing listed below... If there is no S listed continue here...

attrib +S My Music [enter]

attrib [enter]

check to make sure there is an "S" listed to the right of C:\documents and settings\%username%\my documents\my music

2.

You can also "restore" the my music folder with Microsoft's own TweakUI (link listed on the right). I forget exactly where it is in TweakUI, but it's listed somewhere.

1. Tried that but the attrib command don't lists my folders, just the files in them, so I can't get to the My Music attributes.

2. Weirdest thing! I neither had a My Videos folder, and when chosing Repair My Videos Icon, TweakUI creates a proper My Videos folder. When trying to do this on My Music folder, absolutely nothing happens!!

  JRosenfeld said:

In the My music folder, create a text file with Notepad, type the following:

[DeleteOnCopy]

Owner= <------ insert your user name here

Personalized=13

PersonalizedName=My Music

[.ShellClassInfo]

InfoTip=@Shell32.dll,-12689

IconFile=%SystemRoot%\system32\SHELL32.dll

IconIndex=-237

save it in the my music folder as desktop.ini

Did that, nothing happened at all.

  slim_Az said:

If you have Windows Media Player installed, theres a setting which says "Monitor My Media Folders" or something very similar, if this option is selected, it should automatically recreate your My Music folder if you didnt delete it from the list of Monitored folders

Checked, it was already on the list.

  • 1 year later...

I had the same problem - the "My Music" folder was lost after I changed drive letter on the partition where it was stored. The contents of it wasn't lost though, it just got transformed to an ordinary folder, which iTunes then didn't recognize.

At last found the solution at an iPod forum (!) - what you need to do in the registry is to also check the USER shell folders - that did the trick for me!! :D Also check the Apple forum for an alternative solution - weird to find the solution to a Windows issue in such places - nothing at all is to be found in the MS KB... :p

  • 2 years later...
  On 06/07/2006 at 13:44, brand said:

start> run> cmd

at the prompt type the following... [enter] = hit enter key

cd\ [enter]

cd C:\documents and settings\%username%\my documents\ [enter]

attrib [enter]

check to see if there is an "S" listed to the right of C:\documents and settings\%username%\my documents\my music; if it is, then it is already a system folder. Try the TweakUI thing listed below... If there is no S listed continue here...

attrib +S My Music [enter]

attrib [enter]

check to make sure there is an "S" listed to the right of C:\documents and settings\%username%\my documents\my music

For the sake of completeness I will revive this ancient thread (because this is the first one that popped up on google). The above did the trick for me, but it needs a slight ajustment: you have to add the /S and /D options for it to work. For example you could type in one go:

attrib +S D:\"My Documents"\"My Music" /S /D

You can check the atributes if you ommit the +S statement, for more info type attrib /? in de command prompt, double quotation marks to handle the spaces in the folder path and be sure to type the correct path to your My Music folder :)

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • KB5060829: Microsoft confirms new upcoming Windows 11 24H2 feature is triggering Firewall by Sayan Sen At the end of June, Microsoft released Windows 11 setup and recovery updates (KB5062233/ KB5060843/ KB5062197/ KB5061090) following the month's non-security previews for 24H2 (KB5060829) and 23H2/22H2 (KB5060826). Today, the company has confirmed that KB5060829 is causing some troubles for systems in regards to Firewall. Microsoft says that IT admins and system admins may notice a recurring error entry in the Security event log related to Windows Firewall With Advanced Security wherein the Event Viewer records event ID 2042, labeled “Config Read Failed” with the message “More data is available” each time the device restarts. Although logged as an error, the tech giant notes that this entry does not indicate a malfunction of the Windows Firewall and as such it can be "safely ignored and disregarded," and that Windows Firewall continues to enforce rules and filter network traffic normally as intended. Microsoft assures that "there is no impact to Windows processes associated to this event." IT support teams and even general users often rely on error-level event entries to detect misconfiguration and other issues (Microsoft itself recommends you do so), so unexpected log noise can trigger unnecessary alerts like these. Interestingly, in this case, the logged event stems from an upcoming feature as Microsoft notes that the "event is related to a feature that is currently under development and not fully implemented." No additional information regarding this new feature has been provided at this time. For those who prefer a cleaner log, administrators can filter out event 2042 in Event Viewer or via PowerShell. In Event Viewer, create a custom view filtering out ID 2042 under the Security log and in PowerShell, use the Get-WinEvent -FilterHashtable parameter. Microsoft says that the team is currently working on a fix and an update will be released later. However, no ETA has been shared today. You can find the issue entry here on Microsoft's official Windows Health dashboard website.
    • Concerning the situation at XBOX (title cancellations, studio closures and firing employees): The management at MS gaming division (Booty, Spencer etc.) has to go. Money and time has been wasted in such amounts that those people have to be held accountable and better managers can take the lead. In most other businesses this would have happened ten years or so ago.
    • Why, because different bothers you? You aren’t using the OS per your own admission so why is it a shame? It’s a great way to focus imo.
    • People often hate on what they don’t understand. It’s not stupid, it’s different. That said, ignorance more often than not rules the roost, so it is seen as stupid instead. How much time have you spent learning how to use macOS as intended before making your proclamation?
    • Though, to be fair, maybe I'm biased and maybe my trust would eventually turn out to be misplaced, but I'd be certainly inclined to trust Microsoft's solution a lot more than I trust Opera's, for a multitude of reasons. Hell, I trust Microsoft more than I trust say Google lately.
  • Recent Achievements

    • Reacting Well
      SteveJaye earned a badge
      Reacting Well
    • One Month Later
      MadMung0 earned a badge
      One Month Later
    • One Month Later
      Uranus_enjoyer earned a badge
      One Month Later
    • Week One Done
      Philsl earned a badge
      Week One Done
    • Week One Done
      Jaclidio hoy earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      434
    2. 2
      ATLien_0
      158
    3. 3
      +FloatingFatMan
      146
    4. 4
      Nick H.
      65
    5. 5
      +thexfile
      62
  • Tell a friend

    Love Neowin? Tell a friend!