INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Is there a way to launch MC to a specific user?  (Read 444 times)

CHaun

  • World Citizen
  • ***
  • Posts: 104
Is there a way to launch MC to a specific user?
« 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.
Logged

Mans

  • Galactic Citizen
  • ****
  • Posts: 418
Re: Is there a way to launch MC to a specific user?
« Reply #1 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 !
Logged

CHaun

  • World Citizen
  • ***
  • Posts: 104
Re: Is there a way to launch MC to a specific user?
« Reply #2 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



Logged
Pages: [1]   Go Up