CrashPlan doesn't support backing up mapped drives on Windows. CrashPlan runs as a Windows service and therefore cannot access drives mounted by a user. This is an OS-level restriction built into Windows.
If you would like to back up a mapped drive on Windows, this article describes an unofficial method for doing so. It is not supported by CrashPlan or Code42, so proceed at your own risk.
Before You Begin
This method for backing up a mapped drive requires advanced knowledge of Windows. It is not for beginners. If you don't feel comfortable using a command line, you should stop now.
The information presented here is intended to offer information to advanced users. However, Code42 does not design or test products for the use described here. This information is presented because of user requests.
Our Customer Champions cannot assist you with unsupported processes, so you assume all risk of unintended behavior. You may want to search our support forum
for information from other users.
Step 1: Create A Batch File To Mount Your Drive
- Create a batch file (.bat) with your favorite text editor.
- Place text similar to the below example in your batch file. Replace placeholder elements, such as
<device_ip_address>, with appropriate data for your environment.
net use S: \\<device_ip_address>\<share_name> /USER:<device_ip_address>\<username> <password> C:\tmp\mount.log 2>&1
For information on how this command works, see Microsoft's documentation on net use.
Sample Batch File
echo %date% %time% : "%cd%\mount.bat" >> C:\tmp\mount.log
net use S: \\192.0.2.50\marvin /USER:192.0.2.50\marvin marvin_pass >> C:\tmp\mount.log 2>&1 2>&1
Note: If you create your .bat file in Notepad, make sure you select All Files from the Save as Type menu. Otherwise, Windows interprets your batch file as a regular text file (.txt).
Step 2: Create A Scheduled Task To Run The Batch File
Use Windows built-in task scheduling function to run your batch file as the SYSTEM user.
On Vista, Windows 7, and Windows 8
Now that you have your batch file, create the task on Windows Vista, 7, or 8:
- Open the task scheduler:
- Windows Vista and 7: Start > All Programs > Accessories > System Tools > Task Scheduler
- Windows 8: Control Panel > System and Security > Administrative Tools > Task Scheduler
- Select Action > Create Task
- Configure the General tab:
- Enter a name and a description
- Under Security options, click Change User or Group...
- In Enter the object name to select, enter SYSTEM
- Click OK to confirm the SYSTEM user
- Configure the Triggers tab:
- Click New to create a new trigger
- In Begin the task, select At log on
- Under Settings, select Any user
- Click OK to confirm this trigger.
- Configure the Actions tab:
- Click New to create a new action
- From Actions, choose Start a program
- In Program/script, type or browse to your batch file
- Click OK to confirm this action
- On the Create Task window, click OK to create the task.
The new task appears in the Active Tasks list
- Sign out and sign in to test the new task
The solution presented above is just one possible method. Users have created similar tutorials for other methods.
These resources link to external, non-Code42 sites, or to user-submitted discussions. The links are provided for informational purposes only. The content has not been verified by Code42 and our Customer Champions cannot support these methods.