Determining the Windows Program that Last Modified a JPEG

Abstract: Enable Windows File System Auditing to identify the specific executable that modified a JPEG file.

Created: 2026-10-07 by

You cannot directly identify the specific Windows program that modified a JPEG file using standard file properties or basic command-line tools. The Date Modified timestamp only records when the file content changed, not which application triggered the change. To find this information, you must enable and analyze detailed File System Auditing via Group Policy and the Windows Event Log.

Understanding the Limitations of Standard Timestamps

When you right-click a JPEG image in Windows Explorer and select Properties, you will see fields for Date Created, Date Modified, and Date Accessed. These timestamps are managed by the NTFS file system and are updated whenever the file's data stream is altered. However, they do not store metadata about the process ID (PID) or the executable name responsible for the write operation. This is a fundamental design limitation of the Windows file system architecture, which prioritizes performance over granular process tracking for general users. Consequently, if you notice that a photo was edited at an unknown time, looking at these dates alone will not reveal whether it was Photoshop, Paint, a batch renaming tool, or a cloud sync client like OneDrive. This lack of visibility often leads to confusion when trying to troubleshoot unexpected changes to media files. For more general storage issues that might affect file integrity, you can refer to our guide on How to Fix Hard Drive Issues on Windows 7 and Windows 10.

Enabling File System Auditing

To capture the identity of the modifying application, you need to configure Windows Security Auditing. This feature logs security-relevant events, including file access and modification attempts, provided the correct policies are set. Note that this process requires Administrator privileges and may impact system performance due to increased logging volume. First, open the Local Security Policy editor by pressing Win + R, typing secpol.msc, and hitting Enter. Navigate to Local Policies > Audit Policy. Double-click Audit object access and check both Success and Failure boxes. Click OK to save this global setting. Next, you must enable auditing for the specific folder containing your JPEGs. Right-click the parent directory of the images, select Properties, and go to the Security tab. Click the Advanced button at the bottom. Switch to the Auditing tab and click Add. Select a principal (usually Everyone or a specific user group), then define the type of access to audit. You should select Modify under the "Basic permissions" section to ensure any change to the file triggers a log entry. Apply these settings to the folder and all subfolders.

Analyzing the Windows Event Log

Once auditing is active, any modification to a JPEG within the monitored folder will generate an event in the Windows Event Viewer. Open Event Viewer (eventvwr.msc) and expand Windows Logs > Security. Look for Event ID 4663, which indicates an attempt to access an object. In the event details, locate the Access List field. If the value includes WRITE_DATA or DELETE, it confirms a modification occurred. More importantly, look for the Process Name field in the same event description. This field explicitly states the full path to the executable that performed the action, such as C:\Program Files\Adobe\Photoshop.exe or C:\Windows\System32\notepad.exe. You can filter these events by clicking Action > Filter Current Log... and entering 4663 in the XML query box. This allows you to quickly isolate relevant entries without scrolling through thousands of other security events. If you are experiencing broader system instability alongside these file changes, consider checking for underlying hardware faults using Troubleshooting Windows: How to Fix Hard Drive Issues Using Command Line.

Alternative Methods and Considerations

If enabling auditing is too complex or causes performance issues, there are alternative approaches. Third-party monitoring tools like Process Monitor (ProcMon) from Sysinternals can track real-time file activity. By filtering ProcMon for your specific JPEG filename and the SetInformationFile operation, you can see exactly which process wrote to the file at that moment. However, this method requires you to be actively monitoring when the modification happens, whereas auditing works retrospectively. Another consideration is that some applications modify files indirectly. For example, a backup utility might copy the file to a temporary location, modify it, and replace the original. In such cases, the process name might show the backup software rather than the image editor. Additionally, antivirus scanners often read and occasionally touch files during scans, which could also trigger audit logs with generic names like avast.exe. It is crucial to remember that auditing must be enabled *before* the modification occurs. Once a file is changed without auditing active, that historical data is lost forever. Therefore, this solution is preventive rather than corrective for past events.

Frequently Asked Questions

Can I use PowerShell to find the last modified program?

No, PowerShell commands like Get-Item or Get-ChildItem only retrieve file attributes such as creation and modification times. They do not have access to the kernel-level process history required to identify the executable. You must rely on Windows Event Logs or third-party monitoring tools for this level of detail.

