Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

script to delete IE 64bit shortcut

Posted on 2014-02-24
4
394 Views
Last Modified: 2014-03-10
I need to have a script I can push out to delete the IE 64 bit browser in Windows 7. Its in the c:\program files\internet explorer folder.

I tried using GPO in the Computer Config | Preferences | shorcuts section to delete it but it wont work.

Can someone give me the basic script to delete it completeley and not leave a unknown shortcut that doesnt point to anything. I can then push it using GPO or if you can help me get the GPO shortcuts to work that would be better. Thanks
0
Comment
Question by:Thomas N
4 Comments
 

Author Comment

by:Thomas N
ID: 39883781
I read you cant actually delete the 64 bit version. Is that correct? If not I just need something to delete the shortcut then.
0
 
LVL 32

Expert Comment

by:Robberbaron (robr)
ID: 39885224
but does the shortcut reside in the same place on each pc ?

is it in Public Desktop , Default  ?    

right click the shortcut, and check the Details tab,  will say something like C:\users\Public\...
0
 
LVL 9

Expert Comment

by:VirastaR
ID: 39885771
Hi,

Did you try this before?

Remove a Desktop Shortcut with VBS

Thanks
0
 
LVL 65

Accepted Solution

by:
RobSampson earned 500 total points
ID: 39893565
You should be able to run this script as a logon script:
Set objFSO = CreateObject("Scripting.FileSystemObject")
Set objShell = CreateObject("WScript.Shell")
On Error Resume Next
objFSO.DeleteFile objShell.ExpandEnvironmentStrings("APPDATA") & "\Microsoft\Windows\Start Menu\Programs\Internet Explorer (64-bit).lnk", True

Open in new window


Rob.
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Resolve DNS query failed errors for Exchange
Last week, our Skyport webinar on “How to secure your Active Directory” (https://www.experts-exchange.com/videos/5810/Webinar-Is-Your-Active-Directory-as-Secure-as-You-Think.html?cid=Gene_Skyport) provided 218 attendees with a step-by-step guide for…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

860 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question