Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

Task Scheduler task won't start if user is SYSTEM


  • Please log in to reply
No replies to this topic

#1 spjeff69

spjeff69

  • Members
  • 2 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:03:34 AM

Posted 16 August 2013 - 07:51 PM

Trying to run a simple batch file that connects to network drives. I need this batch to run as system user in order for my CrashPlan application to back up the contents. I cannot just map the drives normally. (see info here: recipe:back_up_windows_mapped_drives [CrashPlan Support Site] )

Batch file contents:
net use S: \\10.0.1.76\
net use r: \\10.0.1.77\

The problem I am having is that the task works fine and runs the batch file if I have set the user as my local user account. However, this will not work with CrashPlan so I have to run the task as SYSTEM. When I run the task as system the task does not work. This is the last status in the task history.

- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-TaskScheduler" Guid="{DE7B24EA-73C8-4A09-985D-5BDADCFA9017}" /> 

<EventID>200</EventID> 

<Version>1</Version> 

<Level>4</Level> 

<Task>200</Task> 

<Opcode>1</Opcode> 

<Keywords>0x8000000000000000</Keywords> 

<TimeCreated SystemTime="2013-08-16T23:16:42.593507300Z" /> 

<EventRecordID>1115</EventRecordID> 

<Correlation ActivityID="{29401120-CAB6-4600-B285-925DF0193838}" /> 

<Execution ProcessID="724" ThreadID="2880" /> 

<Channel>Microsoft-Windows-TaskScheduler/Operational</Channel> 

<Computer>jeff</Computer> 

<Security UserID="S-1-5-18" /> 

</System>


- <EventData Name="ActionStart">
<Data Name="TaskName">\mountdrives</Data> 

<Data Name="ActionName">C:\Windows\SYSTEM32\cmd.exe</Data> 

<Data Name="TaskInstanceId">{29401120-CAB6-4600-B285-925DF0193838}</Data> 

<Data Name="EnginePID">6992</Data> 

</EventData>


</Event>

 



BC AdBot (Login to Remove)

 





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users