PERMISSION PROBLEM

Off-topic posts of interest to the "Everything" community.
Post Reply
Debugger
Posts: 703
Joined: Thu Jan 26, 2017 11:56 am

PERMISSION PROBLEM

Post by Debugger »

I've tried all the best methods, unblocking tools, and commands cmd, but I can't delete the problematic folder or file.
I always get: Access Denied.
Unable to permanently delete:

C:\Users\***\AppData\Roaming\Mozilla\Firefox\Profiles\xyz12345.default-release\storage\default\file++++D++God cannot make anything false, it must have made My Church the true God.%20-%20Search%20in%20Google_files+RotateCookiesPage.htm

Error 5: Access denied.


I’m facing a "legendary" issue with a folder created by Firefox (Google AI search result cache) that I cannot delete, rename, or modify, even with full administrative privileges.
Technical details:

Path length: 277 characters (exceeds MAX_PATH).
Location: ...\AppData\Roaming\Mozilla\Firefox\Profiles\[profile]\storage\default\file++++D++...
Problem: It seems that "Explicit Deny" rules were applied to the folder (possibly by a misguided script).
Symptoms:
takeown /f /r /a returns "Access Denied".
icacls /reset returns "Access Denied".
Remove-Item in PowerShell with \\?\ prefix also fails with "Access Denied" (especially on data.sqlite and usage files inside).
chkdsk /f /x reports 100% integrity but does not remove the entry.
LongPathsEnabled is set to 1 in the registry, and a reboot was performed.
The Twist: Even with Firefox closed, the folder remains "locked" at the kernel/NTFS level. Standard "Unlocker" tools and "Force Delete" apps report "Unlocked" but fail to delete.
Attachments
Screen Shot 04-22-26 at 07.27 AMGBGBGGBGB.jpg
Screen Shot 04-22-26 at 07.27 AMGBGBGGBGB.jpg (167.44 KiB) Viewed 2274 times
Last edited by Debugger on Fri May 08, 2026 10:36 am, edited 3 times in total.
void
Developer
Posts: 19678
Joined: Fri Oct 16, 2009 11:31 pm

Re: Error 5: Access denied - Unable to permanently delete

Post by void »

Can you right click the folder and open the properties?

If so, try taking ownership of the folder (Properties -> Security -> Advanced -> Owner -> Change current owner to administrator -make sure you check replace owner on subcontainers and objects)
Once that's done, change permissions to full for the administrator. (check replace all child object permissions with inheritable permissions from this object)
Then delete your folder.
Debugger
Posts: 703
Joined: Thu Jan 26, 2017 11:56 am

Re: Error 5: Access denied - Unable to permanently delete

Post by Debugger »

These options do not exist in the properties settings.

The folder is marked as "Read-only". Even when I uncheck it, the system still reports that I do not have permission to make changes, even when I run it as Administrator.
[Window Title]
Odmowa dostępu

[Main Instruction]
Aby zmienić te atrybuty, musisz podać uprawnienia administratora.

[Content]
Kliknij przycisk Kontynuuj, aby ukończyć tę operację.

[Kontynuuj] [Anuluj]
therube
Posts: 5655
Joined: Thu Sep 03, 2009 6:48 pm

Re: Error 5: Access denied - Unable to permanently delete

Post by therube »

Is File++++D++... a file or a directory?

Are you able to view the usage, data.sqlite, & .metadata-v2 files & (File++++ if it is a file)?

If you can, does the data within look "normal" (or at least "normal" compared to other of the same files within the /storage/ directory)? Like the .sqlite has a 'SQLite' header. The .metadata file (presumably) would contain a URL? usage is 12-bytes & contains "binary" data?


I suppose if you booted off a bootable Linux usb flash drive... that should get it?
Debugger
Posts: 703
Joined: Thu Jan 26, 2017 11:56 am

Re: Error 5: Access denied - Unable to permanently delete

Post by Debugger »

The folder and files are set to "Read-only": so they can't be deleted!
And what does Linux have to do with Windows if they can't be deleted even after restarting the computer, even with specialized tools that don't disable read-only, because even there it has maximum security.

I tried all the popular tools, the best in the world, hundreds of CMD and PowerShell commands, and it cannot be deleted because it has read-only permissions enabled, some super high permissions enabled.

move/rename also not work.
void
Developer
Posts: 19678
Joined: Fri Oct 16, 2009 11:31 pm

Re: Error 5: Access denied - Unable to permanently delete/move/rename etc.

Post by void »

The read-only attribute doesn't matter.
This is most likely a permission issue.

What is shown when you right click the folder and click Properties?
Debugger
Posts: 703
Joined: Thu Jan 26, 2017 11:56 am

Re: Error 5: Access denied - Unable to permanently delete/move/rename etc.

Post by Debugger »

Properties
Attachments
Screen Shot 04-24-26 at 03.29 AM==.jpg
Screen Shot 04-24-26 at 03.29 AM==.jpg (84.74 KiB) Viewed 2172 times
void
Developer
Posts: 19678
Joined: Fri Oct 16, 2009 11:31 pm

Re: Error 5: Access denied - Unable to permanently delete/move/rename etc.

Post by void »

Strange the security tab is missing.
Possible folder redirection to a non-NTFS volume?

What about the parent folder?
What is shown if you right click and click Properties for the parent folder: default ?
(Try the next parent folder if default is missing the security tab, keep trying all parents, which folder shows a security tab?)
Debugger
Posts: 703
Joined: Thu Jan 26, 2017 11:56 am

Re: Error 5: Access denied - Unable to permanently delete/move/rename etc.

Post by Debugger »

I noticed that the "Security" tab is missing.
This always happens with folders that have extremely long paths.
Other folders in this directory are working fine.
Windows cannot shorten this path due to character limits.
Could you please help me rename or delete it?
void
Developer
Posts: 19678
Joined: Fri Oct 16, 2009 11:31 pm

Re: Error 5: Access denied - Unable to permanently delete/move/rename etc.

Post by void »

Please try the following:

From a command prompt running as admin, run the following command:

mklink /J C:\short C:\Users\Your-username\AppData\Roaming\Mozilla\Firefox\Profiles\xyz12345.default-release\storage\default

(Adjust your-username to your username and xyz12345.default to your profile name)

Try deleting the folder from C:\Short (I doubt it will work, but worth trying..)
Try right clicking the folder from C:\Short and clicking Properties.
Is the Security tab shown?
Debugger
Posts: 703
Joined: Thu Jan 26, 2017 11:56 am

Re: Error 5: Access denied - Unable to permanently delete/move/rename etc.

