A High-Performance Windows Virtual Filesystem Manager for Google Drive & TeraBox
Developed by NABORAJ SARKAR
Copyright © 2026 NABORAJ SARKAR. All rights reserved.
Contact: nishant.ns.business@gmail.com
Repository: https://github.com/naborajs/CloudDrive
Community Discussion: #1
Issue Tracker: https://github.com/naborajs/CloudDrive/issues/new
Live System Evidence: Real-world multi-cloud integration active on Windows 11. Google Drive (G:) (4.98 TB) and dual TeraBox accounts (I:, T:) (1.00 TB each) mounted concurrently as native local disk volumes with live storage meters and authentic provider branding.
| Download Package | Description | Direct Link | Checksum |
|---|---|---|---|
NSCloudDrive.exe |
64-bit Standalone Launcher (High-DPI, AppUserModelID, zero-console) | ⬇️ Download EXE | SHA-256 |
NSCloudDrive-v1.0.0-Windows-x64.zip |
Complete Portable Release (Includes WebView2 runtime, configs, launcher, and docs) | 📦 Download Release ZIP | SHA-256 |
GitHub Releases |
Release notes, asset tags, and source code | 🚀 View Release v1.0.0 | v1.0.0 |
Community Hub |
Feature requests, future releases, Q&A, and community chat | 💬 Join Discussion #1 | Active |
[!TIP] First-time users: Download the Complete Release ZIP, extract it to any folder (e.g.
C:\Tools\NSCloudDrive), and double-clickNSCloudDrive.exeto start mounting your drives immediately!
- Download & Quick Launch
- Overview
- Visual Tour & Interface
- Key Features
- Architecture & Technology Stack
- System Requirements
- Quick Start & Installation
- Windows SmartScreen & Unsigned Binary Notice
- Cloud Account Setup Guide
- Transfer Engine & Telemetry
- On-Demand Analytics & Performance Monitoring
- Adaptive Bandwidth & Gaming Optimization
- Cache Management & Inactivity TTL
- Desktop UI & Theme System
- Memory Optimization & System Tray
- Security, Privacy & DPAPI Storage
- Automated Test Suites
- Troubleshooting & FAQ
- Known Limitations
- Contributing
- License & Permitted Use
- Questions, Suggestions, and Contact
NS Cloud Drive transforms your cloud storage accounts (Google Drive and TeraBox) into native Windows virtual drives visible directly in File Explorer. Files appear and behave just like native local hard drives—complete with volume capacity bars, instant folder browsing, drag-and-drop transfers, and on-demand streaming.
Unlike sync clients that mirror your entire cloud storage to an expensive local hard drive, NS Cloud Drive uses a high-speed SSD staging and read-ahead cache. Files stream seamlessly when opened, and newly written files are safely staged locally before uploading to the cloud in the background.
Tip
For a comprehensive, step-by-step walkthrough of all features and screens, see the Visual User Guide.
Figure 1: Windows 11 File Explorer Integration — Multiple cloud accounts (Google Drive G: and TeraBox I:, T:) operating natively as local Windows storage drives with dynamic capacity meters and immediate file access.
Figure 2: Native Disks Dashboard — Simultaneous multi-account mounting (Google Drive and TeraBox), live health indicators, and one-click cloud drive management.
Figure 3: Transfer Center & History — Durable queue management, cryptographic confirmation (MD5 / SHA-1 hashes), and remote lifecycle verification.
- Native Windows Explorer Disks: Drives mount under Devices and drives as native
Local Diskvolumes with active storage capacity bars showing real free and total gigabytes. - Multi-Account Concurrent Isolation: Mount and manage multiple Google Drive and TeraBox accounts simultaneously (e.g.,
G:,H:,N:,T:,I:) with independent credentials and non-conflicting mount letters. - Drag & Drop Drive Reordering: Effortlessly customize the order of your cloud drives on the dashboard using intuitive drag handles (
⋮⋮) or keyboard Up/Down shortcuts; settings persist across restarts viaCardDisplayOrder. - Adaptive Bandwidth Throttling: Automatically adjusts cloud upload/download speeds based on real-time network latency probes, with automatic backoff when gaming, streaming, or video conferencing processes are active.
- Smart Notification Engine: Intelligently groups folder uploads to prevent balloon tip spam, eliminates false 0 B background sync notifications, and supports customizable snooze timers (15m, 1h, 4h).
- Inactivity Cache TTL & Safe Eviction: 6-step safe cache cleanup with size-dependent inactivity eviction rules (5m for <1GB, 20m for 1-3GB, 45m for >3GB) and strict file-lock protection (
Test-FileInUse). - On-Demand Analytics Dashboard: Hardware resource snapshots, per-account storage quotas, and transfer performance graphs collected strictly on-demand—zero idle background CPU polling when closed.
- Triple-Engine Theme Design: Built-in support for Pure Black (high-contrast OLED), Translucent Liquid Glass (Windows DWM acrylic), and Pure White (crisp high-contrast light mode). (Note: The desktop Options interface provides one-click switching between Pure Black and Pure White, with Translucent Liquid Glass fully configurable via settings).
- Ultra-Low Memory Footprint: Background tray mode operates with minimal RAM usage, employing periodic Win32
EmptyWorkingSetmemory trimming and suspended UI dispatcher cycles.
NS Cloud Drive is built on a high-reliability architecture combining native Windows C#/.NET launcher host, WPF presentation layer, WinFsp filesystem proxy, and rclone Virtual File System (VFS).
flowchart TD
subgraph UI ["Desktop Presentation Layer"]
EXE["NSCloudDrive.exe\n(x64 Native C# Launcher)"]
WPF["WPF Desktop Interface\n(PowerShell STA Engine / 3 Themes)"]
Tray["System Tray Manager\n(DWM Minimized Daemon)"]
end
subgraph CoreServices ["Core Engineering Services"]
Settings["SettingsManager\n(DPAPI + Atomic JSON)"]
VFS["VirtualDriveManager\n(WinFsp + rclone RC API)"]
Transfer["CloudTransferManager\n(EMA Smoothing + TransferRegistry)"]
Cache["CacheManager\n(TTL Engine + Test-FileInUse)"]
Bandwidth["AdaptiveBandwidthManager\n(Latency Probe + Gaming Guard)"]
end
subgraph Providers ["Cloud Integrations"]
GD["Google Drive API v3\n(OAuth 2.0 PKCE Loopback)"]
TB["TeraBox WebDAV Bridge\n(cpx.exe Daemon + Cookie Auth)"]
end
subgraph WindowsShell ["Windows OS & Shell"]
Explorer["File Explorer\n(Devices & Drives / Local Disk Bars)"]
WinFspDriver["WinFsp Kernel FUSE Driver"]
LocalCache["SSD Local Staging Area\n(D:\\CloudCache)"]
end
EXE --> WPF
WPF --> Tray
WPF --> Settings
WPF --> VFS
WPF --> Transfer
WPF --> Cache
WPF --> Bandwidth
VFS --> WinFspDriver
WinFspDriver --> Explorer
VFS --> LocalCache
VFS --> GD
VFS --> TB
Transfer --> GD
Transfer --> TB
- Native Launcher (
NSCloudDrive.exe): 64-bit Windows executable compiled with .NET Framework 4.8csc.exe. Guarantees single-instance window restoration, PerMonitorV2 DPI awareness, and zero black console flashes. - Filesystem Engine (
rclone+WinFsp): Leverages rclone's Virtual File System (VFS) with full file-chunk caching (--vfs-cache-mode full). WinFsp mounts drives as native Windows Local Disks with fixed volume labels. - TeraBox Bridge (
cpx.exe): High-performance local WebDAV daemon providing bi-directional bridge streaming for TeraBox accounts. - Security & Cryptography: Native Windows Data Protection API (DPAPI) encrypts all OAuth tokens, refresh tokens, and session cookies with per-user ACL isolation.
- Operating System: Windows 10 (version 1809 or higher) or Windows 11 (64-bit).
- Runtime Environment: Microsoft .NET Framework 4.8 (pre-installed on Windows 10/11).
- Virtual Filesystem Driver: WinFsp (version 2.0 or higher).
- Web Engine: Microsoft Edge WebView2 Runtime (installed by default on Windows 10/11).
- Local Storage: 10 GB or more free SSD space recommended for staging cache (e.g.,
D:\CloudCache).
- Download
NSCloudDrive-v1.0.0-Windows-x64.zip. - Extract the archive to any folder (e.g.
C:\Tools\NSCloudDrive). - Double-click
NSCloudDrive.exeto launch the dashboard.
If you have cloned this repository, simply double-click NSCloudDrive.exe located directly in the root directory.
.\NSCloudDrive.cmdpowershell.exe -NoProfile -ExecutionPolicy Bypass -STA -File .\src\NSCloudDrive.ps1Note
When launching NSCloudDrive.exe for the first time, Windows Defender SmartScreen may display an alert stating:
"Windows protected your PC — Microsoft Defender SmartScreen prevented an unrecognized app from starting."
Commercial Extended Validation (EV) code-signing certificates cost hundreds of dollars annually. As an independent developer project published directly on GitHub, NS Cloud Drive binaries are distributed unsigned or self-signed. Windows SmartScreen displays this prompt for any newly downloaded executable until it accumulates global download reputation.
- Click More info on the SmartScreen dialog.
- Click Run anyway.
- You can verify the integrity of your download by comparing its SHA-256 checksum against
NSCloudDrive.exe.sha256:
Get-FileHash -Path .\NSCloudDrive.exe -Algorithm SHA256Verified Release Hash:
0DE503E5671C66DBC5BABBD18960F13BA879DA5A233429B04395C97F860E87EE
- Open NS Cloud Drive and navigate to Disks.
- Click Add Cloud Disk and select Google Drive.
- Choose your preferred drive letter (e.g.,
G:,H:,N:) and mount mode (Read-Write or Read-Only). - Click Authenticate with Google. Your default browser will open the secure Google OAuth 2.0 loopback page (
http://127.0.0.1:53682). - Grant permission to access Google Drive. NS Cloud Drive verifies the returned cryptographic token, retrieves your profile name/avatar, and securely encrypts credentials via DPAPI.
- The drive mounts instantly and appears in File Explorer as a Local Disk.
- Open NS Cloud Drive and click Add Cloud Disk -> TeraBox.
- Select an available drive letter (e.g.,
T:,I:). - Authenticate using your TeraBox session credentials. The internal
cpx.exeWebDAV bridge daemon connects and initializes virtual drive communication. - TeraBox accounts are isolated in distinct directories and mount points.
Important
TeraBox's free plan enforces a maximum single-file upload limit of 4.0 GB. Staging files larger than 4.0 GB will display a warning indicator in the transfer dashboard.
The NS Cloud Drive transfer engine provides real-time streaming telemetry and comprehensive transfer isolation:
-
Exponential Moving Average (EMA): Instantaneous transfer speeds fluctuate wildly due to cloud chunking. NS Cloud Drive applies an EMA filter (
$\alpha = 0.25$ ) to calculate smooth, jitter-free speeds and dependable ETAs. -
Multi-Transfer Registry (
TransferRegistry): Each active file is tracked by its unique composite identifier ($drive:$remotePath). Transferring multiple files simultaneously will never cause UI name collisions or misplaced progress bars. - Live Transfer Queue: The Disks dashboard features a live queue monitor displaying active uploads, pending staged items, and queued background synchronizations.
-
Safe Transfer Cancellation: Clicking Cancel halts rclone's background transfer worker via rclone RC API (
vfs/queue-set-expiryand process management) without deleting your local source file or leaving corrupt remote chunks.
NS Cloud Drive provides a built-in diagnostics monitor designed with zero idle CPU overhead:
- Zero Background Polling: Diagnostic metrics and hardware counters are collected strictly on-demand when navigating to the Analytics tab.
- Per-Mount Health Diagnostics: Real-time responsiveness testing for each mounted virtual filesystem root (
WinFsp NTFS). - Network Latency & Throughput Probes: Live round-trip ICMP ping and provider response timing to prevent bufferbloat.
- Hardware Footprint Transparency: Direct visibility into process memory, working set size, and local cache quota pressure.
Figure 3: On-Demand Analytics — Real-time mount health breakdown, latency probes, SSD cache pressure, and host hardware footprint.
NS Cloud Drive ensures cloud synchronization never interrupts competitive gaming, video conferencing, or high-definition streaming:
- Adaptive Limit Policy: Samples network latency every 10 seconds (
Measure-NetworkLatencyProbe). If round-trip ping increases significantly, upload speeds back off smoothly to preserve interactive responsiveness. - Gaming Workload Guard: Automatically detects active gaming processes (Steam, Discord, OBS, Valorant, CS2, Fortnite, etc.) via
Test-GamingWorkloadActiveand throttles background uploads to a lightweight rate (250 KB/s – 1.5 MB/s). - Manual Rate Caps: Choose between Adaptive, Unlimited, or Custom bandwidth limits in the Options tab.
Virtual drives stage writes and cache reads locally to provide near-instantaneous file access. NS Cloud Drive manages local disk footprint via a 6-step safe eviction engine:
- Inactivity TTL Eviction:
- Files
< 1 GB: Evicted after 5 minutes of inactivity. - Files
1 GB – 3 GB: Evicted after 20 minutes of inactivity. - Files
> 3 GB: Evicted after 45 minutes of inactivity.
- Files
- In-Use Protection (
Test-FileInUse): Files currently open in media players, editors, or office suites are never evicted. - Dirty Upload Protection: Unsynchronized local writes (
Dirty: trueinvfsMeta) are strictly preserved until remote cloud upload is fully confirmed. - Cache Inspector Modal: Click Inspect Cache on the Disks page to view every cached item, file sizes, in-use statuses, and evict individual files on demand.
NS Cloud Drive features a responsive Windows Presentation Foundation (WPF) interface designed with strict character encoding compliance (0 raw non-ASCII unicode bytes; all glyphs use [char]0x... syntax):
- Pure Black (
#000000): Deep contrast OLED dark theme with vibrant accents. - Translucent Liquid Glass: Windows DWM acrylic material backdrop with subtle blur effects (supported via settings configuration and CLI).
- Pure White (
#F8FAFC): Clean, crisp light theme with refined typography and contrast.
Figure 4: Options & Preferences — Instant theme selection, SSD staging cache thresholds, Explorer integration, and Windows startup settings.
NS Cloud Drive is engineered to run permanently in the background without wasting system memory:
- Background Timer Throttling: When the main window is minimized to the system tray, UI rendering timers throttle from 1-second intervals down to 5-second intervals.
- Win32 Memory Trimming: Periodic background calls to
[NSCloudDrive.VirtualDriveHelper]::TrimWorkingSet()invoke the Win32EmptyWorkingSetAPI, reducing idle working set RAM to baseline levels (~40–60 MB). - Single-Instance Enforcement: Re-launching
NSCloudDrive.exeautomatically restores and focuses the existing window.
- DPAPI Encryption: All authentication tokens, client credentials, and cookies are encrypted using Windows Data Protection API (
System.Security.Cryptography.ProtectedData). - Strict File Access Control Lists (ACLs): Credential files are restricted exclusively to the active Windows User SID (
Disable-AccountInheritance), blocking unauthorized access from other local accounts. - Redacted Diagnostics: The logging framework automatically scrubs OAuth tokens, session cookies, and private tokens before writing to disk.
- Zero Insecure Shell Execution: Replaced all unmanaged ThreadPool script blocks with compiled C# thread workers to prevent runspace termination.
Figure 5: Security & Audit Log Viewer — Real-time sanitized logging, per-account event tracing, severity filtering, and privacy retention rules.
NS Cloud Drive includes an extensive regression test suite executed cleanly in Windows PowerShell (Set-StrictMode -Version Latest):
| Test Suite | Scope & Coverage | Status |
|---|---|---|
Test-VirtualDriveManager.ps1 |
Mount builders, volume labels, conflict resolution, rclone flags | PASS (14/14) |
Test-SettingsManager.ps1 |
Settings CRUD, DPAPI persistence, atomic file writes | PASS (6/6) |
Test-BackendCorrectnessAndSync.ps1 |
Staged upload discovery, cancellation, inactivity TTL, TeraBox limits | PASS (4/4) |
Test-CacheManagement.ps1 |
In-use protection, LRU eviction, quota enforcement, safety boundaries | PASS (7/7) |
Test-CloudTransferManager.ps1 |
EMA speed smoothing, jitter-free ETA, path traversal defense | PASS (7/7) |
Test-OptionsPage.ps1 |
WPF options controls, dynamic theming, memory trimming modal | PASS (47/47) |
Test-SecurityAudit.ps1 |
DPAPI ACLs, OAuth CSRF validation, log secret sanitization | PASS (25/25) |
To execute all tests locally:
powershell.exe -NoProfile -ExecutionPolicy Bypass -File .\tests\Test-BackendCorrectnessAndSync.ps1- Cause: Windows Explorer retained a stale UNC share key in
HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\MountPoints2. - Solution: NS Cloud Drive automatically purges stale
##server#*keys upon startup and unmount. You can also click Disconnect and Mount to trigger an Explorer refresh (SHChangeNotify).
- Cause: Previous releases treated empty read-cache files as dirty writes.
- Solution: Resolved in this release candidate. Only verified dirty files (
vfsMetaDirty: true) trigger background sync, and 0 B sync notifications are suppressed.
- Cause: TeraBox free tier limits single-file uploads to 4.0 GB. Writing to the local SSD cache completed at local disk speed, but the remote upload was rejected by TeraBox.
- Solution: NS Cloud Drive displays a warning badge for any staged file exceeding 4.0 GB on TeraBox accounts.
- TeraBox API Limits: TeraBox bridge streaming depends on local session cookies and WebDAV relay. High-volume parallel chunking may be throttled by TeraBox servers.
- Antivirus Inspection: Real-time antivirus scanners scanning the local cache folder (
D:\CloudCache) may temporarily lock files during in-use checks. - Elevated Explorer: Windows Explorer running in an elevated administrator context cannot view drives mounted in a non-elevated user context due to Windows token isolation.
Contributions, bug reports, and suggestions are welcome! Please review CONTRIBUTING.md for coding standards, strict mode guidelines, and PR procedures.
By contributing to NS Cloud Drive, you agree that your contributions will be licensed under the project's NS Cloud Drive Source-Available, Non-Commercial Redistribution License.
NS Cloud Drive is licensed under the custom NS Cloud Drive Source-Available, Non-Commercial Redistribution License.
- Public & Source-Available: The complete source code is publicly accessible for learning, study, inspection, academic research, and personal use free of charge.
- Permitted Modification: You may freely modify the source code and build derivative versions for personal, educational, or internal operational use.
- Free Redistribution & Community Forks: You may share, redistribute, and publish copies of the original or modified code free of charge, provided that:
- All copies preserve the original copyright notice (
Copyright © 2026 NABORAJ SARKAR. All rights reserved.), the full LICENSE text, and the official repository URL (https://github.com/naborajs/CloudDrive). - Prominent author attribution to NABORAJ SARKAR is retained in all distributions, documentation, and user interfaces.
- Derivative works are clearly identified as modified forks and are not misrepresented as the official NS Cloud Drive product.
- No one may falsely claim or imply original authorship of this software.
- All copies preserve the original copyright notice (
- Commercial Restrictions: You may NOT sell, rent, monetize, charge access fees for, or commercially redistribute this software or any derivative works without prior express written permission from NABORAJ SARKAR.
- Permitted Internal Use: Businesses and organizations may run and use NS Cloud Drive internally for their own operations free of charge, provided they do not resell or commercially redistribute it to third parties.
- Not OSI-Approved Open Source: This is a source-available license with non-commercial restrictions, not an Open Source Initiative (OSI) approved open-source license.
- Commercial Licensing: Anyone interested in commercial distribution, white-labeling, or resale authorization should contact the copyright holder directly.
For the full legal terms, please read the complete LICENSE file.
If you have questions, suggestions, feedback, or want to discuss contributing or proposing new features for NS Cloud Drive, please join our community discussion or open an issue in the GitHub repository. You can also contact me directly by email at the address listed in my GitHub profile.
- Official Repository: https://github.com/naborajs/CloudDrive
- Community Discussion Hub: #1
- Issue Tracker: https://github.com/naborajs/CloudDrive/issues
- Developer & Copyright Holder: NABORAJ SARKAR
- Contact Email: nishant.ns.business@gmail.com
