I have successfully managed to enable IIS remote on windows server core and access it
but not on mcr.microsoft.com/windows
list of the things I’ve done
enable this feature
DISM /Online /Enable-Feature /FeatureName:IIS-ManagementService /all
DISM /Online /Enable-Feature /FeatureName:IIS-ASPNET /all
DISM /Online /Enable-Feature /FeatureName:IIS-ASPNET45 /all
DISM /Online /Enable-Feature /FeatureName:IIS-ASP /all
DISM /Online /Enable-Feature /FeatureName:IIS-WebServerRole
DISM /Online /Enable-Feature /FeatureName:IIS-WebServer
DISM /Online /Enable-Feature /FeatureName:IIS-CommonHttpFeatures
DISM /Online /Enable-Feature /FeatureName:IIS-HttpErrors
DISM /Online /Enable-Feature /FeatureName:IIS-HttpRedirect
DISM /Online /Enable-Feature /FeatureName:IIS-ApplicationDevelopment
DISM /Online /Enable-Feature /FeatureName:IIS-NetFxExtensibility
DISM /Online /Enable-Feature /FeatureName:IIS-NetFxExtensibility45
DISM /Online /Enable-Feature /FeatureName:IIS-HealthAndDiagnostics
DISM /Online /Enable-Feature /FeatureName:IIS-HttpLogging
DISM /Online /Enable-Feature /FeatureName:IIS-LoggingLibraries
DISM /Online /Enable-Feature /FeatureName:IIS-RequestMonitor
DISM /Online /Enable-Feature /FeatureName:IIS-HttpTracing
DISM /Online /Enable-Feature /FeatureName:IIS-Security
DISM /Online /Enable-Feature /FeatureName:IIS-URLAuthorization
DISM /Online /Enable-Feature /FeatureName:IIS-RequestFiltering
DISM /Online /Enable-Feature /FeatureName:IIS-IPSecurity
DISM /Online /Enable-Feature /FeatureName:IIS-Performance
DISM /Online /Enable-Feature /FeatureName:IIS-HttpCompressionDynamic
DISM /Online /Enable-Feature /FeatureName:IIS-WebServerManagementTools
DISM /Online /Enable-Feature /FeatureName:IIS-ManagementScriptingTools
DISM /Online /Enable-Feature /FeatureName:IIS-IIS6ManagementCompatibility
DISM /Online /Enable-Feature /FeatureName:IIS-Metabase
DISM /Online /Enable-Feature /FeatureName:WAS-WindowsActivationService
DISM /Online /Enable-Feature /FeatureName:WAS-ProcessModel
DISM /Online /Enable-Feature /FeatureName:WAS-NetFxEnvironment
DISM /Online /Enable-Feature /FeatureName:WAS-ConfigurationAPI
DISM /Online /Enable-Feature /FeatureName:IIS-HostableWebCore
DISM /Online /Enable-Feature /FeatureName:IIS-StaticContent
DISM /Online /Enable-Feature /FeatureName:IIS-DefaultDocument
DISM /Online /Enable-Feature /FeatureName:IIS-DirectoryBrowsing
DISM /Online /Enable-Feature /FeatureName:IIS-WebDAV
DISM /Online /Enable-Feature /FeatureName:IIS-WebSockets
DISM /Online /Enable-Feature /FeatureName:IIS-ApplicationInit
DISM /Online /Enable-Feature /FeatureName:IIS-CGI
DISM /Online /Enable-Feature /FeatureName:IIS-ISAPIExtensions
DISM /Online /Enable-Feature /FeatureName:IIS-ISAPIFilter
DISM /Online /Enable-Feature /FeatureName:IIS-ServerSideIncludes
DISM /Online /Enable-Feature /FeatureName:IIS-CustomLogging
DISM /Online /Enable-Feature /FeatureName:IIS-BasicAuthentication
DISM /Online /Enable-Feature /FeatureName:IIS-HttpCompressionStatic
DISM /Online /Enable-Feature /FeatureName:IIS-ManagementConsole
DISM /Online /Enable-Feature /FeatureName:IIS-WMICompatibility
DISM /Online /Enable-Feature /FeatureName:IIS-LegacyScripts
DISM /Online /Enable-Feature /FeatureName:IIS-LegacySnapIn
DISM /Online /Enable-Feature /FeatureName:IIS-FTPServer
DISM /Online /Enable-Feature /FeatureName:IIS-FTPSvc
DISM /Online /Enable-Feature /FeatureName:IIS-FTPExtensibility
DISM /Online /Enable-Feature /FeatureName:IIS-WindowsAuthentication
DISM /Online /Enable-Feature /FeatureName:IIS-DigestAuthentication
DISM /Online /Enable-Feature /FeatureName:IIS-ClientCertificateMappingAuthentication
DISM /Online /Enable-Feature /FeatureName:IIS-IISCertificateMappingAuthentication
DISM /Online /Enable-Feature /FeatureName:IIS-ODBCLogging
also
edit registry
'enable remote desktop
reg add “HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server” /v fDenyTSConnections /t REG_DWORD /d 0 /f
'enable iis remote
reg add “HKEY_LOCAL_MACHINE\software\microsoft\WebManagement\Server” /v EnableRemoteManagement /t REG_DWORD /d 1 /f
still can’t access
this container is the only one that supports printer spooler so I need to use it
thanks in advance