VLC opens when click a folder

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
lomein123
New Cone
New Cone
Posts: 1
Joined: 01 Oct 2010 21:47

VLC opens when click a folder

Postby lomein123 » 01 Oct 2010 22:05

After I installed 1.1.4, when I click any folder on the right side of the explorer, vlc start itself and folders will not expend as it should be. I look through the association (default programs) under control panel and I don't see anything link to the folder. Please help, this is very annoying.
I did some search, I find somebody also submit the same problem several months ago, however nobody answer the question. Could someone help here?

viewtopic.php?f=14&t=73269&p=241507

noobgramz
New Cone
New Cone
Posts: 2
Joined: 25 Sep 2010 20:58

Re: VLC opens when click a folder

Postby noobgramz » 04 Oct 2010 05:03

I am having the same problem and I have already submitted a post...and still no response. SOMEONE PLEASE HELP!!!! I do not understand why no one has responded. I know there are other posts besides yours and mine explaining the same issue. Why has no one tried to fix the problem??? I would like some answers and a solution a.s.a.p. Thank you.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: VLC opens when click a folder

Postby Jean-Baptiste Kempf » 11 Oct 2010 12:35

Sorry, I don't understand your issue.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

akbeaman
Blank Cone
Blank Cone
Posts: 17
Joined: 13 Sep 2010 18:43

Re: VLC opens when click a folder

Postby akbeaman » 16 Nov 2010 23:08

You probably have a corrupted registry. If you can use System Restore to roll back to a previous restore point that might fix your problem or else you might have to reinstall Windows. This problem is not caused by VLC itself.

If you know how to use the Registry Editor I could give you some more ideas to try but not if you've never done it.

rogerdpack
Big Cone-huna
Big Cone-huna
Posts: 574
Joined: 19 Jul 2008 23:48
Operating System: windows

Re: VLC opens when click a folder

Postby rogerdpack » 17 Nov 2010 01:54

Sorry, I don't understand your issue.
He's saying that whenever he opens a folder within explorer, it opens VLC (with that folder as a parameter, I'm guessing) instead of a new explorer window.

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: VLC opens when click a folder

Postby VLC_help » 17 Nov 2010 15:50

There have been multiple reports about that VLC takes over default folder action. I don't know why it would happen, since VLC installer doesn't force Open for folders. And VLC Association Setup dialog doesn't do that either.

rogerdpack
Big Cone-huna
Big Cone-huna
Posts: 574
Joined: 19 Jul 2008 23:48
Operating System: windows

Re: VLC opens when click a folder

Postby rogerdpack » 17 Nov 2010 20:08

Maybe some other app has removed the "default" for opening folders, so it defaults to the first one, which is "open with VLC"?

akbeaman
Blank Cone
Blank Cone
Posts: 17
Joined: 13 Sep 2010 18:43

Re: VLC opens when click a folder

Postby akbeaman » 18 Nov 2010 11:21

This issue is a corrupted registry probably caused by a bad shutdown. Another program or a virus could have caused it but not very likely. If you have a sudden power outage, manually power off your system without closing Windows down first, or suffer a hard jolt to your hard drive, the registry can become corrupted. Nothing to do with VLC except by random chance.

A (1) registry repair for the affected keys, a (2) registry rollback to a previous version, or (3) a re-install of Windows are the choices for a fix.

An export of the keys in question from a functioning version of the same OS to a reg file can possibly fix the issue when merged into the corrupted registry.

System Restore can roll your system back to a previous version of the registry if it is enabled and a Restore Point has been established before the problem occurs.

Using System Restore http://www.google.com/search?q=Using+System+Restore

If you have a good backup of your registry you can restore the registry with that.

Backup and Restore Windows Registry http://www.google.com/search?q=Backup+a ... s+Registry

The only other fix is to reinstall Windows. In some cases Windows files can reinstalled without reformatting and losing existing files. Usually if a new version of the registry replaces the existing one all programs will need to be reinstalled. If the existing registry is not replaced with a freshly installed version then registry-related problems will not be fixed by reinstalling the OS. If you cannot achieve a repair of the system without reinstalling Windows, the best approach is backup whatever you don't want to lose and reinstall Windows on a clean (empty) drive. Most OEM recovery disks will do this automatically when they are used. If you are offered a choice, reformat your Windows partition before installing.

