Question

Rename IE desktop shortcut in Win2k/XP w/ login script or GPO

Asked by: nprignano

Does anyone know how to change the name of the desktop shortcut to IE through an administrative measure (GPO, script)?

I would assume it is in the reigistry somewhere??


Need this ASAP (if possible :)

TIA

This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Asked On
2006-06-30 at 23:41:27ID21905543
Tags

shortcut

,

desktop

Topic

Operating Systems Miscellaneous

Participating Experts
5
Points
500
Comments
8

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

  • "The time we save is the biggest benefit of Experts Exchange to Warner Bros. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange." Mike Kapnisakis, Warner Bros.
  • "Our team likes having a resource that is more secure than just using Google and most experts using this service really know their stuff. It's nice to look here first versus using Google." Dayna Sellner, Lockheed Martin
  • "Anytime that I've been stumped with a problem, 9 out of 10 times Experts Exchange has either the accepted solution or an open discussion of the potential solution to the problem." Kenny Red, eBay Inc.

See what Experts Exchange can do for you.

Got a question?

We've got the answer.

Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.

Screenshot of Experts Exchange Knowledgebase

Need individual assistance?

Our experts are ready to help.

If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.

Screenshot of Experts Exchange Knowledgebase

Want to learn from the best?

Read articles from industry experts.

Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.

Screenshot of an Article

Working on a long term project?

Store your work and research.

Save solutions to your questions, answers you’ve discovered through searching plus helpful articles in your personal knowledgebase for easy future access.

Screenshot of Experts Exchange Knowledgebase

Access the answers to your technology questions today.

Subscribe Now

30-day free trial. Register in 60 seconds.

What Makes Experts Exchange Unique?

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Trusted by the world's most respected brands.

image of each brand's logo

Faithfully serving IT professionals since 1996.

Experts Exchange Logo

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

