chon_ Posted September 14, 2003 Share Posted September 14, 2003 Is there any way you can remove start menu shortcuts unattended? Like windows update, windows catalog, etc Link to comment Share on other sites More sharing options...
gui_m Posted September 14, 2003 Share Posted September 14, 2003 Insert something like this in the batch file:ECHO Removing useless shortcuts...DEL "%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"ECHO. Link to comment Share on other sites More sharing options...
valkyre Posted September 14, 2003 Share Posted September 14, 2003 Yes. In your main batch file, set these command lines.ECHO Removing useless shortcuts...DEL "%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"ECHO.(Credit goes to whoever originally posted that, I think it was webmedic) Link to comment Share on other sites More sharing options...
valkyre Posted September 14, 2003 Share Posted September 14, 2003 ****, you beat me to it. Heh. Link to comment Share on other sites More sharing options...
chon_ Posted September 14, 2003 Author Share Posted September 14, 2003 Thx for your quick response guys! Link to comment Share on other sites More sharing options...
kenneth11zz Posted September 14, 2003 Share Posted September 14, 2003 Don't you also need to add this this switch for deleting read only filesDEL /FThe /F is to force to delete read-only files to be on the safe side?-Kenneth Link to comment Share on other sites More sharing options...
spookytay Posted September 14, 2003 Share Posted September 14, 2003 Remember you can add your own lines to the batch to delete other icons and shortcuts too. Furthermore, you can create certain ones you want for your desktop too. Just save a .lnk file on your unattended CD and have a batch copy it to your desktop. Just make sure you set up the .lnk file correctly. This way you can have your own customized Program menu and desktop. 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