# Clear all FileExts UserChoice entries on the Administrator profile. # In Audit Mode these keys aren't hash-protected yet. # With CopyProfile=true in generalize, the clean profile (without UserChoice) # is copied to new users, so HKLM Classes become the effective defaults. { ... }: { name = "clear-assoc"; auditScript = '' @echo off echo Clearing FileExts UserChoice entries... reg delete "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FileExts" /f 2>nul ''; }