can't access protected folders
-
ckp
- Posts: 56
- Joined: 07 Oct 2016 17:05
can't access protected folders
if i try to access a folder (i am an admin user on Win 10) in xyplorer it just won't show me what is there and says i don't have access.
i have to use windows explorer to navigate there, at which time I get Windows popup that i click on and it then lets me in. only after doing that, i can go to that location with xyplorer. so, for such folder restrictions, why doesn't xyplorer ask me if i want to enter that folder like windows explorer does? is there a setting for this in xyplorer? i do not run xyplorer as admin.
i have to use windows explorer to navigate there, at which time I get Windows popup that i click on and it then lets me in. only after doing that, i can go to that location with xyplorer. so, for such folder restrictions, why doesn't xyplorer ask me if i want to enter that folder like windows explorer does? is there a setting for this in xyplorer? i do not run xyplorer as admin.
-
highend
- Posts: 14996
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
Re: can't access protected folders
A "you don't have the necessary privileges" one?I get Windows popup
Seems that it's not implemented in XY
One of my scripts helped you out? Please donate via Paypal
-
ckp
- Posts: 56
- Joined: 07 Oct 2016 17:05
Re: can't access protected folders
A "you don't have the necessary privileges" one?
>yes thats the one.
>yes thats the one.
-
admin
- Site Admin
- Posts: 66679
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: can't access protected folders
Never seen this here in Win8.1. Does it exist there? Could I have a sceenshot of that dialog?
FAQ | XY News RSS | XY X
-
highend
- Posts: 14996
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
Re: can't access protected folders
E.g.:
Code: Select all
%SystemDrive%\PerfLogsTo see the attached files, you need to log into the forum.
One of my scripts helped you out? Please donate via Paypal
-
admin
- Site Admin
- Posts: 66679
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: can't access protected folders
Thanks, I see that here in Win8.1 as well.
OK, needs some research...
OK, needs some research...
FAQ | XY News RSS | XY X
-
admin
- Site Admin
- Posts: 66679
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: can't access protected folders
...don't find anything at all.
What's the exact English wording of this message?
FAQ | XY News RSS | XY X
-
highend
- Posts: 14996
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
Re: can't access protected folders
[Window Title]
PerfLogs
[Main Instruction]
You don't currently have permission to access this folder.
[Content]
Click Continue to permanently get access to this folder.
[Continue] [Cancel]
To see the attached files, you need to log into the forum.
One of my scripts helped you out? Please donate via Paypal
-
ckp
- Posts: 56
- Joined: 07 Oct 2016 17:05
Re: can't access protected folders
i'm pretty sure when you click Continue on that popup, that the permissions get changed, which is also why you can go there using xyplorer after doing that.
-
highend
- Posts: 14996
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
Re: can't access protected folders
Ofc. Windows gives the current user the necessary permissions to access that folder.
This could be scripted as well (store the acls of that folder with icacls, confirm the
dialog, store the acls again, compare both files -> Create a icacls call to replicate the behavior (only once of course!))
but this would be a bit of overkill if Windows provides any API to do the same...
This could be scripted as well (store the acls of that folder with icacls, confirm the
dialog, store the acls again, compare both files -> Create a icacls call to replicate the behavior (only once of course!))
but this would be a bit of overkill if Windows provides any API to do the same...
One of my scripts helped you out? Please donate via Paypal
-
admin
- Site Admin
- Posts: 66679
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: can't access protected folders
Wow, now I got it!
FAQ | XY News RSS | XY X
-
highend
- Posts: 14996
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
-
admin
- Site Admin
- Posts: 66679
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: can't access protected folders
I could create that prompt simply by calling ShellExecute on that folder. But there's a problem. The call is asynchronous. This is getting complex. I will try a little more but will postpone it to the future if I remain unsuccessful.
FAQ | XY News RSS | XY X
-
admin
- Site Admin
- Posts: 66679
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: can't access protected folders
OK, I now successfully unlocked C:\PerfLogs from XY.
Uhm, any idea how I can get it back to the original state?
I need to do some more testing...
Uhm, any idea how I can get it back to the original state?
FAQ | XY News RSS | XY X
-
PeterH
- Posts: 2830
- Joined: 21 Nov 2005 20:39
- Location: DE W11Pro 24H2, 1920*1200*100% 3840*2160*150%
Re: can't access protected folders
Hm - just how it sounds:
The text says "um dauerhaft Zugriff Zu erhalten" / "to permanently get access".
So if it means what it says it is expected to be "permanent"?
The text says "um dauerhaft Zugriff Zu erhalten" / "to permanently get access".
So if it means what it says it is expected to be "permanent"?
XYplorer Beta Club