Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How can I delete permanently My Music/My Pictures/My Videos/etc. Folders in Windows 7? If you delete this folders manually, Windows Media Player 12 recreate all of them again, again and again! It's a nightmare. Anyone knows a registry hacking to get rid of these folders forever?

Note 1: I know how to disable the Libraries feature in Windows 7, but I don't want this, I want to delete only the folders named above.

note2: The "folders monitored" option doesn't exist in Windows Media Player 12.

share|improve this question
Are you refering to the directory named c:\users\<myuser>\pictures or to the link created from that path under c:\users\<myuser>\documents\My Pictures ? – RonK Jun 15 '11 at 4:40
why do you want to delete it? – Sathya Jun 15 '11 at 4:44
nvm why he wants to delete it. Credit him with enough intelligence for having a valid reason to ask the question - or let him suffer the consequences if not. – Mawg Jun 15 '11 at 7:13
Yes, I'm refering to directories/folders like c:\users\me\pictures. – Rubens Jun 15 '11 at 14:16
Free will, remember that? First of all, I want to delete because I don't use them and don't need them. I already have my music/videos/etc very well organized in my own way, do not need a software like Windows to force me into its way. Furthermore, when I try to save something to disk, these folders appear in the first target options, unnecessarily, wasting precious space on the screen where it should be the real targets that really interest to me, always forcing me to pull down the scroll bar, without the slightest need. It really irritates me, cause it's a waste of time. – Rubens Jun 15 '11 at 14:20
  1. Click start -> run

  2. In the Open box, type regsvr32 /u mydocs.dll

  3. Click OK and then click OK again to the 'DllUnregisterServer in mydocs.dll succeeded' dialog

  4. Delete the My ... sub-folders that you do not want

share|improve this answer
mydocs.dll not found (windows 7 ultimate) – jiggunjer Mar 27 '15 at 10:01

I tried deleting c:\users\<myuser>\documents\My Videos and c:\users\<myuser>\documents\My Pictures and it worked fine.

However, trying to delete c:\users\<myuser>\Pictures and c:\users\<myuser>\Videos did not work, Windows Media Player did return them.

It never bothered me enough to find a "solution" for it in WMP configuration, but I might have a solution for you if you just want your music folder to be elsewhere.

I used Junction. It can create soft-links on your PC. I used it to change c:\users\<myuser>\Music to point to d:\Music. That way your music can remain in the library but from the path you like. (Notice the source and target of the link are on different partitions of the same physical drive, I do not know if it supports it on different physical drives (pretty sure it doesn't).

Hope that helps you.

share|improve this answer
Thank you for your workaround tip, but I really want to delete permanently these folders and stop Windows 7 from recreate them again. – Rubens Jun 15 '11 at 17:31
They are not folders, they are junctions, get the junction file in the above answer and run the following commands in a Command Prompt window that is running as Administrator: junction -d "%USERPROFILE%\Documents\My Music" junction -d "%USERPROFILE%\Documents\My Pictures" junction -d "%USERPROFILE%\Documents\My Videos" – Sean Jun 19 '11 at 7:22

In Windows 8, there seems to be an easy solution. I navigated to the c:\users\me\my pictures folder and under the "Home" tab clicked on Properties. There under the Location tab I entered "D:\Pictures" and hit Apply. Windows asks if you want to move all the files in My Pictures to the new location, and will do it if you say yes. When done hit OK and reboot. Now the c:\users\me\my pictures folder has been replaced by c:\users\me\pictures in the Explorer listing but the actual file location when you click on it is d:\Pictures. QED.

share|improve this answer
The question was how to delete the folder. Your solution still has a folder in \users\me\ cluttering up the place. – jiggunjer Mar 27 '15 at 9:57

I'm overworked, so don't have time to give you the answer; just some pointers - and will excuse it by claiming not to give you a fish, but to teach you to fish...

In XP, I would have used Tweak Xp, the PowerToy. Having said that, I wouldn't have deleted it, just redirected it to my D: drive (which is Data for me), or D:\music, D:\photos, etc. The one that annoys me most is automatically installing to C:\Program Files, since I have only Windows on C: and my programs are on P: - for ease of reinstalling Windows.

Anyway - short answer - Google.

Medium answer - regedit. Hit (Windows key)+R and enter regedit (and Enter), to edit the registry. Search for keys whose value is C:\My Music, etc... At this point, I can't say what happens if you delete them. Maybe Windows will recreate them, but you probably have your own personal choice of directories for photos/music/etc., so why not just change the values?

share|improve this answer
In XP and Vista it's a piece of cake to get rid of these folders forever (if you know how to edit Windows registry). But the problem is in Windows 7 + Windows Media Player 12. I googled for a solution, but I got none at the present time. All solutions are for XP/Vista and WMP 11 or less. They don't work with W7 + WMP 12. – Rubens Jun 15 '11 at 14:26

Get junction file in RonK's answer and run the following commands in a Command Prompt window that is running as Administrator:

junction -d "%USERPROFILE%\Documents\My Music"
junction -d "%USERPROFILE%\Documents\My Pictures"
junction -d "%USERPROFILE%\Documents\My Videos"
share|improve this answer
I tried it already - windows media player keeps creating it. I even deleted them from the Libraries list and it still created them again. It is very persistent... – RonK Jun 19 '11 at 8:31

Delete the folders from the library and then go to registry and find this path HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders. Here you will see the values of these three folders MY Music, My Video and My Picture just delete them.

Mydigitallife has a trick to delete the library from explorer.

Also check out How to open My computer or document by default in windows 7.

share|improve this answer

1.Run Windows Media Center. 2.Go to the "Tasks" section. 3.Open "Settings" from the "Task" section. 4.Click "Media Libraries." 5.Select the type of media for which you wish to remove folders, such as "Music" or "Pictures." Click "Next." 6.Select the "Remove folders" option. Click "Next." 7.Remove the checkmark from the box next to each folder you wish to remove. Click "Next." 8.Click "Yes" to proceed with the changes. Click "Finish."

share|improve this answer
He mentions in his question that he tried th is already – Canadian Luke Feb 27 '13 at 4:52

Well, since WMPlayer keep returning the mentioned folders, I opted to disable WMP from my system. It is a program that I don't use since there is a lot of better programs to do media.

From what I read from your comments, at first I was thinking about disabling parts of the registry involving WMP, but that seems like a lot of work. So why not just disable WMP? It worked for me.

Start → Control Panel → Programs → Turn Windows Features On Or Off → Media Features → WMP.

By disabling WMP, it also disables WMCenter (doesn't matter to me).

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .