Jump to content

Recommended Posts

Posted

Hello,

I'm looking for a way to avoid the installation of the favourites installed by Windows (MSN, Radio stations) and in the 'Links' subfolder (Hotmail, Windows media etc.). I thought about making a BATCH but these files are created in the username profile directory so after the installation.

Any ideas ?

Thank you.


Posted

Alright, i think i just found out. I added this in my runonce.bat:

echo Suppressions des favoris inutiles

del /f /s /a C:\Docume~1\%username%\Favoris\*.url

del /f /s /a C:\Docume~1\%username%\Favoris\Liens\P*.url

del /f /s /a C:\Docume~1\%username%\Favoris\Liens\W*.url

It should work ... ;)

Posted

I think you should use :

DEL /F /S /Q %UserProfile%\Favoris\*.url

this should work fine.

it should also delete shortcuts in directories LIENS, etc...because /S delete inside directories.

type DEL /? in a MS-DOS box (invite de commande) to see the parameters

Posted

hi sorry if this is a dumb question but i am new to the forums, so if we can delete web favorates can we do it in reverse add add some

Posted

@Lucius Snow (Must be a fan of Early Edition Eh! :thumbup )

I have used the [FavoritesEx] section in winnt.sif but left it blank and it has not installed the default favs, Then copied my favs over at first logon.

Posted
@Lucius Snow (Must be a fan of Early Edition Eh!  :thumbup )

I have used the [FavoritesEx] section in winnt.sif but left it blank and it has not installed the default favs, Then copied my favs over at first logon.

(Lucius Snow LOL i really like the cat :D)

i'm also trying to delete my favourites but the del command don't work if applied to early, i'll try that [FavoritesEx] :P

Posted

Just a note you will need to add the code below if you are using the [FavouritesEx]

[Branding]
BrandIEUsingUnattended = Yes

you prolly are but just a heads up incase

  • 1 month later...
Posted

big poppa pump! That is exactly what I am trying to do! How did you do this? I figured out how to completely delete the favorites folder, but I also would like to get rid of the Shared folders in AllUsersProfile and the user profile folders. I also am trying to completely remove the userprofile and default user start menu and use the allusers startmenu. The code I use is below, I currently have it in a cmd file. What would I put to run it as a runonce? And lastly, will it delete itself so it won't run again, or be present on the computer? Thanks a million, you found what I needed!

RD /S /Q "%AllUsersProfile%\Documents\Shared Music"
RD /S /Q "%AllUsersProfile%\Documents\Shared Pictures"
RD /S /Q "%AllUsersProfile%\Documents\Shared Video"

RD /S /Q "%UserProfile%\My Documents\My Music"
RD /S /Q "%UserProfile%\My Documents\My Pictures\Sample Pictures"
RD /S /Q "%UserProfile%\Favorites"
DEL "%UserProfile%\Start Menu\Programs\Accessories\Address Book.lnk"

DEL "%DefaultUser%\Start Menu\Programs\Remote Assistance.lnk"
DEL "%DefaultUser%\Start Menu\Programs\Windows Media Player.lnk"

RD /S /Q "%UserProfile%\Start Menu\Programs\Accessories"
RD /S /Q "%DefaultUserProfile%\Start Menu\Programs\Accessories"

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

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