| Windows 7: Remove IE8 Shortcut From Start menu |
03 Aug 2010
|
#1 | | Windows 7 Enterprise Auckland |
Remove IE8 Shortcut From Start menu Hi guys,
In our Windows 7 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 System Specs |
| OS Windows 7 Enterprise CPU Intel Pentium Dual E2200 @2.2GHz Motherboard Gigabyte II-G31 Memory 4GB Graphics Card Palit GForce 9500GT 1GB Sound Card onBoard Mouse Logitech MX518 PSU 450W Case CoolerMaster CM690 Cooling Corsair H50 Hard Drives WesternDigital: 250GB + 1TB + 1TB + 2TB |
04 Aug 2010
|
#2 | | Windows 7 Enterprise Trial 32-bit SP1 |
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 System Specs | | System Manufacturer/Model Number OQO 2+ OS Windows 7 Enterprise Trial 32-bit SP1 CPU Intel Atom 1.86 GHz Motherboard OQO 2+ Memory 2 GB Graphics Card Intel GMA 500 Sound Card IDT Monitor(s) Displays LCD Screen Resolution 800 x 480 (portable) 1280 x 1024 (docked) Keyboard Slide out (portable) DiNovo Edge (docked) Mouse Eraser head (portable) Logitech Bluetooth (docked) PSU 9 Ah Battery (portable) or OQO Brick (docked) Case Shirt Pocket Sized Cooling Tiny Fan Hard Drives 64 GB SSD Internet Speed WWAN or 802.11G (portable) T1 (docked) Other Info DVD-RW OQO Docking Station |
04 Aug 2010
|
#3 | | Windows 7 Enterprise Auckland |
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 System Specs | | OS Windows 7 Enterprise CPU Intel Pentium Dual E2200 @2.2GHz Motherboard Gigabyte II-G31 Memory 4GB Graphics Card Palit GForce 9500GT 1GB Sound Card onBoard Mouse Logitech MX518 PSU 450W Case CoolerMaster CM690 Cooling Corsair H50 Hard Drives WesternDigital: 250GB + 1TB + 1TB + 2TB |
05 Aug 2010
|
#4 | | Windows 7 Enterprise Trial 32-bit SP1 |
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 System Specs | | System Manufacturer/Model Number OQO 2+ OS Windows 7 Enterprise Trial 32-bit SP1 CPU Intel Atom 1.86 GHz Motherboard OQO 2+ Memory 2 GB Graphics Card Intel GMA 500 Sound Card IDT Monitor(s) Displays LCD Screen Resolution 800 x 480 (portable) 1280 x 1024 (docked) Keyboard Slide out (portable) DiNovo Edge (docked) Mouse Eraser head (portable) Logitech Bluetooth (docked) PSU 9 Ah Battery (portable) or OQO Brick (docked) Case Shirt Pocket Sized Cooling Tiny Fan Hard Drives 64 GB SSD Internet Speed WWAN or 802.11G (portable) T1 (docked) Other Info DVD-RW OQO Docking Station |
05 Aug 2010
|
#5 | | Windows 7 Ultimate x64 + x86 + Windows 8 x64 Newport, South Wales, UK |
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 Windows 7 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 System Specs | | Computer type PC/Desktop System Manufacturer/Model Number Real World Computing (Me + a little help from Acer) OS Windows 7 Ultimate x64 + x86 + Windows 8 x64 CPU AMD Phenom II X6 1035T 2.6 GHz Motherboard Aspire M3400 Memory 4Gb PC10600 DDR3 1333 MHz Graphics Card NVIDIA GeForce 315 512MB Sound Card OnBoard - Realtek High Definition Audio Monitor(s) Displays Philips 32" HDTV, (HDMI) + 26" TV (VGA) Screen Resolution 1920 x 1080 @60Hz + 1360 x 768 @60Hz Keyboard Microsoft Wireless 800 or Stock Acer, (depends where I sit) Mouse Microsoft Wireless 800 or Stock Acer, (depends where I sit) PSU Stock (400W) Case Acer M3400 Cooling Stock Hard Drives 500 GB Seagate ST3500418AS SATA II
1 TB Hitachi HDS5C1010CLA382 SATAII
1 TB Samsung Spinpoint F1 HD103SI SATA II (external)
Plus various other (client ) HDDs as needed Internet Speed Temporaray 3G Dongle Antivirus Avast Browser Chrome Other Info USB Capture + Webcam(s) Bamboo Digitizer tablet
Also run Acer AspireOne 530h Netbook, Dual Core Atom + 1GB (Win7 Ult x86) Plus various test systems for new projects |
05 Aug 2010
|
#6 | | Windows 7 Enterprise Auckland |
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 System Specs | | OS Windows 7 Enterprise CPU Intel Pentium Dual E2200 @2.2GHz Motherboard Gigabyte II-G31 Memory 4GB Graphics Card Palit GForce 9500GT 1GB Sound Card onBoard Mouse Logitech MX518 PSU 450W Case CoolerMaster CM690 Cooling Corsair H50 Hard Drives WesternDigital: 250GB + 1TB + 1TB + 2TB |
05 Aug 2010
|
#7 | | Windows 7 Ultimate x64 + x86 + Windows 8 x64 Newport, South Wales, UK |

