Jump to content

Delete Internet Explorer from QuickLaunch


Recommended Posts

Thanks kyuuzo :)

I have this :

RunOnceEx.cmd

cmdow @ /HID
@echo off
SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx

REG ADD %KEY% /V TITLE /D "Configuration des logiciels" /f

REG ADD %KEY%\045 /VE /D "MSN Messenger 6.2" /f
REG ADD %KEY%\045 /V 1 /D "%systemdrive%\Install\Messenger62\MsnMsgs.msi /qb" /f

REG ADD %KEY%\046 /VE /D "MSN Messenger Plus! 3.20" /f
REG ADD %KEY%\046 /V 1 /D "%systemdrive%\Install\MsgPlus320\MsgPlus-320.exe /SilentInstallNoSponsor" /f
REG ADD %KEY%\046 /V 2 /D "pskill.exe MsgPlus.exe" /f
REG ADD %KEY%\046 /V 3 /D "pskill.exe msnmsgr.exe" /f
REG ADD %KEY%\046 /V 4 /D "REGEDIT /S %systemdrive%\Install\MsgPlus320\MsgPlusoff.reg"
REG ADD %KEY%\046 /V 5 /D "REGEDIT /S %systemdrive%\Install\MsgPlus320\msgplusfr.reg"

REG ADD %KEY%\048 /VE /D "WinRAR 3.40 Fr" /f
REG ADD %KEY%\048 /V 1 /D "%systemdrive%\Install\Winrar\Winrarfr.exe /s /W" /f

REG ADD %KEY%\049 /VE /D "Tag&Rename 3.1.5" /f
REG ADD %KEY%\049 /V 1 /D "%systemdrive%\Install\Tag&Rename315\TagRename315.exe /VERYSILENT /SP- /NORESTART" /f
REG ADD %KEY%\049 /V 2 /D "TASKKILL.exe /F /IM TagRename.exe" /f

REG ADD %KEY%\060 /VE /D "Windows Media Player 10" /f
REG ADD %KEY%\060 /V 1 /D "%systemdrive%\Install\WMP10\MP10Setup.exe /q:A /c:\"setup_wm.exe /Q /R:N

/DisallowSystemRestore\"" /f

REG ADD %KEY%\076 /VE /D "Redemarrer L'Ordinateur" /f
REG ADD %KEY%\076 /V 1 /D "%systemdrive%\Install\cleanup.cmd" /f
REG ADD %KEY%\076 /V 2 /D "%systemdrive%\install\extracleanup.cmd" /f

EXIT

cleanup.cmd

cmdow @ /HID
shutdown.exe -r -f -t 0 -c "Windows XP aller redémarrer dans 10 secondes..."
net user aspnet /delete

RD /S /Q "%AllUsersProfile%\Start Menu\Programs\PrintMe Internet Printing"
RD /S /Q "%AllUsersProfile%\Start Menu\Programs\Java Web Start"

DEL "%systemroot%\*.bmp"
DEL "%systemroot%\Web\Wallpaper\*.jpg"
DEL "%systemroot%\system32\dllcache\*.scr"
DEL "%systemroot%\system32\*.scr"

DEL "%AllUsersProfile%\Start Menu\Windows Update.lnk"
DEL "%AllUsersProfile%\Start Menu\Set Program Access and Defaults.lnk"
DEL "%AllUsersProfile%\Start Menu\Windows Catalog.lnk"

DEL "%UserProfile%\Start Menu\Programs\Windows Media Player.lnk"
DEL "%AllUsersProfile%\Start Menu\Programs\Windows Movie Maker.lnk"
DEL "%AllUsersProfile%\Start Menu\Programs\Adobe Reader 6.0.lnk"

DEL "%UserProfile%\Desktop\Flashget.lnk"
DEL "%AllUsersProfile%\Desktop\Java Web Start.lnk"
DEL "%AllUsersProfile%\Desktop\Adobe Reader 6.0.lnk"
DEL "%AllUsersProfile%\Desktop\Alcohol 120%.lnk"

RD /S /Q "%systemroot%\Cache\Adobe Reader 6\"
RD /S /Q %systemdrive%\drivers\
RD /S /Q %systemdrive%\instal\

EXIT

extracleanup.cmd

cmdow @ /HID
shutdown.exe -r -f -t 10 -c "Windows XP aller redémarrer dans 10 secondes..."

SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx

REG ADD %KEY%\002 /VE /D "Cleaning Up and Rebooting" /f
DEL /Q "%appdata%\Microsoft\Internet Explorer\Quick Launch\Launch Internet Explorer Browser.lnk"

EXIT

It's ok like this or is something wrong?

Thanks

Irving

Link to comment
Share on other sites


  • 4 weeks later...

I was fighting a lot with the stupid IE icon on the QuickLaunch bar. Now I thing this will not be an issue any more. I use %systemroot%\system32\shmgrate OCInstallHideIE to hide all IE Icons everywhere. This does hide the IE icon for all user profiles.

In my $OEM$\$docs\Default User\Application Data\Microsoft\Internet Explorer\Quick Launch folder, I drop all links I need. Thats it.

If you want to reverse, you just run

%systemroot%\system32\shmgrate OCInstallShowIE on the command line and you,ll see it again.

You can do the same with Outlook Express:

%systemroot%\system32\shmgrate OCInstallHideOE

Link to comment
Share on other sites

@chimborazo

WOW! :thumbup

This is imho doubtlessly the best and most elegant solution fot this stupid problem! :)

By the way I found out that shmgrate seems to do the same as:

rundll32.exe shell32.dll,OCInstall HideOE

... just in case somebody is interested.

Link to comment
Share on other sites

All I do is just add it to very last thing in cleanup.cmd since time is long enough the desktop is loaded and my own Quicklaunch, so

DEL "%USERPROFILE%\Application Data\Microsoft\Internet Explorer\Quick Launch\Launch Internet Explorer Browser.lnk"

I do notice in buletov as mine also that we add the %USERPROFILE%, wonder if that's the key?

chimborazo

BTW that's good to know.

Link to comment
Share on other sites

All I do is just add it to very last thing in cleanup.cmd since time is long enough the desktop is loaded and my own Quicklaunch, so

DEL "%USERPROFILE%\Application Data\Microsoft\Internet Explorer\Quick Launch\Launch Internet Explorer Browser.lnk"

I do notice in buletov as mine also  that we add the %USERPROFILE%, wonder if that's the key?

chimborazo

BTW that's good to know.

Well, you could even make it shorter by replacing your "%USERPROFILE%\Application Data" by "%AppData%". ;)

But I couldn't use your "method" since I install all my apps during T-12 and at that time there is no user account data created yet on the HDD, let alone QuickLaunch. And I don't want to add a tiny delete-batch for this thing only. *hehe*

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...