Excel.exe Task Scheduler 0xe0000002 KERNELBASE.dll Office365

Trying to run a .xlsb file “Run whether the users user is logged on or Note”

Immediately comes up with error 

Faulting application name: EXCEL.EXE, version: 16.0.14701.20226, time stamp: 0x61a9321f
Faulting module name: KERNELBASE.dll, version: 10.0.14393.4350, time stamp: 0x606eb12a
Exception code: 0xe0000002
Fault offset: 0x000dc602
Faulting process id: 0xc44
Faulting application start time: 0x01d7ed6a0091be13
Faulting application path: c:\Program Files (x86)\Microsoft Office\root\Office16\EXCEL.EXE
Faulting module path: C:\Windows\System32\KERNELBASE.dll
Report Id: 217ffac0-5808-4c32-92ad-92545e7ece06
Faulting package full name:
Faulting package-relative application ID:

 

When I choose to run the task interactively “Run only when user is logged on” it works fine to show the app is working

  1. You need to make sure Office is installed with Shared Activation so that other people can be logged into this server and the task can still run 
  • Use Registry Editor to add a String value (Reg_SZ) of SharedComputerLicensing with a setting of 1 under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\ClickToRun\Configuration.

2) You need to make sure you are not logged into the computer with the account that’s running the scheduled task it will fail , make sure it is totally logged out and sign in as another user to run it

 

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...