Page 1 of 1

Command Line String to Run XYPlorer *W/OUT* Admin Privilegs?

Posted: 17 May 2016 15:28
by cfguy100
Hi,

I am an avid XYPlorer user, and huge fan of the program.

I've noticed through reading other posts on this help forum, and then from my own experience trying the advice in those posts, that there are some features of XYPlorer that only work when one runs the program -WITHOUT- administrative privileges (such as dragging and dropping URLS from browsers into the program, and automatically staying connected to networked drives - unless the program has been changed or updated without my knowing that those features would now work when the program is run with Administrator privileges, which is totally possible, as I am not one to always read changes/features updated in new program releases before I install the updates.

However, supposing the program has not been updated to now allow the features mentioned above to work consistently while run in Administrative privileges, is there a command line "command" (or string of text syntax) that one could type into a command prompt (instead of clicking on a shortcut for the program with "Run this program as Administrator" unchecked in the Compatibility Mode Section of the Compatibility Tab in the properties for the program shortcut)?

If anyone knows of a command that may be used, or has any other suggestions or ideas to accomplish what I need accomplished (without the use of a program shortcut icon, configured as described above), I would really appreciate your help.

Thanks,
CFGuy

Re: Command Line String to Run XYPlorer *W/OUT* Admin Privil

Posted: 17 May 2016 15:44
by highend
What you're describing hasn't much to do with XY but with Windows and it's permission system (programs with a non-admin context aren't allowed to access applications (e.g. their window for drag and drop operations) which are running elevated.

Run your browser with admin rights, can you drop URL's on XY now?

Code: Select all

REG ADD "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" /v "EnableLinkedConnections" /t REG_DWORD /d "0x00000001" /f
Enter that in a cmd with admin permissions. Restart your system. If the shares still aren't accessible, remove them and create them again.

Re: Command Line String to Run XYPlorer *W/OUT* Admin Privil

Posted: 17 May 2016 15:46
by Marco
I think some clarification is due here.
Dragging and dropping URLs (for example) work flawlessly when the browser and XY run with the same credentials (both admin or both regular user). It's a Windows feature.

Which leads to the question: what are you doing that leads to XY not sharing the credentials of the other programs you use?

Re: Command Line String to Run XYPlorer *W/OUT* Admin Privil

Posted: 17 May 2016 15:47
by yusef88
nircmd elevate XYplorer.exe

http://nircmd.nirsoft.net/elevate.html

Re: Command Line String to Run XYPlorer *W/OUT* Admin Privil

Posted: 17 May 2016 15:49
by highend
what are you doing that leads to XY not sharing the credentials of the other programs you use?
Not related to XY. Tokens for shares that were created with admin permissions aren't shared with user contexts. And vice versa. So when you access a share from a program running with admin permissions, store the user + pw and then start a program with user permissions... No go. The registry tweak posted above solves this.