Jump to content

CCoulter

Members
  • Posts

    9
  • Joined

  • Last visited

Everything posted by CCoulter

  1. OneDrive “Files on demand” is a new feature that makes this possible as it basically makes it cloud only by default and only actually downloads anything you open or create. Interesting. might be something to do with the fact that OneDrive uses placeholders for online files. God knows what the OS makes of those. Windows explorer sees a 6gb folder but it’s empty apart from placeholders with 0 bytes size. Its not purely open files though as my “remove cached profiles” GPO and even my PS start-up and logon scripts can’t delete these folders. Possibly a corruption or something unique with these new file types. The latter would explain the “folder is not empty” error.
  2. It could be permissions in the appdata folder as we use mandatory profiles and i didn’t set anything explicit for that but OneDrive? That's separate from the mandatory profile hive so I think it’s either got something open or it’s a OneDrive client thing as it’s designed to cache locally opened docs to speed up future access. There should be a log somewhere for when it’s creating a new profile each time but I’ve not found it and neither have MS. I’ve halted the OneDrive rollout till this is resolved.
  3. My ps script tries to delete them at start-up. Something odd about the OneDrive folders though as I get the "Directory is not empty" error. You sometimes have to log on locally and delete. I can get it down to two folders with aggressive PowerShell. the user and the user.DOMAIN and after a reboot one of them goes, but not both, so there’s always two as Windows cant for some reason relog to the same folder so it recreates the other. I’ve got it down to two from 20-odd but the problem is still there. MS don’t seem to have a clue. "Uninstall your Antivirus" is all I’ve had from them in a week for £400.
  4. I've got 60gb SSD's in some classrooms so i have to build by images and plan loadouts, etc round that. There two folders that seem to get orphaned even with "delete cashed profiles" GPO on. appdata/ConnectedDevicesPlatforn & Onedrive. If i disable the ConnectedDevicesPlatform service thats sorted, (think it's for xbox conectivity?) I want onedrive though so i can finally get rid of the horrible OnedriveMapper script i inherited.
  5. Wont it just create 001, 001.003, 001.002.003, versions of the folders in a new location? I'm going to see if my brute force powershell approach helps tiil Microsoft come up with a more elegant solution.
  6. Sorry, 60gb SSD's in most classrooms. Only physical HDD's are in offices and are being eradicated along with the windows 10 rollout. Ive now got a provisional fix in place. This runs at logon and startup; Get-ChildItem -Path c:\users\staff* -Directory | Remove-Item -Recurse -Force This gets rid of most cruft except the >256 character folders which need attention. Thats a user level reorganistion needed there. or i may try Delprof2 again. Still nowhere nearer finding out why its creating new folders in the 1st place. There must be a log somewhere. Test user had no long file paths and still got one. Thats for Microsoft to answer for my £400 phonecall.
  7. In a school? How? i must admit that before working here, i'd never touched a mandatory profile and never used a roaming one for years. Theyre a right kerfuffle, but with 1200 kids and 60 gb HDDS on classroom PC's..... my options are llimited. UE-V perhaps? I've not looked into that.
  8. 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?
×
×
  • Create New...