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 to detect who installed what software on your 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 history? ›

  1. Type and search [Apps & features] in the Windows search bar①, then click [Open]②.
  2. In Apps & features, click [Sort by]③ and select [Install date]④.
  3. Click [Filter by]⑤ and select [All drives]⑥. ...
  4. Applications will be sorted by the latest installation date.
Oct 25, 2023

How do I view Windows installation logs? ›

View the Windows Setup event logs

Start the Event Viewer, expand the Windows Logs node, and then click System. In the Actions pane, click Open Saved Log and then locate the Setup.

How to check application logs in Windows Server? ›

On the Search bar, type Event Viewer, and then select the Event Viewer desktop app. In Event Viewer, expand the Windows Logs folder, and select the Application event log.

How do I see who is on a Windows server? ›

To list the relevant users within Windows Server, you can use the following steps:
  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

How do I find my install history? ›

How to See Download History on Google Play Store
  1. First things first: grab your Android device and open the Google Play Store. ...
  2. After tapping on your profile, you'll see several options. ...
  3. In the 'Manage apps & devices' section, click on 'Manage'.
Jan 22, 2024

How can you find a complete list of software's installed on your system? ›

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

How do you know if an app was previously installed? ›

Google Play Store - View Recent Apps
  1. Open the. Play Store. .
  2. Tap the. Account icon. .
  3. Manage apps & device. .
  4. Manage. .
  5. Perform one of the following: View Recent Apps. Installed. to view the apps. View Most Recently Updated Apps. From the 'Sort by' section, tap. Recently updated. , to view the apps.

Where are Windows Server logs located? ›

By default, Event Viewer log files use the . evt extension and are located in the %SystemRoot%\System32\winevt\Logs folder. Log file name and location information is stored in the registry. You can edit this information to change the default location of the log files.

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 to get install log? ›

For creating an installation log, you can use a command line which looks like this:
  1. msiexec /i "C:\MyPackage\Example.msi" /L*V "C:\log\example.log" Copy. ...
  2. msiexec /i <path_to_msi> /L*V <path_to_log> Copy. ...
  3. msiexec /i "C:\MyPackage\Example.msi" /L*V "example.log" Copy. ...
  4. "C:\MyPackage\Setup.exe" /L*V "example.log" Copy.

How to find program 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. Select Application Log.

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 do I monitor user activity in Windows Server? ›

Logon to your computer as an administrator. Computer configuration → Windows Settings → Security Settings → Local Policies → Audit Policies. Open each of these policies and select the Success and Failure checkboxes to ensure every single action and event is audited.

How do I see who is using a file in Windows Server? ›

With Native AD Auditing
  1. Step 1: Enable 'Audit object access' policy. Launch the Group Policy Management console (Run --> gpedit.msc) ...
  2. Step 2: Edit auditing entry in the respective file/folder. Locate the file or folder for which you wish to track all the accesses. ...
  3. Step 3: View audit logs in Event Viewer.

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 can I see who accessed a file on a server? ›

To see who reads the file, open “Windows Event Viewer”, and navigate to “Windows Logs” → “Security”. There is a “Filter Current Log” option in the right pane to find the relevant events. If anyone opens the file, event ID 4656 and 4663 will be logged.

Top Articles
Latest Posts
Article information

Author: Rev. Leonie Wyman

Last Updated:

Views: 6277

Rating: 4.9 / 5 (59 voted)

Reviews: 90% of readers found this page helpful

Author information

Name: Rev. Leonie Wyman

Birthday: 1993-07-01

Address: Suite 763 6272 Lang Bypass, New Xochitlport, VT 72704-3308

Phone: +22014484519944

Job: Banking Officer

Hobby: Sailing, Gaming, Basketball, Calligraphy, Mycology, Astronomy, Juggling

Introduction: My name is Rev. Leonie Wyman, I am a colorful, tasty, splendid, fair, witty, gorgeous, splendid person who loves writing and wants to share my knowledge and understanding with you.