MHz Posted August 30, 2004 Share Posted August 30, 2004 Does anyone know of a method of removing shortcuts, from start menu -> programs without the use of runonceex commands?I would like IE, OE and Remote Assistance shortcuts removed, without runonceex entering into explorer startup. Link to comment Share on other sites More sharing options...
diesel_98a Posted August 30, 2004 Share Posted August 30, 2004 not reallytry something like this, it is what i have in my reboot.cmdRD /S /Q %systemdrive%\install\RD /S /Q "%systemdrive%\Documents and Settings\All Users\Start Menu\Programs\Java Web Start"RD /S /Q "%systemdrive%\Documents and Settings\All Users\Start Menu\Programs\PrintMe Internet Printing"DEL /Q "%systemdrive%\Documents and Settings\All Users\Start Menu\Programs\Startup\*.*"could try using regshot and make the changes to see what changes in the registry, might try it. Link to comment Share on other sites More sharing options...
MHz Posted August 30, 2004 Author Share Posted August 30, 2004 @ diesel_98aYes, that will remove those shortcuts, but the ones that I have listed, are not created until you enter desktop for the first time. I am using scripted executables, the shutdown command is instant. I need a separate process to remove at first show of desktop. Or maybe an inf or regtweak method to disable the creation of them.Thanks anyway. Link to comment Share on other sites More sharing options...
diesel_98a Posted August 30, 2004 Share Posted August 30, 2004 u are probably looking more for a regtweak then. will need to get a program to monitor the registry changes and apply those changes to regtweak. i have used regshot for that. i don't recall anybody who has already done something like that using regtweaks otherwise i would pt u in their direction. i myself just use the runonceex in my reboot.cmd. Link to comment Share on other sites More sharing options...
MHz Posted August 30, 2004 Author Share Posted August 30, 2004 Regtweak may get overwritten at first desktop startup, depending on what creates them. Have tried runonce, with following reboot, with no success, so far.Starting to run out of ideas. Link to comment Share on other sites More sharing options...
lpl Posted August 30, 2004 Share Posted August 30, 2004 how abt this and the reply below that?http://www.msfn.org/board/index.php?showto...=0entry171984 Link to comment Share on other sites More sharing options...
mazin Posted August 30, 2004 Share Posted August 30, 2004 A batch file put in Startup folder that has a sleep command may do the job.EDIT: @lpl: didn't see your post, sorry. It's the same idea. Link to comment Share on other sites More sharing options...
diesel_98a Posted August 30, 2004 Share Posted August 30, 2004 http://www.msfn.org/board/index.php?showto...533;entry171984that is a little extreme for me but it should work fine, but would sfc make any changes, i wouldn't think cause i don't have a problem w/ it.i was also thinking batch file to maybe be run at startup each time. Link to comment Share on other sites More sharing options...
mazin Posted August 30, 2004 Share Posted August 30, 2004 i was also thinking batch file to maybe be run at startup each time.Sure the batch can delete itself if you want. Link to comment Share on other sites More sharing options...
MHz Posted August 30, 2004 Author Share Posted August 30, 2004 @mazinYes, played with that idea. It removed the shortcuts . Had to use attrib to remove read only on the bat, so it could delete itself. But i could not get it is self-delete?Unsure whether I tried sleep with it though? Maybe, you have come up with an answer. Will try sleep before shortcut removal and self-delete.Thanks Link to comment Share on other sites More sharing options...
mazin Posted August 30, 2004 Share Posted August 30, 2004 Had to use attrib to remove read only on the bat, so it could delete itself. But i could not get it is self-delete?I use a simple DEL, without stating path, at the end of the batch. I mean something like this:..........DEL startup.cmdHope it helps. Thanks. Link to comment Share on other sites More sharing options...
MHz Posted August 30, 2004 Author Share Posted August 30, 2004 @lplDo you mean by some regtweak or an inf edit in the link of your post?Link is alittle unclear to me. Link to comment Share on other sites More sharing options...
MHz Posted August 30, 2004 Author Share Posted August 30, 2004 @MazinYes, I used Del this.bat. But for some reason, would not delete itself. Maybe the startup folder is locked or something during entering desktop. Your sleep idea may delay the action to a better time to delete itself.Maybe considering of deleting entry in registry of it existence may be an idea also ?, will test it.Thanks Link to comment Share on other sites More sharing options...
lpl Posted August 30, 2004 Share Posted August 30, 2004 oops sorry for being unclear..the link was to address issue of stuff that did not get created until desktop is loadded..thus tweaks, links, etc. does not get deleted...basically the idea is what has been mentioned here, that is, to create a startup.cmd and set the last line of that to del itself and everything in startup folder...DEL did it for me too, there was no problem deleting, nor was the start up folder locked..maybe what you can do is set a pause after running each command, to see what the problem is?also, maybe adding "Exit" to the file at the end? Link to comment Share on other sites More sharing options...
mazin Posted August 30, 2004 Share Posted August 30, 2004 Maybe considering of deleting entry in registry of it existence may be an idea also ?WOW! This should be the best idea ever, if it's always possible. 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