If you specify what version of Windows you have, maybe somebody can provide a known good export to .reg file of HKEY_CLASSES_ROOT\Directory and also for HKEY_CLASSES_ROOT\Folder. Also HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory and HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder. If they know what they are doing they can combine these exports into a single .reg file which can then be downloaded and installed by anyone. It may not matter what OS sometimes but there are differences between XP, Vista, and 7, and some dramatic diifferences between those and Win9x. To be sure of not losing functionality you should only import reg keys meant for your OS. This is one of those times.

To be assured that only the action associated with clicking on folders is affected it would be good to know that Explorer works correctly in every other way.

If one of the posters actually having the problem would reply to the thread with more information I might be able to help them. (If this information is not enough already.)

:?:
Last edited by akbeaman on 18 Nov 2010 12:31, edited 1 time in total.

rogerdpack
Big Cone-huna
Big Cone-huna
Posts: 574
Joined: 19 Jul 2008 23:48
Operating System: windows

Re: VLC opens when click a folder

Postby rogerdpack » 18 Nov 2010 12:30

re 1) my first thought would be to uninstall vlc, then use regedit and remove any keys that "mention" VLC (carefully, of course).

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\shell]
@="none"

might do the trick...

akbeaman
Blank Cone
Blank Cone
Posts: 17
Joined: 13 Sep 2010 18:43

Re: VLC opens when click a folder

Postby akbeaman » 18 Nov 2010 12:54

Uninstalling VLC should remove all VLC context menus but might not fix the problem. If you want the VLC menu items don't uninstall.

It is true that correcting any value that may have been entered as a default action for the shell under the Directory key would fix the problem if that had been the cause of it. (Or adding back the needed value of "none".) If Windows finds an illegitimate value for default in the "Shell" key it will assign as default the first shell action on the list that it finds.

Thanks rogerdpack for pointing out the possibility of a problem with a default shell value. I have edited this post and uploaded a new version of the reg file with a new url to include your suggestion.

Here is a generic fix regfile to copy and paste into your text editor (Notepad or whatever plain text editor) and save as Folder-Open.reg with all files selected as the file type.


Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Directory\shell]
@="none"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\shell]
@="none"

[HKEY_CLASSES_ROOT\Folder\shell]
@=""

[HKEY_CLASSES_ROOT\Folder\shell\open]
"MultiSelectModel"="Document"
"BrowserFlags"=dword:00000010
"ExplorerFlags"=dword:00000012

[HKEY_CLASSES_ROOT\Folder\shell\open\command]
@=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\
00,5c,00,45,00,78,00,70,00,6c,00,6f,00,72,00,65,00,72,00,2e,00,65,00,78,00,\
65,00,20,00,2f,00,73,00,65,00,70,00,61,00,72,00,61,00,74,00,65,00,2c,00,2f,\
00,69,00,64,00,6c,00,69,00,73,00,74,00,2c,00,25,00,49,00,2c,00,25,00,4c,00,\
00,00
"DelegateExecute"="{11dbb47c-a525-400b-9e80-a54615a090c0}"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell]
@=""

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell\open]
"MultiSelectModel"="Document"
"BrowserFlags"=dword:00000010
"ExplorerFlags"=dword:00000012

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell\open\command]
@=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\
00,5c,00,45,00,78,00,70,00,6c,00,6f,00,72,00,65,00,72,00,2e,00,65,00,78,00,\
65,00,20,00,2f,00,73,00,65,00,70,00,61,00,72,00,61,00,74,00,65,00,2c,00,2f,\
00,69,00,64,00,6c,00,69,00,73,00,74,00,2c,00,25,00,49,00,2c,00,25,00,4c,00,\
00,00
"DelegateExecute"="{11dbb47c-a525-400b-9e80-a54615a090c0}"


This will only affect the open action for folders. No other shell actions will be changed or lost. This key is from Vista Home Premium and should only be used for Windows Vista.

Instead of copying and making your own you can download this file:

Folder-Open.reg http://www.fileshost.com/download.php?id=E0B51F081

It would be most wise to back up your Registry or do a System Restore point before using this file.

Unless one of the persons who actually has a problem replies to the thread, this is my best advice. :-|
Last edited by akbeaman on 18 Nov 2010 16:09, edited 5 times in total.

rogerdpack
Big Cone-huna
Big Cone-huna
Posts: 574
Joined: 19 Jul 2008 23:48
Operating System: windows

Re: VLC opens when click a folder

Postby rogerdpack » 18 Nov 2010 13:30

: rogerdpack

