A robust, hardened PowerShell automation suite built for reliable management, automatic drive re-connection, and background persistence of Rclone cloud mounts on Windows.
MountMate is an automated Windows CLI toolkit built in PowerShell. It wraps around Rclone to convert remote cloud storage services (Google Drive, OneDrive, S3, SFTP, Mega, etc.) into seamlessly mounted Windows drive letters (e.g., H:, X:).
It eliminates standard Windows drive mounting instabilities, privilege elevation issues, and background process crashes by implementing thread-safe configurations, self-healing background watchdogs, and encrypted configuration backups.
Ensure the following software dependencies are installed before running MountMate:
rclone.exe in a system path (e.g., C:\Program Files\rclone\ or system PATH).rclone config
MountMate.ps1 into C:\Scripts\MountMate.ps1.MountMate.ps1 in File Explorer and select "Run with PowerShell".powershell -ExecutionPolicy Bypass -File "C:\Scripts\MountMate.ps1"
MountMate includes 15 integrated console management functions:
Tests remote connection integrity, selects an available drive letter, creates background launch batch/VBS wrappers, and mounts the cloud drive.
Allows on-the-fly modifications to drive letters or volume labels for existing configurations without corrupting active scripts.
Terminates targeted Rclone background processes, purges residual network maps, and unregisters scheduled startup tasks.
Executes non-blocking asynchronous health checks against all configured drive letters to display real-time ONLINE or OFFLINE status.
Iterates through all configured remotes in the JSON registry and mounts those that are currently disconnected.
Performs a graceful bulk process termination and network cleanup across all managed mounted drives simultaneously.
Configures default VFS caching behaviors, buffer limits, polling intervals, and watchdog timeout intervals stored in mounts.json.
Triggers Rclone's internal self-updater (rclone selfupdate) to safely upgrade binaries to the latest stable release.
Verifies Rclone execution paths, WinFsp driver services, Task Scheduler status, cache directories, and rclone.conf integrity.
Attaches a live tail to C:\Scripts\manager.log to monitor background operations, warnings, and error outputs in real time.
Calculates the current cache size on disk and allows safe purging of cached binary data to reclaim local disk storage.
Packages scripts, drive profiles, and Rclone credentials into an AES-256 encrypted package for easy migration and recovery.
Runs a live foreground watchdog loop that actively checks drive readiness and auto-reconnects dropped connections.
Installs or removes a hidden Windows Scheduled Task that executes the MountMate Watcher Daemon automatically at system logon.
Scans running system processes for unmanaged active Rclone drive mounts and registers them into MountMate's configuration file.
For custom tuning of parameters in Menu Option [7], consult the official documentation:
off, minimal, writes, and full modes.