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)

FAQs

How do I know who installed a software in Windows Server? ›

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 check software installation logs in Windows? ›

View the Windows Setup event logs
  1. Start the Event Viewer, expand the Windows Logs node, and then click System.
  2. In the Actions pane, click Open Saved Log and then locate the Setup. etl file. By default, this file is available in the %WINDIR%\Panther directory.
  3. The log file contents appear in the Event Viewer.
Jan 20, 2022

How to check application logs in Windows Server? ›

View the Windows application log
  1. On the Search bar, type Event Viewer, and then select the Event Viewer desktop app.
  2. In Event Viewer, expand the Windows Logs folder, and select the Application event log.
Feb 28, 2023

How can I tell who modified a file in Windows Server? ›

To view this audit log, go to the Event Viewer. Under Windows Logs, select Security. You can find all the audit logs in the middle pane as displayed below. Search the Security Windows Logs for the event ID 4656 with the Audit Failed keyword to find out who tried changing a file or folder.

How do I find user details in Windows Server? ›

9 answers
  1. Open the Server Manager console on your Windows Server.
  2. In the left-hand menu, click on "Local Users and Groups."
  3. In the main window, click on the "Users" folder to view a list of all the users on the server.
Dec 21, 2022

Where can I find software logs? ›

Click on the Windows Start Button. Right-click on Computer and select Manage. In the Computer Management dialog, expand System Tools | Event Viewer | Windows Logs.

How to read Windows Installer logs? ›

Launch the package in debug mode from Advanced Installer

Check the Show run Log option and press the [ Run ] button to run the installer in debug mode. The resulting Windows Installer log will be shown in the “Run Log” Panel. In the bottom of your Advanced Installer project, the Run and Log panel will be displayed.

Where are the Windows software Center logs? ›

On the client computers, the log files are located in the “CCMLogs” folder within the Windows directory. The default path is “C:\Windows\CCM\Logs”.

How do I analyze Windows server logs? ›

Event Viewer is the native Windows tool for managing Windows logs. Using Event Viewer, you can navigate through logs, filter them by type, and export them for further analysis. Event Viewer can be easily accessed in several ways, such as from the Control Panel or by opening the command prompt and typing “eventvwr.”

How do I check server logs? ›

Checking Windows Event Logs
  1. Press ⊞ Win + R on the M-Files server computer. ...
  2. In the Open text field, type in eventvwr and click OK. ...
  3. Expand the Windows Logs node.
  4. Select the Application node. ...
  5. Click Filter Current Log... on the Actions pane in the Application section to list only the entries that are related to M-Files.

How do I check user activity on Windows Server? ›

Track User Activity in Windows Computers using Event Logs
  1. Enable Audit Policy. Select Server Manager on Windows server. ...
  2. Enable logon-logoff. Go back to Computer Configuration. ...
  3. Use Active Directory Event Viewer to check the logs. Open Event Viewer and navigate to Windows logs, Security.
Jun 23, 2023

How can I tell who is using a file on a server? ›

You can use Computer Management and connect to the server that is hosting the file. Then you can look at System Tools > Shated Folders > Open Files. Find the file are being asked about in the list on the right. Beside the file name you will see who has it open and the Open Mode (read only; read-write).

How can I tell who started a service in Windows Server? ›

Within the Event Viewer (Control Panel | Administrative Tools | Event Viewer) on the System tab the Service Control Manager logs who started and stop each event.

How do you identify and name application software installed in a computer? ›

Examples of Application Software
  • A collection of Microsoft software including MS Office, PowerPoint, Word, Excel, and Outlook.
  • Common Internet browsers like Google Chrome, Safari, Firefox, etc.
  • Graphics and designing software such as Canva, Adobe Photoshop, CorelDraw, and AutoCAD.
Jun 11, 2024

Where can the user check the list of software installed on his physical machine? ›

Select Start > Settings > Apps. Apps can also be found on Start . The most used apps are at the top, followed by an alphabetical list.

References

Top Articles
Latest Posts
Article information

Author: Gov. Deandrea McKenzie

Last Updated:

Views: 6507

Rating: 4.6 / 5 (46 voted)

Reviews: 93% of readers found this page helpful

Author information

Name: Gov. Deandrea McKenzie

Birthday: 2001-01-17

Address: Suite 769 2454 Marsha Coves, Debbieton, MS 95002

Phone: +813077629322

Job: Real-Estate Executive

Hobby: Archery, Metal detecting, Kitesurfing, Genealogy, Kitesurfing, Calligraphy, Roller skating

Introduction: My name is Gov. Deandrea McKenzie, I am a spotless, clean, glamorous, sparkling, adventurous, nice, brainy person who loves writing and wants to share my knowledge and understanding with you.