| copyparty-deploy.bat | ||
| LICENSE | ||
| logo.png | ||
| README.md | ||
💾🎉 copyparty-deploy
copyparty-deploy is a batch script to deploy a copyparty server as a WebDAV drive on Windows 10 & 11
tested & confirmed working on:
- Windows 10 IoT Enterprise LTSC 2021
- Windows 10 Pro 22h2
- Windows 11 24h2
why does windows say this is malware?
i can think of a couple of reasons
- the script isn't signed, as signing executables or batch scripts (if you even can sign a batch script) costs upwards of $600 a year.
- the script downloads executables and runs them on startup. this is similar to a common behavior of malware.
- the script modifies the registry. we do this to mount the drive on startup, and to make sure Windows doesn't prevent the script from running on startup, or prompting users to allow it to be ran.
if you still don't feel safe, feel free to look through the code. we only download executables from their offical sites (or git repositories), and you can modify what files the script downloads in the config.
usage
installation
to add a copyparty server using copyparty-deploy, modify the batch script to use your copyparty username, password, and url.
then simply run the batch script as administrator. once you reboot, the drive will be mounted.
manual start
if copyparty-deploy fails to start on boot, you can simply run the batch script, with no need for administrator permission, and it will mount your copyparty server as a drive.
removal
open a command prompt as administrator, cd to the directory holding the batch file, and run copyparty-deploy.bat --uninstall.
config
the config can be found at the top of the script, and contains the following variables:
COPYPARTYUSER="k"
username to use for logging in to copyparty, idk if this is actually required or if its just password
COPYPARTYPASSWORD="placeholderPassword"
password to use for copyparty. oh boy it sure is secure to store passwords in plain text!
COPYPARTYURL="copyparty.example.com"
copyparty instance URL.
DISKNAME="copyparty"
what the disk will be called in File Explorer
DRIVELETTER="W"
what the disk will be called in File Explorer