How can we help?

We think these articles could help:

    See More
    Home > CrashPlan > Latest > Backup > Backing Up A Windows Network Drive

    Backing 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.

    Considerations

    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

    On Windows 7 & Windows 8

    1. Create a batch file (.bat) with your favorite text editor.  
    2. Copy the commands below and paste into your batch file:
      net use S: /DELETE
      net use S: "\\<device_ip_address>\<share_name>" "<password>" /USER:"<username>" >>C:\tmp\mount.log
      For information on how this command works in Windows 8 and Windows 7, see Microsoft's documentation on net use.
    3. Replace placeholder elements, such as <username> and <device_ip_address>, with appropriate values for your environment.
      For example:
      net use S: /DELETE
      net use S: "\\192.0.2.50\marvin" "marvin_pass" /USER:"marvin" >>C:\tmp\mount.log
      
    4. Save your changes.
      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).

    On Windows XP, Server 2003, & Windows Vista

    1. Create a batch file (.bat) with your favorite text editor.
    2. Copy the command below and paste into your batch file:
      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.
    3. Replace placeholder elements, such as <username> and <device_ip_address>, with appropriate values for your environment.
      For example:
      net use S: \\192.0.2.50\marvin /USER:192.0.2.50\marvin marvin_pass >> C:\tmp\mount.log 2>&1
      
    4. Save your changes.
      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 the Windows built-in task scheduling function to run your batch file as the SYSTEM user.

    On Windows Vista, Windows 7, & Windows 8

    Now that you have your batch file, create the task on Windows 8, 7, or Vista:

    1. 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
    2. Select Action > Create Task.
       Action Menu
    3. Configure the General tab:
      1. Enter a name and a description.
      2. Under Security options, click Change User or Group...
      3. In Enter the object name to select, enter SYSTEM.
        Select User or Group menu
      4. Click OK to confirm the SYSTEM user.
    4. Configure the Triggers tab:
      1. Click New to create a new trigger.
      2. In Begin the task, select At log on.
        New Trigger
      3. Under Settings, select Any user.
      4. Click OK to confirm this trigger.
        Completed Trigger
    5. Configure the Actions tab:
      1. Click New to create a new action.
      2. From Actions, choose Start a program.
      3. In Program/script, type or browse to your batch file.
        New Action
      4. Click OK to confirm this action.
        Completed Action
    6. On the Create Task window, click OK to create the task.
      The new task appears in the Active Tasks list.
      Active Task
    7. Sign out and sign in to test the new task.

    On Windows XP, & Server 2003

    Now that you have your batch file, create the task on Windows XP or Server 2003:

    1. Go to C:\Windows\Tasks > Add Scheduled Task.
    2. Click Browse and select your batch file.
    3. Give the task a descriptive name.
    4. Choose When I log on.
    5. Enter the user name SYSTEM.
    6. Click Finish.
    7. Sign out and sign in to test the new task.

    When you sign in to Windows, you will see a disconnected network mapped drive that you don't have permission to read. This “disconnected” drive is the mapped drive that CrashPlan will use.

    Mapped Drive Disconnected

    Other Solutions

    The solution presented above is just one possible method. Users have created similar tutorials for other methods.

    External Resources
    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
    10:35, 12 Mar 2015

    Tags

    Classifications

    CrashPlan User Guide