Solved

Windows log rotation for NPS (Radius server)

Posted on 2012-04-03
14
1,857 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
Comment Utility
Have you tried disabling logging for successfull authentication requests?

/steven
0
 

Author Comment

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

Expert Comment

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


Gary
0
 
LVL 42

Expert Comment

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

Author Comment

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

Author Comment

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

no reply.........
0
What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

 
LVL 42

Accepted Solution

by:
kevinhsieh earned 500 total points
Comment Utility
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
Comment Utility
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
Comment Utility
NPS puts all log files into a single directory, so you wouldn't delete any directories.
0
 

Author Comment

by:ymg800
Comment Utility
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
Comment Utility
Yes, I am sure that can be done via scripting, but that would be a different question.
0
 

Author Comment

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

thanks
0
 
LVL 42

Expert Comment

by:kevinhsieh
Comment Utility
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

Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

Join & Write a Comment

Many companies are looking to get out of the datacenter business and to services like Microsoft Azure to provide Infrastructure as a Service (IaaS) solutions for legacy client server workloads, rather than continuing to make capital investments in h…
Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
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…

728 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now