How to remove a shortcut from the start menu

Hello
I have a problem with to unpin the shortcut on the start menu. When I click with the right button on the shortcut and select "Remove from this list", the shortcut is removed manually.

But when I try to use the following script to remove the shortcut does not work.
Name of the shortcut in the start menu: Sap Logon Pad.lnk

Script used:
************************************************************
Dim objShell filesystem, objFolder, objFolderItem, colVerbs
Dim objVerb
Set objShell = CreateObject
set the file system = CreateObject ("script. FileSystemObject")
Set objFolder = objShell.Namespace (file system. GetParentFolderName ("C:\Program Files\SAP\SapSetup\setup\SAL\saplgpad.s8l"))
Set objFolderItem = objFolder.ParseName (file system. GetFileName ("C:\Program Files\SAP\SapSetup\setup\SAL\saplgpad.s8l"))
Set colVerbs = objFolderItem.Verbs
For each objVerb in colVerbs
MsgBox objVerb
If replace (objVerb.name, "&","" "") = objVerb.DoIt then "Remove from Start Menu"
Next

*****************************************************************
Please suggest if there is another option to solve this problem using the VB script or batch script or some commands.

Hello

Your question of Windows is more complex than what is generally answered in the Microsoft Answers forums. It is better suited for the IT Pro TechNet public. Please ask your question in the Forums Pro Windows XP IT.

Tags: Windows

