Will not set as default file manager

Things you’d like to miss in the future...
FatIgor
Posts: 3
Joined: 01 Jun 2018 07:55

Will not set as default file manager

Post by FatIgor » 03 Nov 2018 20:18

https://www.xyplorer.com/faq-topic.php?id=dfm

Yes I have seen this and that is what I have tried, and this worked with previous version.

I've installed 19.3, and it is refusing to set as default file manager.

Tried as administrator and setting for all users, and also as regular user, setting just for current user. Tried rebooting and doing it all again.

Even tried setting compatibility mode to Windows 7.

Windows 10 Enterprise, Version 1803

jupe
Posts: 1159
Joined: 20 Oct 2017 21:14
Location: 1903 x64

Re: Will not set as default file manager

Post by jupe » 03 Nov 2018 20:29

You could check these registry keys manually, to see if XY is setting them correctly.

HKEY_CURRENT_USER\Software\Classes\Directory\Shell
HKEY_CURRENT_USER\Software\Classes\Drive\Shell

Do they contain the XYPlorer sub keys, and if so are the paths correct?

FatIgor
Posts: 3
Joined: 01 Jun 2018 07:55

Re: Will not set as default file manager

Post by FatIgor » 03 Nov 2018 20:55

Yes, set correctly in both.

I'll try uninstalling and re-installing. Perhaps that will help.

FatIgor
Posts: 3
Joined: 01 Jun 2018 07:55

Re: Will not set as default file manager

Post by FatIgor » 04 Nov 2018 08:54

It's partly working...

Dropbox selecting open folder brings up XYplorer, as does creating a new directory on desktop and double clicking it.

From OneDrive, open folder brings up Windows Explorer, Lightroom right clicking an image and selecting show location opens WIndows Explorer, and so does 'Windows Key'+E.

highend
Posts: 8209
Joined: 06 Feb 2011 00:33

Re: Will not set as default file manager

Post by highend » 04 Nov 2018 09:06

From OneDrive, open folder brings up Windows Explorer, Lightroom right clicking an image and selecting show location opens WIndows Explorer
Probably hardcoded, not taking the registry settings into account
Windows Key+E
This has nothing to do with registering something as the default filemanager

If you want to change that, open a command prompt with admin privileges
Execute these commands (ofc you have to adapt the paths if you want to do it only for the current user and not for all and DON't forget to change this "<path to XYplorer>" to the real path of your XYplorer installation / portable folder!

Code: Select all

REG COPY "HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell\opennewwindow\command" "HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell\opennewwindow\command.bak" /f
REG DELETE "HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell\opennewwindow\command" /v "DelegateExecute" /f
REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell\opennewwindow\command" /ve /d "<path to XYplorer>\XYplorer.exe" /f
One of my scripts helped you out? Please donate via Paypal or highend (at) web (dot) de

admin
Site Admin
Posts: 47182
Joined: 22 May 2004 16:48
Location: Cologne, Win 8.1, Win 10
Contact:

Re: Will not set as default file manager

Post by admin » 04 Nov 2018 10:19

highend wrote:
04 Nov 2018 09:06
Windows Key+E
This has nothing to do with registering something as the default filemanager

If you want to change that, open a command prompt with admin privileges
Execute these commands (ofc you have to adapt the paths if you want to do it only for the current user and not for all and DON't forget to change this "<path to XYplorer>" to the real path of your XYplorer installation / portable folder!

Code: Select all

REG COPY "HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell\opennewwindow\command" "HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell\opennewwindow\command.bak" /f
REG DELETE "HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell\opennewwindow\command" /v "DelegateExecute" /f
REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell\opennewwindow\command" /ve /d "<path to XYplorer>\XYplorer.exe" /f
Wow, so there it is! Tried it manually and it works well. I renamed DelegateExecute to DelegateExecuteORIG, and added the XYplorer full path to the standard key. Voilà, Win+E opens XYplorer. Thanks, man! :tup:

PS: Even when you click on the Explorer icon it will open XYplorer now!
Attachments
XYplorer-Win+E.png
XYplorer-Win+E.png (11.52 KiB) Viewed 716 times

mariovalerio
Posts: 10
Joined: 24 Nov 2015 14:41

Re: Will not set as default file manager

Post by mariovalerio » 01 Dec 2018 02:52

Hello,
in my case xyplorer doesn't set as default file manager. Every time I restart, the hook in the option "set xyplorer as default manager" is away and windows explorer is again the default file manager.
Can you please help?

highend
Posts: 8209
Joined: 06 Feb 2011 00:33

Re: Will not set as default file manager

Post by highend » 01 Dec 2018 08:39

Post the content of the default value for:

Code: Select all

[HKEY_CURRENT_USER\Software\Classes\Directory\Shell\XYplorer\Command]
[HKEY_CURRENT_USER\Software\Classes\Drive\Shell\XYplorer\Command]

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\Shell\XYplorer\Command]
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Drive\Shell\XYplorer\Command]
AFTER starting XY and setting the
"XYplorer is default file manager"
checkmark...
One of my scripts helped you out? Please donate via Paypal or highend (at) web (dot) de

