Solved

Windows log rotation for NPS (Radius server)

Posted on 2012-04-03
14
2,095 Views
Last Modified: 2012-08-14
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?
0
Comment
Question by:ymg800
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
14 Comments
 
LVL 5

Expert Comment

by:RikeR
ID: 37801307
Have you tried disabling logging for successfull authentication requests?

/steven
0
 

Author Comment

by:ymg800
ID: 37801335
Sorry, but I don't want to reduce the log only to rotate/ delete old ons
0
 
LVL 46

Expert Comment

by:tbsgadi
ID: 37851532
Have a look at Configure NPS Log File Properties:
 
http://technet.microsoft.com/en-us/library/ee663944(v=ws.10).aspx


Gary
0
Simple, centralized multimedia control

Watch and learn to see how ATEN provided an easy and effective way for three jointly-owned pubs to control the 60 televisions located across their three venues utilizing the ATEN Control System, Modular Matrix Switch and HDBaseT extenders.

 
LVL 42

Expert Comment

by:kevinhsieh
ID: 37852626
These log files are very compressable. Enable NTFS compression on the directory to compress existing and new log files.
0
 

Author Comment

by:ymg800
ID: 37860960
how about move the file with script?
can u give me a script that do that?
0
 

Author Comment

by:ymg800
ID: 37938665
I've requested that this question be deleted for the following reason:

no reply.........
0
 
LVL 42

Accepted Solution

by:
kevinhsieh earned 500 total points
ID: 37938666
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
 

Author Comment

by:ymg800
ID: 37962331
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
 
LVL 42

Expert Comment

by:kevinhsieh
ID: 37962364
NPS puts all log files into a single directory, so you wouldn't delete any directories.
0
 

Author Comment

by:ymg800
ID: 37962416
yes but i want it for other purpose as well.. so i need to del direcoties for that
0
 
LVL 42

Expert Comment

by:kevinhsieh
ID: 37963656
Yes, I am sure that can be done via scripting, but that would be a different question.
0
 

Author Comment

by:ymg800
ID: 37963799
do u happend to know the solution for this?
it will be appriciated :)

thanks
0
 
LVL 42

Expert Comment

by:kevinhsieh
ID: 37965737
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

Featured Post

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.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Ransomware is a malware that is again in the list of security  concerns. Not only for companies, but also for Government security and  even at personal use. IT departments should be aware and have the right  knowledge to how to fight it.
This article was originally published on Monitis Blog, you can check it here .   Some years back, I worked as the CTO.  During my tenure, I had a head of IT support reporting to me.  He did his job quite well and had a commendable sense of duty …
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

738 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question