Install SMLets on Windows Server 2012 without SCSM Console

In order to run SMLets on a computer it must have some of the SCSM console DLLs installed. Anton Gritsenko wrote this great article about how to install these without the need to install the SCSM console. However, due to some of the changes made to Windows Server 2012 and 2012 R2, these steps will no longer work. The problem is you can no longer register DLLs by copying them to the assembly folder. You now have to use the gacutil.exe utility to registry them.


1. Download and Install SMLets –

2. Open PowerShell and set the Execution Policy to remotesigned using the command:

Set-ExecutionPolicy remotesigned -force

3. Download Windows 8.1 SDK –

4. Launch the SDK Installer

5. When prompted select the feature .NET Framework 4.5.1 Software Development Kit


6. Copy the files Microsoft.EnterpriseManagement.Core.dll and Microsoft.EnterpriseManagement.ServiceManager.dll from c:\Program Files\Microsoft System Center\Service Manager 2010\SDK Binaries\ to your Orchestrator server.

7. Open an elevated command prompt and navigate to the folder containing the Service Manager DLLs.

8. Enter the commands:
copy Microsoft.EnterpriseManagement.Core.dll C:\Windows\assembly\Microsoft.EnterpriseManagement.Core.dll /y
copy Microsoft.EnterpriseManagement.ServiceManager.dll C:\Windows\assembly\Microsoft.EnterpriseManagement.ServiceManager.dll /y


9. Once the DLL’s are copied you will not need to register them. Do this by entering the commands below:
“C:\Program Files (x86)\Microsoft SDKs\Windows\v8.1A\bin\NETFX 4.5.1 Tools\gacutil.exe” /i “C:\Windows\assembly\Microsoft.EnterpriseManagement.Core.dll”
“C:\Program Files (x86)\Microsoft SDKs\Windows\v8.1A\bin\NETFX 4.5.1 Tools\gacutil.exe” /i “C:\Windows\assembly\Microsoft.EnterpriseManagement.ServiceManager.dll”


10. Open C:\Program Files\Common Files\SMLets\SMLets.psm1

11. Add a # to the beginning on lines 4, 5, and 6 to comment them out.

12. Comment out line 46, and on line 47 add the line below change SCSMSERVERNAME with the name of your management server.

$GLOBAL:smdefaultcomputer = “SCSMSERVERNAME”

13. Save and close SMLets.psm1


  1. joe January 11, 2015
  2. JerryV March 5, 2015

Leave a Reply