Remove IE8 Shortcut From Start menu

Page 1 of 2 12 LastLast

  1. Posts : 966
    Windows 7 Enterprise
       #1

    Remove IE8 Shortcut From Start menu


    Hi guys,

    In our Win7 image we have 2-3 browsers installed. IE8 & FF, and Chrome if requested.
    So to keep things tidy, I've got a folder called browsers in the All Users start menu, and dumped the shortcuts into there.

    However, after sysprep, IE8 recreates its shortcuts (IE & IE64bit) in the Users start>programs folder.

    I dont want it to do this.

    There are only 2 local accounts, 'administrator' and 'default'
    I've removed the shortcuts from the both of those profiles, so it shouldnt be getting picked up from either of there.

    Am I missing something?
    How do I prevent it from recreating those shortcuts?
    ...
    On a similar note, but outside this scope, its also happening with our ZenWorks shortcuts. These too have been moved from the above profiles and into a subfolder 'utilities', but after sysprep its back in both the programs and utilities folders.
    Not sure if its related to the IE problem, but its the same nonetheless.

    Cheers,
      My Computer


  2. Posts : 2,066
    Windows 8 Pro w/MC 32-bit
       #2

    What is "sysprep"? If you mean after boot up, try start/run msconfig and look at the startup tab. There is info there as to what starts up at boot and where it starts from. You could initially uncheck all items in the "startup" tab just to see if that cures the problem. If it does then try to guess which is the culprit.
      My Computer


  3. Posts : 966
    Windows 7 Enterprise
    Thread Starter
       #3

    Sysprep is a tool that strips the OS of any and all hardware ID's, so that you can move that harddrive, or take an image of it, and use it in another machine and windows will still work. Its used for creating a master image of windows, then deploying that to a large number of PC's in a corporate, or educational evironment. We have about 6000 here.

    Almost forgot about msconfig...
    Nothing in there that was useful to this problem, though.
      My Computer


  4. Posts : 2,066
    Windows 8 Pro w/MC 32-bit
       #4

    Perhaps Microsoft allows sysprep to be used but only under the condition that certain parts of Windows are preserved. Why not just find and fix the shortcut problem after sysprep (possibly with the help of msconfig) and then add any additional customizations followed by the duplication. (Maybe that's not allowed either but it seems to me most venders manage to customize and then duplicate.)
      My Computer


  5. Posts : 31,242
    Windows 11 Pro x64 [Latest Release and Release Preview]
       #5

    This could be related to the hidden default user which is referenced when creating a user first run, (Preparing your desktop ... Prompt). check your image for items under "users\default" and "users\default user" in the applicable "appdata\roaming\start" tree area..

    This "user" may be useful in setting what any new user will have available should they be created after your initial two

    All these areas are hidden by default

    Have not worked with this on win7 installs but it should follow the accepted practice.

    If not you may need to use a GPO or distributed script to clean-up post install
      My Computers


  6. Posts : 966
    Windows 7 Enterprise
    Thread Starter
       #6

    Thanks for the suggestion Nigel,
    Plan A:
    Went through the default user profile, and moved the all the contents of startmenu into the 'all users' start menu which is buried in c:\programdata.
    Did the same for the admin account too, all except the admin tools.
    I'l be doing the build and imaging tonight, so will find out on monday if it works.

    Plan B:
    Script a cleanup tool, and run it during the final phase of setup
    Plan C:
    Script a cleanup tool, and run it by GPO at machine level (Before login)
    Plan D:
    Script a cleanup tool, and run it by GPO at a User level (Post login)
    Plan E:
    Leave it.
      My Computer


  7. Posts : 31,242
    Windows 11 Pro x64 [Latest Release and Release Preview]
       #7

    xarden said:
    Thanks for the suggestion Nigel,
    Plan A:
    Went through the default user profile, and moved the all the contents of startmenu into the 'all users' start menu which is buried in c:\programdata.
    Did the same for the admin account too, all except the admin tools.
    I'l be doing the build and imaging tonight, so will find out on monday if it works.

    Plan B:
    Script a cleanup tool, and run it during the final phase of setup
    Plan C:
    Script a cleanup tool, and run it by GPO at machine level (Before login)
    Plan D:
    Script a cleanup tool, and run it by GPO at a User level (Post login)
    Plan E:
    Leave it.
    I wonder how many project reports actually show "Plan E" as the original choice when it gets to the final draft

    Hopefully you'll never get to that stage here - looks like you have a good A - D plan

    Good luck :)
      My Computers


  8. Posts : 966
    Windows 7 Enterprise
    Thread Starter
       #8

    Bit of testing done yesterday, looks like they replicate at a user level.
    So I'l be going with my option D, to run a script at logon.

    Furthermore, another issue I found were the pinned items on the startmenu and taskbar were not appearing.
    They were present in the C:\Users\...\QuickLaunch\User Pinned\StartMenu in both User and Default profiles, but they just weren't showing up.
    A remedy for this was, in the same cleanup script, to remove the links from those folders, and invoke the verbs 'Pin to Start Men&u' and 'Pin to Tas&kBar' on the target items instead.
    The taskbar one doesn't work but start menu does. I don't know why just yet...
      My Computer


  9. Posts : 42
    7
       #9

    xarden, Did you manage to get a script working to remove the Internet Explorer (no add-ins) item from being created for every user? If so, any chance of you listing it here?

    Cheers,
    sharpy
      My Computer


  10. Posts : 966
    Windows 7 Enterprise
    Thread Starter
       #10

    Hi Sharpy,
    Its the remove shortcut script is basically simple. Its only a .cmd file that runs the del command to delete the items.
    SF wont let me upload the .cmd but the code itself is:
    Code:
    del /F /Q "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Windows Media Player.lnk"
    del /F /Q "C:\Users\%USERNAME%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Internet Explorer.lnk"
    del /F /Q "C:\Users\%USERNAME%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Internet Explorer (64-bit).lnk"
    As you can see, the WMP is in all users, so I get the error 'Access Denied' when running from a domain user.
    You will just need to add/replace the file path from the above and point it to the startmenu link.

    As for the pin to start menu script, its also rather simple. Full script attached (pin.vbs). Partial script:
    Code:
    Set objShell = createobject("Shell.application")
    Set objFolder = objShell.Namespace("C:\IT\Shortcuts\")
    
    REM INTERNET EXPLORER -------------------------------------------------------------
    set objFolderItem = objFolder.ParseName("Internet Explorer.lnk")
    for Each objVerb in objFolderItem.Verbs
    	'wscript.echo objVerb
    	if objVerb.name = "Pin to Start Men&u" Then objVerb.DoIt
    	if objVerb.name = "Pin to Tas&kBar" then objVerb.DoIt
    next
    The shortcuts themselves are in the C:\IT\Shortcuts folder.
    Remove IE8 Shortcut From Start menu Attached Files
      My Computer


 
Page 1 of 2 12 LastLast

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 03:46.
Find Us