How can we help?

We think these articles could help:

    See More
    Home > CrashPlan > Latest > Backup > Back Up a Windows Network Drive

    Back Up a Windows Network Drive

    Applies to:
    • CrashPlan for Home
    • CrashPlan PRO
    • CrashPlan PROe

    Overview

    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.

    Unsupported Process
    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

    The key element of the net use command is the /USER:ip\username syntax. Without the IP (or desktop name if Windows) it does not work.

    The raw command is provided below (replace contents inside angle brackets and remove the angle brackets):

    net use S: \\<device_ip_address>\<share_name> /USER:<device_ip_address>\<username> <password> C:\tmp\mount.log 2>&1 
    2>&1


    Sample File Contents:

    echo %date% %time% : "%cd%\mount.bat" >> C:\tmp\mount.log 
    
    >&1 2>&1 
    net use S: \\10.10.42.50\plindqui /USER:10.10.42.50\plindqui <password> >> C:\tmp\mount.log 2>&1 2>&1

    Note: If you create your batch 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.

    Step 2. Create A Task To Run The Batch File As The SYSTEM User

    On Windows XP

    Now that you have your batch file, create the task on XP:

    1. Go to C:\Windows\tasks > Add Scheduled Task
    2. Browse to your .bat
    3. Choose Perform task When I log on
    4. User name of SYSTEM
    5. Finish

    When you sign in with your Owner account you can see a network mapped drive that you don't have permission to read. It appears as disconnected. The “disconnected” drive is the mapping CrashPlan will be using.

    Mapped Drive Disconnected

    In the CrashPlan destination / source file browser:

     Destination / source file browser

    (optional) Of course, you can map it with your Owner account, so you can interact with the files. In this case the two mappings are both valid:

     Owner account

    On Vista

    For Vista, the batch file remains the same, but the steps to create a scheduled task are different.

    1. Open Start > All Programs > Accessories > System Tools > Task Scheduler
    2. Select Action > Create Task

     Action Menu

    1. Under General:
    • Enter a name and a description
    • Change User or Group 

     

    • Enter SYSTEM as the object to select 

    Change User

    • After confirmation, the task runs as the SYSTEM user: 

     

    1. Under Triggers, add a new trigger that runs at Log On of Any User

    Triggers

    Completed trigger:

    Completed Trigger

    1. Under Actions, choose Start a program and select the proper batch file

    New Action

    Completed action:

    Completed Action

    1. Select OK to create the task. The new task appears in the Active Tasks list

    Active Task

    1. Sign out and sign in to test the new task

    Other Solutions

    The solution presented above is just one possible method. We have collected additional methods that may also work in the links below. 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.

    You must to post a comment.
    Last Modified
    14:42, 15 Jan 2014

    Page Rating

    1 of 2 found this page helpful.

    Tags

    Guide Type: