INTERACT FORUM

More => Old Versions => JRiver Media Center 26 for Windows => Topic started by: CHaun on May 02, 2020, 05:43:39 am

Title: Is there a way to launch MC to a specific user?
Post by: CHaun on May 02, 2020, 05:43:39 am
I want to make a desktop shortcut for one of my client machines to open MC to a specific user. What is the proper way (if any) to launch MC in that way? I can use the core command 22028 to change the user while MC is running, but I don't know the proper syntax to make the core commands launch MC to those users if it is not running already.
Title: Re: Is there a way to launch MC to a specific user?
Post by: Mans on May 02, 2020, 09:11:25 am
Hi CHaun,

This is what I'm using (earlier post on how to handle users):
https://yabb.jriver.com/interact/index.php/topic,124294.
Quote
Maybe not ideal and/or the most fancy way:
In order to 'force' a Client to have a default or preferred user a script (bat file) needs to be started at start-up/reboot with a MCC command line: mc26.exe /MCC 22028,xxxx where the x's are the target userID.

Hoping this could be of any help,

Take care and stay safe !
Title: Re: Is there a way to launch MC to a specific user?
Post by: CHaun on May 03, 2020, 05:48:23 am
Thanks for that. Making a batch file worked perfectly.

Here's an example if anyone needs it in the future:

@echo off
Start "" "C:\Program Files\J River\Media Center 26\Media Center 26.exe"
Timeout 20 /nobreak >nul
Start mc26.exe /MCC 22028,1002