In IIS Manager, disable for the site or folder.

Never enable global directory indexing. Instead, apply it only to dedicated folders designed for public browsing: