Author: Matt Hansen

https://www.linkedin.com/in/matthansen0/
Cloud System Center Virtualization Windows Windows Server

SCVMM Error 2912 “The configuration registry database is corrupt (0x800703F1)”

Reading Time: < 1 minuteI recently spun up a new SCVMM environment, created my first VM, and attempted to create a template only to be faced with a job error. Error (2912) An internal error has occurred trying to contact the Host01 server: : . WinRM: URL: [http://Host01.lab.local:5985], Verb: [INVOKE], Method: [LoadSubkey], Resource: [http://schemas.microsoft.com/wbem/wsman/1/wmi/root/scvmm/P2VSourceFixup?RegFileName=C:\Users\SVC_VMM\AppData\Local\Temp\tmp6AB5.tmp] The configuration registry database is […]

Matt Hansen 
System Center Windows Server

SCCM 2012 R2 Reinstall Fails – Configuration Manager Requires a Dedicated SQL Server Instance

Reading Time: < 1 minuteRecently I had to reinstall an SCCM 2012 R2 instance, and came across a strange error when I ran the Prerequisite Check. Dedicated SQL Server instance: Configuration Manager requires a dedicated SQL Server instance to host the site database. You selected the SQL Server instance that site hosts the Configuration Manager database for another site. […]

Matt Hansen 
Windows Windows Server

Disable Windows Firewall With PowerShell

Reading Time: < 1 minuteWelcome all, to the age of the gui-less windows server. As more and more people spin up labs with command-line only boxes, this command can be helpful. Remember to only turn off your firewall in lab environments where you know you’re not exposing  yourself to additional risk. Set-NetFirewallProfile -Profile Domain,Public,Private -Enabled False   To do […]

Matt Hansen 
Scripting System Center

Powershell Script to check if SQL is Installed

Reading Time: < 1 minuteHere we go, short but sweet. I had to come up with this today when working with a SQL Server compliance item in SCCM 2012 using a script detection method. I’ve added the else back in, but you can modify however you need. if (Test-Path “HKLM:\Software\Microsoft\Microsoft SQL Server\Instance Names\SQL”) { write-host “True” } Else { […]

Matt Hansen