{"id":5441,"date":"2021-12-10T02:22:16","date_gmt":"2021-12-10T02:22:16","guid":{"rendered":"https:\/\/pariswells.com\/blog\/?p=5441"},"modified":"2021-12-16T22:28:04","modified_gmt":"2021-12-16T22:28:04","slug":"excel-exe-task-scheduler-0xe0000002-kernelbase-dll","status":"publish","type":"post","link":"https:\/\/pariswells.com\/blog\/research\/excel-exe-task-scheduler-0xe0000002-kernelbase-dll","title":{"rendered":"Excel.exe Task Scheduler  0xe0000002 KERNELBASE.dll Office365"},"content":{"rendered":"<p>Trying to run a .xlsb file &#8220;Run whether the users user is logged on or Note&#8221;<\/p><p>Immediately comes up with error\u00a0<\/p><p>Faulting application name: EXCEL.EXE, version: 16.0.14701.20226, time stamp: 0x61a9321f<br \/>Faulting module name: KERNELBASE.dll, version: 10.0.14393.4350, time stamp: 0x606eb12a<br \/>Exception code: 0xe0000002<br \/>Fault offset: 0x000dc602<br \/>Faulting process id: 0xc44<br \/>Faulting application start time: 0x01d7ed6a0091be13<br \/>Faulting application path: c:\\Program Files (x86)\\Microsoft Office\\root\\Office16\\EXCEL.EXE<br \/>Faulting module path: C:\\Windows\\System32\\KERNELBASE.dll<br \/>Report Id: 217ffac0-5808-4c32-92ad-92545e7ece06<br \/>Faulting package full name: <br \/>Faulting package-relative application ID:<\/p><p>&nbsp;<\/p><p>When I choose to run the task interactively &#8220;Run only when user is logged on&#8221; it works fine to show the app is working<\/p><ol><li>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\u00a0<\/li><\/ol><ul><li><p>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.<\/p><\/li><\/ul><p>2) You need to make sure you are not logged into the computer with the account that&#8217;s running the scheduled task it will fail , make sure it is totally logged out and sign in as another user to run it<\/p><p>&nbsp;<\/p>","protected":false},"excerpt":{"rendered":"<p>Trying to run a .xlsb file &#8220;Run whether the users user is logged on or Note&#8221;Immediately comes up with error\u00a0Faulting application name: EXCEL.EXE, version: 16.0.14701.20226, time stamp: [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[3675,1793,3674,705,2029],"class_list":["post-5441","post","type-post","status-publish","format-standard","hentry","category-research","tag-0xe0000002","tag-excel-exe","tag-fault-offset-0x000dc602","tag-kernelbase-dll","tag-task-scheduler"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/5441","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/comments?post=5441"}],"version-history":[{"count":4,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/5441\/revisions"}],"predecessor-version":[{"id":5460,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/5441\/revisions\/5460"}],"wp:attachment":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/media?parent=5441"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/categories?post=5441"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/tags?post=5441"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}