Skip to main content
Paul Richards
Participating Frequently
May 22, 2026 5:42 AM UTC
Question

Deleted Shortcut

I have Visual COBOL + Microsoft Visual Studio on my Windows 11  laptop. I inadvertently deleted the shortcut that I used to launch Visual COBOL+VS. I cannot figure out how to restore the shortcut. Can anyone advise me on how to rebuild the correct shortcut? Thanks

14 replies

Chris Glazier
Moderator
Jun 8, 2026 11:51 AM UTC

I did not see that held message yet. Can you please tell me what the error code is that you receive and try uploading the log file instead of pasting it in?

Paul Richards
Participating Frequently
Jun 8, 2026 11:24 PM UTC

Chris

Attempting to uninstall VC, got the message ‘Setup failed’, the error code was: 0x8007002 and ‘the system cannot find the file specified’

Log file loaded.

 

Chris Glazier
Moderator
Jun 9, 2026 12:17 PM UTC

Does a Repair on Visual COBOL return the same error?

Will it allow you to run the Visual COBOL installer while the existing Visual COBOL is still in this state?

If it will, try installing Visual COBOL from the installer and then immediately try uninstalling it again.

If these things don’t work you might try running the following from an administrative command prompt:

            wmic product where "name like '%%Visual COBOL%%'" call uninstall

Paul Richards
Participating Frequently
Jun 10, 2026 1:26 AM UTC

Chris

I am astounded. I originally ran the Repair option and received the error message  ‘Setup failed’, the error code was: 0x8007002 and ‘the system cannot find the file specified’ as previously reported and then subsequently failed to uninstall.

As you suggested I reran the Repair option and to my amazement the process finished with a successful message. I can now load VC having seen devenv.exe reappear in the C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE folder.

You may have more insight as to why this attempt succeeded and previous attempts failed. I am just relieved that I’ve got VS/VC back. Thanks Chris.