Solved

Windows log rotation for NPS (Radius server)

Posted on 2012-04-03
14
2,003 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
Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

 
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

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

Each year, investment in cloud platforms grows more than 20% (https://www.immun.io/hubfs/Immunio_2016/Content/Marketing/Cloud-Security-Report-2016.pdf?submissionGuid=a8d80a00-6fee-4b85-81db-a4e28f681762) as an increasing number of companies begin to…
Many businesses neglect disaster recovery and treat it as an after-thought. I can tell you first hand that data will be lost, hard drives die, servers will be hacked, and careless (or malicious) employees can ruin your data.
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles from a Windows Server 2008 domain controller to a Windows Server 2012 domain controlle…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…

829 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