I can't write file names more than 9 characters long in Windows 10. What can I do?

I was renaming screenshots in my documents in my windows 10 Home Single language 64 bit pc. Everything was fine until for some unknown reason the system started limiting the length of file names to 17 characters and then to 9 characters! I was not tampering with my pc, the issue just appeared out of the blue. Afterwards, to try to correct the issue I tried clicking F2 to rename files, didn't work. I tried going to the registry and changed the value of longpathsenabled from 0 to 1, rebooting after the change, didn't work. What can I do to be able to keep writing file names longer than 17 characters?

Thanks in advance.


Solution 1:

Sorry but I can't write comments yet and am forced to create an answer.

However, the problem could be the length of the entire filepath? Have you tried to rename another file with a smallest parent folder path?