Discussion Locked

Disk Quota in win2003 server

0 helpful
8 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Dear Collleagues,
I have enabled disk quota on a drive in windows server 2003. Created users home folders on this partition and copied their existing data over to this folders. But the quota is not updating. instead it hasallocated all the user data to the administrator who copied them over. How do I make the system understand that it should calculate the uasge for the users rather than think that all the data is mine.

Thanks

8 replies

by lowlands

you'll have to make sure the users are the owners of the files in their homedirectory. Depending on how many directories there are, you can do it manually. or you cn use a script to set the permissions. Look here for one of the best tools to set permissions

http://setacl.sourceforge.net

by sathish_ampra

Hi,
This is because of the builtin administrator do not have any quota limit. Alternatively you can try adding new user in power user/Backup operator group and try to copy all the user data again.

This may solve your problem.

regards,

by istmajor

I'm having almost the same problem. I created the user folders on the remote server, setup the quotas, even set it so that the admin group couldn't even read the folder it was strictly to the user and the user set to own it. Then from the User's PC I updated their "My Documents" to the corresponding folder on our server... All the files copied over no problem and showed "Servername/Administrator" as their owner there by not doing anything as far as the quotas were concerned. I just wanna know how on earth I can get the ownership to show up correctly.

I am using Server 2003, Vista, XP, and 2000 on my network. Any ideas?

by r_designer

disk quota is calculated by ownership so give the ownership of these files to the user u want to decrease quota from
from security tap ---- advanced ----- owner then choose the user and press ok

good luck

by istmajor

I realize that my problem is that it's coming through as administrator. I need it to come through under the indaivdual's ownership or it make quotas more or less pointless as anything new copied through will come through as administrator anyway. I realize you are trying to help my problem is the ownership defaulting to admin for no real reason...

by mark.melanson

The BATCH script below will enumerate the directories in and set the owner the same as the directory name. Assumes user home dirs are named the same as the user account.

for /f "tokens=*" %%A in ('dir /b ""') do subinacl /subdirectories "\%%A" /setowner="\%%A"

by etanirer

PLS use "treesize view program" to find out how much space users are using. In the tree find RECYCLER part expand it and delete the files by right clicking one by one.
It works for me.

This discussion is closed to new replies.