Mounting a drive as SYSTEM at startup (Help)!

thecomputerguy

Well-Known Member
Reaction score
1,414
I am trying to get a network drive to mount as the SYSTEM user for a client because the backup software being used (crashplan) does not allow backup to a mapped drive UNLESS it is mapped with the SYSTEM user to trick the computer into thinking it's an actual drive.

I am doing this with the task scheduler but I can't for the life of me get the batch file to run at start up.

here is the batch file:

net use s: \\192.168.1.80\Public\BILL\Desktop /USER:192.168.1.80\Admin admin

this is the error at start up

attachment.php


I've also tried mounting the drive using the trigger " At logon " to no avail ...

Any advice?
 

Attachments

  • error.jpg
    error.jpg
    83.1 KB · Views: 1,240
Where is your batch file located? IIRC 0x2 means it cannot find the specified file.
 
c:\tmp\mount.bat

When you create the task you dont type the task you browse and navigate to it.

So I know it's there...
 
Anything in the system event logs?

EDIT: What operating system is this?
 
Last edited:
well for one, you're mapping the drive as Admin, not SYSTEM. But that's a good thing, because you can't map a drive as SYSTEM, the local system account doesn't have network rights!

Likewise, if you scheduled the task itself under the system account, it will also fail. You need to use a standard admin account with password.

Other things that might help:
  • don't use quotes in the path, there's a bug with that I believe.
  • make sure to fill in the "start in" box with the path to the bat.
  • I know it sounds dumb, but also make sure the admin you scheduled the task under has full permissions to the batch file itself, not just the path.
Seems like there's something I'm forgetting, I've had this trouble before. I don't have access to that particular PC atm... Ahh maybe it was one of the above...
 
Last edited:
well for one, you're mapping the drive as Admin, not SYSTEM. But that's a good thing, because you can't map a drive as SYSTEM, the local system account doesn't have network rights!

Likewise, if you scheduled the task itself under the system account, it will also fail. You need to use a standard admin account with password.

Other things that might help:
  • don't use quotes in the path, there's a bug with that I believe.
  • make sure to fill in the "start in" box with the path to the bat.
  • I know it sounds dumb, but also make sure the admin you scheduled the task under has full permissions to the batch file itself, not just the path.
Seems like there's something I'm forgetting, I've had this trouble before. I don't have access to that particular PC atm... Ahh maybe it was one of the above...

It has to be setup under the SYSTEM account per Crashplan: http://support.crashplan.com/doku.php/recipe/back_up_windows_mapped_drives

Which says: CrashPlan does not 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 so proceed at your own risk.

Create a task to run the batch file as the SYSTEM user
-----------------------------------------------------------------------------------------------

Also, I dont use quotes in the path I just quoted them in this post.

See picture below ... (Windows 7 Pro 64)

attachment.php
 

Attachments

  • technib2.jpg
    technib2.jpg
    78.7 KB · Views: 1,176
Well that's odd. In my own tests it actually works under the system account, but I cannot access the drive created in Explorer, only via command prompt, and it doesn't show up in the net use list. but hey, whatever... if that's what works with crashplan so be it!

Your problem is still looking like you aren't specifying a "start in" path as I said earlier. See pic.

attachment.php
 

Attachments

  • Untitled.jpg
    Untitled.jpg
    20.5 KB · Views: 1,140
Last edited:
Back
Top