Windows log rotation for NPS (Radius server)

hi

our NPS(Radius server)) is bobming the server with logs and taking up all the space,
how do i define log rotation for those logs?
ymg800Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

RikeRCommented:
Have you tried disabling logging for successfull authentication requests?

/steven
0
ymg800Author Commented:
Sorry, but I don't want to reduce the log only to rotate/ delete old ons
0
tbsgadiCommented:
Have a look at Configure NPS Log File Properties:
 
http://technet.microsoft.com/en-us/library/ee663944(v=ws.10).aspx


Gary
0
Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

kevinhsiehCommented:
These log files are very compressable. Enable NTFS compression on the directory to compress existing and new log files.
0
ymg800Author Commented:
how about move the file with script?
can u give me a script that do that?
0
ymg800Author Commented:
I've requested that this question be deleted for the following reason:

no reply.........
0
kevinhsiehCommented:
You can easily delete files older than X days if you like. See
http://stackoverflow.com/questions/51054/batch-file-to-delete-files-older-than-n-days
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
ymg800Author Commented:
hi

well this is almost the solution and nice and easy one, but it's deleting only the files and not the folders

how do i tweek it to del folders as well?

thanks
0
kevinhsiehCommented:
NPS puts all log files into a single directory, so you wouldn't delete any directories.
0
ymg800Author Commented:
yes but i want it for other purpose as well.. so i need to del direcoties for that
0
kevinhsiehCommented:
Yes, I am sure that can be done via scripting, but that would be a different question.
0
ymg800Author Commented:
do u happend to know the solution for this?
it will be appriciated :)

thanks
0
kevinhsiehCommented:
I could make one up, may not be the cleanest way to do it, though. Post the new question, and I am sure that someone will answer it.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
IT Administration

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.