Apps Install or Uninstall Built-in Sysmon in Windows 11

  • Thread starter Thread starter Brink
  • Start date Published: Start date Updated Updated:

Sysinternals_banner.webp

This tutorial will show you how to install or uninstall the built-in Sysmon for all users in Windows 11.

System Monitor (Sysmon) is a Windows system service and device driver that, once installed on a system, remains resident across system reboots to monitor and log system activity to the Windows event log. It provides detailed information about process creations, network connections, and changes to file creation time. By collecting the events it generates using Windows Event Collection or SIEM agents and subsequently analyzing them, you can identify malicious or anomalous activity and understand how intruders and malware operate on your network. The service runs as a protected process, thus disallowing a wide range of user mode interactions.

Starting with Windows 11 build 26100.7922 (24H2) and 26200.9822 (25H2), and build 2800.1764 (26H1), previously announced here, Windows now brings Sysmon functionality natively to Windows. Sysmon functionality allows you to capture system events that can help with threat detection, and you can use custom configuration files to filter the events you want to monitor. The captured events are written on the Windows event log, enabling them to be used with security applications and a wide range of use cases.

Built‑in Sysmon is off by default. You must enable it before you can use it.

You must be signed in as an administrator to install or uninstall the built-in Sysmon.


If you have already installed Sysmon from the website, it must be uninstalled before enabling the built-in Sysmon.




Contents

  • Option One: Install or Uninstall Built-in Sysmon using Optional Features
  • Option Two: Install Built-in Sysmon using Command Line
  • Option Three: Uninstall Built-in Sysmon using Command Line




Option One

Install or Uninstall Built-in Sysmon using Optional Features


1 Open Settings (Win+I).

2 Click/tap on System on the left side, and click/tap on Optional features on the right side. (see screenshot below)


Sysmon_Optional_Features-1.webp

3 Click/tap on More Windows Features. (see screenshot below)

Sysmon_Optional_Features-2.webp

4 In Windows Features (OptionalFeatures.exe), check (install) or uncheck (uninstall - default) Sysmon for what you want, and click/tap on OK. (see screenshot below)

Sysmon_Optional_Features-3.webp

5 When finished, perform the appropriate step below: (see screenshots below)
  • If installing Sysmon, click/tap on Close, and go to step 6.
  • If uninstalling Sysmon, click/tap on Restart now to apply, and go to step 9.
Sysmon_Optional_Features-5.webp
Sysmon_Optional_Features-6.webp

6 Open Windows Terminal (Admin), and select Windows PowerShell or Command Prompt.

7 Copy and paste the command below into Terminal (Admin), and press Enter to complete the installation. (see screenshot below)

Sysmon -i

Sysmon_Optional_Features-7.webp

8 You can now close Terminal (Admin) and Settings.

9 You are finished.




Option Two

Install Built-in Sysmon using Command Line


1 Open Windows Terminal (Admin), and select Windows PowerShell or Command Prompt.

2 Copy and paste the appropriate command below into Terminal (Admin), and press Enter. (see screenshots below)

Windows PowerShell
Enable-WindowsOptionalFeature -Online -FeatureName Sysmon

OR​

Command Prompt
DISM /Online /Enable-Feature /FeatureName:"Sysmon"

Sysmon_PowerShell-1.webp
Sysmon_command-1.webp

3 Copy and paste the command below into the elevated PowerShell or Command Prompt terminal, and press Enter to complete the installation. (see screenshot below)

Sysmon -i

Sysmon_Optional_Features-7.webp

4 When finished, you can now close Terminal (Admin) if you like.




Option Three

Uninstall Built-in Sysmon using Command Line


1 Open Windows Terminal (Admin), and select Windows PowerShell or Command Prompt.

2 Copy and paste the appropriate command below into Terminal (Admin), and press Enter. (see screenshots below)

Windows PowerShell
Disable-WindowsOptionalFeature -Online -FeatureName Sysmon

OR​

Command Prompt
DISM /Online /Disable-Feature /FeatureName:"Sysmon"

3 When prompted, perform the appropriate step below:
  • In Windows PowerShell, type Y, and press Enter to restart the computer to apply.
  • In Command Prompt, type Y to restart the computer to apply.
Sysmon_PowerShell-2.webp
Sysmon_command-2.webp




That's it,
Shawn Brink


 
Last edited:
It's safe to leave the feature installed. It doesn't actually do anything until you install the service and driver (the sysmon -i part). I would only leave the service and driver running if I was actually monitoring for something.
 

My Computer

System One

  • OS
    Windows 11 Pro 25H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    Intel NUC12WSHi7
    CPU
    12th Gen Core i7-1260P
    Motherboard
    NUC12WSBi7
    Memory
    64 GB Micron PC4-25600
    Graphics Card(s)
    Intel Iris Xe Graphics
    Sound Card
    on-board Realtek HD Audio
    Monitor(s) Displays
    Dell U3219Q
    Screen Resolution
    3840 x 2160
    Hard Drives
    Samsung SSD 990 PRO 1TB
    Crucial MX500 2 TB
    Antivirus
    Microsoft Defender
Back
Top Bottom