BrandonS_Mil Posted June 17, 2005 Share Posted June 17, 2005 OK,OK,OKI think i understand your problem....When your command "delete favorites" runs there is no admin folder yet. but your code will work if your time it correctly...You have to wait until after your desktop profile is created. If you change the code to delete the default user "favorites" then no account with get those folders, it is all up to you...... Link to comment Share on other sites More sharing options...
Sgt_Strider Posted June 17, 2005 Author Share Posted June 17, 2005 OK,OK,OKI think i understand your problem....When your command "delete favorites" runs there is no admin folder yet. but your code will work if your time it correctly...You have to wait until after your desktop profile is created. If you change the code to delete the default user "favorites" then no account with get those folders, it is all up to you......<{POST_SNAPBACK}>I just want to get rid of the folders within the favourites tab. I don't like my favourites in the folder and I prefer it to jus be under the tab. What do I need to modify? Link to comment Share on other sites More sharing options...
BrandonS_Mil Posted June 17, 2005 Share Posted June 17, 2005 OK, so do you want just a blank "favorites" folder (i.e. no links whatsoever inside)????Then i would sugest making a script "del" command that accesses the "favorites" folder and deletes all contents. Link to comment Share on other sites More sharing options...
Yzöwl Posted June 18, 2005 Share Posted June 18, 2005 I think you also need to add this to your cmd file too;Remove Links Folder From Internet ExplorerREG ADD "HKCU\Software\Microsoft\Internet Explorer\Toolbar" /v LinksFolderName /d "" /f Link to comment Share on other sites More sharing options...
Sgt_Strider Posted June 21, 2005 Author Share Posted June 21, 2005 I think you also need to add this to your cmd file too;Remove Links Folder From Internet ExplorerREG ADD "HKCU\Software\Microsoft\Internet Explorer\Toolbar" /v LinksFolderName /d "" /f<{POST_SNAPBACK}>I added that to my RunOnceEx.cmd file and it doesn't work. Link to comment Share on other sites More sharing options...
Sgt_Strider Posted June 22, 2005 Author Share Posted June 22, 2005 bump Link to comment Share on other sites More sharing options...
Sgt_Strider Posted June 27, 2005 Author Share Posted June 27, 2005 Guys, I really need your help here! Link to comment Share on other sites More sharing options...
DonDamm Posted June 28, 2005 Share Posted June 28, 2005 If I'm not mistaken, it may be that the set50.exe file which runs at the end after RunOnceEx.cmd is through and creates the IE, OE, and WMP icons in the current user Start menu, may also create the standard links and folders for Favorites.To address that without making any other structural changes to the default user, you could do one of two different things. Kill the process of setup50.exe as soon as it starts or just delete the thing from the Outlook Express folder in Program files. If you do that as your last command in Cleanup.cmd and don't give a long time for reboot (20 sec is enough or even less), the file doesn't have enough time to regenerate (it is a protected file that is automatically replaced by Windows File Protection), and the icons and folders don't get created.A better solution is to create a small command file to delete the links you don't want and add the command to run it RunOnce (I think this is HKLM\software\Microsoft\Windows\CurrentVersion\RunOnce). That way it will run when you reboot and you won't even see it and your folders will be gone! ) Any new users add after that, of course, will have the standard default folders. Link to comment Share on other sites More sharing options...
Sgt_Strider Posted July 3, 2005 Author Share Posted July 3, 2005 I want to remove the Links and Favourites folder from the Favourites tab. How do I limit the reboot to 20 seconds or less? Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now