Setting up a file share on a Windows PC - marcone/teslausb GitHub Wiki
This page summarizes how to use a shared folder on a Windows PC as the archive destination for TeslaUSB.
The screenshots here show a Windows 10 PC, but similar steps likely apply to other Windows versions.
Optional first step: create a new Windows user that has access to the folder. Expand this section to see how.
If you use your main Windows login user to access the shared folder you'll be creating, be aware that the password for that user will need to be specified in the TeslaUSB config file, so anyone with access to the TeslaUSB device will have access to those login credentials. Also note that if your main Windows login is a Microsoft account (as opposed to a local account), then you need to use your actual Microsoft username (i.e. what you'd use to log in to the Microsoft website, not the name you see when you to log in to the PC) and your actual account login password (not the login PIN you may have set up to log in to your PC).
To create a new local Windows user, go into the Settings, then select Accounts, then go to "Family & other users":
Select "Add someone else to this PC", which opens this dialog:
Select "I don't have this person's sign-in information", and then "Add a user without a Microsoft account":
You should get this dialog where you can enter a username and password for the new user:
In this example, I chose username "TeslaBackup".
Create a new folder on the PC somewhere. Here, a folder named "Tesla" was created on the desktop:
Next, right-click on the folder and select "Properties", then go to the "Sharing" tab:
In the sharing tab, click the "Share" button to configure which users will have access to the shared folder:
Select the user you want to have access by selecting the user from the dropdown and then clicking the "Add" button to add the user to the list of users that have access to this folder.
Note
Be sure to give the user Read/Write access to the folder.
Apply the settings. The "Sharing" tab in the folder properties dialog should now look something like this:
Enter the share info into the cifs section of the TeslaUSB config file:
Note
In the example above, the hostname is "DESKTOP-NK8UF04" in the Windows share dialog, but "desktop-nk8uf04.local" in the config file. If your PC has a fixed IP address you can also specify its IP address instead of the host name.
Note
The share path is specified using forward slashes (/) in the config file, not back slashes (\) like in Windows.