Score:0

FSRM Auto apply template not applying to exisiting folders

ua flag

I have set up an auto-apply template using FSRM to a path with a number of existing subfolders but when I apply it, the exisiting folders are not getting a quota created for them.

  • There are 174 sub-folders, combined size is ~6.5GB, 13k files.
  • New sub-folders created after the quota get a quota applied to them, likewise with a folder that is renamed
  • There are no errors in the event viewer that appear to link to it
  • I have tried deleting and re-creating the quota
  • When a new parent folder & sub-folders are created the same directory, the auto-apply works as intended
  • Permissions for the parent folder are the same as a newly created folder
  • If I copy the parent folder and all contents to a new folder, it applies the auto-quota
  • Server version is Windows Server 2016 Standard running on Hyper-V with CU 2022-04 installed

I can just script a solution to do them individually and get around the problem but I'd like to try and figure out why this isn't working as intended.

Score:0
ua flag

So writing out the question basically led me to the answer. I made one edit to the question adding

If I copy the parent folder and all contents to a new folder, it applies the auto-quota

I did this quickly with Powershell and got a few long path name errors but ignored them as they don't affect quotas. So I decided to fix them while I was there and nestled in them was this error:

Powershell error

Explorer error when trying to access:

The handle is invalid error

Turns out our username format ended up creating a folder that started with CON. which isn't allowed.

Answer: You can't have any illegal filenames in a folder you're trying to apply an auto-quota to otherwise it will not apply the quotas to any of the sub-folders

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.