Lucius Snow Posted August 20, 2004 Posted August 20, 2004 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.
Lucius Snow Posted August 20, 2004 Author Posted August 20, 2004 Alright, i think i just found out. I added this in my runonce.bat:echo Suppressions des favoris inutilesdel /f /s /a C:\Docume~1\%username%\Favoris\*.urldel /f /s /a C:\Docume~1\%username%\Favoris\Liens\P*.urldel /f /s /a C:\Docume~1\%username%\Favoris\Liens\W*.urlIt should work ...
r0sWell Posted August 20, 2004 Posted August 20, 2004 I think you should use :DEL /F /S /Q %UserProfile%\Favoris\*.urlthis 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
bilko Posted August 22, 2004 Posted August 22, 2004 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
Lucius Snow Posted August 22, 2004 Author Posted August 22, 2004 Yes, in your winnt.sif.For adding favorites, add a [FavoritesEx] section. For example :[FavoritesEx]Title1 = "Google.url"Url1 = "http://www.google.com"For adding favorites in the Links subdirectory, add a section. For example :Quick_Link_1_Name = "Hotmail.url"Quick_Link_1 = "http://www.microsoft.com/isapi/redir.dll?prd=ie&ar=hotmail"
Lucius Snow Posted August 22, 2004 Author Posted August 22, 2004 How do you add your own sub-directory?I don't know this
benners Posted August 22, 2004 Posted August 22, 2004 @Lucius Snow (Must be a fan of Early Edition Eh! )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.
SiMoNsAyS Posted August 22, 2004 Posted August 22, 2004 @Lucius Snow (Must be a fan of Early Edition Eh! )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 )i'm also trying to delete my favourites but the del command don't work if applied to early, i'll try that [FavoritesEx]
benners Posted August 22, 2004 Posted August 22, 2004 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
big poppa pump Posted September 23, 2004 Posted September 23, 2004 I remove all the default favorites on the 2nd boot after the first runonceex (inf file) has completed with a second runonceex (inf file) imported from the first runonceex!
scorpy Posted September 23, 2004 Posted September 23, 2004 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"
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now