Change ControlMode in global conf

avatar

Hello

I refer to this article:

https://helpwayk.devolutions.net/index.html?kb_configcommandline.htm

I'm trying to change the ControlMode for every User on a Computer.
The command



works fine, but only changes the ControlMode for the current user.

I tired



but had no success.


Then I successfully edited the global config (C:\ProgramData\Wayk) and added the ControlMode line.
But when I start Wayk Now the ControlMode has not changed... (It uses the AppData config)


Which config is preferred by default? The global or the local (AppData)?
How can i change the ControlMode globally?


Thanks for your answer.
Best Regards,
Peter Müller

All Comments (3)

avatar

Hello Hans

The "Control Mode" is a per-user setting, and setting it in the global configuration won't do anything.

Currently, you will need to set it for each individual user.

In general, the global config only overrides certain settings. You can get an idea of which settings by opening the "Options" window on a machine with the unattended service running. You will see a "padlock" icon in the lower-left corner, and the settings which are disabled are global (you need to unlock the padlock and authorize UAC before you will be able to change them).

I do understand why it would be desirable to change some other settings for every user on the machine (like the control mode), or have the global setting override the user setting. We are currently reviewing how we handle the split between global and user settings, and we will take this into consideration.

I hope it helped, but if you have other questions please don't hesitate to write back here!

Thanks,

Richard Markievicz

avatar

Hello Richard

Thanks for your answer.


We are going to create GPO's to change the ControlMode...


I think the feature to override the ControlMode in the global configuration would still be very beneficial.

Best Regards,
Hans

avatar

Hi Hans


As discussed in your other thread here: https://forum.devolutions.net/messages.aspx?TopicID=31236&MessageID=125703, the 3.1 release is now available and changes the behaviour around user/global configurations.


The control mode setting will now be inherited from the global configuration, so you can effectively configure this for all users on the computer by running (from an elevated command prompt):


wayk-now config --global controlMode x


As usual, if you have any feedback or questions on this, please don't hesitate to post back here!


Thank you,

Richard Markievicz