Jump to content

How do you remove the links folder from Internet Explorer?


Recommended Posts

How do you guys remove the links folder? I've tried the registry tweaks and even used nlite to remove it, but it just won't work. I've asked for help in the past, but no one has been able to solve my problem. Is this folder impossible to remove?

Link to comment
Share on other sites


A winnt.sif with the proper switches will prevent 90% of the pre-installed links. The "media" links are part of the WMP installation inf.

Some details?

You could also create a nullfile called "Links" in your Favorites-Folder. No Program should be able to create the Links-Folder.

Some details please?

Link to comment
Share on other sites

You could also create a nullfile called "Links" in your Favorites-Folder. No Program should be able to create the Links-Folder.

Some details please?

Use this as your clean up command!
@ECHO OFF
FOR /F "DELIMS=" %%? IN (
'DIR/B/S/AD "%USERPROFILE%\.." ^|FINDSTR/LIE "FAVORITES\LINKS" 2^>NUL') DO (
IF ERRORLEVEL 0 (CALL :KILLIT "%%~dp?"))
GOTO :EOF
:KILLIT
PUSHD %1
RD/S/Q LINKS &&(>Links TYPE NUL &(ATTRIB +S +R +H LINKS))
POPD &GOTO :EOF

Link to comment
Share on other sites

You could also create a nullfile called "Links" in your Favorites-Folder. No Program should be able to create the Links-Folder.

Some details please?

Use this as your clean up command!
@ECHO OFF
FOR /F "DELIMS=" %%? IN (
  'DIR/B/S/AD "%USERPROFILE%\.." ^|FINDSTR/LIE "FAVORITES\LINKS" 2^>NUL') DO (
  IF ERRORLEVEL 0 (CALL :KILLIT "%%~dp?"))
GOTO :EOF
:KILLIT
PUSHD %1
RD/S/Q LINKS &&(>Links TYPE NUL &(ATTRIB +S +R +H LINKS))
POPD &GOTO :EOF

Do you mean place what you have typed into a cleanup.cmd file?

Link to comment
Share on other sites

You could also run this vbs script I have included a error message in it.

Dim Act : Set Act = CreateObject("Wscript.Shell")
Dim Flinks : Flinks = Act.ExpandEnvironmentStrings("%UserProfile%\Favorites\Links")
Dim Fso : Set Fso = CreateObject("Scripting.FileSystemObject")
If Fso.FolderExists(Flinks) Then
Fso.DeleteFolder(Flinks), True
Else
MsgBox "No Links Folder, Please Re-Run After You Have Log On" & vbCrLf &_
"You need the Desktop Loaded Once So The Folder is Made.", 0 + 48, "No Desktop Loaded"
End If

This vbs script will self delete it self after it has ran, if it ran from Systemdrive

I have made this script into a SFX file

Dim Act : Set Act = CreateObject("Wscript.Shell")
Dim Flinks : Flinks = Act.ExpandEnvironmentStrings("%UserProfile%\Favorites\Links")
Dim FlinkVBS : FlinkVBS = Act.ExpandEnvironmentStrings("%Systemdrive%\DeleteLinksV1.vbs")
Dim Fso : Set Fso = CreateObject("Scripting.FileSystemObject")
If Fso.FolderExists(Flinks) Then
Fso.DeleteFolder(Flinks), True
Else
MsgBox "No Links Folder, Please Re-Run After You Have Log On" & vbCrLf &_
"You need the Desktop Loaded Once So The Folder is Made.", 0 + 48, "No Desktop Loaded"
End If
If Fso.FileExists(FlinkVBS) Then Fso.DeleteFile(FlinkVBS) End If

This vbs script will just delete the folder with no error message and the VBS file.

Dim Act : Set Act = CreateObject("Wscript.Shell")
Dim Flinks : Flinks = Act.ExpandEnvironmentStrings("%UserProfile%\Favorites\Links")
Dim FlinkVBS : FlinkVBS = Act.ExpandEnvironmentStrings("%Systemdrive%\DeleteLinksV2.vbs")
Dim Fso : Set Fso = CreateObject("Scripting.FileSystemObject")
If Fso.FolderExists(Flinks) Then Fso.DeleteFolder(Flinks), True End If
If Fso.FileExists(FlinkVBS) Then Fso.DeleteFile(FlinkVBS) End If

Edited by gunsmokingman
Link to comment
Share on other sites

Just save this and double clik on it.

Once you delte the 'Limks' folder, it will be be re-created again.

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Toolbar]

"LinksFolderName"=""

Link to comment
Share on other sites

..."LinksFolderName"=""
Thanks for the tip.

More usefull for me is to rename <Links> to <MSFN> for example.

I tried with MSFN_2 (MSFN already exist)

and when i open IE6, the folder MSFN_2 was there .

and

Welcome to MSFN @leo29.

Link to comment
Share on other sites

Just save this and double clik on it.

Once you delte the 'Limks' folder, it will be be re-created again.

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Toolbar]

"LinksFolderName"=""

I wish it was that simple. That registry tweak doesn't work.

Link to comment
Share on other sites

... That registry tweak doesn't work.

i tested it in three different computers. manually(regedit) .

and works in my case.

how do you tested it for not working ?

No joke, I enter that registry tweak into my file and after Windows finish installing and I click on IE, there is the IE folder.

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...