Quote: Originally Posted by xarden 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 System Specs | | Computer type PC/Desktop System Manufacturer/Model Number Real World Computing (Me + a little help from Acer) OS Windows 7 Ultimate x64 + x86 + Windows 8 x64 CPU AMD Phenom II X6 1035T 2.6 GHz Motherboard Aspire M3400 Memory 4Gb PC10600 DDR3 1333 MHz Graphics Card NVIDIA GeForce 315 512MB Sound Card OnBoard - Realtek High Definition Audio Monitor(s) Displays Philips 32" HDTV, (HDMI) + 26" TV (VGA) Screen Resolution 1920 x 1080 @60Hz + 1360 x 768 @60Hz Keyboard Microsoft Wireless 800 or Stock Acer, (depends where I sit) Mouse Microsoft Wireless 800 or Stock Acer, (depends where I sit) PSU Stock (400W) Case Acer M3400 Cooling Stock Hard Drives 500 GB Seagate ST3500418AS SATA II
1 TB Hitachi HDS5C1010CLA382 SATAII
1 TB Samsung Spinpoint F1 HD103SI SATA II (external)
Plus various other (client ) HDDs as needed Internet Speed Temporaray 3G Dongle Antivirus Avast Browser Chrome Other Info USB Capture + Webcam(s) Bamboo Digitizer tablet
Also run Acer AspireOne 530h Netbook, Dual Core Atom + 1GB (Win7 Ult x86) Plus various test systems for new projects |
09 Aug 2010
|
#8 | | Windows 7 Enterprise Auckland |
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 System Specs | | OS Windows 7 Enterprise CPU Intel Pentium Dual E2200 @2.2GHz Motherboard Gigabyte II-G31 Memory 4GB Graphics Card Palit GForce 9500GT 1GB Sound Card onBoard Mouse Logitech MX518 PSU 450W Case CoolerMaster CM690 Cooling Corsair H50 Hard Drives WesternDigital: 250GB + 1TB + 1TB + 2TB |
12 Aug 2010
|
#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 System Specs | | |
12 Aug 2010
|
#10 | | Windows 7 Enterprise Auckland |
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. | My System Specs | | OS Windows 7 Enterprise CPU Intel Pentium Dual E2200 @2.2GHz Motherboard Gigabyte II-G31 Memory 4GB Graphics Card Palit GForce 9500GT 1GB Sound Card onBoard Mouse Logitech MX518 PSU 450W Case CoolerMaster CM690 Cooling Corsair H50 Hard Drives WesternDigital: 250GB + 1TB + 1TB + 2TB Remove IE8 Shortcut From Start menu problems? All times are GMT -5. The time now is 06:54 PM. | |