NPS accounting log gets prematurly deleted

Keel Stefan PHSG 6 Reputation points
2021-04-14T09:58:39.597+00:00

We upgraded our NPS installation from Windows 2012 R2 to Windows 2019. Therefore we took a backup on the old server and imported the configuration on the new one (https://learn.microsoft.com/en-us/windows-server/networking/technologies/nps/nps-manage-export).

On all servers we have now the situation that NPS-Accounting-logfiles will be deleted, if they are older than 8 days. But the checkbox "when disk is full delete older log files" is not set. So I have no clue, why logs were deleted.

Windows for business | Windows Server | User experience | Other
{count} vote

5 answers

Sort by: Most helpful
  1. Stuart 6 Reputation points
    2022-08-03T08:41:35.817+00:00

    keelste Did you ever find a fix for this? I am also running NPS on Windows Server 2019 and have the exact same issue. All the logs older than 8 days are automatically deleted even if the checkbox "when disk is full delete older log files" is not set.

    Any help appreciated.

    1 person found this answer helpful.
    0 comments No comments

  2. JoshuaHirsh-8855 5 Reputation points
    2024-09-06T13:48:13.0766667+00:00

    I got fed up with this same problem, so ran procmon for a while to catch it in the act. The 'SilentCleanup' scheduled task under Microsoft\Windows\DiskCleanup is your culprit (or at least, one of them?).

    Annoyingly, this says it's only supposed to help clean up when low on space... but I'm definitely not low on space, yet it purged the logs regardless. This task only runs if someone is logged in, though.

    1 person found this answer helpful.

  3. Anonymous
    2021-04-22T08:53:09.153+00:00

    Hi @Keel Stefan PHSG ,

    I have searched for a period of time and did not find any related resource talking about this symptom. If there is no specific event/error about the problem, it is hard for us to do troubleshooting from forum support level. In such case, I would suggest you contact Microsoft Customer Support and Services where more in-depth investigation can be done so that you would get a more satisfying explanation and solution to this issue.

    Here is the link:

    https://support.microsoft.com/en-us/gp/customer-service-phone-numbers

    Best Regards,
    Candy

    --------------------------------------------------------------

    If the Answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

  4. Bill Spicer 26 Reputation points
    2023-01-04T19:30:05.003+00:00

    I am having the same issue. When we upgraded our RRAS/NPS servers to 2019 I couldn't figure out why the logs keep deleting. We used to have a script that would delete them if they were older than 3 months but they never make it to 3 months. Now I have a script to copy the logs weekly to another folder so they won't get deleted.

    I did open a ticket with Microsoft on this and they couldn't figure it out. I ended up closing the ticket out of frustration.

    0 comments No comments

  5. Keel Stefan PHSG 6 Reputation points
    2023-01-05T07:54:41.23+00:00

    Hi BillSpicer-0676

    Thank you for your post. We made something similar. Annoying...

    Best regard

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.