I convinced my company to purchase licenses for MC (ver 18) because legal concerns over having VLC on a bunch of machines many moons ago, and for the most part, everything was smooth. Recently we've begun seeing some issues where the automatic process for consuming a license wasn't working, and I'm struggling to figure out where to take this next. I've gotten a lot of things to try from Matt via email, none of which seem to work, so I figured I'd post here, just in case someone has some further insight.
When the process works, during system imaging (using MDT 2013 Update 2 for system deployment) MC gets installed, and reads a license key from a network share, marks the license consumed, and MC reports as properly licensed. Mainly Windows 7 64 bit deployments, with a very, very small hand full of Windows 10 installations.
Here is the automated installation script, using local administrator for installation during imaging, and this is BEFORE domain join. I've removed and renamed anything that could potentially name the company (I'm not authorized to speak for the company around endorsements, blah blah blah).
@ECHO OFF
TITLE Mediaplayer
MediaPlayer180188.exe /silent
::BEGIN THE LICENSE PROCESS
::LOG INTO LicenseShare
NET USE \\SERVER NAME HERE\SHARE NAME HERE /USER:USERNAME HERE password here
::RUN LICENSE PROCESS
PUSHD "C:\Program Files (x86)\J River\Media Center 18"
PackageInstaller.exe /BlockLicense "NET USE \\SERVER NAME HERE\SHARE NAME HERE\LicenseFileNameHere.txt" "Silent=1" "Email=email address here" "Name=%SERIALNUMBER%" "Company=Company Name Here"
95% of the time, this works perfectly.
Here is what it writes to the file, and you can see the time stamp, company, etc is written - it just doesn't license properly on the local machine:
25-digit-key-here Redeemed: 2016-06-06T07:50:23; Name: SERIALNUMBER HERE; Email: email@email.com; Company: COMPANY
The other 5% of the time, it seems that the problem occurs on a re-image of a machine (fresh installs are almost ALWAYS licensed). On a reimage of a machine, or a re-license of a MC install, the license process reads the serial number of the system. If that SN already has a license, the license process reads the license key for that installation, updates the license file information, and registers. On machines where this fails during imaging, it fails when we run a re-license process using our configuration management software for deployments after the image deployment is completed. If I manually grab the license key, jump out to the license restoral page and go through the process, then open the file on the impacted machine, it works every time.
One thing to note is that this is generally occurring on machines from other regions. The network share is on the US east coast. Share is on a Windows Server 2012 R2 machine, from which we share all sorts of other files.
Failures happen from our US western plants, we've also had failures from our Asia Pacific region, and EU. They all read the same license file from the US east coast region, and every failure still has the license file read/written to.
Things I've investigated and ruled out:
- Share not available - I've paused the task sequence in imaging, popped open a CMD prompt, done Net Use to list active connections and the share is listed as expected
- Another reason I know it is reading the file - I have Notepad++ open, with the license file opened. It alerts me the file was updated, I refresh, look up the serial number for the machine and it clearly shows it has written to the file and read the license
- Network connectivity remains during the entire process
- License file share is open for the user account to read/write/modify - like I said, this works 95% of the time with this user account and this same process
- Machine is not domain joined during imaging - even trying once joined to domain fails
- Group Policy is NOT the issue - because it's not domain joined during this process, GP is NOT being applied
- Administrator elevation issue - every single process run during imaging is done with the LOCAL admin account, the built in Windows admin account. Privilege elevation is not a concern. AND it works 95% of the time during the same process
- Manually running the license process on the same machine, at any point in the future, continues to fail.
PackageInstaller.exe /BlockLicense "NET USE \\SERVER NAME HERE\SHARE NAME HERE\LicenseFileNameHere.txt" "Silent=1" "Email=email address here" "Name=%SERIALNUMBER%" "Company=Company Name Here"
- Running the license process with a different license key, consumed by another machine, using the serial number of the working machine, continues to fail, so it's not an issue with the license key
- Virus Scan is completely ruled out. Where the MC installation occurs, our virus scanning solution is NOT installed, nor is our encryption solution
So what I am wondering is, for MC gurus and Windows client/server gurus, anything else you can think would potentially be worth investigating? I am getting the stink eye (and stink emails) from our help desk folks since my team is the only one with access to the license file.
Anything you can think of that might be worth trying I'm pretty much game for. My team is tired of getting help desk tickets to get license keys for these, and the help desk guys already hate my team enough as it is. lol
Thanks in advance.