Similar Questions

  • How to remove an item from the start menu in Windows 7?

    I tried to install a game written for an earlier version of Windows.  It did not work, but when I uninstalled the program, he left an icon in my Start menu.  I can't find a way to delete the item in my Start menu.

    If I click on the link, I get a message that says that this is not a valid Win32 application.

    If I right click on the link, I get options:
    Play
    Run as administrator
    More games from Microsoft
    Support
    PIN to the taskbar
    PIN to Start Menu
    Sort by name

    I miss the opportunity, we usually need to change the Menu start manually!

    I did all that, although I had to 'Show hidden files' in two different places, but the guarded program reappear, even after that I deleted everything that I could find that had "Lemmings" in there.  I had installed the program on the D drive and I could delete it, but the next time I saw the Start Menu, it would put a file on drive D named Lemmings Revolution.exe (with no data in this document, 0 bytes).

    I tried the support link from Microsoft and the thought that should work, but alas, I didn't have the product code to enter the FixIt program when asked.

    I finally took a huge risk Open regedit and then sought to any occurrence of the word "Lemmings".  I deleted everything in the registry that referenced "Lemmings", then returned to the D drive (in the command prompt) and deleted the above programme, after that I restarted my computer.

    So far, it seems to have solved the problem...

    (I knew after you remove some of the registry keys, one of the contained key code product I could entered the FixIt program, but by then I had already made changes.)

    Thanks to everyone who tried to help me!

  • How can I remove "Log Off" from the Start Menu?

    The Shut Down window includes Log Off option, and I accidentally disconnected when I did not.

    Hello

    You are using the classic Start Menu?

    Check if one of the steps helps you accomplish the task.

    Step 1: Remove the option of logging for the Normal Boot Menu.

    a. click the Start button, type gpedit.msc and press ENTER.
    b. click User Configuration > administrative templates > Start Menu and taskbar.
    c. double click on logout remove from the Start Menu.
    d. Select enable and click on the OK button.

    Step 2: Remove Logoff to the Start Menu classic option.

    a. click the Start button, type gpedit.msc and press ENTER.
    b. click User Configuration > administrative templates > Start Menu and taskbar.
    c. double-click Add Logoff to the Start Menu.
    d. Select Disable and click the OK button.

  • Cannot remove a program from the start menu icon

    Original title: icons in the Start Menu;. Cannot delete the program start menu icon to remove/uninstall, need help?

    S pie Menu icons; Ghost of icons

    I deleted a program and uninstalled completely, but the program icon always appears in the start menu.  I was not able to remove the icon. Right-clicking on the icon simply freezes the start menu for several minutes. I was able to remove from the desktop.

    I tried the Program Data > Microsoft > Windows > Start Menu > programs > but the icon.

    I had this problem before, but I just do not remember how I fixed it. Any help would be appreciated.

    Hi Kevin, thanks for responding.

    The program was the Vuze, and I managed to get rid of the icon.  By a right click and do not move the mouse and wait 5 minutes eventualy box popped up and I was able to remove the icon from the start menu.

    The solution was a lot of patience.

    Please help us well!

    :)

    p.s. I ran various software cleaning, like glary utilities, ccleaner and reboot several times.

  • How to remove an item from the contextual menu orphan?

    I had a workflow that I added in context menu of Clusters.  I forgot to remove it from the context menu before you delete the workflow, so now it is visible as a choice, but naturally does not start.  Any suggestions on how to get off the context menu now?

    If you have a copy of the workflow on another instance of vRO, the easiest way would be to export from, import it on vRO instance that you use with the Web Client and remove the link of action in the context of the user interface.

    If you don't have a copy of the workflow, you can try the following:

    • SSH for vSphere Web Client device stop vsphere-customer service
    • Delete the /storage/vsphere-client/SerenityDB/serenity/ALL/applications/vco-plugin/context.menu.actions file (you can make a copy of it to the case where)
    • Start service vsphere client (or reboot the power of vSphere Web Client)

    After these steps, all custom context action mappings should have disappeared, including orphans.

  • How to remove Toshiba Assist of the start menu?

    http://www.imagemule.com/uploads/untitledaigw.PNG

    anyone?
    How can I delete the icon?

    Hello

    I checked the screenshot, and it seems that you are using the Windows XP Start menu and not the start menu classic.
    Please, right click the Green Start button and select Properties.
    Then, the taskbar window and the properties of the Start Menu should appear.
    Then switch on the start tab menu and press the Customize button.

    There, you can try to clean the list of programs
    Also, check the Advanced Options tab and the list of start menu items.

  • All program files and shortcuts from the "Start" menu disappeared

    I use Windows Vista Home Premium (SP2) (64-bit).  Two days back, I've updated my windows.  After restarting the PC, all program files and shortcuts in Start menu disappeared.  The shortcuts that I myself had added manually do not work.

    Have you tried to do the restore of the system in SafeMode as stated in my answer 1 to you?

    If it doesn't/does not work:

    If you do not want to repost in the Windows Update Forum (they are the specialists it for the best advice regarding your problem), make this disc Bootable startup repair and use it to do a system restore or uninstall the updates by using the method 2nd in my 1st reply:

    Download the ISO on the link provided and make a record of repair time it starts.

    Go to your Bios/Setup, or the Boot Menu at startup and change the Boot order to make the DVD/CD drive 1st in the boot order, then reboot with the disk in the drive.

    At the startup/power on you should see at the bottom of the screen either F2 or DELETE, go to Setup/Bios or F12 for the Boot Menu.

    When you have changed that, insert the Bootable disk you did in the drive and reboot.

    http://www.bleepingcomputer.com/tutorials/tutorial148.html

    Link above shows what the process looks like and a manual, it load the repair options.

    NeoSmart containing the content of the Windows Vista DVD 'Recovery Centre', as we refer to him. It cannot be used to install or reinstall Windows Vista, and is just a Windows PE interface to recovering your PC. Technically, we could re-create this installation with downloadable media media freely from Microsoft (namely the Microsoft WAIK, several gigabyte download); but it is pretty darn decent of Microsoft to present Windows users who might not be able to create such a thing on their own.

    Read all the info on the website on how to create and use:

    http://NeoSmart.net/blog/2008/Windows-Vista-recovery-disc-download/

    ISO Burner:http://www.snapfiles.com/get/active-isoburner.html

    It's a very good Vista startup repair disk.

    You can do a system restart tool, system, etc it restore.

    It is NOT a disc of resettlement.

    And the 32-bit is what normally comes on a computer, unless 64-bit.

    See you soon.

    Mick Murphy - Microsoft partner

  • How can I remove an application from the start menu

    I have an iMac with OS El Capitan 10.11.5 update.  My startup is too slow, and Excel is one of the applications that start automatically.  I really want to remove it from opening each time, but can't find a way to do it.  I went to the route Finder, GB, computer, Macintosh HD/Library/StartupItems, but no apps are listed.

    I can't find it under system preferences iMac (and have lived each icon), or in the Excel application.  Any guidance?

    Thank you

    System Preferences > users and groups

    Highlight your user name

    you will see two tabs: password and login items uncheck what you don't want auto-start

  • How do I remove a program from the start menu, so it does not show the taskbar?

    I don't want Skype to start automatically when the computer starts.  How can I get this feature stops for Skype?

    Start Skype. Opening of session.

    Uncheck "start Skype when I start windows" then

    Who will stop him?

  • How to find my computer from the start menu

    There is NO ICON FOR 'MY COMPUTER' FROM DESK TOP, HOW DO i FIND IT?

    Press on the key and E.

  • Cannot delete the libraries from the Start Menu icon

    When I right click on icon libraries as in the image below and select "Remove from this list", it does not go far.

    Of http://sbctooling.com/how-to-automagically-remove-programs-that-are-pinned-to-the-start-menu/

    I found a way to remove all items from the start menu. I hope that I followed the instructions in an appropriate way, it did not seem a few typos, so I followed his instructions implicitly given by the photo he attached.

  • Start menu up: How do I remove programs from the Start Menu

    Please tell us how can I remove programs from the Start Menu.  In other words, I seem to have many programs starting to run, when I start my PC.

    Thank you

    Try this program to change the start:

    http://TechNet.Microsoft.com/en-us/sysinternals/bb963902.aspx

    This utility, which has a knowledge of auto-starting locations of any startup monitor, shows you what programs configured to run at system startup or login and that the entries in the order of processing windows. These programs include those in your startup folder, Run, RunOnce, and other registry keys. You can configureAutoruns to show other locations, including Explorer shell, toolbar extensions, helper objects to the browser, Winlogon notifications, auto and many start-up services even more. Autoruns goes way beyond the MSConfig utility bundled with Windows Me and XP.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    http://www.LyteByte.com/2008/06/11/remove-unwanted-startup-programs-Windows-Vista/

    And this, read also.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    And look in each program under Tools > Options > to see if you can stop here to boot at startup.

    See you soon.

    Mick Murphy - Microsoft partner

  • How to remove a Word from the default dictionary of firefox?

    How to remove a Word from the default dictionary of firefox?
    If I wanted to remove the word 'dog' or 'and' for example

    There may be a range of reasons for wanting to do this, including the deletion of the words you use rarely as similar to other common spellings used words for example. "minute" and "Minuet", delete the words that you find personally offensive, or removing words that, because of linguistic or cultural background, you would not consider words at all.

    Note that I'm not asking how to remove my 'dictionary' words, words that I added myself.

    Hello

    I talked to a few people and I think I'm able to help you with this.

    There are two dictionary files, the default that comes with your version of Firefox and personal 'custom' that you create yourself with phrases and words.

    If you want to change the personal;

    1. Copy Subject: support and paste into the address bar.
    2. Next to the profile folder, click the marked File Show
    3. Find the file persdict.dat. Rename a text file, open, modify, re save it as persdict.dat and replace.

    If you want to change the default dictionary, it could be more of a problem and a lot more technique to do. I would recommend that you look at the problem differently and consider filtering of pages based on inappropriate content using Add-ons such as ProCon Latte Content Filter.

    I hope this helps, but if not, please come back here and we can look at another solution for you.

  • How to remove "Skype available" from the top of the notification page?

    How to remove "Skype available" from the top of the notification page - useless promotion!

    Hello!

    Disable the Skype status under Notification settings in Skype.

    All best
    Siim

  • How to remove a city from the weather app in IOS 9.2.1?

    I have an IPhone6S that I bought recently and am running IOS 9.2.1. I can't understand how to remove a city from the weather app. I tried to go to settings, where there is a list of all the applications on my phone except the weather app, so no help there. Any body can help me with this?

    You must tap on the small set of lines in the lower right to get list view. Then you can find the city that you want to delete, drag to the left to see the button Delete.

    See you soon,.

    GB

Maybe you are looking for

  • How can I avoid that FaceTime opening automatically when I connect

    Recently whenever I connect, FaceTime is active. I don't have it on my dock and does not know why he keeps coming back. Irritating to have to close every time I use my mac. All solutions?

  • Satellite A660 works with 2 GB of RAM only

    HelloPlease help me that my laptop is psaw3ew Satellite A660 was works well when it was the supply with 6 GB of ram and I convey ram to won 8 and it works well until it stop start and then I remove the Ram and now, it's works that with 2 gaeremynck R

  • Re: HP Photosmart 1215 and Windows 7

    I have a Photosmart 1215 and had it work on W7 for years using the 990c driver. Recently, I had to reload W7 and now I need to get the printer working again. I installed the 990 c driver, but I can't print. I remember there was more that just install

  • Inverter HP G72

    My HP G72, needed me a new inverter.   I looked on the internet to find the inverter.   Where is the inverter to the G72 laptop?  If I could find this info, I could replace it myself, I'm sure. The only thing I can find is replaceing the screen of th

  • Security for windows XP KB2633171 update is not installed

    Automatic security update for windows xp KB2633171 don't settle.  I tried twice now and always used to install.  What should I do next?