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

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
cfguy100
Posts: 5
Joined: 01 May 2013 18:46

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

Post 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

highend
Posts: 14996
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

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

Post 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.
One of my scripts helped you out? Please donate via Paypal

Marco
Posts: 2354
Joined: 27 Jun 2011 15:20

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

Post 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?
Tag Backup - SimpleUpdater - XYplorer Messenger - The Unofficial XYplorer Archive - Everything in XYplorer
Don sees all [cit. from viewtopic.php?p=124094#p124094]

yusef88
Posts: 1148
Joined: 28 Jan 2013 03:50
Location: Windows 8.1 32-bit

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

Post by yusef88 »

nircmd elevate XYplorer.exe

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

highend
Posts: 14996
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

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

Post 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.
One of my scripts helped you out? Please donate via Paypal

Post Reply