uwfmgr

Unified Write Filter (UWF). Protect drives by redirecting any writes to the drive to a virtual overlay. Writes are discarded upon reboot unless committed by default. More information: https://learn.microsoft.com/windows/iot/iot-enterprise/customize/unified-write-filter.

uwfmgr get-config

uwfmgr volume protect drive_letter:

uwfmgr volume unprotect drive_letter:

uwfmgr filter enable|disable

uwfmgr file commit drive_letter:\path\to\file

uwfmgr file commit-delete drive_letter:\path\to\file