Script to find if a Windows 2008 server is actually being utilized

Posted on 2012-09-17
Last Modified: 2012-09-23
We have a couple of Win 2008 servers given to our team. Many a times the server is not being utilized after the initial few months as the project has ended. But we are not always notified about it.

Criteria for knowing if a server is being utilized is:
1. See if a user has logged-in atleast once a week
2. See if the disk utilization has increased.

My question is:

How to determine (in an auto-mated way) if a server is being actively used or utilized?

How to monitor (in an auto-mated way) a server to see if it is actively being used?

Is there any Windows script which can let me know if its a server which is being utilized actively?
Question by:nainil
    LVL 23

    Expert Comment

    by:Nagendra Pratap Singh
    Automation may not be suitable here because to automate for 1000s of possible things is hard.

    Check what does the server does. Check the movement in DB and log files. Check the active sessions.

    Shutdown the server, leave it like that.

    If someone complains, then start it.

    Author Comment


    Criteria for knowing if a server is being utilized is:
    1. See if a user has logged-in atleast once a week
    2. See if the disk utilization has increased.

    From the 1000s of variables, these are the only 2 things I want to monitor. So I am sure there should be an easier way to take care of it.
    LVL 23

    Accepted Solution

    If you have a file server then no one ever needs to log in and no file sizes increase. But the server is still used.

    Disk utilizations comparison would need to note last week's (yesterday may work too) file free space with current free space.


    I think the best option is to check the user profile updated timestamp on the server.  I have this PowerShell script -

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    I had a question today where the user wanted to know how to delete an SSL Certificate, so I thought that I would quickly add this How to! Article for your reference. WHY WOULD YOU WANT TO DELETE A CERTIFICATE? 1. If an incorrect certificate was …
    Active Directory replication delay is the cause to many problems.  Here is a super easy script to force Active Directory replication to all sites with by using an elevated PowerShell command prompt, and a tool to verify your changes.
    This tutorial will give a short introduction and overview of Backup Exec 2012 and how to navigate and perform basic functions. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as conne…
    This tutorial will walk an individual through locating and launching the BEUtility application to properly change the service account username and\or password in situation where it may be necessary or where the password has been inadvertently change…

    758 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

    10 Experts available now in Live!

    Get 1:1 Help Now