How to Detect Who Installed What Software on Your Windows Server (2024)

How to Detect Who Installed What Software on Your Windows Server

Native Auditing vs. Netwrix Auditor for Windows Server

Native Auditing Netwrix Auditor for Windows Server

Native Auditing

Netwrix Auditor for Windows Server

Steps

  1. Run eventvwr.msc → Windows Logs → Right-click "Application" log → Properties:
  • Make sure the "Enable logging" check box is selected
  • Increase the log size for at least 1 GB
  • Set the retention method to "Overwrite events as needed" or "Archive the log when full".
  1. Open Event Viewer and search the application log for the 11707 event ID with MsiInstaller Event Source to find the latest installed software.
  2. To create an instant alert that is triggered upon any software installation, you need to edit the following PowerShell script by setting your parameters up and saving it anywhere as .ps1 file (e.g., detect_software.ps1):

#Mail SMTP Setup Section
$Subject = "New Software Has Been Installed on $env:COMPUTERNAME" # Message Subject
$Server = "smtp.server" # SMTP Server
$From = "From@domain.com" # From whom we are sending an e-mail(add anonymous logon permission if needed)

$To = "to@uncc.edu" # To whom we are sending
$Pwd = ConvertTo-SecureString "enterpassword" -AsPlainText –Force #Sender account password
#(Warning! Use a very restricted account for the sender, because the password stored in the script will be not encrypted)
$Cred = New-Object System.Management.Automation.PSCredential("From@domain.com" , $Pwd) #Sender account credentials

$encoding = [System.Text.Encoding]::UTF8 #Setting encoding to UTF8 for message correct display

#Generates human readable userID from UserSID in log.

$UserSID = (Get-WinEvent -FilterHashtable @{LogName="Application";ID=11707;ProviderName="MsiInstaller"}).UserID.Value | select -First 1
$objSID = New-Object System.Security.Principal.SecurityIdentifier("$UserSID")
$UserID = $objSID.Translate([System.Security.Principal.NTAccount])

#Generates email body containing time created and message of application install.

$Body=Get-WinEvent -FilterHashtable @{LogName="Application";ID=11707;ProviderName='MsiInstaller'} | Select TimeCreated,Message | select-object -First 1

#Sending an e-mail.
Send-MailMessage -From $From -To $To -SmtpServer $Server -Body "$Body . Installed by: $UserID" -Subject $Subject -Credential $Cred -Encoding $encoding

  1. Run Task Scheduler → Create new schedule task → Enter its name → Triggers tab → New trigger → Set up the following options:
    • Begin the task on an event
    • Log – Application
    • Source – Blank
    • EventID – 11707.
  2. Go to the Actions Tab → New action with the following parameters:
    • Action – Start a program
    • Program script: PowerShell
    • Add arguments (optional): -File "specify the file path to our script"
    • Click "OK".x
  3. Now, you will be notified about every software installation on your Windows server via e-mail message containing details on the software installation time, software name, and installer’s userID (SID).
How to Detect Who Installed What Software on Your Windows Server (2)

Run Netwrix Auditor → Navigate to "Reports" → "Windows Server" → "Windows Server Changes"→ Select the "Programs Added and Removed" report → Click "View".

To receive the report regularly by email, click the "Subscribe" button and select the preferred schedule.

How to Detect Who Installed What Software on Your Windows Server (3)

It is best to set up an alert on new software installation, by following the below steps:

  1. From the Netwrix Auditor home page, navigate to "Alerts" → Click "Add" → Specify the alert’s name.
  2. Switch to the "Recipients" tab → Click "Add Recipient" → Specify an email address where you want the alert to be delivered.
  3. Navigate to the "Filters" tab → Adjust the following filters:
  4. Click "Add" to save the alert.

Whenever someone installs new software, you will receive a similar alert:

How to Detect Who Installed What Software on Your Windows Server (4)

Learn more about Netwrix Auditor for Windows Server

Detect Violations of Corporate Software Installation Policy

