![]() |
MS-DEFCON 2:
Patch reliability is unclear. Unless you have an immediate, pressing need to install a specific patch, don't do it.
|
-
Why won’t Task Scheduler launch Office product
Home › Forums › AskWoody support › Windows › Windows 10 › Questions: Win10 › Why won’t Task Scheduler launch Office product
- This topic has 19 replies, 5 voices, and was last updated 1 month ago.
Viewing 0 reply threads-
AuthorPosts
-
-
January 18, 2021 at 12:18 pm #2335529
WSjfsharp
AskWoody LoungerI’m at my wits end!
I got a new machine with Win 10 Home 2004 and Office Pro 2016 have migrated all of my files – and processes – from my “old” Win 7 machine.
Part of that was an automated process that I had set up to run on a daily basis. It utilized an Excel “xlsm” file (with an “Auto_Open” macro) to retrieve data from several websites, reformat the data and then populate an Access database.
This process has run for me for over 20 years on various iterations of machines/Windows versions/Office versions – with some modifications due to Excel and web-site changes.
The one consistency has been Task Scheduler insomuch as it has ALWAYS worked!
Until now.
While logged in, I can double-click on the xlsm file and Excel launches and does its thing as expected. I have even embedded the necessary commands in a cmd file, a vbs script and a ps1 script and they ALL execute as expected.
When I set up the task in Task Scheduler, my main goal is to have the task “Run whether the user is logged on or not” – an option on the “General” tab of the task; I’ve always set up the task to run this way in the past. However, now, regardless of how I set up the “Action” portion of the task (launch Excel directly passing the file name as a parameter; launch the cmd file; execute the vbs or ps1 script), the task does NOT run. It won’t even run if I manually try to run the task. The Last Run Result will say
A specified logon session does not exist. It may already have been terminated. (0x80070520)
If I change the task to “Run only when the user is logged on” it works.
I’ve checked that the Security Policy setting “Network access: Do not allow storage of passwords and credentials for network authentication” is disabled to no avail.
Various Google searches have indicated that it’s an “interactive” issue and that Task Scheduler won’t launch a task if there could(?) be an expected interaction with the desktop.
Huh?
The closest that I’ve been able to get this thing to “almost” work is to change the “user” to be the “Administrators” group – of which I am a member of – and to leave me logged in. The machine can be locked. But if I log off or the machine has been rebooted then I’m hosed!
ANYBODY have any suggestions and/or solutions?
Many MANY thanks in advance!!
-
-
AuthorPosts
Viewing 0 reply threads -
Welcome to our unique respite from the madness.
It's easy to post questions about Windows 10, Win8.1, Win7, Surface, Office, or browse through our Forums. Post anonymously or register for greater privileges. Keep it civil, please: Decorous Lounge rules strictly enforced. Questions? Contact Customer Support.

Plus Membership
Donations from Plus members keep this site going. You can identify the people who support AskWoody by the Plus badge on their avatars.
AskWoody Plus members not only get access to all of the contents of this site -- including Susan Bradley's frequently updated Patch Watch listing -- they also receive weekly AskWoody Plus Newsletters (formerly Windows Secrets Newsletter) and AskWoody Plus Alerts, emails when there are important breaking developments. Click here for details and to sign up.
Search Newsletters
Search Forums
Recent Replies
-
Kirsty on Frys electronics is closing
-
scoobydoo on Frys electronics is closing
-
Charlie on Frys electronics is closing
-
Charlie on Frys electronics is closing
-
OscarCP on Is IT Skill Set Sustainable?
-
EP on Can a swapfile be put on an SD card?
-
EP on Frys electronics is closing
-
Susan Bradley on Can you check your user name?
-
abbodi86 on Can you check your user name?
-
anonymous on Standalone installer script for Windows 7 ESU, regardless the license
-
Rick Corbett on Medical ID on iPhone… WTH Apple?
-
Brocktoon on Large Norton Update
-
scoobydoo on Frys electronics is closing
-
bratkinson on Is IT Skill Set Sustainable?
-
anonymous on Frys electronics is closing
-
LoneWolf on Tasks for the weekend – February 20, 2021 – it’s Squirrel away time
-
dmt_3904 on iTunes preferred method to update iOS?
Recent Topics
-
Outlook print format different for contact phonebook between Outlook 2013/2016
3 hours, 32 minutes ago
-
Styles.Visibility
3 hours, 20 minutes ago
-
Windows 10 Insider Preview build 20322 released to DEV Channel
4 hours, 58 minutes ago
-
Medical ID on iPhone… WTH Apple?
3 hours, 15 minutes ago
-
Is IT Skill Set Sustainable?
2 hours, 8 minutes ago
-
Apple’s M1 iMac & Mac Pro Mini Exclusive leaks!
7 hours, 27 minutes ago
-
Large Norton Update
3 hours, 38 minutes ago
-
Transparent content in dragged window
6 hours, 42 minutes ago
-
raid config broken now only one drive visible
9 hours, 42 minutes ago
-
USB Mouse Causes Laptop Black Screen
6 hours, 39 minutes ago
-
Windows 10 Feature Experience Pack 120.2212.3030.0 (20H2 &21H1) released to Beta
4 hours, 45 minutes ago
-
Office365 colors
10 hours, 20 minutes ago
-
Frys electronics is closing
28 minutes ago
-
MS Edge Webview2 Runtime Installed?
14 hours, 45 minutes ago
-
Looking for graphic equalizer for Windows 10
16 hours, 53 minutes ago
-
Can a swapfile be put on an SD card?
2 hours, 19 minutes ago
-
Dm to bradley
23 hours, 45 minutes ago
-
Starting up my Chromebook
1 day, 14 hours ago
-
Veeam now working with kernel 5.8 in experimental branch
2 days ago
-
Microsoft changed my local account to a Microsoft Accountt
1 day, 9 hours ago
-
“Unwelcome” Open Windows Display
2 days, 3 hours ago
-
iOS 14.5 makes it harder for hackers to develop zero-click exploits.
2 days, 8 hours ago
-
New computer setting up – ‘Apps’ disappeared from Settings
8 hours, 17 minutes ago
-
Ver 2004 Update – Device Updates help
2 days, 1 hour ago
-
can not create new folder
2 days, 7 hours ago
-
All Browsers Fail!
1 day, 9 hours ago
-
How to create a bootable macOS installer
2 days, 15 hours ago
-
How to create a bootable macOS installer
2 days, 19 hours ago
-
Amazon’s new ‘same-day nodes’ will displace postal deliveries
15 hours, 25 minutes ago
-
Glacially slow, 10-minute boot times!
7 hours, 52 minutes ago
Search for Topics
Recent blog posts
- Frys electronics is closing
- How to create a bootable macOS installer
- Amazon’s new ‘same-day nodes’ will displace postal deliveries
- Glacially slow, 10-minute boot times!
- The latest vulnerabilities in the network stack
- Freeware Spotlight — FastCopy
- Changes to policies
- Tasks for the weekend – February 20, 2021 – it’s Squirrel away time
Key Links
Copyright © 2004 – 2021 AskWoody Tech LLC. All rights reserved.