How to get notified of low hard disk space on windows 2012 r2

pingatwork 156 Reputation points
2020-08-07T03:35:25.36+00:00

Hi all, Good day! I need help on how to set up alerts to notify me if disk space C:\ running low on Win2012R2, which is a Hyper-V VM running on-premises.

so far I searched n found only info for Windows 2003.
https://support.microsoft.com/en-us/help/324796/how-to-configure-a-low-disk-space-alert-by-using-the-performance-logs?wa=wsignin1.0%3Fwa%3Dwsignin1.0

Any suggestion will be greatly appreciated.

Thanks for your time.

Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
13,136 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Leon Laude 85,791 Reputation points
    2020-08-07T07:38:22.857+00:00

    Hi,

    Easiest to achieve this is to create a PowerShell script that checks the disk space of your disks, then schedule the PowerShell script with the Task Scheduler to automatically run the script and notify whoever you want about low disk space.

    There are many guides out there that provide solutions for this, here's a few examples:
    PowerShell: Alert me when Disk Space is running low on my Windows Servers (E-Mail Notification)

    PowerShell : Monitoring and Notification - Disk Space Alerts

    Automated Disk Space Alerts For Windows Server


    (If the reply was helpful please don't forget to accept as answer, thank you)

    Best regards,
    Leon

    0 comments No comments

  2. Ian Xue 37,276 Reputation points Microsoft Vendor
    2020-08-07T08:57:48.027+00:00

    Hi,
    The link you found almost works on Windows Server 2012R2. You could open Performance Monitor and create a new user defined data collector set using the counter LogicalDisk - % Free Space or Free Megabytes

    16346-2020-08-07-172257.png

    Here's a similar issue. Hope this helps
    https://social.technet.microsoft.com/Forums/ie/en-US/a0212ad9-3799-4860-8461-bbe2bd07097e/low-disk-space-email-alerts-via-performance-monitor-server-20122016?forum=winserver8setup

    Best Regards.
    Ian

    ----------

    Please remember to "Accept Answer" if the reply is helpful.

    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.