Hello, I'm Felipe and I'm an independent Community Advisor, and I'll do my best to help you.
I'm sorry to hear that you're having trouble enabling long path names in Windows 10. Here are some steps you can try:
Check if your version of Windows 10 supports long path names. Long path names were added in Windows 10 version 1607 and later. You can check your version of Windows 10 by going to Settings > System > About.
Check if long path names are enabled in the registry. You can do this by opening the Registry Editor (regedit.exe) and navigating to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem. Look for the value "LongPathsEnabled" and make sure it is set to 1.
Check if the group policy setting is configured to enable long path names. Open the Group Policy Editor (gpedit.msc) and navigate to Local Computer Policy > Computer Configuration > Administrative Templates > System > Filesystem. Look for the "Enable Win32 long paths" policy and make sure it is set to "Enabled".
Restart your computer after making any changes to the registry or group policy settings.
If you're still having trouble, try using a third-party tool like Long Path Tool to rename or delete files with long path names.
I hope this helps!