August 13, 200422 yr Hey,Well this is strange. Windows in not letting me delete:DEL "%UserProfile%\Start Menu\Programs\Windows Media Player.lnk"DEL "%UserProfile%\Start Menu\Programs\Internet Explorer.lnk"DEL "%UserProfile%\Start Menu\Programs\Outlook Express.lnk"DEL "%UserProfile%\Application Data\Microsoft\Internet Explorer\Quick Launch\Launch Internet Explorer Browser.lnk"DEL "%UserProfile%\Application Data\Microsoft\Internet Explorer\Quick Launch\Show Desktop.scf"For some odd reason. Of course after windows is installed I can run the cammands fine and they work. Thats what I dont get.I do that in my unattended script on first login.Gui run once points to applyTweaks.cmd which at the very end runs the above with a few others.Which is strange because these for example are in the same script and remove fine:@echo offRD /S /Q "%AllUsersProfile%\Start Menu\Programs\PrintMe Internet Printing"RD /S /Q "%AllUsersProfile%\Start Menu\Programs\Games"RD /S /Q "%AllUsersProfile%\Start Menu\Programs\F-Prot Antivirus\Scan"DEL "%AllUsersProfile%\Start Menu\Windows Update.lnk"DEL "%AllUsersProfile%\Start Menu\Set Program Access and Defaults.lnk"DEL "%AllUsersProfile%\Start Menu\Windows Catalog.lnk"DEL "%UserProfile%\Start Menu\Programs\Remote Assistance.lnk"DEL "%AllUsersProfile%\Start Menu\Programs\Windows Movie Maker.lnk"DEL "%AllUsersProfile%\Start Menu\Programs\Adobe Reader 6.0.lnk"DEL "%AllUsersProfile%\Desktop\Adobe Reader 6.0.lnk"DEL "%AllUsersProfile%\Desktop\F-Prot Antivirus.lnk"RD /S /Q "%systemroot%\Cache\Adobe Reader 6\"EXITAlso on the same same subject I can not get these to remove:DEL "%UserProfile%\Favorites\Radio Station Guide.url"DEL "%UserProfile%\Favorites\MSN.com.url"DEL "%UserProfile%\Favorites\Links\Free Hotmail.url"DEL "%UserProfile%\Favorites\Links\Windows.url"DEL "%UserProfile%\Favorites\Links\Windows Marketplace.url"DEL "%UserProfile%\Favorites\Links\Windows Media.url"DEL "%UserProfile%\Favorites\Links\Customize Links.url"Do I need to do it some how else with these for some reason?Any help would be great but please try to explain since I am still learning all of this stuff.Thanks, Will
August 13, 200422 yr It takes about a 5-10 seconds for the system to create those shortcuts. Your script is deleting them before the system even have a chance to create them. Try slowing down your script with a ping test, or use a utility. Ex:PING 127.0.0.1 -n 9DEL "%UserProfile%\Start Menu\Programs\Windows Media Player.lnk"DEL "%UserProfile%\Start Menu\Programs\Internet Explorer.lnk"DEL "%UserProfile%\Start Menu\Programs\Outlook Express.lnk"DEL "%UserProfile%\Application Data\Microsoft\Internet Explorer\Quick Launch\Launch Internet Explorer Browser.lnk"DEL "%UserProfile%\Application Data\Microsoft\Internet Explorer\Quick Launch\Show Desktop.scf"
August 13, 200422 yr I am having a similar problem removing items with my cleanup.cmd filecmdow @ /HID@echo offcopy %systemdrive%\Install\Quicklaunch\*.* "%userprofile%\Application Data\Microsoft\Internet Explorer\Quick Launch"copy %systemdrive%\Install\menu\*.* "%userprofile%\Start Menu\Programs"DEL "%AllUsersProfile%\Desktop\Kazaa Lite K++.lnk"DEL "%userprofile%\Documents and Settings\User\Application Data\Microsoft\Internet Explorer\Quick Launch\Kazaa Lite K++.lnk"shutdown.exe -r -f -t 60 -c "Windows XP will now restart in 1 minute, this will give enough time for the shortcuts to update and for the shell to fully load before its ready to restart!"RD /S /Q %systemdrive%\DriversRD /S /Q %systemdrive%\InstallEXITIt will not delete the Quick Launch Kazaa lite link for some reason, but it will delete the Kazaa desktop link?
August 13, 200422 yr thats cuz its wrong..use this"%AppData%\Microsoft\Internet Explorer\Quick Launch\Kazaa Lite K++.lnk"EDIT: just so u know%userprofile% = X:\Documents and Settings\<User>%AppData% = X:\Documents and Settings\<user>\Application DataX: being your systemdrive
August 13, 200422 yr Oh, one other thing, is %AppData% = X:\Documents and Settings\<user>\Application DataThe same as x:\documents and settings\all users\application data
August 27, 200421 yr Does anyone know how to remove Internet explorer link directly from Start Menu?What I mean is, when you click the start menu there are 2 links on top of the start menu ie. Internet Explorer and e-mail client.Or another way to remove these are start menu properties- customize start menu-General tab at the bottom there's a group "Show on start menu" were you can check/uncheck Internet and mail.My question is, are there any registry tweaks to remove these?I tried to find it myself with Advanced Registry Tracer but nothing found.Thanks in advance
August 27, 200421 yr Does anyone know how to remove Internet explorer link directly from Start Menu?What I mean is, when you click the start menu there are 2 links on top of the start menu ie. Internet Explorer and e-mail client.Or another way to remove these are start menu properties- customize start menu-General tab at the bottom there's a group "Show on start menu" were you can check/uncheck Internet and mail.My question is, are there any registry tweaks to remove these?I tried to find it myself with Advanced Registry Tracer but nothing found.Thanks in advanceI'm looking for that too. Let me know if you find anything. Cheers.
August 29, 200421 yr I think that you should be able to do these from your winnt.sifQuote from deployment ref.chm;[Components]IEAccess = On/Off On - Installs visible entry points to Internet Explorer.Off - Does not install visible entry points to Internet Explorer.OEAccess = On/OffOn - Installs visible entry points to Outlook Express.Off - Does not install visible entry points to Outlook Express.I may be wrong - this could just refer to "All Programs" shortcuts but I think they should do it.
December 7, 200520 yr add this toyour your start fileDEL "%systemdrive%\Documents and Settings\All Users\Start Menu\Windows Update.lnk"DEL "%systemdrive%\Documents and Settings\All Users\Start Menu\Set Program Access and Defaults.lnk"DEL "%systemdrive%\Documents and Settings\All Users\Start Menu\Windows Catalog.lnk"
Create an account or sign in to comment