Windows log rotation for NPS (Radius server)


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?
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

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.

Have you tried disabling logging for successfull authentication requests?

ymg800Author Commented:
Sorry, but I don't want to reduce the log only to rotate/ delete old ons
Have a look at Configure NPS Log File Properties:

Making Bulk Changes to Active Directory

Watch this video to see how easy it is to make mass changes to Active Directory from an external text file without using complicated scripts.

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

no reply.........
You can easily delete files older than X days if you like. See

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:

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?

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

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.
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.