Jump to content

Recommended Posts

Posted

Hi Everyone!

How do I disable My Music & My Pictures from My Documents? If I delete these folders, Windows just keeps recreating them so there's gotta be a way to make it stop doing this. How?

Thanks in advance!

Marthax


Posted
If I delete these folders, Windows just keeps recreating them so there's gotta be a way to make it stop doing this

I just said that this doesn't help. I need something to disable these folders from poping up as soon as I play a song or view a picture. These annoying folders keep poping up if I delete them.

Posted

Ok. Ill be waiting ... I doubt it works tho. I think those files have some entries on a .dll file who is responsible for creating them again!

Posted

Yep. I had posted this on my own forum. Just didnt remember.

Go to Start > Run and type:

regsvr32 /u mydocs.dll

That should do it. About doing it UA, dont know if its possible.

Posted (edited)

This won't really get rid of them but it might work:

you could try "re-assigning" them to an already existing folder that's out of the way (kind of assuming you just don't want them in My Documents)...


REGEDIT4

;================================
; Change location of Special Folders:
;================================

; NOTE EACH FOLDER HAS **2** VALUES


[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\
Explorer\Shell Folders]
;;"My Music"={insert text string of path}

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\
Explorer\User Shell Folders]
;;"My Music"={export hex string of path}

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\
Explorer\Shell Folders]
;;"My Pictures"={insert text string of path}

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\
Explorer\User Shell Folders]
;;"My Pictures"={export hex string of path}

from there you could delete the folder from My Documents w/ the batch file suggested above or....

...I just noticed that under "[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders]" there is another key called "New"... its possibile that this key might create 'new' instances when deleted (but I'd back it up b4 testing if I were you...) hope that helps, & good luck B) Mine's far from empty otherwise I might test it myself.

btw love the bds avatar ;)

Edited by spiritpyre
Posted (edited)

@ Gouki

just suggesting another {possible} way (.reg's and batch files work fine on uA) :D

btw this:

regsvr32 /u mydocs.dll

That should do it. About doing it UA, dont know if its possible.

should also work fine from a batch file during uA so long as it doesn't prompt the user or popup w/ a message box like "OK"

Edited by spiritpyre
Posted
i just posted the solution!!  :blushing:

just delete the folders and then run that!!

Does that not unregister the My Documents folder too?

He only wanted My Music and My Pictures!

Posted (edited)

Ok, I'm gonna try that. Thanks a lot everyone for trying to help me out :) I appreciate it.

My testing computer is not usable right now but it will in a few days so I'll post as soon as I'll be able to try it out. Thanks again :thumbup

@spiritpyre: I love it too B) Your avatar isn't that bad it either. An highly exceptional cat. :hello:

Edited by Marthax
Posted
i just posted the solution!!  :blushing:

just delete the folders and then run that!!

Does that not unregister the My Documents folder too?

He only wanted My Music and My Pictures!

yep. It will only unregister the 2 folders inside my documents!

use

regsvr32 /s /u mydocs.dll

in a unattended batch file

Great! Thanks!!

Posted (edited)

In case some one is interested, I just tested this on my batch file and it worked.

RD /S /Q "%userprofile%\My Documents\My Music"
RD /S /Q "%allusersprofile%\My Documents\My Music"
RD /S /Q "%userprofile%\My Documents\My Pictures"
RD /S /Q "%allusersprofile%\My Documents\My Pictures"

regsvr32 /S /u mydocs.dll

Just paste this on ur cleanup.cmd! :D

Edited by Gouki

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...