Avatar of nav2567
nav2567Flag for United States of America asked on

VLC Player settings

Hello,

I install VLC Player on our Citrix servers (version 7.6).  

We login as an administrator and set up preferences such as "no updates", and certain extensions to be used by VLC.  

We want to configure so that when a regular user login, they cannot change the above preferences.  

Can UPM undo all changes from the users?  If yes, can someone advise how to do that?

Thanks.
Citrix

Avatar of undefined
Last Comment
Coralon

8/22/2022 - Mon
Coralon

It depends on where the configuration is stored at..

The configuration file gets stored in the user profile.  So, the easiest thing to do would be to setup a login script to automatically copy in the configuration file into their profile, and have it it automatically change the permissions & owner, or you could possibly dynamically create a symbolic link for it.

So.. if you look at my article http://www.experts-exchange.com/articles/9235/How-USRLOGON-CMD-processing-works.html.

Something like:
@echo off
if exist "%appdata%\vlc\vlcrc" goto end
md "%appdata%\vlc"
copy <path to preconfigured>\vlcrc "%appdata%\vlc"
cacls "%appdata%\vlc\vlcrc" /g system:f %username%:r administrators:f
:end

Open in new window


or the symbolic link route:
@echo off
if exist "%appdata%\vlc\vlcrc" goto end
md "%appdata%\vlc"
mklink "%appdata%\vlc\vlcrc" <path to preconfigured>\vlcrc
:end

Open in new window


There are plenty of other ways to do this, but these are the first 2 that come to mind.

Coralon
ASKER
nav2567

Thanks.  Using UPM let a standard config file overrides the user setting when she logout and log in again.

A lot of users they do not logout and have their Citrix sessions overnights.  For these kind of users, if they checked "Auto Update" in preferences, they will affect the software and other users.  

How can we prevent that action?  I tried to create a VLC shortcut to launch the apps using http://eddiejackson.net/wp/?p=4614 but the parameters do not seem to be invalided.

Please advise again.

Thanks.
ASKER CERTIFIED SOLUTION
Coralon

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck