August 20, 200422 yr 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.
August 20, 200422 yr Author 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 ...
August 20, 200422 yr 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
August 22, 200422 yr 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
August 22, 200422 yr Author 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"
August 22, 200422 yr @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.
August 22, 200422 yr @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]
August 22, 200422 yr 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
September 23, 200421 yr 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!
September 23, 200421 yr 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"
Create an account or sign in to comment