deleburth Posted January 3, 2010 Share Posted January 3, 2010 May be some one had such a problem... I'm using windows server 2008 x64, with UAC turned on. This is my script: dirquota quota add /Path:%gameserverroot% /SourceTemplate:"QuotaX" netsh firewall add allowedprogram "%gameserverexe%" %serverip%_%serverport% ENABLE The part with firewall works perfectly, but quotas do not. I've tried using this string from command line and it works perfectly too. It sets the quota template i need. I've also tried to turn UAC off, but still no result. No matter where I place the line with quotas, before or after firewall line, it just does not work. Can anyone suggest me something? Link to comment Share on other sites More sharing options...
dimitrifrom31 Posted January 3, 2010 Share Posted January 3, 2010 try with the gameserverroot notrailingslash variable, had a similar issue with another script and that did it. however it wasnt about quotas so no guarantee its gona work for u but its worth trying Link to comment Share on other sites More sharing options...
deleburth Posted January 4, 2010 Author Share Posted January 4, 2010 Already tried that. From command line script work both with and without slash, from tcadmin both variants do not work. And it is sad... Link to comment Share on other sites More sharing options...
dimitrifrom31 Posted January 4, 2010 Share Posted January 4, 2010 To use this command, you must be logged on as an administrator or a member of the Administrators group. http://technet.microsoft.com/fr-fr/library/cc754836%28WS.10%29.aspx Maybe that cant be ran from the localsystem account (the one used by TCA). Try to run TCA monitor service as Administrator instead of localsystem. Link to comment Share on other sites More sharing options...
deleburth Posted January 4, 2010 Author Share Posted January 4, 2010 Thank you. Forgot to mention, that I tried that too, but without success anyway %) May be I need some kind of magic to be able to use this script ))) Setting quotas is not a serious problem, but now I think of it as a personal one. At least until I solve it Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.