mariovalerio
Posts: 10
Joined: 24 Nov 2015 14:41

Re: Will not set as default file manager

Post by mariovalerio » 02 Dec 2018 04:16

I have also reinstalled XYplorer and then checked the keys in the registry: everything looks ok, but the hook to set XYplorer as default in the Configuration window disappears every time I restart; XYplorer is then replaced from the Windows explorer.
I have tried many times... can you please help?

RalphM
Posts: 1253
Joined: 27 Jan 2005 23:38
Location: Cairns, Australia

Re: Will not set as default file manager

Post by RalphM » 02 Dec 2018 07:56

highend might be able to help you once you answered his questions above...
Ralph :-)
(OS: W10 1809 Home x64 - XY: Current beta)

mariovalerio
Posts: 10
Joined: 24 Nov 2015 14:41

Re: Will not set as default file manager

Post by mariovalerio » 02 Dec 2018 23:58

sorry, I did not understand that it was a question, but a statement.

In all four keys the value is:
"C:\Program Files (x86)\XYplorer\XYplorer.exe" "%1"
The quotes are included in the key values.

highend
Posts: 8209
Joined: 06 Feb 2011 00:33

Re: Will not set as default file manager

Post by highend » 03 Dec 2018 06:59

Restarting = Windows reboot or a restart of XYplorer (without a Windows reboot)?

What are the default values for:

Code: Select all

HKEY_CURRENT_USER\Software\Classes\Directory\Shell
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\Shell
While
1. XY is running (and the "XYplorer is default file manager" checkmark is set)
2. After a "restart"
?

Additionally, which XY version are you using exactly?
One of my scripts helped you out? Please donate via Paypal or highend (at) web (dot) de

mariovalerio
Posts: 10
Joined: 24 Nov 2015 14:41

Re: Will not set as default file manager

Post by mariovalerio » 03 Dec 2018 14:17

Thank you for your help!

restarting = rebooting

After XYplorer is set as default (checkmark in the configuration):

HKEY_CURRENT_USER\Software\Classes\Directory\Shell
key value is: XYplorer
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\Shell
key value is: XYplorer

after Windows rebooting:
HKEY_CURRENT_USER\Software\Classes\Directory\Shell
key value is: none
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\Shell
key value is: XYplorer

I am using the latest version of XYplorer 19.40.0100

highend
Posts: 8209
Joined: 06 Feb 2011 00:33

Re: Will not set as default file manager

Post by highend » 03 Dec 2018 14:29

The scope for the integration you're using is: Only for the current user, right?

You've used (at least once): For all users of this computer, otherwise HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\Shell
wouldn't be populated with "XYplorer"

So, "<something>" on your computer resets the setting for the current user. This is NOT XYplorer doing it!
There is something else running in the background (probably only on system restart) that does it...
One of my scripts helped you out? Please donate via Paypal or highend (at) web (dot) de

mariovalerio
Posts: 10
Joined: 24 Nov 2015 14:41

Re: Will not set as default file manager

Post by mariovalerio » 03 Dec 2018 15:03

Yes, it happens only for "only for this user".
I have set XYplorer as default for all users too, but I am actually the only user on my computer.
I will set off the running apps on restart one by one to see if one of them causes this. It will take some time.
Will come back asap.
Thank you so much for now!

Post Reply