Jump to content

Windows 10 logon multiple profile folders with 000.001, etc (hard file path limit?)


Recommended Posts

Posted

I'm not sure how much help this info is, but I've been looking at what happens while a profile is deleted and according to procmon there are errors associated with each file/folder in a user's Onedrive folderlike this:

 

BUFFER OVERFLOW FSCTL_GET_REPARSE_POINT

INVALID PARAMETER IOCTL_MOUNTDEV_QUERY_DEVICE_NAME

 

Both of these refer to reparse points that the file system can't follow for some reason.

 

Yet if I manually delete the files as local or domain admin, they delete fine.

 

I'm leaning towards it being a permissions issue and that whatever process is trying to delete the Onedrive folder doesn't have sufficient permissions in the context that it's running in, but I can't think of a way of working around that.

Posted

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.

Posted
Interestingly, reparse points is just a fancy name for symbolic links, and these have been around in Windows since the days of at least XP and Server 2003.
Posted
I don't see how OneDrive could work at all with mandatory profiles.

once loaded onto a machine they can be modified (or nothing would work you just cant save those changes back to the profile) so onedrive installs into appdata as normal and when windows trys to remove the profile it cant fully so leaves crud behind

Posted

Ah, I see, Reparse points are basically plugins for ntfs, to add new features, onedrive adds "Reparse Tag Value : 0x9000701a" 'CLOUD_ROOT_ON_DEMAND'

 

So need to code something that can delete reparse points.

 

The onedrive files probably aren't actually in the OneDrive "folder", even if they're cached.

Posted
once loaded onto a machine they can be modified (or nothing would work you just cant save those changes back to the profile) so onedrive installs into appdata as normal and when windows tries to remove the profile it can't fully so leaves crud behind

 

Seems like you'd be better off with a webdav mapper or something.

 

Pity MS never updated MS Windows to work with MS OneDrive. That's unfree software for you.

Posted
Seems like you'd be better off with a webdav mapper or something.

 

Pity MS never updated MS Windows to work with MS OneDrive. That's unfree software for you.

 

they have just changed who its aimed at. it not aimed at locked down systems anymore its aimed at more 1:1 byod light touch management now so the people they are aiming it have have their own device possibly not even company owned and just do stuff rather than having shared pcs

Posted

Makes sense, PCs are cheaper now, not like Education makes them any money, was always a getting people hooked thing.

 

Switch to LibreOffice, then switch to Linux too.

Posted
Makes sense, PCs are cheaper now, not like Education makes them any money, was always a getting people hooked thing.

 

Switch to LibreOffice, then switch to Linux too.

 

honestly at that point switch to a chromebook you still get linux if you need it and most people wont

Posted
Seems like you'd be better off with a webdav mapper or something.

 

Ugh! :) Performance of those things is hideous and WebDAV is an old and no longer developed tech. We tried a commercial product based on it initially and we simply couldn't cope with the hassles it created.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...