1. Take ownership of the file (I did that manually)
2. use ICACLS to make yourself named among the principals (you're not, even if you own the file) ... AND WITH FULL ACCESS.
c:\program files (x86)\common files\microsoft shared\dao> ICACLS dao360.dll /grant vefatica:F
processed file: dao360.dll
Successfully processed 1 files; Failed processing 0 files
3. Delete it.
I actually deleted the real thing (and restored it from a copy).
c:\program files (x86)\common files\microsoft shared\dao> del dao360.dll
Deleting C:\Program Files (x86)\Common Files\Microsoft Shared\DAO\dao360.dll
1 file deleted
If you insist on doing this in a script, you'll have to figure out how to change ownership with a script. SUBINACL is pretty easy to find. Google turned up this example
subinacl /file test.txt /setowner=domain\user_id
And Windows 10 has TAKEOWN.EXE.
And ICACLS has a "/setowner" option.