Related Solutions

  1. Shortcut via GPO?
    Can I use a GPO to assign a shortcut to a shared network drive on the desktop of all workstations or users in an OU?
  2. Best source for GPO shortcuts
    There has to be a "GREAT" source on the net for finding GPO built-in shortcuts. Such as "Remove all instances of I.E. from a user". I'm new to GPO, however, I understand how to use it, I just can't always find the built-in shortcut I'm looking for. Than...
  3. GPO that copies Internet shortcut to allusers desktop via VB…
    I a trying to put shortcuts on allusers desktop via a VBScript. I am launching this script from a GPO User Configuration\Administrative Templates\System\Logon\Run these programs at user logon. Items to run at logon \\Server\Share\Copyshortcuts.vbs I am getting a Windows Sc...
  4. How to create a shortcut for a Group Policy GPO in Server …
    I created a Group Policy and implemented it successfully. I now want a How to create a shortcut for that Group Policy GPO on the Domain Controller's(Windows 2000 Server) Desktop. I already googles it but I might be searching the wrong key words. Pls advise. Thx.
  5. Shortcut to traverse desktop shortcut
    Firstly thankyou everyone who replies to this post. This may sound a bit funny but what I am trying to achieve is the following: I have redirected desktops via GPO. The desktops and all the icons that have been selected to be on the desktop (each dept has their own des...
  6. Getting Server 2008 GPO to Creating Desktop Shortcut.
    Creating GPO for server 2008. I know it applies other GPO settings for the users however the desktop icons aren't creating. trying to create "Shortcut to H:\file.exe" on the desktop however it doesn't ever show. The mapped drive, printers, system variables all come ...

Free Tech Articles

  1. WARNING: 5 Reasons why you should NEVER fix a computer for free.
    It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul. W...
  2. SCCM OSD Basic troubleshooting
    SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispe...
  3. Migrate Small Business Server 2003 to Exchange 2010 and Windows 2008 R2
    This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Windows 2008 R2 with Exchange 2010. For this migration to work you will need the fo...
  4. Create a Win7 Gadget
    This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista. Gadgets can be dropped anywhere on the desktop to provide instant information, ...
  5. Outlook continually prompting for username and password
    There have been a lot of questions recently regarding Outlook prompting for a username and password whilst using Exchange 2007. There are a few reasons why this would happen and I will try to cover t...
  6. Backup Exchange 2010 Information Store using Windows Backup
    There seems to be quite a lot of confusion around the ability to backup Exchange 2010 using the built in Windows Backup feature. This stems from the omission of this feature prior to Exchange 2007 s...

Cloud Class Webinars

  1. Avoiding Bugs in Microsoft Access
    Alison Balter takes and in-depth look at avoiding bugs in Access. In this webinar you will learn about using the immediate window to debug your applications, invoking the debugger, using breakpoints to troubleshoot, stepping through code, setting the next statement to execute, ...
  2. Top 10 Best New Features in Visio 2010
    Scott Helmers gives live demonstrations of the top 10 new features in Visio 2010. This webinar will teach you how to create compelling diagrams by adding shapes to the page with a single click, linking the shapes in a diagram to data in Excel (or SQL Server, or SharePoint), ...
  3. IT Consultant Business Secrets Revealed
    Michael Munger, Experts Exchange tech pro and IT consultant, pulls back the curtain on his very successful businesses and answers question on every IT consultant and business owner should know about. He shares secrets on what he did to solve the 5 most common problems in IT, ...
  4. Disaster Recovery and Business Continuity
    Quest CTO, Mike Billon, gives an overview of the steps involved in building a dunamic disaster recovery plan. Through case studies and an examination of software/hardware tooles for monitoring and testing, you'll gain a better understandin of where you are, where you want ...
  5. Organize Your Visio Diagrams with Containers and Lists
    Scott Helmers uses cross functional flowcharts, wireframe diagrams, data graphic legends and seating charts to teach you: how to ustilize all three new structured diagram components in Visio 2010, the best practices for organizeing shapes in previous version of Visio, how to organize ...
  6. How to Us Objects, Properties, Events and Methods in Microsoft Access
    Alison Dalter gives an in-depbth look at objects, properties, events and methods in Microsoft Access. In this webinar you will learn about using the object browser, referring to objects, working with properties and methods, working with object variables, understanding the ...

Join the Community

Give a Little. Get a Lot.

Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.

Join the Community

Answers

 

by: MeretePosted on 2006-07-01 at 01:56:04ID: 17023022

why make it so hard just r/click it and rename it.
I dont think its possible if it is its too hard to assign renaming the IE shortcut in a GPO to other clients as it is only a shortcut.
I think just create a new shortcut rename it and share this if possible.
Sounds pretty strange if you ask me do you have permission to do this.

 

by: herbusPosted on 2006-07-01 at 02:14:49ID: 17023156

Soz if this doesn't do the trick,.. I haven't got a system nearby with the IE shortcut still there so couldn't check... it seems obvious, so maybe it won't work, but if it's useless then I probably haven't wasted much of your time :)

Can you not set a script to rename the shortcut found in C:\Documents and Settings\All Users\Desktop ?  If it's a login script the user would need to be local admin or power user to change an all-users item... either that or use task scheduler to run a bat file to change it and run the task under an admin account...

Cheers,
Herb

 

by: engineer_dellPosted on 2006-07-01 at 02:36:29ID: 17023252

Hello,
Your question is not very clear to me, basically what you want to do ? Do you want to change shortcut name "shortcut to Internet Explorer" to something else by a gpo or script? or You want to hide IE icon from the desktop ?

Here you can control IE behaviours and settings for your users by GPO >
User Configuration | Windows Settings | Internet Explorer Maintenance
User Configuration | Administrative Templates | Windows Components | Internet Explorer

http://rcpmag.com/features/article.aspx?editorialsid=520
http://www.securitydocs.com/library/3198/3

