Disable Optimize HTML on publish checkbox

Disables/Enables the option ''When publishing, optimize HTML by removing the following elements'' in the Optimize HTML tab of the Remote Web Site Properties dialog box (File..Publish Site command).

Supported on: At least Windows Vista
Registry HiveHKEY_CURRENT_USER
Registry PathSoftware\Policies\Microsoft\Office\12.0\SharePoint Designer
Value NameDisableCleanOnPublish
Value TypeREG_SZ
Enabled ValueTRUE
Disabled ValueFALSE

spd12.admx

Administrative Templates (Computers)

Administrative Templates (Users)