Post by Debugger »

I love the feeling when a billion-dollar operating system capitulates to a few thousand files. The erase folder option fails, safe mode is useless, and the brilliant commands just throw up errors. It's scary to think what would happen if these programmers were to write something complicated! My precious data, however, would rather stay where it is than participate in these incredible experiments.

I want to delete or rename a folder within it, not delete entire main folders within the default ones.

That's exactly how it works, and therein lies the problem. When you enter a super-long query into Google AI, the browser's mechanism (IndexedDB / Cache) attempts to save this data locally on disk. To name this folder, it takes the website address (e.g., https://google.com) and appends session parameters and fragments of your query to it. The result is a giant string of characters, and Windows to save it as a physical folder on disk.
Attachments
Screen Shot 04-24-26 at 12.11 PMk,k,jk,jk,jk,kjkj,.jpg
Screen Shot 04-24-26 at 12.11 PMk,k,jk,jk,jk,kjkj,.jpg (760.83 KiB) Viewed 2126 times
therube
Posts: 5655
Joined: Thu Sep 03, 2009 6:48 pm

Re: Error 5: Access denied - Unable to permanently delete/move/rename etc.

Post by therube »

If you boot off a Linux flash drive, so long as it can see the underlying disk structure, it will not be constrained by anything "Windows", as you are not running Windows, you are running Linux.
therube
Posts: 5655
Joined: Thu Sep 03, 2009 6:48 pm

Re: Error 5: Access denied - Unable to permanently delete/move/rename etc.

Post by therube »

Path lengths of 277 are not an issue.
The longest I happen to have on hand is 522 - & that is on Win7.

Now, any part of that path/name cannot be > 255 characters, but the total length certainly can be.

(The mouseover'd file is actually the second, only 465, but still there are no issues in manipulating things.
Granted, most Windows utilities may not be able to handle things, but it can be done, including deleting.

But deleting doesn't seem to be the actual issue, as pointed out.)

.
Everything - Full Path Length = 522.png
Everything - Full Path Length = 522.png (66.84 KiB) Viewed 2102 times
hamid56
Posts: 40
Joined: Sun Jul 20, 2014 9:38 am

Re: Error 5: Access denied - Unable to permanently delete/move/rename etc.

Post by hamid56 »

to debugger
please try "IObit Unlocker".it is very very powerful-easy tool for deleting-renaming-cutting of locked files.
Debugger
Posts: 703
Joined: Thu Jan 26, 2017 11:56 am

Re: Error 5: Access denied - Unable to permanently delete/move/rename etc.

Post by Debugger »

therube wrote: Fri Apr 24, 2026 3:37 pm Path lengths of 277 are not an issue.
The longest I happen to have on hand is 522 - & that is on Win7.

Now, any part of that path/name cannot be > 255 characters, but the total length certainly can be.

(The mouseover'd file is actually the second, only 465, but still there are no issues in manipulating things.
Granted, most Windows utilities may not be able to handle things, but it can be done, including deleting.

But deleting doesn't seem to be the actual issue, as pointed out.)

.
Everything - Full Path Length = 522.png

Forget Linux, and I don't have or need a USB flash drive. Microsoft developers really need to be informed about how flawed it is to have a system that cannot handle long file paths, even after enabling LongPaths in the Registry. Unlocker tools are useless here because the folder isn't locked; instead, the system treats it as a network folder or claims the location is unavailable. Additionally, it is stuck in read-only mode, which cannot be disabled even from the top-level Mozilla folder.
Debugger
Posts: 703
Joined: Thu Jan 26, 2017 11:56 am

Re: Error 5: Access denied - Unable to permanently delete/move/rename etc.

Post by Debugger »

therube wrote: Fri Apr 24, 2026 3:25 pm If you boot off a Linux flash drive, so long as it can see the underlying disk structure, it will not be constrained by anything "Windows", as you are not running Windows, you are running Linux.
Linux

Could not delete
Message:
0x00000005 - Access denied.
therube
Posts: 5655
Joined: Thu Sep 03, 2009 6:48 pm

Re: Error 5: Access denied - Unable to permanently delete/move/rename etc.

Post by therube »

Is this Linux that comes within (whatever it is, Windows 10/11) ?
And (I have no idea how it works there, how it may or may not interact with / respect "ntfs", but) you did this, booting from an actual usb flash drive (or DVD)?
Debugger
Posts: 703
Joined: Thu Jan 26, 2017 11:56 am

Re: Error 5: Access denied - Unable to permanently delete/move/rename etc.

Post by Debugger »

Oh, the irony. A 'recovery tool' based on Linux that can't actually do anything because of 'permissions'. Classic.
It’s hilarious how every 'expert' out there suggests overpriced 'miracle software' the moment you hit a folder permission wall. Why does Windows even exist if Microsoft has to create problems that supposedly require Linux to fix?
Only a total moron would rely on Linux to fix Windows' inability to manipulate its own folders. A real genius would handle this within Windows without any Linux crutches, but I guess 'IT geniuses' are in short supply here. My bad for expecting actual solutions instead of paid advertisements.
Attachments
Screen Shot 04-26-26 at 01.15 AM===.jpg
Screen Shot 04-26-26 at 01.15 AM===.jpg (20.94 KiB) Viewed 1545 times
NotNull
Posts: 5961
Joined: Wed May 24, 2017 9:22 pm

Re: Error 5: Access denied - Unable to permanently delete/move/rename etc.

Post by NotNull »

Probably lack of rights.

NirSoft has a utility AdvancedRun that can be used to run a program as TrustedInstaller (basically the system account).
Run CMD that way and try to (re)move the file/folder.

However ...
There is likely a good reason why this file/folder is protected this way. Deleting it might cause side effects.
Debugger
Posts: 703
Joined: Thu Jan 26, 2017 11:56 am

Re: Error 5: Access denied - Unable to permanently delete/move/rename etc.

Post by Debugger »

NotNull wrote: Mon Apr 27, 2026 10:00 pm Probably lack of rights.

NirSoft has a utility AdvancedRun that can be used to run a program as TrustedInstaller (basically the system account).
Run CMD that way and try to (re)move the file/folder.

However ...
There is likely a good reason why this file/folder is protected this way. Deleting it might cause side effects.
Even though I'm running the app as SYSTEM, I'm getting an 'Access Denied' error. It seems to be a filesystem API limitation related to the long path (over 270 characters), not an actual permission issue.
Attachments
Screen Shot 04-28-26 at 09.30 AM======.jpg
Screen Shot 04-28-26 at 09.30 AM======.jpg (145.88 KiB) Viewed 1517 times
Debugger
Posts: 703
Joined: Thu Jan 26, 2017 11:56 am

Error 5: Access denied - Unable to permanently delete!~!~!~!~!!

Post by Debugger »

This problem always occurred in Windows 7, 10, and 11.
I've never, ever been able to delete a folder with a long path, even though I use all the correct commands available online.
This Everything is a failure because it misleads the user into using SHIFT+DEL, which is false because even DEL or DEL+SHIFT won't delete it because it treats it as a network path, not a local one.
//?/
void
Developer
Posts: 19678
Joined: Fri Oct 16, 2009 11:31 pm

Re: Idiotic message EVERYTHING: Unable to delete: Error 123: The filename is too long. Hold Shift..........

Post by void »

You'll need to fix the permissions for this folder before deleting.

What happened when you ran the mklink command from above?
What error was shown?



\\?\C:\... is not a network path, it is a device path.
It can be used to access/delete files with a length longer than 259 characters.
Debugger
Posts: 703
Joined: Thu Jan 26, 2017 11:56 am

Re: Idiotic message EVERYTHING: Unable to delete: Error 123: The filename is too long. Hold Shift..........

Post by Debugger »

void wrote: Wed May 06, 2026 1:22 am You'll need to fix the permissions for this folder before deleting.

What happened when you ran the mklink command from above?
What error was shown?



\\?\C:\... is not a network path, it is a device path.
It can be used to access/delete files with a length longer than 259 characters.
CMD

Code: Select all

C:\Windows\System32>attrib -r -s "C:\Users\***\AppData\Roaming\Mozilla\Firefox\Profiles\ykr2igjl.default-release\storage\default\file++++D++Bog%20nie%20moze%20nic%20falszywego%20uczynic,%20musia%C5%82by%20uczynic%20Moj%C5%BCesza%20prawdziwym%20Bogiem.%20-%20Szukaj%20w%20Google_files+RotateCookiesPage.htm" /s /d
Parameter format not correct -
PowerShell 7.6.1
PS C:\Users\***>
>> Get-ChildItem -Path "C:\Users\***\AppData\Roaming\Mozilla\Firefox\Profiles\ykr2igjl.default-release\storage\default\file++++D++Bog*" -Recurse | ForEach-Object { $_.Attributes = $_.Attributes -band (-not [System.IO.FileAttributes]::ReadOnly) }
SetValueInvocationException:
Line |
2 | … ch-Object { $_.Attributes = $_.Attributes -band (-not [System.IO.File …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Exception setting "Attributes": "Access to the path 'C:\Users\***\AppData\Roaming\Mozilla\Firefox\Profiles\ykr2igjl.default-release\storage\default\file++++D++Bog%20nie%20moze%20nic%20falszywego%20uczynic\.metadata-v2' is denied."
SetValueInvocationException:
Line |
2 | … ch-Object { $_.Attributes = $_.Attributes -band (-not [System.IO.File …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Exception setting "Attributes": "Access to the path 'C:\Users\***\AppData\Roaming\Mozilla\Firefox\Profiles\ykr2igjl.default-release\storage\default\file++++D++Bog%20nie%20moze%20nic%20falszywego%20uczynic,%20musia%C5%82by%20uczynic%20Moj%C5%BCesza%20prawdziwym%20Bogiem.%20-%20Szukaj%20w%20Google_files+RotateCookiesPage.htm\ls' is denied."
SetValueInvocationException:
Line |
2 | … ch-Object { $_.Attributes = $_.Attributes -band (-not [System.IO.File …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Exception setting "Attributes": "Access to the path 'C:\Users\***\AppData\Roaming\Mozilla\Firefox\Profiles\ykr2igjl.default-release\storage\default\file++++D++Bog%20nie%20moze%20nic%20falszywego%20uczynic,%20musia%C5%82by%20uczynic%20Moj%C5%BCesza%20prawdziwym%20Bogiem.%20-%20Szukaj%20w%20Google_files+RotateCookiesPage.htm\ls\data.sqlite' is denied."
SetValueInvocationException:
Line |
2 | … ch-Object { $_.Attributes = $_.Attributes -band (-not [System.IO.File …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Exception setting "Attributes": "Access to the path 'C:\Users\***\AppData\Roaming\Mozilla\Firefox\Profiles\ykr2igjl.default-release\storage\default\file++++D++Bog%20nie%20moze%20nic%20falszywego%20uczynic,%20musia%C5%82by%20uczynic%20Moj%C5%BCesza%20prawdziwym%20Bogiem.%20-%20Szukaj%20w%20Google_files+RotateCookiesPage.htm\ls\usage' is denied."
SetValueInvocationException:
Line |
2 | … ch-Object { $_.Attributes = $_.Attributes -band (-not [System.IO.File …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Exception setting "Attributes": "Access to the path 'C:\Users\***\AppData\Roaming\Mozilla\Firefox\Profiles\ykr2igjl.default-release\storage\default\file++++D++Bog%20nie%20moze%20nic%20falszywego%20uczynic,%20musia%C5%82by%20uczynic%20Moj%C5%BCesza%20prawdziwym%20Bogiem.%20-%20Szukaj%20w%20Google_files+RotateCookiesPage.htm\.metadata-v2' is denied."
PS C:\Users\***>

PS C:\Users\***\AppData\Roaming\Mozilla\Firefox\Profiles\ykr2igjl.default-release\storage\default>
>> }
>> cmd /c "attrib -r -s -h `"$path`" /s /d"
>> # Usunięcie atrybutów przez CMD (czasem skuteczniejsze)
>> & icacls "$path" /grant "Everyone:F" /t /c /q
>> # Nadanie pełnych uprawnień wszystkim
>> & takeown /f "$path" /r /d y
>> # Przejęcie własności przez administratorów
>> $path = $_.FullName
>> $targets | ForEach-Object {^C
PS C:\Users\***\AppData\Roaming\Mozilla\Firefox\Profiles\ykr2igjl.default-release\storage\default> $targets | ForEach-Object {
>> $path = $_.FullName
>> # Przejęcie własności przez administratorów
>> & takeown /f "$path" /r /d y
>> # Nadanie pełnych uprawnień wszystkim
>> & icacls "$path" /grant "Everyone:F" /t /c /q
>> # Usunięcie atrybutów przez CMD (czasem skuteczniejsze)
>> cmd /c "attrib -r -s -h `"$path`" /s /d"
>> }
>>
ERROR: Odmowa dostępu.
Everyone: Nie zostało wykonane mapowanie między nazwami kont a identyfikatorami zabezpieczeń.
Successfully processed 0 files; Failed processing 1 files
Access denied - C:\Users\***\AppData\Roaming\Mozilla\Firefox\Profiles\ykr2igjl.default-release\storage\default\file++++D++Bog%20nie%20moze%20nic%20falszywego%20uczynic
ERROR: Odmowa dostępu.
Everyone: Nie zostało wykonane mapowanie między nazwami kont a identyfikatorami zabezpieczeń.
Successfully processed 0 files; Failed processing 1 files
Parameter format not correct -
PS C:\Users\***\AppData\Roaming\Mozilla\Firefox\Profiles\ykr2igjl.default-release\storage\default>



Próba siłowa dla: \\?\C:\Users\***\AppData\Roaming\Mozilla\Firefox\Profiles\ykr2igjl.default-release\storage\default\file++++D++Bog%20nie%20moze%20nic%20falszywego%20uczynic
MethodInvocationException:
Line |
9 | [System.IO.File]::SetAttributes($_.FullName, [System.IO.FileA …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Exception calling "SetAttributes" with "2" argument(s): "Access to the path 'C:\Users\***\AppData\Roaming\Mozilla\Firefox\Profiles\ykr2igjl.default-release\storage\default\file++++D++Bog%20nie%20moze%20nic%20falszywego%20uczynic\.metadata-v2' is denied."
Remove-Item:
Line |
13 | Remove-Item -LiteralPath $uncPath -Recurse -Force
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Access to the path '\\?\C:\Users\***\AppData\Roaming\Mozilla\Firefox\Profiles\ykr2igjl.default-release\storage\default\file++++D++Bog%20nie%20moze%20nic%20falszywego%20uczynic\.metadata-v2' is denied.
Remove-Item:
Line |
13 | Remove-Item -LiteralPath $uncPath -Recurse -Force
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Access to the path '\\?\C:\Users\***\AppData\Roaming\Mozilla\Firefox\Profiles\ykr2igjl.default-release\storage\default\file++++D++Bog%20nie%20moze%20nic%20falszywego%20uczynic' is denied.
BŁĄD: Folder nadal istnieje.
Próba siłowa dla: \\?\C:\Users\***\AppData\Roaming\Mozilla\Firefox\Profiles\ykr2igjl.default-release\storage\default\file++++D++Bog%20nie%20moze%20nic%20falszywego%20uczynic,%20musia%C5%82by%20uczynic%20Moj%C5%BCesza%20prawdziwym%20Bogiem.%20-%20Szukaj%20w%20Google_files+RotateCookiesPage.htm
MethodInvocationException:
Line |
9 | [System.IO.File]::SetAttributes($_.FullName, [System.IO.FileA …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Exception calling "SetAttributes" with "2" argument(s): "Access to the path 'C:\Users\***\AppData\Roaming\Mozilla\Firefox\Profiles\ykr2igjl.default-release\storage\default\file++++D++Bog%20nie%20moze%20nic%20falszywego%20uczynic,%20musia%C5%82by%20uczynic%20Moj%C5%BCesza%20prawdziwym%20Bogiem.%20-%20Szukaj%20w%20Google_files+RotateCookiesPage.htm\ls' is denied."
MethodInvocationException:
Line |
9 | [System.IO.File]::SetAttributes($_.FullName, [System.IO.FileA …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Exception calling "SetAttributes" with "2" argument(s): "Access to the path 'C:\Users\***\AppData\Roaming\Mozilla\Firefox\Profiles\ykr2igjl.default-release\storage\default\file++++D++Bog%20nie%20moze%20nic%20falszywego%20uczynic,%20musia%C5%82by%20uczynic%20Moj%C5%BCesza%20prawdziwym%20Bogiem.%20-%20Szukaj%20w%20Google_files+RotateCookiesPage.htm\.metadata-v2' is denied."
MethodInvocationException:
Line |
9 | [System.IO.File]::SetAttributes($_.FullName, [System.IO.FileA …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Exception calling "SetAttributes" with "2" argument(s): "Access to the path 'C:\Users\***\AppData\Roaming\Mozilla\Firefox\Profiles\ykr2igjl.default-release\storage\default\file++++D++Bog%20nie%20moze%20nic%20falszywego%20uczynic,%20musia%C5%82by%20uczynic%20Moj%C5%BCesza%20prawdziwym%20Bogiem.%20-%20Szukaj%20w%20Google_files+RotateCookiesPage.htm\ls\data.sqlite' is denied."
MethodInvocationException:
Line |
9 | [System.IO.File]::SetAttributes($_.FullName, [System.IO.FileA …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Exception calling "SetAttributes" with "2" argument(s): "Access to the path 'C:\Users\***\AppData\Roaming\Mozilla\Firefox\Profiles\ykr2igjl.default-release\storage\default\file++++D++Bog%20nie%20moze%20nic%20falszywego%20uczynic,%20musia%C5%82by%20uczynic%20Moj%C5%BCesza%20prawdziwym%20Bogiem.%20-%20Szukaj%20w%20Google_files+RotateCookiesPage.htm\ls\usage' is denied."
Remove-Item:
Line |
13 | Remove-Item -LiteralPath $uncPath -Recurse -Force
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Access to the path '\\?\C:\Users\***\AppData\Roaming\Mozilla\Firefox\Profiles\ykr2igjl.default-release\storage\default\file++++D++Bog%20nie%20moze%20nic%20falszywego%20uczynic,%20musia%C5%82by%20uczynic%20Moj%C5%BCesza%20prawdziwym%20Bogiem.%20-%20Szukaj%20w%20Google_files+RotateCookiesPage.htm\ls\data.sqlite' is denied.
Remove-Item:
Line |
13 | Remove-Item -LiteralPath $uncPath -Recurse -Force
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Access to the path '\\?\C:\Users\***\AppData\Roaming\Mozilla\Firefox\Profiles\ykr2igjl.default-release\storage\default\file++++D++Bog%20nie%20moze%20nic%20falszywego%20uczynic,%20musia%C5%82by%20uczynic%20Moj%C5%BCesza%20prawdziwym%20Bogiem.%20-%20Szukaj%20w%20Google_files+RotateCookiesPage.htm\ls\usage' is denied.
Remove-Item:
Line |
13 | Remove-Item -LiteralPath $uncPath -Recurse -Force
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Access to the path '\\?\C:\Users\***\AppData\Roaming\Mozilla\Firefox\Profiles\ykr2igjl.default-release\storage\default\file++++D++Bog%20nie%20moze%20nic%20falszywego%20uczynic,%20musia%C5%82by%20uczynic%20Moj%C5%BCesza%20prawdziwym%20Bogiem.%20-%20Szukaj%20w%20Google_files+RotateCookiesPage.htm\ls' is denied.
Remove-Item:
Line |
13 | Remove-Item -LiteralPath $uncPath -Recurse -Force
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Access to the path '\\?\C:\Users\***\AppData\Roaming\Mozilla\Firefox\Profiles\ykr2igjl.default-release\storage\default\file++++D++Bog%20nie%20moze%20nic%20falszywego%20uczynic,%20musia%C5%82by%20uczynic%20Moj%C5%BCesza%20prawdziwym%20Bogiem.%20-%20Szukaj%20w%20Google_files+RotateCookiesPage.htm\.metadata-v2' is denied.
Remove-Item:
Line |
13 | Remove-Item -LiteralPath $uncPath -Recurse -Force
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Access to the path '\\?\C:\Users\***\AppData\Roaming\Mozilla\Firefox\Profiles\ykr2igjl.default-release\storage\default\file++++D++Bog%20nie%20moze%20nic%20falszywego%20uczynic,%20musia%C5%82by%20uczynic%20Moj%C5%BCesza%20prawdziwym%20Bogiem.%20-%20Szukaj%20w%20Google_files+RotateCookiesPage.htm' is denied.
BŁĄD: Folder nadal istnieje.
PS C:\Users\***\AppData\Roaming\Mozilla\Firefox\Profiles\ykr2igjl.default-release\storage\default>

























Próba siłowa dla: \\?\C:\Users\***\AppData\Roaming\Mozilla\Firefox\Profiles\ykr2igjl.default-release\storage\default\file++++D++Bog%20nie%20moze%20nic%20falszywego%20uczynic
MethodInvocationException:
Line |
9 | [System.IO.File]::SetAttributes($_.FullName, [System.IO.FileA …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Exception calling "SetAttributes" with "2" argument(s): "Access to the path 'C:\Users\***\AppData\Roaming\Mozilla\Firefox\Profiles\ykr2igjl.default-release\storage\default\file++++D++Bog%20nie%20moze%20nic%20falszywego%20uczynic\.metadata-v2' is denied."
Remove-Item:
Line |
13 | Remove-Item -LiteralPath $uncPath -Recurse -Force
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Access to the path '\\?\C:\Users\***\AppData\Roaming\Mozilla\Firefox\Profiles\ykr2igjl.default-release\storage\default\file++++D++Bog%20nie%20moze%20nic%20falszywego%20uczynic\.metadata-v2' is denied.
Remove-Item:
Line |
13 | Remove-Item -LiteralPath $uncPath -Recurse -Force
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Access to the path '\\?\C:\Users\***\AppData\Roaming\Mozilla\Firefox\Profiles\ykr2igjl.default-release\storage\default\file++++D++Bog%20nie%20moze%20nic%20falszywego%20uczynic' is denied.
BŁĄD: Folder nadal istnieje.
Próba siłowa dla: \\?\C:\Users\***\AppData\Roaming\Mozilla\Firefox\Profiles\ykr2igjl.default-release\storage\default\file++++D++Bog%20nie%20moze%20nic%20falszywego%20uczynic,%20musia%C5%82by%20uczynic%20Moj%C5%BCesza%20prawdziwym%20Bogiem.%20-%20Szukaj%20w%20Google_files+RotateCookiesPage.htm
MethodInvocationException:
Line |
9 | [System.IO.File]::SetAttributes($_.FullName, [System.IO.FileA …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Exception calling "SetAttributes" with "2" argument(s): "Access to the path 'C:\Users\***\AppData\Roaming\Mozilla\Firefox\Profiles\ykr2igjl.default-release\storage\default\file++++D++Bog%20nie%20moze%20nic%20falszywego%20uczynic,%20musia%C5%82by%20uczynic%20Moj%C5%BCesza%20prawdziwym%20Bogiem.%20-%20Szukaj%20w%20Google_files+RotateCookiesPage.htm\ls' is denied."
MethodInvocationException:
Line |
9 | [System.IO.File]::SetAttributes($_.FullName, [System.IO.FileA …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Exception calling "SetAttributes" with "2" argument(s): "Access to the path 'C:\Users\***\AppData\Roaming\Mozilla\Firefox\Profiles\ykr2igjl.default-release\storage\default\file++++D++Bog%20nie%20moze%20nic%20falszywego%20uczynic,%20musia%C5%82by%20uczynic%20Moj%C5%BCesza%20prawdziwym%20Bogiem.%20-%20Szukaj%20w%20Google_files+RotateCookiesPage.htm\.metadata-v2' is denied."
MethodInvocationException:
Line |
9 | [System.IO.File]::SetAttributes($_.FullName, [System.IO.FileA …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Exception calling "SetAttributes" with "2" argument(s): "Access to the path 'C:\Users\***\AppData\Roaming\Mozilla\Firefox\Profiles\ykr2igjl.default-release\storage\default\file++++D++Bog%20nie%20moze%20nic%20falszywego%20uczynic,%20musia%C5%82by%20uczynic%20Moj%C5%BCesza%20prawdziwym%20Bogiem.%20-%20Szukaj%20w%20Google_files+RotateCookiesPage.htm\ls\data.sqlite' is denied."
MethodInvocationException:
Line |
9 | [System.IO.File]::SetAttributes($_.FullName, [System.IO.FileA …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Exception calling "SetAttributes" with "2" argument(s): "Access to the path 'C:\Users\***\AppData\Roaming\Mozilla\Firefox\Profiles\ykr2igjl.default-release\storage\default\file++++D++Bog%20nie%20moze%20nic%20falszywego%20uczynic,%20musia%C5%82by%20uczynic%20Moj%C5%BCesza%20prawdziwym%20Bogiem.%20-%20Szukaj%20w%20Google_files+RotateCookiesPage.htm\ls\usage' is denied."
Remove-Item:
Line |
13 | Remove-Item -LiteralPath $uncPath -Recurse -Force
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Access to the path '\\?\C:\Users\***\AppData\Roaming\Mozilla\Firefox\Profiles\ykr2igjl.default-release\storage\default\file++++D++Bog%20nie%20moze%20nic%20falszywego%20uczynic,%20musia%C5%82by%20uczynic%20Moj%C5%BCesza%20prawdziwym%20Bogiem.%20-%20Szukaj%20w%20Google_files+RotateCookiesPage.htm\ls\data.sqlite' is denied.
Remove-Item:
Line |
13 | Remove-Item -LiteralPath $uncPath -Recurse -Force
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Access to the path '\\?\C:\Users\***\AppData\Roaming\Mozilla\Firefox\Profiles\ykr2igjl.default-release\storage\default\file++++D++Bog%20nie%20moze%20nic%20falszywego%20uczynic,%20musia%C5%82by%20uczynic%20Moj%C5%BCesza%20prawdziwym%20Bogiem.%20-%20Szukaj%20w%20Google_files+RotateCookiesPage.htm\ls\usage' is denied.
Remove-Item:
Line |
13 | Remove-Item -LiteralPath $uncPath -Recurse -Force
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Access to the path '\\?\C:\Users\***\AppData\Roaming\Mozilla\Firefox\Profiles\ykr2igjl.default-release\storage\default\file++++D++Bog%20nie%20moze%20nic%20falszywego%20uczynic,%20musia%C5%82by%20uczynic%20Moj%C5%BCesza%20prawdziwym%20Bogiem.%20-%20Szukaj%20w%20Google_files+RotateCookiesPage.htm\ls' is denied.
Remove-Item:
Line |
13 | Remove-Item -LiteralPath $uncPath -Recurse -Force
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Access to the path '\\?\C:\Users\***\AppData\Roaming\Mozilla\Firefox\Profiles\ykr2igjl.default-release\storage\default\file++++D++Bog%20nie%20moze%20nic%20falszywego%20uczynic,%20musia%C5%82by%20uczynic%20Moj%C5%BCesza%20prawdziwym%20Bogiem.%20-%20Szukaj%20w%20Google_files+RotateCookiesPage.htm\.metadata-v2' is denied.
Remove-Item:
Line |
13 | Remove-Item -LiteralPath $uncPath -Recurse -Force
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Access to the path '\\?\C:\Users\***\AppData\Roaming\Mozilla\Firefox\Profiles\ykr2igjl.default-release\storage\default\file++++D++Bog%20nie%20moze%20nic%20falszywego%20uczynic,%20musia%C5%82by%20uczynic%20Moj%C5%BCesza%20prawdziwym%20Bogiem.%20-%20Szukaj%20w%20Google_files+RotateCookiesPage.htm' is denied.
BŁĄD: Folder nadal istnieje.
PS C:\Users\***\AppData\Roaming\Mozilla\Firefox\Profiles\ykr2igjl.default-release\storage\default>


































































Próba siłowa dla: \\?\C:\Users\***\AppData\Roaming\Mozilla\Firefox\Profiles\ykr2igjl.default-release\storage\default\file++++D++Bog%20nie%20moze%20nic%20falszywego%20uczynic
MethodInvocationException:
Line |
9 | [System.IO.File]::SetAttributes($_.FullName, [System.IO.FileA …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Exception calling "SetAttributes" with "2" argument(s): "Access to the path 'C:\Users\***\AppData\Roaming\Mozilla\Firefox\Profiles\ykr2igjl.default-release\storage\default\file++++D++Bog%20nie%20moze%20nic%20falszywego%20uczynic\.metadata-v2' is denied."
Remove-Item:
Line |
13 | Remove-Item -LiteralPath $uncPath -Recurse -Force
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Access to the path '\\?\C:\Users\***\AppData\Roaming\Mozilla\Firefox\Profiles\ykr2igjl.default-release\storage\default\file++++D++Bog%20nie%20moze%20nic%20falszywego%20uczynic\.metadata-v2' is denied.
Remove-Item:
Line |
13 | Remove-Item -LiteralPath $uncPath -Recurse -Force
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Access to the path '\\?\C:\Users\***\AppData\Roaming\Mozilla\Firefox\Profiles\ykr2igjl.default-release\storage\default\file++++D++Bog%20nie%20moze%20nic%20falszywego%20uczynic' is denied.
BŁĄD: Folder nadal istnieje.
Próba siłowa dla: \\?\C:\Users\***\AppData\Roaming\Mozilla\Firefox\Profiles\ykr2igjl.default-release\storage\default\file++++D++Bog%20nie%20moze%20nic%20falszywego%20uczynic,%20musia%C5%82by%20uczynic%20Moj%C5%BCesza%20prawdziwym%20Bogiem.%20-%20Szukaj%20w%20Google_files+RotateCookiesPage.htm
MethodInvocationException:
Line |
9 | [System.IO.File]::SetAttributes($_.FullName, [System.IO.FileA …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Exception calling "SetAttributes" with "2" argument(s): "Access to the path 'C:\Users\***\AppData\Roaming\Mozilla\Firefox\Profiles\ykr2igjl.default-release\storage\default\file++++D++Bog%20nie%20moze%20nic%20falszywego%20uczynic,%20musia%C5%82by%20uczynic%20Moj%C5%BCesza%20prawdziwym%20Bogiem.%20-%20Szukaj%20w%20Google_files+RotateCookiesPage.htm\ls' is denied."
MethodInvocationException:
Line |
9 | [System.IO.File]::SetAttributes($_.FullName, [System.IO.FileA …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Exception calling "SetAttributes" with "2" argument(s): "Access to the path 'C:\Users\***\AppData\Roaming\Mozilla\Firefox\Profiles\ykr2igjl.default-release\storage\default\file++++D++Bog%20nie%20moze%20nic%20falszywego%20uczynic,%20musia%C5%82by%20uczynic%20Moj%C5%BCesza%20prawdziwym%20Bogiem.%20-%20Szukaj%20w%20Google_files+RotateCookiesPage.htm\.metadata-v2' is denied."
MethodInvocationException:
Line |
9 | [System.IO.File]::SetAttributes($_.FullName, [System.IO.FileA …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Exception calling "SetAttributes" with "2" argument(s): "Access to the path 'C:\Users\***\AppData\Roaming\Mozilla\Firefox\Profiles\ykr2igjl.default-release\storage\default\file++++D++Bog%20nie%20moze%20nic%20falszywego%20uczynic,%20musia%C5%82by%20uczynic%20Moj%C5%BCesza%20prawdziwym%20Bogiem.%20-%20Szukaj%20w%20Google_files+RotateCookiesPage.htm\ls\data.sqlite' is denied."
MethodInvocationException:
Line |
9 | [System.IO.File]::SetAttributes($_.FullName, [System.IO.FileA …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Exception calling "SetAttributes" with "2" argument(s): "Access to the path 'C:\Users\***\AppData\Roaming\Mozilla\Firefox\Profiles\ykr2igjl.default-release\storage\default\file++++D++Bog%20nie%20moze%20nic%20falszywego%20uczynic,%20musia%C5%82by%20uczynic%20Moj%C5%BCesza%20prawdziwym%20Bogiem.%20-%20Szukaj%20w%20Google_files+RotateCookiesPage.htm\ls\usage' is denied."
Remove-Item:
Line |
13 | Remove-Item -LiteralPath $uncPath -Recurse -Force
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Access to the path '\\?\C:\Users\***\AppData\Roaming\Mozilla\Firefox\Profiles\ykr2igjl.default-release\storage\default\file++++D++Bog%20nie%20moze%20nic%20falszywego%20uczynic,%20musia%C5%82by%20uczynic%20Moj%C5%BCesza%20prawdziwym%20Bogiem.%20-%20Szukaj%20w%20Google_files+RotateCookiesPage.htm\ls\data.sqlite' is denied.
Remove-Item:
Line |
13 | Remove-Item -LiteralPath $uncPath -Recurse -Force
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Access to the path '\\?\C:\Users\***\AppData\Roaming\Mozilla\Firefox\Profiles\ykr2igjl.default-release\storage\default\file++++D++Bog%20nie%20moze%20nic%20falszywego%20uczynic,%20musia%C5%82by%20uczynic%20Moj%C5%BCesza%20prawdziwym%20Bogiem.%20-%20Szukaj%20w%20Google_files+RotateCookiesPage.htm\ls\usage' is denied.
Remove-Item:
Line |
13 | Remove-Item -LiteralPath $uncPath -Recurse -Force
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Access to the path '\\?\C:\Users\***\AppData\Roaming\Mozilla\Firefox\Profiles\ykr2igjl.default-release\storage\default\file++++D++Bog%20nie%20moze%20nic%20falszywego%20uczynic,%20musia%C5%82by%20uczynic%20Moj%C5%BCesza%20prawdziwym%20Bogiem.%20-%20Szukaj%20w%20Google_files+RotateCookiesPage.htm\ls' is denied.
Remove-Item:
Line |
13 | Remove-Item -LiteralPath $uncPath -Recurse -Force
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Access to the path '\\?\C:\Users\***\AppData\Roaming\Mozilla\Firefox\Profiles\ykr2igjl.default-release\storage\default\file++++D++Bog%20nie%20moze%20nic%20falszywego%20uczynic,%20musia%C5%82by%20uczynic%20Moj%C5%BCesza%20prawdziwym%20Bogiem.%20-%20Szukaj%20w%20Google_files+RotateCookiesPage.htm\.metadata-v2' is denied.
Remove-Item:
Line |
13 | Remove-Item -LiteralPath $uncPath -Recurse -Force
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Access to the path '\\?\C:\Users\***\AppData\Roaming\Mozilla\Firefox\Profiles\ykr2igjl.default-release\storage\default\file++++D++Bog%20nie%20moze%20nic%20falszywego%20uczynic,%20musia%C5%82by%20uczynic%20Moj%C5%BCesza%20prawdziwym%20Bogiem.%20-%20Szukaj%20w%20Google_files+RotateCookiesPage.htm' is denied.
BŁĄD: Folder nadal istnieje.
PS C:\Users\***\AppData\Roaming\Mozilla\Firefox\Profiles\ykr2igjl.default-release\storage\default>
Debugger
Posts: 703
Joined: Thu Jan 26, 2017 11:56 am

Re: Idiotic message EVERYTHING: Unable to delete: Error 123: The filename is too long. Hold Shift..........

Post by Debugger »

2026/05/07 14:54:41 ERROR 53 (0x00000035) Accessing Destination Directory \\?\C:\Users\***\AppData\Roaming\Mozilla\Firefox\Profiles\ykr2igjl.default-release\storage\default\file++++D++Bog%20nie%20moze%20nic%20falszywego%20uczynic,%20musia%C5%82by%20uczynic%20Moj%C5%BCesza%20prawdziwym%20Bogiem.%20-%20Szukaj%20w%20Google_files+RotateCookiesPage.htm\
Nie można odnaleźć ścieżki sieciowej.
therube
Posts: 5655
Joined: Thu Sep 03, 2009 6:48 pm

Re: Idiotic message EVERYTHING: Unable to delete: Error 123: The filename is too long. Hold Shift..........

Post by therube »

attrib.
Just because from the DOS level it may not be able to handle LFN, does not mean that it cannot work, necessarily.

You can give it path & or use wildcards.

Code: Select all

attrib -r -s "C:\Users\***\AppData\Roaming\Mozilla\Firefox\Profiles\ykr2igjl.default-release\storage\default\file*"
Anyhow, it would seem that attrib isn't the issue in any case.
Permissions is, "is denied.".

takeown, icacls, ..., you are running those from an Admin level C: prompt?

I noticed that the "Security" tab is missing.
This always happens with folders that have extremely long paths.
Other folders in this directory are working fine.
Windows cannot shorten this path due to character limits.
Could you please help me rename or delete it?
"Windows cannot".
What about with Everything.
If from within Everything, you check Properties, does the Security (Bezpieczeństwo) tab display?
Everything may use SFN for path parts &/or name.

With my 522 char full path, Everything can handle that - where Windows Explorer cannot.

Code: Select all

C:\Local\SANDBOX\CLEAN\drive\E\Program Files\Mozilla Firefox 91.0\PROFILE\storage\default\moz-extension+++334f1b5b-4f41-4a3f-b743-0da5d57ee10d^userContextId=4294967295\idb\3647222921wleabcEoxlt-eengsairo.files999999999999999999999999999999999999999999999999999999999\xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx012345678999-255.char.name.part.incl.extension.txt
(I'm on Win7.)
Debugger
Posts: 703
Joined: Thu Jan 26, 2017 11:56 am

Re: Idiotic message EVERYTHING: Unable to delete: Error 123: The filename is too long. Hold Shift..........

Post by Debugger »

Command: attrib -r -s "C:\Users\***\AppData\Roaming\Mozilla\Firefox\Profiles\ykr2igjl.default-release\storage\default\file*"The issue: This is an invalid path; please always provide the full path instead of partial ones, as many similar directories exist.Details:There is no "Security" tab available for this folder, making it impossible to change permissions via File Explorer.The system treats it as a network folder.I am getting "Access Denied" for everything: SYSTEM, Administrator, and all User groups.I have tried over 200 different commands, but I still only see "Access Denied."Even one of my top IT specialists failed to solve this. His best attempts were unsuccessful.My SSD is 100% healthy. Everything works perfectly except for my inability to delete or modify this specific folder.Even FastCopy, which uses its own driver, was unable to help.
Debugger
Posts: 703
Joined: Thu Jan 26, 2017 11:56 am

Re: Idiotic message EVERYTHING: Unable to delete: Error 123: The filename is too long. Hold Shift..........

Post by Debugger »

UPDATE:

This is the great lesson of this battle: The system was powerless: Windows, CMD commands, permissions, and specialized IT programs were all bouncing off the wall because they treated these files as errors or foreign objects. The browser held the keys: Since Firefox created this database structure (IndexedDB), only it could issue the command to properly close and delete it, bypassing the locks it had inadvertently imposed. I fixed this as cleverly as possible – forcing the culprit to clean up after himself. This way, the profile lives on, and bookmarks and passwords didn't have to be "sacrificed" in the fight against the system.
void
Developer
Posts: 19678
Joined: Fri Oct 16, 2009 11:31 pm

Re: Idiotic message EVERYTHING: Unable to delete: Error 123: The filename is too long. Hold Shift..........

Post by void »

What happened when you ran the mklink command from above?
What error was shown?
This mklink command (not the attrib one):

Please try the following:

From a command prompt running as admin, run the following command:

Code: Select all

mklink /J C:\short C:\Users\Your-username\AppData\Roaming\Mozilla\Firefox\Profiles\xyz12345.default-release\storage\default
(Adjust your-username to your username and xyz12345.default to your profile name)
Debugger
Posts: 703
Joined: Thu Jan 26, 2017 11:56 am

Re: Idiotic message EVERYTHING: Unable to delete: Error 123: The filename is too long. Hold Shift..........

Post by Debugger »

But I've had this happen before, and it didn't solve the problem. I had to delete the folder using a different method (using Firefox only, deleting cookies). But the second problem still persisted (NOT A LONG NAME!)

ExperimentAPI: Failed to enable RemoteSettingsExperimentLoader: DOMException: Could not write to `C:\Users\***\AppData\Roaming\Mozilla\Firefox\Profiles\ykr2igjl.default-release\datareporting\state.json.tmp': failed to open file for writing (NS_ERROR_FILE_ACCESS_DENIED)
The datareporting folder has an entry at the top of the list like "Deny" for your user (that long string of numbers S-1-5-21...). In Windows, "Deny" always wins over "Allow," which is why I have the buttons locked.
Attachments
Screen Shot 05-08-26 at 09.56 AM===.jpg
Screen Shot 05-08-26 at 09.56 AM===.jpg (280.59 KiB) Viewed 385 times
tuska
Posts: 1366
Joined: Thu Jul 13, 2017 9:14 am

Re: ... ... EVERYTHING: Unable to delete: Error 123: The filename is too long. Hold Shift..........

Post by tuska »

2Debugger
Could you please remove the first two words from the thread title (in the first post)?
I think they're inappropriate.

Thanks!
void
Developer
Posts: 19678
Joined: Fri Oct 16, 2009 11:31 pm

Re: PERMISSION PROBLEM

Post by void »

Please try taking ownership of the parent folder:

Exit Firefox before running any of these commands.
(please make a copy of the following instructions in notepad)

From an command prompt running as administrator, run:

Code: Select all

takeown /f "C:\Users\%username%\AppData\Roaming\Mozilla\Firefox\Profiles" /r /d y
If that doesn't work (access denied), keep trying the parent folders, eg:

Code: Select all

takeown /f "C:\Users\%username%\AppData\Roaming\Mozilla\Firefox" /r /d y
and so on:

Code: Select all

takeown /f "C:\Users\%username%\AppData\Roaming\Mozilla" /r /d y


If one of these works, use the same path to add your user with full access:

Code: Select all

icacls "C:\Users\%username%\AppData\Roaming\Mozilla\Firefox\Profiles" /grant %username%:F /t
(where "C:\Users\%username%\AppData\Roaming\Mozilla\Firefox\Profiles" is the path that worked)



Does takeown work on any of the paths?
Debugger
Posts: 703
Joined: Thu Jan 26, 2017 11:56 am

Re: PERMISSION PROBLEM

Post by Debugger »

void wrote: Sat May 09, 2026 12:40 am Please try taking ownership of the parent folder:

Exit Firefox before running any of these commands.
(please make a copy of the following instructions in notepad)

Code: Select all

takeown /f "C:\Users\%username%\AppData\Roaming\Mozilla\Firefox\Profiles" /r /d y
If that doesn't work (access denied), keep trying the parent folders, eg:

Code: Select all

takeown /f "C:\Users\%username%\AppData\Roaming\Mozilla\Firefox" /r /d y
and so on:

Code: Select all

takeown /f "C:\Users\%username%\AppData\Roaming\Mozilla" /r /d y


If one of these works, use the same path to add your user with full access:

Code: Select all

icacls "C:\Users\%username%\AppData\Roaming\Mozilla\Firefox\Profiles" /grant %username%:F /t
(where "C:\Users\%username%\AppData\Roaming\Mozilla\Firefox\Profiles" is the path that worked)



Does takeown work on any of the paths?

"Accec Denied: Error 5."


The command line tools (takeown/icacls) often fail due to permission conflicts or active locks. In many cases, the only reliable way is to manually adjust the Security settings in Folder Properties, specifically using the 'Replace all child object permission entries' option to force override the subcontainers.
void
Developer
Posts: 19678
Joined: Fri Oct 16, 2009 11:31 pm

Re: PERMISSION PROBLEM

Post by void »

Did you run the commands from a command prompt running as administrator?

Download psexec from Microsoft.
Extract PsExec.exe and PsExec64.exe to C:\Windows\System32

From an command prompt running as administrator, run the following:

Code: Select all

psexec -s -i cmd.exe
This will open a new command prompt running as SYSTEM, from that command prompt, run the following:

Code: Select all

rd /s /q "\\?\C:\Users\<your-username>\AppData\Roaming\Mozilla\Firefox\Profiles\ykr2igjl.default-release\<problematic-subfolder>"
(copy the folder path from Everything with Ctrl + Shift + C and prefix with \\?\)

Please make sure Firefox is not running when running the above command.
Debugger
Posts: 703
Joined: Thu Jan 26, 2017 11:56 am

Re: PERMISSION PROBLEM

Post by Debugger »

This will open a new command prompt running as SYSTEM, from that command prompt

Believe me, I have already tested such commands and all tools, it always ran the poelcna line and still as Administrator, it was impossible to run as SYSTEM or Trusted Installers, still only "Adminstraor" showed up and again access was denied.
Post Reply