Is there a way to restore x40 series back to the factory state?

I am trying to restore my 840 and 1040 Solar back to their factory state (the state before I started configuring/pairing it with my account either in Garmin Express or Garmin Connect) to troubleshoot an issue with screen recording. The "Delete data and reset settings" option does not do that because it still leaves behind files that are not part of the factory install. 

https://www8.garmin.com/manuals/webhelp/GUID-0083D0A0-EA6E-41F0-8207-3F1498875E61/EN-US/GUID-AF7BFED5-CD5E-4547-94AC-71DD8413E2F1.html

Is there a way to reset the devices back to the factory state?