Solved

Windows log rotation for NPS (Radius server)

Posted on 2012-04-03
14
2,051 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
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
Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

 
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

Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

Question has a verified solution.

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

Suggested Solutions

A project that enables an administrator to perform actions within a user session context not just at the time of login but any time later on day(s) or week(s) later.
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.
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

713 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