To hide IE icon from the desktop >
User Key: [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
System Key: [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
CreateValue Name: NoInternetIcon > Data Type: REG_DWORD (DWORD Value) > Value Data: (0 = disabled, 1 = enabled)

Regards,
Engineer_Dell

 

by: engineer_dellPosted on 2006-07-01 at 02:57:53ID: 17023396

And if you want to hide IE shortcuts from everywhere I mean from desktop, Program Menu and where ever
else they may be. Then try this,

Windows 2000:
"%SystemRoot%\system32\rundll32.exe"
"%SystemRoot%\system32\shell32.dll",OCInstall HideIE (There is a space between the "" "" ...rundll32.exe" "%SystemRoot%\...)

Windows XP:
"%SystemRoot%\System32\shmgrate.exe" OCInstallHideIE

To show the icons again change HideIE to ShowIE

Hope this helps,
Engineer_Dell

 

by: SystmProgPosted on 2006-07-01 at 04:00:38ID: 17023491

I was about to Publish this article at MS Support site :) before I publish there please have a look at this - you just need this article:

NOTE: In below example you can rename IE Shortcut and then create MSI. This MSI will be deployed using Group Policy or run it on all computers centrally using PSEXEC tool from www.sysinternals.com.

***
Deploying Windows Components Configuration and Application-Specific Configuration using Group Policy – Software Installation snap-in or manually

Some windows settings such as Power Options, Control Panel applets configuration, system configuration, hardware configuration etc are not so easy to deploy from Group Policy – software installation snap-in.

Let’s say you want to change Power Options configuration on more than 100 computers in your network. Manual process includes more human-power and this would take more than two days if you work 12 hours a day to deploy these settings because there is no such setting in Group Policy for Power Options.

WinInstLE is your answer!

M$ supplies Windows 2000 CD with valuable third party tools. If you have idea I am talking about VALUEADDED folder on the CD. You will find a utility called "WinInstLE". This utility is provided as a free tool to convert EXE packages to MSI. This is not the only purpose of this tool. You can also use this tool to create a MSI of Configuration Sets.

What you can do you can deploy these settings using Group Policy. You only need to create an MSI package for this configuration. For this purpose we will be using WinInstLE.

WinInstLE can be used to do the following:

1.      To create a MSI package.
2.      To know the registry settings updated by an application or Windows Components.
3.      To know the files installed by an application or Windows Components.
4.      You need to deploy settings changed by an application to all computers.
5.      Application update is ready but you need to install them on more than 1 computer.

For example, I will be using three configurations here:

1.      I have already deployed an application on more than 450 computers in my network and I need to update this application’s DLL files using regsvr32.exe command. Vendor of this application has supplied me the DLL (Application Modules) to update this application and with an instructions note given by him.

2.      Another configuration I need to make is to change Power Options as follows:
            On Power Schemes tab I need to change the followings for                   all computers
                  Power Schemes: Portable/Laptop
            And on the Hibernate tab
                  Enable Hibernation

3. An application running on my network requires a change in configuration but manufacturer hasn’t supplied the registry settings for this change. I also don’t know the registry keys.

You need to take above three actions on all computers.

This is how you do it using WinInstLE

WinInstLE can be found on Windows 2000 CD at
\VALUEADDED\3RDPARTY\MGMT\WINSINTLE

You need a workstation/computer a workstation running the application for which you want to change the configuration.

Now create the MSI:

1. First you need to install the WinInstLE software from above folder from Windows 2000 CD.

WinInstLE software has two parts: Before Snapshot and After Snapshot.

Before Snapshot will take a snapshot of your system before you make any changes to system or install any application. After snapshot will record the changes you made or changed by an application you installed after running before snapshot.

Steps: -

1. Go to a client machine.

2. Install WININSTLE.

3. Run Before Snapshot.

4. At this stage it will ask you to run an application. Do not run anything here and skip the step or quit from here.

5. Now make necessary changes to your client machine you want to deploy through Group Policy

For my configuration I will make changes as necessary:
1.      for case 1:
a.      Insert DLL CD supplied by vendor
b.      Create a folder named C:\AppDLL on this computer
c.      Copy DLLs from CD to C:\AppDLL.
d.      Create a batch file named appdll.bat
e.      Put the commands in this batch file:
      Regsvr32.exe /s c:\AppDll\dll1
      Regsvr32.exe /s c:\AppDll\dll2
      Regsvr32.exe /s c:\AppDll\dll3
f.      Save this file.
g.      Run it from command prompt and all DLLs are registered successfully with this application.

2.      for case 2:
      a. I open up Control Panel > Power Options and make necessary       changes.

3.      for case 3:
      a. Run application > and make necessary changes you       want.

6. After making necessary changes in computer restart the system.

7. Now run WININSTLE and select *After Snapshot* option.

8. After Snapshot will record all the changes you made.

9. This MSI file will be saved in the location or path you specified while *Before Snapshot*.

10. Now you deploy this MSI file or you can say "Configuration Sets" using Software Installation snap-in in Group Policy.

This MSI package will let you set the configuration: -

_For all users
_For selected user’s
_For groups (using filtering in Group Policy)

When Win logon processes GPOs it will gather all the information supplied in MSI package and deploy (copy batch file, register them, set application configuration) them on all computers.

Deploying configuration manually if you don’t have domain security model implemented

Let’s say you don’t have Domain Security model implemented in your environment and you want to implement these settings using a batch file. You can use the PSEXEC tool from www.sysinternals.com to do so.

NOTE: -

Microsoft Windows Operating System makes changes (for few Windows components) to its big repository----the REGISTRY.

Let us know.

SystmProg

 

by: furruniPosted on 2006-07-01 at 07:58:23ID: 17024012

Hi,

I found a registry value with the Internet Explorer shortcut name.
The registry value is the following:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\CLSID\{871C5380-42A0-1069-A2EA-08002B30309D}

You can use this script to change the value to the "suggestedName" value on each computer. You can run this in the logon script of every user and that will change all the I.E. shortcuts name:

const HKEY_CURRENT_USER = &H80000001
const HKEY_LOCAL_MACHINE = &H80000002

strComputer = "."
suggestedName = "My own name"
Set StdOut = WScript.StdOut

Set oReg=GetObject("winmgmts:{impersonationLevel=impersonate}!\\" & strComputer & "\root\default:StdRegProv")
 
strKeyPath = "SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CLSID\{871C5380-42A0-1069-A2EA-08002B30309D}"
strValueName = ""
oReg.GetExpandedStringValue HKEY_CURRENT_USER,strKeyPath,strValueName,strValue

Wscript.echo "You had " & strValue

oReg.SetExpandedStringValue HKEY_CURRENT_USER,strKeyPath,strValueName,suggestedName
oReg.GetExpandedStringValue HKEY_CURRENT_USER,strKeyPath,strValueName,strValue
Wscript.echo "Now you have " & strValue

I hope you find this solution useful.

Regards,

Rafael Calvo

 

by: nprignanoPosted on 2006-07-05 at 16:07:05ID: 17047064

Thank you all for your replies.   Since I answer questions on the site myself, I find it helpful when people reply to the experts suggestions, so here is how your info helped me:

merete - I was looking for a way to do this for 75 users without their or my interaction.  Sorry if I did not make that clear in my original post.

engineer_dell, thanks for the tips, especially the second one about hiding the icon from everywhere (could be fun if not useful).  I was more looking for how to rename the icon not hide it.

SystmProg - great article and great tips - very clear reading and detailed.  The process, however, is a little more involved than I was looking for - but great info none-the-less.

furruni - just what I was looking for.  I borrowed the logic from your example script and came up with this:

 

by: nprignanoPosted on 2006-07-05 at 16:07:56ID: 17047067

'Start of Code


'no errors should occur that we need to bypass unless something is really messed up
'On Error Resume Next

'halt on all errors
On Error Goto 0


'set some constants for ease of maintenance
Const cstrDesktopLink = "\\server\clientconfig\DesktopLink"

Dim strUserName, strComputerName,  strLocation, strClientName
Dim WSHNetwork
Dim jhts, debug

'set to 1 to display debugging info, 0 if not
debug = 0

'create a newline string
Dim CRLF
CRLF = Chr(13) & Chr(10)

Set Sh = CreateObject("WScript.Shell")
Set WSHNetwork = WScript.CreateObject("WScript.Network")
Set objArgs = WScript.Arguments


strclientname = Sh.ExpandEnvironmentStrings("%CLIENTNAME%")


'these are some common variables used throughout
strUserName = WSHNetwork.UserName
strComputerName = WSHNetwork.ComputerName

'get the computer name of the client computer.  due to limitations within vbscript
'the workaround is to pass the clientname to the script using parameter
'%CLIENTNAME%.  this is then accessed with the next line



'if strclientname = "Console" then '"%CLIENTNAME%" then  ''Means that the use is NOT logged into TS and the local computer name has not been applied
'      strclientname= strcomputername

'end if

'if strclientname = "%CLIENTNAME%" then  ''Means that the use is NOT logged into TS and the local computer name has not been applied
'      strclientname= strcomputername

'end if



'used for debugging
if debug = 1 then
      msgbox "Terminal Server: " & cstrTerminalServer & CRLF & _
             "User Name: " & strUserName & CRLF & _
             "Computer Name: " & strComputerName & CRLF & _
             "Client Name: " & strClientName
end if



'*****This is the start of the sub routine calls*****


DesktopLink jhts      


if debug = 1 then msgbox "End Script"

'End Main Program Code



'*****This is the Function Code definition for some parts of the script*****


'Begin Function Code

Function IsMember(sGroup)
    Dim sAdsPath, oUser, oGroup

    If IsEmpty(oGroupDict) Then
        Set oGroupDict = CreateObject("Scripting.Dictionary")
        oGroupDict.CompareMode = vbTextCompare

        sAdsPath  = WSHNetwork.UserDomain & "/" & WSHNetwork.UserName
        Set oUser = GetObject("WinNT://" & sAdsPath & ",user")

        For Each oGroup In oUser.Groups
            oGroupDict.Add oGroup.Name, "-"
        Next

        Set oUser = Nothing
    End If

    IsMember = CBool(oGroupDict.Exists(sGroup))

End Function



'*****This is the Sub Routines definitions for some parts of the script*****


Sub DesktopLink(jhts)
      'Create Desktop and Start Menu items

      'Copy Program Icons
      dim wshshell
      set WshShell = WScript.CreateObject("WScript.Shell")
      
      Dim FSO
      Set FSO = CreateObject("Scripting.FileSystemObject")


      If IsMember("Domain Users") Then

            'copy desktop icons
            FSO.CopyFolder cstrDesktopLink, "C:\Documents and Settings\" & strUserName & "\Desktop"

      End If

End Sub




It works like a charm.  Probably would be a lot slimmer by doing it with KIX instead of vbs - but it works :)


nprignano

20120131-EE-VQP-002

3 Ways to Join

30-Day Free Trial

The Experts

98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Develoment.

He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

The Experts

97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

The six-time Mircosoft MVPs specialties include firewalls, virtual private networking, and network management.

Testimonials

"...and excellent source for support... Kind of like having your very own IT dept." Electriciansnet

Testimonials

"I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

Testimonials

"WOW! You guys have great, active, and knowledgeable people on here." moore50

Business Clients

Business Clients

In the Press

"If you’ve got a question... Experts Exchange can supply an answer.”

In the Press

"...an invaluable aid for both IT professionals and those who require tech support."

In the Press

"where IT professionals provide quick answers on just about any topic"

Business Account Plans

Loading Advertisement...