Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9128021
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T07:24:54+00:00 2026-06-17T07:24:54+00:00

I have scheduled a task to lauch a batch file. When I run the

  • 0

I have scheduled a task to lauch a batch file. When I run the task with the option

Run only when user is logged on

everything works fine.

I want to run this task in the background, hence I am running it using the option

Run whether user is logged on or not.

Now when I run the task under that parameter, it is not working. I get the following 2 errors:

  • Task Scheduler failed to launch action "C:\Windows\SYSTEM32\cmd.exe" in instance "{2a7cc950-fad9-4633-9701-af75a0fd220d}" of task "\stmm\Daemon". Additional Data: Error Value: 2147942667.
  • Task Scheduler failed to start instance "{2a7cc950-fad9-4633-9701-af75a0fd220d}" of "\stmm\Daemon" task for user "GBLADHEDANI\N011940" . Additional Data: Error Value: 2147942667.

What is Error Value: 2147942667? How can I resolve this errors?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T07:24:55+00:00Added an answer on June 17, 2026 at 7:24 am

    To get the relevant error message:

    1. Convert 2147942667 to hex: 8007010B
    2. Take last 4 digits (010B) and convert to decimal: 267
    3. In a Command Prompt, run net helpmsg 267
    4. Result: "The directory name is invalid."

    Command Prompt Window

    The solution for me was that I had quotes in the "Start In" field. I found this information in Microsoft KB Article 2452723, Windows Vista onward scheduled tasks fail to run if the path in "Start in (Optional)" field has quotes.

    Basically, edit your scheduled task and take the quotes out of the "Start In" field:

    1. Open your Scheduled Task
    2. Switch to "Actions" tab
    3. Open your Action
    4. Remove Quotes (") from the field "Start in (optional)"
    5. Save and close all open dialogs

    Edit Action Dialog Box

    You should also check for other causes of the error, like not having permission to access the directory, or using a mapped drive letter which is only available during certain login sessions.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a batch file that creates a scheduled task using schtasks like this:
I have a scheduled task which should run every minute. To block the file
I have scheduled my batch file in task scheduler in windows server 2008. Task
I want to have an operation(Task) to be Scheduled after some time OR Based
I have a scheduled task set up to run Scan.aspx every 3 minutes in
I have scheduled sql agent task which runs an SSIS package. I want to
I have a scheduled job configured in an XML file: <task:scheduled-tasks scheduler=taskScheduler> <task:scheduled ref=scheduledJobs
I have a C# program that will run as a windows scheduled task. This
I have an application that is generally run on a scheduled task. However I
I have a backroundrb scheduled task that takes quite a long time to run.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.