You could try changing the permissions for the Roles that you do want to record quiz attempts for:
Under Site administration / Users / Permissions / Define roles the mod/quiz:attempt option should be "allowed" and mod/quiz:preview should be "not set".
Does that do what you want?