admin管理员组

文章数量:1297226

I am trying to write a Powershell script to set disk quotas for newly created users on Windows 11.

fsutil does only allow setting the quota for specific users which doesn't help me here, I want to set it for users that are created later.

I found the tip to create/set the values Limit, LimitUnits, Threshold and ThresholdUnits in the registry under HKLM:\SOFTWARE\Policies\Microsoft\Windows NT\DiskQuota, but that doesn't seem to do anything either.

本文标签: Set Windows disk quota for new users in powershellStack Overflow