This message was deleted.
# _general
s
This message was deleted.
j
make sure the IncludeOneDrive Registry key is set to 0
r
Yeah it is but now it's getting. Copied in profile container
j
Profile Container is different from Office Container
Which one is it getting saved to?
Profile Containers will save OneDrive data because it is in the user profile
The only way to exclude it from a Profile Container would be to use a redirections.xml file with the OneDrive folder listed as an exclusion
r
Earlier I have that setting set to 0 due which it's data is saved. In office container but when I set it to 0 it's getting copied in profile container
j
Yes, it will be if you are using both
r
Done that also
j
Exclude it from the Profile Container using redirections.xml
What did you put in the redirections file?
r
Exclude appdata\myid\ondrive
j
Doesn't OneDrive go straight in the root of the user profile? It is just OneDrive and AppData\Local\OneDrive I think you would need
r
This is the file and the path u mentioned correct
Same as mentioned
j
Correct me if I'm wrong but I don't see OneDrive in that file? Plus you've also excluded AppData\Local\GroupPolicy which may cause your GPO processing to fail in certain situations
d
It’s not in there nope ;)
r
It's on 20th line
πŸ‘ 1
j
Try it with just a single entry that says nothing but "OneDrive" in the detail section
r
And I agree gpo should be included
j
All you have is this in the file - <Exclude Copy="0">AppData\Local\Microsoft\OneDrive</Exclude>
r
Does it make difference as the same line is there in the file
j
OK, make sure you have OneDrive in the redirections file. Just OneDrive, NOT the folder in AppData\Local\Microsoft. Then make sure that the redirections file is getting copied properly into the user profile at logon (it should be in %LOCALAPPDATA%\FSLogix). See if it still happens then.
r
Sorry if sounds silly but I am very new to fslogix the redirection file which I sent what changes needed kindly let me know.and on the fslogix logs at location c:\programdata\fslogisx\logs\ I can see redirection happen
j
Nah I think that's a different redirection that is going on in the logs, that might be FSLogix redirection "rules", not FSLogix Profile Containers local redirection
Try something like this <?xml version="1.0" encoding="UTF-8"?> <!--Generated 2020-03-18 from https://raw.githubusercontent.com/aaronparker/FSLogix/master/Redirections/Redirections.csv--> <FrxProfileFolderRedirection ExcludeCommonFolders="0"> <Excludes> <Exclude Copy="0">Downloads</Exclude> <Exclude Copy="0">OneDrive</Exclude> <Exclude Copy="0">$Recycle.Bin</Exclude> <Exclude Copy="0">AppData\Local\Downloaded Installations</Exclude> <Exclude Copy="0">AppData\Local\CrashDumps</Exclude> </Excludes> <Includes /> </FrxProfileFolderRedirection>
r
Will try
j
When the redirections are active, the folders in the XML file will be redirected into a profile folder called c:\users\local__username_
r
Yes I can see that foldet
j
And inside that folder you see the items you have redirected from the container into this folder
r
If i am already seeing that OneDrive folder there it means it should not go to profile container
j
Yes, that's correct, as long as you have the right name for the folder (for instance my OneDrive is actually called "c:\users\username\onedrive - james-rankin.com"
r
Ok I will check that
By the way my whole purpose is to enable OneDrive file on demand on Windows 2019 but i am facing lot of issue like it gives option to user for saving files as always keep on local device which causes storage space full.
j
Unfortunately that option will always exist. Do you mean it is filling the FSLogix container?
r
yes
Will this option will work in Rediection.xml<Exclude Copy="0">C:\Users\kumrj.SANTOS\OneDrive - Santos</Exclude>
as i can see the file location is this path
j
It works on the path relative to the user profile, so the path would be OneDrive - Santos
r
Sorry to hijack, but I thought if you use Profile and ODFC, that OneDrive isn't in the profile, or did I misunderstand that?
r
do u have any suggestion for avoiding the gslogix continer size increase for that only i want to do this so the container size won't fille as we have users who have almost 10 gb data in thier one and if the start downloading the onedrive data to fslogix container it will be mess in storage space
j
@Rob Sheppard I've never tested using Profile and O365 Container but with OneDrive turned off in the O365 Container. It's another one I've added to my "FSLogix admin queries" list
@rajneesh saraswat if you're short on storage FSLogix maybe isn't the option for you? 10GB is nothing, especially if you use Teams, Outlook, Skype, OneNote and OneDrive. Our users are all 20-40GB
If you want to keep it lean, UPM may be a better option (here's me laughing about recommending UPM after slating it at the user group today)
πŸ‘ 2
r
Gotcha. Yeah, then I did misread that then. @Deyda mentioned about separating them out in another thread, which I'm going to look out at some point.
j
I want to get all these weird little scenarios documented but with the backlog I've got probably be next month before I can get around to it
r
hi James one more query not sure wher my configuration wrong or its FSlofix default beviour when i just login and log off the citrix session my Profile container is almost 600 MB toguh when i mount the container and try to check the siz ein that its is almost 400 not sure where 200 mb is going
j
Profile Containers expand, but they don't shrink. So if an application uses 1GB of space temporarily, and then 500MB of the files are deleted, the white space isn't reclaimed. However, the white space will then be used first to store newer files. The discrepancy you are seeing is probably temporary files that are no longer there. If you want to shrink them, you have to do it manually using one of the community scripts.
r
ok and do we have any best practice rdirection files which can help in keepig the size low in first login itself
because as i said i just logged in and logged out and its almost 700 MB in space
j
Nope. Profile Containers generally isn't designed to save space. Some people use aggressive redirections but really you are just swapping storage for I/O as all these files come back. The "best practice" for redirections is "do it as little as possible". if you think 700MB is big, FSLogix is NOT, I repeat, NOT the product for you. Use Citrix User Profile Manager instead.
πŸ‘ 1
k
Here, in danish context, I usually go with at least 5GB per profile container, but it's not unusual that they at least double in size
So 10GB per user is not unheard of
j
We have a max of 100GB but dynamically assigned - typical users are 10-15GB with some outliers up past 20GB
k
Has anyone reached 100GB?
j
No. Our current leader is at 41GB and has a huge OneNote cache file
k
41GB?? That must be the biggest OneNote cache file ever
d
James 41 gb with the whole office container stuff or ?
j
This is Profile Container only, so 41GB with everything - Teams, OneNote, Outlook, Skype and OneDrive
k
AH ok
j
We are anticipating some record-breakers as we open up OneDrive more
k
Well, as long as there are enough storage assigned, it shouldn't be an issue
d
Yes that's what I meant. without oc. everything in the profile container.
k
It doesn't really matter if it's in the profile container or office container, you still need the storage. It matters if you want to backup the profile containers, it would then make sense to separate the Office data from the profile
j
We don't back up, the cost of resilience in storage terms is way too high. But having said that - we very rarely get any problems with losing profiles
k
I agree. I rarely support backing up profile containers
r
we back up profile containers, and not odfc container.
and... this thread just reeks of http://xyproblem.info/ πŸ˜†