Hi, I just wanted to chip in and say that this is a major issue, indeed a show-stopper, for me too.
I am using Arduino IDE on Windows 10 with everything fully up to date.
All my Arduino sketches are held on a network drive, served from another windows box, so that I can move between several different Windows machines and see the same libraries and sketches. I locate my Arduino folder on a shared drive and do not use the Sketches folder for my code, just for libraries. I keep all my sketches within folder trees specific to individual projects to to keep hardware, software and documentation all in one place.
I understand that this fault may well be in the application framework that you are using but I, and the other posters, are not doing anything exotic, this is how windows is supposed to be used.
I do hope that this issue will be be addressed soon. A lot of work has obviously gone into IDE 2 and I would like to be able to benefit from it.
Many thanks