Logitech Media Server 7.7.2 running on Windows Server 2012 Core VM

21/02/2015 – 21:46

Just wanted to state the fact of LMS (Logitech Media Server) running on virtual instances of Windows 2012 Server Core. Running LMS on 2012 Core will give you VMs with under 6GB VHD and 360MB memory footprint each.

The quick steps:
* Create new VM, one CPU core suffices (LMS does only support one core), use dynamic memory, 256MB startup, maximum depends on your resources, but you won’t need more than 1024MB
* Install 2012 Server Core
* Use ‘sconfig’ for: network, name, RDP access
* connect via RDP
* Connect network shares using ‘net use DRIVELETTER: \\server\sharename’
* Copy LMS 7.7.2 to network share from your workstation
* Start LMS setup as usual
* Deactivate firewall or open port 9000 using the ‘netsh’ command
* From the command line navigate to c:\program files (x86)\Squeezebox\Server\Squeeboxcp.exe”, set LMS as service on system startup
* From your workstation browse: servername:9000, add needed shares (via webinterface)

Done! Use your superslim server backend!

Windows 2012 Server remote management:
* Activate Remote Desktop
* Activate Remote Management
* On management node issue powershell command as admin: ‘Set-Item wsman:\localhost\Client\TrustedHosts SERVERNAME -Concatenate -Force

The Password complexity is a Local Policy setting named “Passwords must meet complexity requirements” under Computer Configuration/Windows Settings/Security Settings/Account Policies/Password Policy.

In a Server Core installation there is no graphical user interface to set this policy.
Instead use secedit to import and export the security settings from a Full Installation of Windows Server 2008.
First export your security configuration using the following command:

secedit /export /cfg C:\securityconfig.cfg

Then open notepad.exe and edit the C:\securityconfig.cfg file.
Under [System Access] you should find PAssword complexity = 1
Change the value to 0 and save the file.

Then fire up the next command to import the configuration:

secedit /configure /db C:\Windows\security\new.sdb /cfg C:\securityconfig.cfg /areas SECURITYPOLICY

Post a Comment