Page 1 of 2

Admin Mode Indicator??

Posted: 15 Sep 2014 23:36
by kodyman
Is there a way I can display in the titlebar whether the instance I am running has Admin Rights or not?
I've looked in the manual and help and it says environment variables can be used. Looked at help>environment variables and don't see one that looks like it's it.

Thanks

Re: Admin Mode Indicator??

Posted: 15 Sep 2014 23:46
by Marco
Put

Code: Select all

<get userrole>
somewhere in the title template.

Re: Admin Mode Indicator??

Posted: 15 Sep 2014 23:53
by kodyman
Thank you Marco. Just what I was looking for. :appl:

Re: Admin Mode Indicator??

Posted: 16 Sep 2014 18:18
by kodyman
One other question while I'm at it.
Is there a list explaining which functions, commands, whatever require admin mode vs user mode to work properly?
I've found a couple on my own. Wondering how many there are and if there's a list I've overlooked somewhere or just trial and error?

Thanks again

Re: Admin Mode Indicator??

Posted: 16 Sep 2014 20:58
by Marco
Mmh, not that I know of. Generally speaking it's all a matter of ACLs on NTFS. The need for requesting XY elevation depends on the permissions you have and what you want to do on a certain NTFS object.

Re: Admin Mode Indicator??

Posted: 16 Sep 2014 22:51
by kodyman
Sort of what I was afraid of. :cry:
More gray areas than black and white. So far, I mostly remember which way I need to be running when I want to do one or the other. It's not a major deal. I'll learn as time goes on.

Thanks again.

Re: Admin Mode Indicator??

Posted: 16 Sep 2014 23:19
by Marco
Do you have any particular scenario that could be worth investigating further?

Re: Admin Mode Indicator??

Posted: 17 Sep 2014 16:20
by kodyman
Nothing major at the moment. I'm not a power user like many here.
My two main ones:
Admin mode lets me copy between panes with drag/drop.
User mode lets me drag/drop a browser URL to a folder.
I don't know if there are others. Could be I'm already in the correct mode when I'm doing them.

When I have time I'm going to see if I can create a launchbar shortcut to start XYp in admin mode without the "Run As Admin" popup in between. Then I can click one or the other. I know it's just a couple of extra clicks for admin mode but would be easier.
I used to 'Minimize to tray on X close.' Now I just close it and bring it back up in the mode I need.

Re: Admin Mode Indicator??

Posted: 27 Mar 2015 04:11
by kodyman
I'm resurrecting this old post since it is related to my orig question. I know depending on what I want to copy, sometimes I need to be in User Mode others Admin Mode.
This one has me confused though. Here's a sample video.
I'm in user mode and try to copy a file from one pane to another. Since I am in user mode I get a permissions pop-up. Even when I say OK, the copy doesn't happen. Note the progress indicator in the bottom right.
Anything I can do so when I give XY the permission the copy happens?

Thanks
XYP Copy GIF 2.gif
XYP Copy GIF 2.gif (777.45 KiB) Viewed 3677 times

Re: Admin Mode Indicator??

Posted: 27 Mar 2015 11:21
by admin
Tested it, got the same prompts, but here it worked. I copied a file to C:\ using XYcopy without any issue.

Re: Admin Mode Indicator??

Posted: 27 Mar 2015 13:52
by kodyman
Probably should have included I'm on Win7 Pro x64, running MSE and I have XYcopy.exe and XYplorer.exe (full paths) in the MSE excluded processes.

Anyone else running with MSE seeing this and have any suggestions? It's something else other than XY. Just having trouble figuring out what?

Thanks

Re: Admin Mode Indicator??

Posted: 28 Mar 2015 16:07
by kodyman
Sill trying to figure out why I'm not able to copy in user mode after giving permission with the pop-up.
Took a look at Task Manager and found I had multiple instances of XYcopy.exe showing.
Multiple XYcopy Processes  - 001a.png
Multiple XYcopy Processes - 001a.png (61.15 KiB) Viewed 3616 times
I'm assuming the reason there were so many showing is I closed XY while the copy was still trying to complete. Correct?
I have XY set to save settings on close.
What happens when there are multiple XYcopy instances running at the same time?

Anyone have any suggestions of what Windows settings I can take a look at to allow XY to copy in user mode after giving Admin permission with the pop-up in User mode?

Thanks!

Re: Admin Mode Indicator??

Posted: 28 Mar 2015 16:41
by admin
This should not happen at all -- even if you close XYplorer.exe. Cannot explain ATM.

Re: Admin Mode Indicator??

Posted: 28 Mar 2015 17:53
by kodyman
admin wrote:This should not happen at all -- even if you close XYplorer.exe. Cannot explain ATM.
Thanks for looking into it when you get a chance.
Since no one else is commenting it must be something specific to my set-up.
If there is anything additional I can provide let me know. It gets a bit frustrating at times having to close XY if I'm in User mode and re-open in Admin mode to copy or move files.

Re: Admin Mode Indicator??

Posted: 28 Mar 2015 17:59
by admin
If XYcopy is really the problem you could do the copy in the foreground: Untick Configuration > File Operations > Background Processing > Enable background processing