Hello all
First post here and it’s a doozy.
Mid-sized secondary school just rolling out Windows 10 LTSC with staff & pupils using mandatory profiles. Usual kerfuffle with printers vanishing and now, as I trial OneDrive as a replacement for the horrible OneDrive mapper script, (since MS finally released the ‘per machine’ version), I’ve hit a new problem.
C:\users folder filling up with multiple copies of the same user profiles;
Staff-username
Staff-username.DOMAIN
Staff-username.DOMAIN.000
Staff-username.DOMAIN.000.001
Staff-username.DOMAIN.000.001.002
Etc, etc.
When it gets to about 20 + failed relogs;
Staff-username.DOMAIN.000.001.002.003.004.005.006.007.008.009.010.011.012.013.014.015.016.017.018.019.020.021.022.023…. things start to break.
GPO errors, desktop shortcuts, printers, etc.
All that’s in those folders is the users OneDrive folder. And in there, files, some of which are, (and especially when we get to the latter stages), longer than 256 characters in length.
Windows 7 did this;
Staff-username
Staff-username1
Staff-username2
So whilst it would cause the same issue eventually , it would take about 10 thousand billion failed logons to start killing GPO’s whereas Windows 10 falls over in about 10.
Seems like Windows can’t relog to existing user folder as it can’t read some files as they are over the limit so it creates a new one and appends .001, 001.002, etc to the end making things worse next logon.
My brute force PowerShell reboot clear-out script fails too because of the same issue. I’m having to manually delete some and PowerShell others. Previous manager used delprof but i found that flaky.
Even with OneDrive set via GPO to “Use OneDrive files-on-demand”, it still downloads opened files, and if god forbid, one puts the absolute path over 256 characters……you are doomed when users relog.
Not nice, but you cant make OneDrive online only.
I’ve brought in Microsoft with a £400 phone call but I reckon the only answer to this is for users to shorten their file paths, (or i so it for them with powershell), or I bring back the O: with OneDrive mapper ☹
Sigh. Any ides?