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.

    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

    1. Create a batch file (.bat) with your favorite text editor.
    2. Place text similar to the below example in your batch file. Replace placeholder elements, such as <username> or <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 
    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 
    
    >&1 2>&1 
    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 Windows XP/Server 2003

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

    1. Create the scheduled task to map the drive
      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
    2. When you sign in to Windows, you can see in Explorer a network mapped drive that you don't have permission to read. It appears as disconnected. The “disconnected” drive is the mapped drive that CrashPlan will use.
      Mapped Drive Disconnected
    3. You can sign in to the CrashPlan app and view these files in your backup selection:
      CrashPlan app file browser
    4. (Optional) Map the same location under your Windows user account, so that you can interact with the files
      Windows browser
    5. Sign out and sign in to test the new task

    On Vista, Windows 7, and Windows 8

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

    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

    Other Solutions

    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.
    You must to post a comment.
    Last Modified
    08:55, 4 Jun 2014

    Page Rating

    1 of 3 found this page helpful.

    Tags