Disable D365IISPreload - d365collaborative/d365fo.tools GitHub Wiki
Disables IIS Preload for the AOSService application pool and website.
Disable-D365IISPreload [<CommonParameters>]
Reverts IIS Preload settings for the AOSService application:
- Sets Application Pool Start Mode to OnDemand
- Sets Idle Time-out to 0 (default)
- Disables Preload on the AOSService website
- Sets doAppInitAfterRestart to false (if Application Initialization is installed)
- Restores previous IIS Preload configuration from backup if available
- Restores or removes the initializationPage property as appropriate
- Uninstalls IIS Application Initialization feature if it was not installed in the backup
Disable-D365IISPreload
Disables IIS Preload for the AOSService application pool and website, restoring previous settings from backup if available.
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
Author: Florian Hopfner (FH-Inway) Based on Denis Trunin's article "Enable IIS Preload to Speed Up Restart After X++ Compile" (https://www.linkedin.com/pulse/enable-iis-preload-speed-up-restart-after-x-compile-denis-trunin-86j5c) Written with GitHub Copilot GPT-4.1, mostly in agent mode. See commits for prompts.