Will enabling auditing slow down my computer?

Yes, enabling object access auditing can significantly increase disk I/O and CPU usage because every file access attempt generates a log entry. It is recommended to disable auditing for large directories or entire drives unless absolutely necessary. Limit the audit scope to specific folders where you suspect unauthorized modifications are occurring.

What does Event ID 4663 mean?

Event ID 4663 is generated when a process attempts to access an object, such as a file or registry key. It provides detailed information about the access rights requested (e.g., read, write, delete) and the process responsible. This is the primary event to monitor when investigating file modifications via auditing.

Can I see who modified the file if I am not logged in?

The audit logs record the process name and the user account context under which the process ran. If a scheduled task or service modified the file, the log will reflect that service's account (e.g., SYSTEM or a specific service account). It does not necessarily show the physical person sitting at the computer, but rather the digital entity that executed the change.

Are there free tools to monitor file changes in real-time?

Yes, Microsoft Sysinternals Process Monitor is a free, powerful tool that can monitor file system activity in real-time. You can create filters to watch specific filenames and see the exact process, thread ID, and result code for every interaction. This is useful for diagnosing issues as they happen, unlike the retrospective nature of Windows Event Auditing.

Latest News

How to Display Output of xterm Command in Terminal Screen using Cron

Resolve the inability to display xterm output in a terminal screen from cron by redirecting logs or using wall instead of insecure X11 workarounds.

Read More
Expose Local Server on VPS Preserving Real Client IPs (OS Level)

Resolve VPS logging showing only gateway IPs by configuring reverse proxies to forward real client addresses via X-Forwarded-For headers.

Read More
How to Clear Recent Files History in Linux without Deleting Actual Files?

Clear recent files history in Linux by deleting ~/.local/share/recently-used.xbel without removing the actual files.

Read More
Best HDD Copy Strategy: Manually Syncing and Rewriting Scratch

Resolve data drift between two 4TB hard drives by using rsync with the --delete flag to manually sync and rewrite scratch data for an exact mirror.

Read More
Understanding Bash Prompt Abbreviations: An Overview

Resolve repetitive typing errors by creating and persisting Bash aliases in the .bashrc file for improved command-line efficiency.

Read More
Free Tools and Methods to Log Real-Time Performance Details in Task Manager

Log real-time CPU and memory metrics to CSV files using Windows Performance Monitor Data Collector Sets to troubleshoot system slowness.

Read More
Contact Qatar Airways Customer Service: Phone Number, Help Center, and More

Resolve urgent Qatar Airways reservation issues like flight changes and baggage claims using the US phone number +1801-855-5905 or online self-service tools.

Read More
Windows 11: Alt Codes Displaying Wrong Characters - Solutions

Resolve Windows 11 Alt codes showing wrong characters by verifying the US keyboard layout and enabling Num Lock.

Read More
Run Programs with Elevated Privileges: A Comprehensive Guide

Eliminates the need to type sudo for frequent administrative tasks by configuring .bashrc aliases or functions.

Read More
Dynamically Changing Dates in Excel Formulas Using Cells

Eliminate manual date updates in Excel by using cell references to create dynamic formulas that automatically adjust calculations when input dates change.

Read More
Granting Edit Access to a Specific Excel Sheet in an Office 365 User Email ID-Based Login

Excel Online lacks native sheet-level permissions, so users must split workbooks or use worksheet protection to isolate edit access for specific tabs.

Read More
Creating Network Load on Local Wi-Fi from One PC

Generate sustained Wi-Fi bandwidth load from a single PC using a VM SFTP server to test router stability and throughput.

Read More
Changing the Default Editor for Batch Files in Windows 11's File Explorer

Resolve the issue of batch files opening in Notepad by changing the default editor to a preferred application like VS Code.

Read More
Gain WiFi Connection Minutes Before Losing it by Changing MAC Address

Bypass MAC address filtering to restore WiFi connectivity temporarily when a device is blocked by network administrators.

Read More
Photos Folders Turned Black: Troubleshooting Picture Applications on Windows

Resolve black screens in Windows Photos by resetting the app, updating graphics drivers, and repairing system files.

Read More
Troubleshooting High CPU Temperature Values: A Step-by-Step Guide

Resolve high CPU temperatures and thermal throttling by monitoring with Speedfan, cleaning dust from cooling components, and replacing degraded thermal paste.

Read More
Make cURL establish TLS connection with CA unknown

Resolve cURL TLS connection failures with unknown or self-signed certificates by using the --insecure flag to bypass CA validation.

Read More
Troubleshooting Incorrect Network Metrics Values in Grafana, Prometheus, InfluxDB, and Telegraf

Fix incorrect network metrics in Grafana, Prometheus, InfluxDB, and Telegraf by verifying interface selection, resolving unit mismatches, and handling counter resets.

Read More
Start Another Terminal Window (cmd.exe) Windows Repair/Troubleshoot

Provides step-by-step instructions to access the Windows Command Prompt via bootable media for advanced system repair and troubleshooting.

Read More
Thinkpad P1 Gen 6: Sudden Thunderbolt 3 Dock USB-C Charging Stopped Working

Resolve sudden Thunderbolt 3 dock USB-C charging and internet failure on ThinkPad P1 Gen 6 by updating firmware, resetting the dock, and adjusting power settings.

Read More
ASUS Windows 11 Laptop: Internet Connection Issue with Hotspot

Resolve ASUS Windows 11 laptop spinning wheel issue when connecting to mobile hotspot by resetting network stack, disabling IPv6, and adjusting power settings.

Read More
Developing iOS Project with Firebase: Logging in and Sending Push Notifications

Integrates Firebase to enable secure user authentication and push notifications in iOS applications.

Read More
Troubleshooting Bash Script with Suspected Issues of Spaces, Dashes, Filenames and Quoting

Resolve Bash script failures caused by word splitting, globbing, and special characters in filenames by applying proper quoting techniques.

Read More
Populating OneDrive Folder for Local Backup without Affecting Remote Files

Prevent OneDrive from deleting remote files during Windows reinstallation by unlinking the account or using symbolic links to isolate local data.

Read More
Force First Frame as Keyframe Without Re-encoding: A Quick Solution

Resolve inaccurate seeking and playback glitches by re-encoding video to ensure the first frame is a valid keyframe.

Read More
Find Information in Database Using WSL (Ubuntu) on Windows-10

Resolve database connection issues from WSL Ubuntu on Windows 10 by configuring client tools and network access to query remote or local servers.

Read More
Configuring a New Router with Different Networks: One Family, One Guest

Resolve IP conflicts and isolate guest traffic by configuring a second router with a distinct subnet via its WAN port.

Read More
Quickly Open Multiple Stock Websites with a Single Command

Solve the problem of manually opening multiple stock research websites by creating a single command to launch them simultaneously on Windows, macOS, or Linux.

Read More
Improved Adobe Acrobat Search Experience: Access Advanced Search with Ease

Access advanced search filters like case sensitivity and regex in Adobe Acrobat by clicking More Options in the Find bar.

Read More
Port Forwarding VM via OpenVPN: A Comprehensive Guide

Configure OpenVPN server and iptables to forward specific ports from VPN clients to a virtual machine's internal IP address.

Read More
Understanding Partitions in the 1980s: A Look Back at MS-DOS and Master Boot Record

Explains how the Master Boot Record and partition table enabled MS-DOS to manage multiple disk volumes on a single physical drive.

Read More
Windows 10 Enterprise: Keyboard Not Detected in Managed Organization with Admin Privileges

Resolve Windows 10 Enterprise keyboard detection failures caused by Group Policy restrictions, driver corruption, or USB enumeration errors.

Read More
Can't Find x86_64 Versions of Applications on MacOS arm64 (M1)

Resolve missing x86_64 app issues on M1 Macs by installing Rosetta 2 and reinstalling apps as universal binaries.

Read More
How to Hide Installation Source for an Android App

Manage Android app installation source visibility by using USB transfers or file managers to reduce browser traces and isolate data via work profiles.

Read More
Connecting Momentus 4200.2 ST9808210A Hard Drive via USB Cable

Resolve inability to access Seagate Momentus 4200.2 ST9808210A hard drive by connecting it via USB using a compatible SATA-to-USB adapter and configuring the disk in Windows.

Read More