Cannot rename access controlled folders in Windows 7

Things you’d like to miss in the future...
Forum rules
You might want to read this if you're looking for priority service

:info: Please Include The Following Information
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).

:info: Use Your Profile Or Signature
We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.

:info: How To Attach Images
When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".
Post Reply
DickStone
Posts: 7
Joined: 17 Dec 2011 23:31

Cannot rename access controlled folders in Windows 7

Post by DickStone »

You can copy or delete files in access controlled folders (e.g., Program Files/XXX) -- and you get prompted to access them, as expected. However, it you try to rename a file in these folders, you continually get the error that the file is in use.

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

Re: Cannot rename access controlled folders in Windows 7

Post by highend »

Reproducible with v10.60.0132

Wiping such a file after copying it to such a directory fails as well.
One of my scripts helped you out? Please donate via Paypal

nas8e9
Posts: 2232
Joined: 21 Jun 2008 14:50

Re: Cannot rename access controlled folders in Windows 7

Post by nas8e9 »

Do you have Custom Copy enabled? If so, does disabling make a difference?

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

Re: Cannot rename access controlled folders in Windows 7

Post by highend »

Doesn't make any difference.
One of my scripts helped you out? Please donate via Paypal

nas8e9
Posts: 2232
Joined: 21 Jun 2008 14:50

Re: Cannot rename access controlled folders in Windows 7

Post by nas8e9 »

highend wrote:Doesn't make any difference.
You're right, I should have tested first. Going by the error dialog boxes, both rename and wipe are handled by XYplorer itself rather than being handed off to the Windows Shell file functions. Unfortunately, it looks like XYplorer's UAC-support is only through farming things off to the Windows Shell?

XYplorer 10.60.0132 / Windows 7 x64 SP1.

admin
Site Admin
Posts: 67332
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Cannot rename access controlled folders in Windows 7

Post by admin »

nas8e9 wrote:
highend wrote:Doesn't make any difference.
You're right, I should have tested first. Going by the error dialog boxes, both rename and wipe are handled by XYplorer itself rather than being handed off to the Windows Shell file functions. Unfortunately, it looks like XYplorer's UAC-support is only through farming things off to the Windows Shell?
That's correct.

Rename/Wipe should work in access controlled folder if you run XY as admin.

Post Reply