Installing LabTech on Windows Server 2012 R2

When installing LabTech MSP Server, you need to ensure a long list of prerequisites are in place on your Windows Server. The list is available here > Installing LabTech on Windows Server 2012. Being impatient, and suffering from “Unable to RTFM”-syndrome, I struggled with the following error during setup:

"The Installer was interrupted before LabTech Server could be installed. You need to restart the installer to try again."

labtech1

There are no log files to review, no error messages. Just an installer refusing to continue. After a bit of research, I found that this error message appears due to missing Windows Features. Notoriously going through the prerequisites a couple of times, I finally notice I was missing the IIS 6.0 compatibility feature. Finally, the installer would continue.

As this is for my lab environment, I know that I will be (re)installing LabTech many, many times. Being lazy, here is PowerShell to the rescue.

Installing LabTech prerequisites with PowerShell

Use this simple one-liner to enable all required Windows roles and features prior to running the LabTech MSP installer:

PS > Install-WindowsFeature NET-Framework-Core,NET-Framework-45-ASPNET,Web-Common-Http,Web-Default-Doc,Web-Dir-Browsing,Web-Http-Errors,Web-Static-Content,Web-Http-Redirect,Web-Http-Logging,Web-Stat-Compression,Web-Dyn-Compression,Web-Filtering,Web-Net-Ext,Web-Net-Ext45,Web-Asp-Net,Web-Asp-Net45,Web-Mgmt-Console,Web-Metabase

Success Restart Needed Exit Code      Feature Result
------- -------------- ---------      --------------
True    No             Success        {Application Development, ASP.NET 3.5, ASP...

After successfully running this code, the installer should continue.

labtech2

Share it

If you found this blog post to be helpful, I would be happy to see you sharing it with your social networks.

You may also like...