/build/static/layout/Breadcrumb_cap_w.png

windows installer not starting on server 2019 containers, how to enable it?

I spinned up a container on my server 2019 machine using below command.

docker run -it -v c:\data:c:\shareddata mcr.microsoft.com/windows/servercore:ltsc2019 powershell

All the installers are failing, when I check the log file, I came to know windows installer service not running inside container.

But, starting it, get below error.

Set-Service –Name msiserver –StartupType "Manual"

Set-Service : Service 'Windows Installer (msiserver)' cannot be configured due to the following error: Access is denied At line:1 char:1

  • Set-Service –Name msiserver –StartupType "Manual"
  •   + CategoryInfo          : PermissionDenied: (System.ServiceProcess.ServiceController:ServiceController) [Set-Servi
    

ce], ServiceCommandException + FullyQualifiedErrorId : CouldNotSetService,Microsoft.PowerShell.Commands.SetServiceCommand

whoami user manager\containeradministrator

If I try direct installation of an msi, getting this error in the log.

Error 1719. Windows Installer service could not be accessed. Contact your support personnel to verify that it is properly registered and enabled.


0 Comments   [ + ] Show comments

Answers (0)

Be the first to answer this question

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