Accidental or intentional unauthorized software installation on Windows Server can enable malware to enter your network, which can lead to performance problems and the loss or leakage of sensitive data. Threats come from both inside the organization as well as from hackers on the outside: Employees may unknowingly download and install malicious programs, thereby violating your software installation policy. That is why it is critical to be aware of what software was installed, who installed software on Windows, and when it happened. You can use PowerShell scripts to look for Windows installer logs in Event Viewer, but that requires expertise in PowerShell scripting and could be hectic.

To reduce the risks of breaches and downtime, IT pros need to be able to detect when new software is installed and quickly determine all the who-what-where-when-what details. Netwrix Auditor for Windows Server delivers complete visibility into what is happening across your Windows Server infrastructure, including unauthorized software installation by looking into event logs for installed applications. IT pros simply create an alert, and they will immediately receive a detailed e-mail notification whenever new software is installed and see who installed a program on Windows, so they can fully secure the organization’s assets.

Previous How-to How to Detect Who Modified Mailbox Permissions in Exchange Online Next How-to How to Detect Changes to Organizational Units and Groups in Active Directory

Related How-tos

How to Monitor Deletions of DNS Records How to Detect Who Created a Scheduled Task on Windows Server How to Detect Modifications to Startup Items in the Windows Registry How to Get Local Group Members Report with or without PowerShell How to Get Server Inventory across Your Network How to List All User Accounts on a Windows System

How to Detect Who Installed What Software on Your Windows Server (2024)
Top Articles
Pan De Coco Recipe (Coconut Bread)
Tourtiere: Canadian Meat Pie Recipe
Katmoie
FFXIV Immortal Flames Hunting Log Guide
Ingles Weekly Ad Lilburn Ga
Jesus Calling December 1 2022
Women's Beauty Parlour Near Me
David Packouz Girlfriend
Midway Antique Mall Consignor Access
Jessica Renee Johnson Update 2023
4302024447
What is the difference between a T-bill and a T note?
Inevitable Claymore Wow
Ivegore Machete Mutolation
Baywatch 2017 123Movies
Dutch Bros San Angelo Tx
Idaho Harvest Statistics
Powerball winning numbers for Saturday, Sept. 14. Check tickets for $152 million drawing
Union Ironworkers Job Hotline
Northeastern Nupath
Mikayla Campinos Laek: The Rising Star Of Social Media
Costco Great Oaks Gas Price
Aaa Saugus Ma Appointment
Sulfur - Element information, properties and uses
Quest: Broken Home | Sal's Realm of RuneScape
Stoney's Pizza & Gaming Parlor Danville Menu
Holiday Gift Bearer In Egypt
Riversweeps Admin Login
Ceramic tiles vs vitrified tiles: Which one should you choose? - Building And Interiors
Kingdom Tattoo Ithaca Mi
Defending The Broken Isles
Foodsmart Jonesboro Ar Weekly Ad
Firefly Festival Logan Iowa
Leben in Japan – das muss man wissen - Lernen Sie Sprachen online bei italki
Chelsea Hardie Leaked
Current Students - Pace University Online
031515 828
Purdue Timeforge
Wells Fargo Bank Florida Locations
Club Keno Drawings
EST to IST Converter - Time Zone Tool
Keeper Of The Lost Cities Series - Shannon Messenger
20+ Best Things To Do In Oceanside California
Tryst Houston Tx
2 Pm Cdt
1Exquisitetaste
56X40X25Cm
Rheumatoid Arthritis Statpearls
Strange World Showtimes Near Atlas Cinemas Great Lakes Stadium 16
Helpers Needed At Once Bug Fables
Craigs List Sarasota
OSF OnCall Urgent Care treats minor illnesses and injuries
Latest Posts
Article information

Author: Prof. Nancy Dach

Last Updated:

Views: 5903

Rating: 4.7 / 5 (57 voted)

Reviews: 80% of readers found this page helpful

Author information

Name: Prof. Nancy Dach

Birthday: 1993-08-23

Address: 569 Waelchi Ports, South Blainebury, LA 11589

Phone: +9958996486049

Job: Sales Manager

Hobby: Web surfing, Scuba diving, Mountaineering, Writing, Sailing, Dance, Blacksmithing

Introduction: My name is Prof. Nancy Dach, I am a lively, joyous, courageous, lovely, tender, charming, open person who loves writing and wants to share my knowledge and understanding with you.