Posts Tagged ‘task scheduler’

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

 

GD Star Rating
loading...
GD Star Rating
loading...

Was trying to schedule the Google Cloud Directory Sync ( sync-cmd ) in a scheduled task on its own service account after creating the config.xml with the config manager

Running brought up the error (0x800700FF) in the scheduled task result

Turns out the Google Cloud Directory Sync Config Manager Encrypts the config.xml files to the user account that created them

I signed into the PC as the service account , reimported the config account and saved it as the service account and it ran fine

GD Star Rating
loading...
GD Star Rating
loading...