:!: Deleting all shell actions will only make matters worse. Don't do that.
it's untested, but I believe it only adds to the registry.

akbeaman
Blank Cone
Blank Cone
Posts: 17
Joined: 13 Sep 2010 18:43

Re: VLC opens when click a folder

Postby akbeaman » 18 Nov 2010 14:15

: rogerdpack You're right about your reg file.

I am starting to wonder however if the Win XP Registry is coded the same as Vista. I am using Vista and with a blank value there the reported problem is reproduced but with the word none as the value the problem disappears. In the Folder\Shell key however it works exactly opposite for me. The word none creates the problem but blanking the value fixes it. I don't remember there being anything like that on XP. Maybe my reg file should be designated Vista ONLY.

I have once more edited the posted reg file and the corresponding download link as of the time of this posting. It should be perfect now for Windows Vista users. If you know how to edit the Registry with regedit then you should be able to figure out how to change the default shell action (what happens when you doubleclick an icon) by changing the default value for the Shell key as in the reg file file example. You might need a specific answer as to the correct value for your OS if it is not Vista. Vista is all I have up and running so somebody else will need to supply values for XP and 7.

Also besides the default action entry the keys and values which define the open action under Folder\Shell may be corrupted. Best to get an exported reg file from your same OS for those also.

Always backup your registry before you fool around with it.

In any case there can be more than one registry error that causes this issue and without communication from one of the persons affected that person cannot be helped with any confidence. All we can do at this point is guess and take shots in the dark.

Any new user reading this please make a note that when you post a question you should be sure to put a check in front of "Notify me when a reply is posted" so then you will know to come back and get your answer. Below is an example. You'll see it on the page below your edit window.

Image

Works for me.
Last edited by akbeaman on 18 Nov 2010 14:55, edited 2 times in total.

jaysen
New Cone
New Cone
Posts: 2
Joined: 14 Mar 2011 20:37

Re: VLC opens when click a folder

Postby jaysen » 14 Mar 2011 20:50

I know this is slightly outside this forum category, but i'm getting the same behavior on Ubuntu, after dbl clicking a folder in media browser/playlist

Doesn't this strongly suggest its a vlc issue, and not the windows registry?

sorceress99
New Cone
New Cone
Posts: 1
Joined: 16 Mar 2011 18:03

Re: VLC opens when click a folder

Postby sorceress99 » 16 Mar 2011 18:31

VLC 0.9.4 adds two options to the File Folder type: "Add to your VLC player's list" and "Open with VLC media player". So when you double click a file folder (RH screen in Explorer) VLC tries open the folder. I did not have this problem with an earlier version. VLC edits your registry and adds these commands to your file folders. It should not do this!! You can repair the changes with a registry entry from: http://www.kellys-korner-xp.com/xp_tweaks.htm line 18 right-hand column if you have XP. I dont know if it will work for other OS. I am trying to get an answer from the authors as to why it does this and how to correct it.

jaysen
New Cone
New Cone
Posts: 2
Joined: 14 Mar 2011 20:37

Re: VLC opens when click a folder

Postby jaysen » 16 Mar 2011 18:44

BTW, In Ubuntu I fixed it by right clicking a folder in the file browser, and choosing Open With another Application, and setting it back to the file browser (nautilus) there.

pgorian
New Cone
New Cone
Posts: 1
Joined: 26 Apr 2011 01:35

Re: VLC opens when click a folder

Postby pgorian » 26 Apr 2011 01:43

Had the same problem - finally found an easy fix that worked on my windows xp installation

Note you will have to restart pc after running quick registry fix below.

(Quick and manual fix details at http://windowsxp.mvps.org/searchwindow.htm)

-------------------------------------
Quick fix

Click Start, Run and type this command:

regsvr32 /i shell32.dll

(Thanks to David Candy for this tip)

lrtestengr
New Cone
New Cone
Posts: 1
Joined: 11 Apr 2012 23:35

Re: VLC opens when click a folder

Postby lrtestengr » 11 Apr 2012 23:44

These instructions from http://windowsxp.mvps.org/searchwindow.htm worked for me on a Windows XP system:

To fix the problem manually, open Registry Editor and navigate to:

HKEY_CLASSES_ROOT \ Directory \ shell

-and-

HKEY_CLASSES_ROOT \ Drive \ shell

In the right-pane, locate and click the (Default) value
Click Modify on the Edit menu
Type the word none in the Value data box, and then click OK
Exit Registry Editor.


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 22 guests