LKBEN11536: Can MyDriveControl be preconfigured with drives?


Symptom

You want to install the software on some clients and would like to preconfigure some network drives.

Cause

None

Solution

The tool can be preconfigured with a JSON file. This file should be located in the installation directory.

This is an example of such a configuration:

{ "Drives":
[
  {
    "Type": "Admin",
    "Drive": "L:",
    "Path": "\\\\10.10.47.20\\transfer",
    "UserID": "testuser",
    "Comment": "NAS"
  },
    {
    "Type": "Admin",
    "Drive": "M:",
    "Path": "\\\\srv1\\share1",
    "UserID": "a56082",
    "Comment": "Share for softwaredistribution"
  },
    {
    "Type": "Admin",
    "Drive": "I:",
    "Path": "https://nas01.synology.me:5006/",
    "UserID": "user18",
    "Comment": "Some Testshare"
  },
    {
    "Type": "Admin",
    "Drive": "J:",
    "Path": "https://nas01.synology.me:5006/Test",
    "UserID": "user3",
    "Comment": "Another Testshare"
  }
]
}

This connections will be seen as "Admin" types. The user cannot change the Type or Path. When the user creates an entry, it will be of type "User" and the user has full control.

Before being able to connect an Admin preconfigured entry, the user needs to add at least a password.

When the user is a local administrator, he/she can edit this file. The JSON file can be delivered via a copy job or with the use of software distribution.

For the UEM Project in SH: this software can be installed via the Workspace ONE intelligent HUB.

Have fun.

 

Disclaimer:

The information provided in this document is intended for your information only. Lubby makes no claims to the validity of this information. Use of this information is at own risk!

About the Author

Author: Wim Peeters - Keskon GmbH & Co. KG

Wim Peeters is electronics engineer with an additional master in IT and over 30 years of experience, including time spent in support, development, consulting, training and database administration. Wim has worked with SQL Server since version 6.5. He has developed in C/C++, Java and C# on Windows and Linux. He writes knowledge base articles to solve IT problems and publishes them on the Lubby Knowledge Platform.

Latest update: 02-05-2022 | Comment: