We all might have used task scheduler in Windows. It is a simple job to create a scheduled task. But I experienced an unexpected error, while scheduling. As you can see in the image below, it doesn’t gave me an idea on what the real issue is. Googling doesn’t displayed helpful results except for an article. This article will give you an idea on how to find the real issue, if ever you find such errors with task scheduler.
I couldn’t find what the real issue was by looking into this and event logs also didn’t tell me anything. However I could find the real issue by the steps below:
1. The error number was 2147943730, which is a decimal number. First we need to convert this in to hexa decimal format which is 80070532, prefix 0x with this since it is hexa decimal code making the result as 0x80070532.
2. Now the first four digits 8007 states that it is a win32 status code.
3. The last three digits 532 is a status code. Convert this hex code to decimal, and the result is 1330.
4. Finally, open command prompt, type net helpmsg 1330 and you will get an idea of what 2147943730 means. Simply, 2147943730 means Logon failure: the specified account password has expired.
Happy Error Investigation 🙂
LET US KNOW YOUR RATINGS ON THIS BLOG HERE. ALSO FEEL FREE TO CONTACT ME.
We all might have used task scheduler in Windows. It is a simple job to create a scheduled task. But I experienced an unexpected error, while scheduling. As you can see in the image below, it doesn’t gave me an idea on what the real issue is. Googling doesn’t displayed helpful results except for an article. This article will give you an idea on how to find the real issue, if ever you find such errors with task scheduler.
I couldn’t find what the real issue was by looking into this and event logs also didn’t tell me anything. However I could find the real issue by the steps below:
1. The error number was 2147943730, which is a decimal number. First we need to convert this in to hexa decimal format which is 80070532, prefix 0x with this since it is hexa decimal code making the result as 0x80070532.
2. Now the first four digits 8007 states that it is a win32 status code.
3. The last three digits 532 is a status code. Convert this hex code to decimal, and the result is 1330.
4. Finally, open command prompt, type net helpmsg 1330 and you will get an idea of what 2147943730 means. Simply, 2147943730 means Logon failure: the specified account password has expired.
Happy Error Investigation 🙂
LET US KNOW YOUR RATINGS ON THIS BLOG HERE. ALSO FEEL FREE TO CONTACT ME.
Проблема. В Windows Server 2008 R2 создали новое задание планировщика Windows. Задание должно запускаться из-под пользователя, не обладающего правами локального администратора.
При попытке вручную запустить задание из консоли Task Scheduler, в журнале задания появляется ошибка EventID 101 с текстом:
Task Scheduler failed to start "MicrosoftWindowsTaskSchedulerTaskName" task for user "CORPusername ". Additional Data: Error Value: 2147943785.
Решение. Проблема состоит, что у пользователя, из-под которого запускается задание, недостаточно прав для запуска задания планировщика. Чтобы предоставить необходимые права нужно открыть редактор локальной групповой политики (gpedit.msc), перейти в раздел Computer Configuration -> Windows Settings -> Security Policy -> Local Policies -> User Rights Assignment, отредактировать политику с именем Log On As Batch Job и добавить в нее учетную запись пользователя.
Осталось обновить политики (gpupdate /force) и попробовать запустить задание.
Проблема с планировщиком задач запуск задач
У меня есть задача, запланированная на моей машине Windows 2008 R2, но ей не удалось вызвать следующую ошибку в журнале (журналы событий).
ошибка:
планировщику задач не удалось запустить задачу » Hyatt_International_Distribution «для пользователя»SAFFRON3cb_admin». Дополнительные Данные: Значение Ошибки: 2147943645.
планировщик задач не удалось запустить процесс «» из-за ошибки, возникшей в «LUAIsElevatedToken» . Command= » taskeng.исполняемый. » Дополнительные Данные: Значение Ошибки: 2147943645.
ошибки, как показано ниже:
Имя Журнала: Microsoft-Windows-TaskScheduler / Operational
Источник: Microsoft-Windows-TaskScheduler
Дата: 16.04.2012 9: 59: 59
Код события: 101
Категория Задачи: Ошибка Запуска Задачи
Уровень: Ошибка
Ключевые слова:
Пользователь: SYSTEM
Компьютер: АБВ
Описание::
Планировщик задач не удалось запустить задачу «Distribution «для пользователя» SAFFRON3cb_admin». Дополнительные Данные: Значение Ошибки: 2147943645.
Событие Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Microsoft-Windows-TaskScheduler" Guid="{de7b24ea-73c8-4a09-985d-5bdadcfa9017}" />
<EventID>101</EventID>
<Version>0</Version>
<Level>2</Level>
<Task>101</Task>
<Opcode>101</Opcode>
<Keywords>0x8000000000000000</Keywords>
<TimeCreated SystemTime="2012-04-16T14:59:59.950Z" />
<EventRecordID>101476</EventRecordID>
<Correlation />
<Execution ProcessID="336" ThreadID="1216" />
<Channel>Microsoft-Windows-TaskScheduler/Operational</Channel>
<Computer>xyz</Computer>
<Security UserID="S-1-5-18" />
</System>
<EventData Name="TaskStartFailedEvent">
<Data Name="TaskName">Distribution</Data>
<Data Name="UserContext">SAFFRON3cb_admin</Data>
<Data Name="ResultCode">2147943645</Data>
</EventData>
</Event>
задача задается как: выполнить s если пользователь вошел в систему или нет, с самыми высокими привилегиями, мощность: запуск при включении переменного тока, разрешить выполнение задачи по требованию.
задача выполняется почти каждый день, правильно,но вчера не удалось. Какая-то особая причина?
С уважением,
Kaustubh
8 ответов
моя задача была установлено Run only when user is logged on
и он терпел неудачу для меня, даже когда я вошел в систему и запустил его вручную. Пользователь уже был настроен на меня. Без изменения пароля и т. д.
Я решил это, нажав «Изменить пользователя» и выбрав себя снова.
Я подозреваю, что это может быть вызвано изменением SID пользователя или чем-то в этом роде. Возможно, это было управление пользователями в AD, кто знает.
«свойства»,
Проверьте, выбран ли переключатель для
Run only when user is logged on
Если вы выбрали для вышеуказанной опции, то это причина, почему это не удалось.
поэтому измените параметр на
Run whether user is logged on or not
или
в другом случае пользователь мог изменить свои учетные данные
Я решил проблему, открыв свойства самого exe-файла. На вкладке «Совместимость» есть флажок для уровня привилегий, которая говорит «запустить как администратор»
хотя у моей учетной записи есть права администратора, она не работала, когда я запустил ее из планировщика задач.
Я снял флажок и снова запустил его из планировщика, и он работал.
- щелкните правой кнопкой мыши на задаче в планировщике задач
- перейдите на вкладку Действия
- нажмите Edit
- удалите кавычки вокруг пути в текстовом поле» начинается в».
моя задача также не удалось запустить.
Я решил это, указав не только путь к исполняемому файлу, но и путь к папке исполняемого файла (вкладка «действия» | Edit | TextBox «Start in»).
спасибо всем,
У меня была та же проблема. У меня есть задача, которая выполняется через общую учетную запись пользователя, не связанную с конкретным человеком. Этот пользователь как-то вышел из виртуальной машины, когда я пытался исправить это, я вошел в систему как я, а не этот пользователь.
вход в систему с этим пользователем Исправлена проблема!
у меня была та же проблема. Я попытался с параметром совместимости, но в Windows 10 он не показывает параметр совместимости. Следующие шаги решили проблему для меня:
- я убедился, что учетная запись, с которой выполнялась задача, имела полные права доступа к исполняемому файлу.
(Выполнил задачу и все еще не работал) - и
taskschd.msc
в качестве администратора - я добавил учетную запись для запуска задачи (была ли она зарегистрирована или нет)
- Я выполнил задачу, и теперь она сработала!
так или иначе, настройка задачи в taskschd.msc
как обычный пользователь не работал, хотя моя учетная запись является администратором одного.
надеюсь, это поможет любому, кто имеет ту же проблему
0
автор: Altagstod Believes
- Remove From My Forums
-
Question
-
As the sole user/administrator of my Win7 PC, I am trying to change the schedule to run — at a different time — a task that I set up (with great difficulty) a couple of years ago. The latest error message I get is
2147943731 without any explanation. I cannot find anything anywhere about that error.I also cannot find a complete set of instructions for how to schedule task on a single-user PC without any passwords. It was difficult enough in WinXP, but at least possible. It seems virtually impossible in Win7! All I ever want to do is to run
regularly, at a specific time and frequency, tasks that I can run interactively without any problem.PS — Forum technicality: My browser is Firefox. When I submit a question to this forum or any of the related forums, the font enhancement boxes appear empty unless I happen to hover the mouse over them. Are these forums designed only for IE?
- Edited by
Saturday, February 23, 2013 2:29 AM
- Edited by
Answers
-
There are so many tasks in Win7 that ask for account-names [and passwords] that it makes no sense. As I said above, this is my own personal PC that logs me on automatically without requiring either account or
password. Why cannot these tasks accept what boot-up accepts? All I want to do is to [re-]schedule some additional personal tasks of no complexity and the OS makes it virtually impossible.Scheduled Tasks are actually fairly easy to create, even under Windows 7, but if you find the task daunting then you could use one of these options:
- Ask a computer-savvy friend to assist you.
- Give me remote access to your machine so that I can show you how it’s done.
- Use the following console command to create the task:
schtasks.exe /create /ru «%UserName%» /rp YourPassword /sc weekly /d Fri /ST 22:00 /TN MyExcel
/tr «‘C:Program Files (x86)Microsoft OfficeOFFICE11Excel.exe’ «d:clientsinvoicesinvoices.xls»» /ITThe easiest way would go like this:
- Start a Command Prompt.
- Create a batch file.
- Copy the above command into the batch file.
- Adjust its parameters to suit your environment.
- Run the batch file.
- Apply further adjustments until successful.
Warning: Do not retype the command. Use Copy and Paste methods instead.
- Marked as answer by
Vincent Wang-MCSC
Wednesday, March 6, 2013 1:25 PM
Если в планировщике задач перестала выполняться задача, вызывая следующую ошибку:
Планировщику заданий не удается запустить задачу "task name" для пользователя "domainuser". Дополнительные сведения: значение ошибки: 2147943726.
или
Task Scheduler failed to start "task name" task for user "domainuser". Additional Data: Error Value: 2147943645.
то проблема скорее всего связана с учетной записью, от имени которой запускается задание, например пароль сменился.
Решение — В свойствах задачи нужно заново ввести учетную запись и правильный пароль.
(Visited 6 517 times, 1 visits today)
Posted by Rewalon
Проблема. В Windows Server 2008 R2 создали новое задание планировщика Windows. Задание должно запускаться из-под пользователя, не обладающего правами локального администратора.
При попытке вручную запустить задание из консоли Task Scheduler, в журнале задания появляется ошибка EventID 101 с текстом:
Task Scheduler failed to start "MicrosoftWindowsTaskSchedulerTaskName" task for user "CORPusername ". Additional Data: Error Value: 2147943785.
Решение. Проблема состоит, что у пользователя, из-под которого запускается задание, недостаточно прав для запуска задания планировщика. Чтобы предоставить необходимые права нужно открыть редактор локальной групповой политики (gpedit.msc), перейти в раздел Computer Configuration -> Windows Settings -> Security Policy -> Local Policies -> User Rights Assignment, отредактировать политику с именем Log On As Batch Job и добавить в нее учетную запись пользователя.
Осталось обновить политики (gpupdate /force) и попробовать запустить задание.
- Remove From My Forums
-
Question
-
Hi
On my server 2008 (sbs2011) with all available update installed I have a scheduled task thath will only run with build-in administrator rights.
The task will only start if a user is loged in, and in the configuration af the task I can’t configure «Run whether user loged in or not», because this configuration is shaded.
sfc /scannow does not find any error.
Best regards
Gorm
Answers
-
Hi,
For error 0x800704dd:The operation being requested was not performed because the user has not logged on to the network. The specified service does not exist.
For error 2147943730:The password for this account has expired.
Hope it helps.
Best Regards,
Cartman
Please remember to mark the replies as an answers if they help and unmark them if they provide no help.
If you have feedback for TechNet Subscriber Support, contact
tnmff@microsoft.com.-
Proposed as answer by
Monday, October 10, 2016 5:01 AM
-
Marked as answer by
Gorm_Lange
Tuesday, October 11, 2016 4:50 PM
-
Proposed as answer by
Проблема с планировщиком задач запуск задач
У меня есть задача, запланированная на моей машине Windows 2008 R2, но ей не удалось вызвать следующую ошибку в журнале (журналы событий).
ошибка:
планировщику задач не удалось запустить задачу » Hyatt_International_Distribution «для пользователя»SAFFRON3cb_admin». Дополнительные Данные: Значение Ошибки: 2147943645.
планировщик задач не удалось запустить процесс «» из-за ошибки, возникшей в «LUAIsElevatedToken» . Command= » taskeng.исполняемый. » Дополнительные Данные: Значение Ошибки: 2147943645.
ошибки, как показано ниже:
Имя Журнала: Microsoft-Windows-TaskScheduler / Operational
Источник: Microsoft-Windows-TaskScheduler
Дата: 16.04.2012 9: 59: 59
Код события: 101
Категория Задачи: Ошибка Запуска Задачи
Уровень: Ошибка
Ключевые слова:
Пользователь: SYSTEM
Компьютер: АБВ
Описание::
Планировщик задач не удалось запустить задачу «Distribution «для пользователя» SAFFRON3cb_admin». Дополнительные Данные: Значение Ошибки: 2147943645.
Событие Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Microsoft-Windows-TaskScheduler" Guid="{de7b24ea-73c8-4a09-985d-5bdadcfa9017}" />
<EventID>101</EventID>
<Version>0</Version>
<Level>2</Level>
<Task>101</Task>
<Opcode>101</Opcode>
<Keywords>0x8000000000000000</Keywords>
<TimeCreated SystemTime="2012-04-16T14:59:59.950Z" />
<EventRecordID>101476</EventRecordID>
<Correlation />
<Execution ProcessID="336" ThreadID="1216" />
<Channel>Microsoft-Windows-TaskScheduler/Operational</Channel>
<Computer>xyz</Computer>
<Security UserID="S-1-5-18" />
</System>
<EventData Name="TaskStartFailedEvent">
<Data Name="TaskName">Distribution</Data>
<Data Name="UserContext">SAFFRON3cb_admin</Data>
<Data Name="ResultCode">2147943645</Data>
</EventData>
</Event>
задача задается как: выполнить s если пользователь вошел в систему или нет, с самыми высокими привилегиями, мощность: запуск при включении переменного тока, разрешить выполнение задачи по требованию.
задача выполняется почти каждый день, правильно,но вчера не удалось. Какая-то особая причина?
С уважением,
Kaustubh
8 ответов
моя задача была установлено Run only when user is logged on
и он терпел неудачу для меня, даже когда я вошел в систему и запустил его вручную. Пользователь уже был настроен на меня. Без изменения пароля и т. д.
Я решил это, нажав «Изменить пользователя» и выбрав себя снова.
Я подозреваю, что это может быть вызвано изменением SID пользователя или чем-то в этом роде. Возможно, это было управление пользователями в AD, кто знает.
«свойства»,
Проверьте, выбран ли переключатель для
Run only when user is logged on
Если вы выбрали для вышеуказанной опции, то это причина, почему это не удалось.
поэтому измените параметр на
Run whether user is logged on or not
или
в другом случае пользователь мог изменить свои учетные данные
Я решил проблему, открыв свойства самого exe-файла. На вкладке «Совместимость» есть флажок для уровня привилегий, которая говорит «запустить как администратор»
хотя у моей учетной записи есть права администратора, она не работала, когда я запустил ее из планировщика задач.
Я снял флажок и снова запустил его из планировщика, и он работал.
- щелкните правой кнопкой мыши на задаче в планировщике задач
- перейдите на вкладку Действия
- нажмите Edit
- удалите кавычки вокруг пути в текстовом поле» начинается в».
моя задача также не удалось запустить.
Я решил это, указав не только путь к исполняемому файлу, но и путь к папке исполняемого файла (вкладка «действия» | Edit | TextBox «Start in»).
спасибо всем,
У меня была та же проблема. У меня есть задача, которая выполняется через общую учетную запись пользователя, не связанную с конкретным человеком. Этот пользователь как-то вышел из виртуальной машины, когда я пытался исправить это, я вошел в систему как я, а не этот пользователь.
вход в систему с этим пользователем Исправлена проблема!
у меня была та же проблема. Я попытался с параметром совместимости, но в Windows 10 он не показывает параметр совместимости. Следующие шаги решили проблему для меня:
- я убедился, что учетная запись, с которой выполнялась задача, имела полные права доступа к исполняемому файлу.
(Выполнил задачу и все еще не работал) - и
taskschd.msc
в качестве администратора - я добавил учетную запись для запуска задачи (была ли она зарегистрирована или нет)
- Я выполнил задачу, и теперь она сработала!
так или иначе, настройка задачи в taskschd.msc
как обычный пользователь не работал, хотя моя учетная запись является администратором одного.
надеюсь, это поможет любому, кто имеет ту же проблему
0
автор: Altagstod Believes
Содержание
- Task Scheduler Error and Success Constants
- TaskScheduler Код События 413
- How get task scheduler to detect failed error code from powershell script
- 2 Answers 2
- Windows task scheduler error codes
- Asked by:
- Question
- Windows Task Scheduler Error Codes
- Where can I find a complete list of Windows Scheduler .
- Windows Task Scheduler Error Codes — 03/2021
- task scheduler last run result (0xFFFFFFFF) error .
- Task Scheduler Error and Success Constants (WinError.h .
- Task Scheduler Last Run Result And Error Codes List .
- Task scheduler errors and success code |What does code .
- Common Task Scheduler Operational Codes — Cyprich .
- Easy fix 0xFFFD0000 in Task Scheduler when running .
- Tip: Last Run Result (0x2) in Task Scheduler as Administrator
- windows — How get task scheduler to detect failed error .
- Task scheduler 0x41303, 0x41302, 0x41304, 0x41305, 0x41306 .
- How to Fix Task Scheduler Error Value 2147943726 — Appuals.com
- Windows task scheduler 2147943785 – Failed to start event .
- 2147942416 message code running task scheduler — Microsoft .
- Run PowerShell Script with Windows Task Scheduler .
- Task Scheduler :The following error was . — Malneedi Nani
- Windows Admin Center Error: Scheduled task status prompts .
- Windows Task Scheduler — Wikipedia
- Scheduled Task Exit code (80) — Microsoft: Windows servers .
- (0x1) — Task Scheduler Error — Windows Server 2008 R2
- Windows Task Scheduler Error 2147943730 Reported – System .
- 7 Tips to Fix Task Scheduler Not Running/Working Windows 10
- Fix Task Scheduler Error 0x41306 (Solved)
- Python’s nest » Scheduled Task Error 0x8007000d or Last .
- Solved: Scheduled Tasks Last Result code of 0x35 | Experts .
- Task Scheduler Result Code 2147943726 — 04/2021
- windows server 2008 — Scheduled Robocopy task fails with .
- Using the Task Scheduler — Win32 apps | Microsoft Docs
- Task Scheduler Tasks copy file to mapped network drive .
- Windows Task Scheduler: The Directory Name . — Code Wreckers
- Solved: Task Scheduler error Codes | Experts Exchange
- Using Windows Task Scheduler to Automate NodeJS Scripts
- How to fix Task Scheduler 0x1 error — YouTube
- Task scheduler- task completed «successfully» with exit .
- How to analyze Task Scheduler 0x41301 error code and fix it.
- task scheduler return code 3221225477 | Securityhope.com .
- Scheduled Task / Batch Code on Windows Server 2008 R2 SP1 .
- Troubleshooting Scheduled Automation Scripts in Toad Data .
- Windows 2000 • View topic • Task Scheduler Last Result .
- Task Not Running: error code 2147750687
- EventTracker KB —Event Id: 103 Source: Microsoft-Windows .
- Please Rate Here
- Filter Search
- Coupon Type
- Other Good Coupons
- Windows Task Scheduler Error Codes — FAQ
- Top Stores
- Tips Not To Miss Any Coupons 24/7
- Full advantages of Amazon Discount Hunter.
- Popular Searched
- Recently Searched
- Don’t Miss Another Deals!
- Latest Blog Posts
- Top Picks for Sporting Goods and Equipment Discounts in 2020
- Shopping Tips for Healthcare Products during COVID-19 Outbreak
- Top 5 Supplements That Can Change Your Life — Health Wise
- Best Summer Pet Care Tips for Your Furry Friends in 2020
- How to find windows task scheduler error codes
- What else we have
- Amazon Coupon Searcher
Task Scheduler Error and Success Constants
If an error occurs, the Task Scheduler APIs can return one of the following error codes as an HRESULT value.
The constants that begin with SCHED_S_ are success constants, and the constants that begin with SCHED_E_ are error constants.
Some Task Scheduler APIs can return system and network error codes (64 for example). You can check the definition of these types of error codes by using the net helpmsg command in the command prompt window. For example, the command net helpmsg 64 returns the message: The specified network name is no longer available.
For more information about events and error messages, see Events and Errors Message Center.
SCHED_S_TASK_READY
The task is ready to run at its next scheduled time.
SCHED_S_TASK_RUNNING
The task is currently running.
SCHED_S_TASK_DISABLED
The task will not run at the scheduled times because it has been disabled.
SCHED_S_TASK_HAS_NOT_RUN
The task has not yet run.
SCHED_S_TASK_NO_MORE_RUNS
There are no more runs scheduled for this task.
SCHED_S_TASK_NOT_SCHEDULED
One or more of the properties that are needed to run this task on a schedule have not been set.
SCHED_S_TASK_TERMINATED
The last run of the task was terminated by the user.
SCHED_S_TASK_NO_VALID_TRIGGERS
Either the task has no triggers or the existing triggers are disabled or not set.
SCHED_S_EVENT_TRIGGER
Event triggers do not have set run times.
SCHED_E_TRIGGER_NOT_FOUND
A task’s trigger is not found.
SCHED_E_TASK_NOT_READY
One or more of the properties required to run this task have not been set.
SCHED_E_TASK_NOT_RUNNING
There is no running instance of the task.
SCHED_E_SERVICE_NOT_INSTALLED
The Task Scheduler service is not installed on this computer.
SCHED_E_CANNOT_OPEN_TASK
The task object could not be opened.
SCHED_E_INVALID_TASK
The object is either an invalid task object or is not a task object.
SCHED_E_ACCOUNT_INFORMATION_NOT_SET
No account information could be found in the Task Scheduler security database for the task indicated.
SCHED_E_ACCOUNT_NAME_NOT_FOUND
Unable to establish existence of the account specified.
SCHED_E_ACCOUNT_DBASE_CORRUPT
Corruption was detected in the Task Scheduler security database; the database has been reset.
SCHED_E_NO_SECURITY_SERVICES
Task Scheduler security services are available only on Windows NT.
SCHED_E_UNKNOWN_OBJECT_VERSION
The task object version is either unsupported or invalid.
SCHED_E_UNSUPPORTED_ACCOUNT_OPTION
The task has been configured with an unsupported combination of account settings and run time options.
SCHED_E_SERVICE_NOT_RUNNING
The Task Scheduler Service is not running.
SCHED_E_UNEXPECTEDNODE
The task XML contains an unexpected node.
SCHED_E_NAMESPACE
The task XML contains an element or attribute from an unexpected namespace.
SCHED_E_INVALIDVALUE
The task XML contains a value which is incorrectly formatted or out of range.
SCHED_E_MISSINGNODE
The task XML is missing a required element or attribute.
SCHED_E_MALFORMEDXML
The task XML is malformed.
SCHED_S_SOME_TRIGGERS_FAILED
The task is registered, but not all specified triggers will start the task.
SCHED_S_BATCH_LOGON_PROBLEM
The task is registered, but may fail to start. Batch logon privilege needs to be enabled for the task principal.
SCHED_E_TOO_MANY_NODES
The task XML contains too many nodes of the same type.
SCHED_E_PAST_END_BOUNDARY
The task cannot be started after the trigger end boundary.
SCHED_E_ALREADY_RUNNING
An instance of this task is already running.
SCHED_E_USER_NOT_LOGGED_ON
The task will not run because the user is not logged on.
SCHED_E_INVALID_TASK_HASH
The task image is corrupt or has been tampered with.
SCHED_E_SERVICE_NOT_AVAILABLE
The Task Scheduler service is not available.
SCHED_E_SERVICE_TOO_BUSY
The Task Scheduler service is too busy to handle your request. Please try again later.
SCHED_E_TASK_ATTEMPTED
The Task Scheduler service attempted to run the task, but the task did not run due to one of the constraints in the task definition.
SCHED_S_TASK_QUEUED
The Task Scheduler service has asked the task to run.
SCHED_E_TASK_DISABLED
The task is disabled.
SCHED_E_TASK_NOT_V1_COMPAT
The task has properties that are not compatible with earlier versions of Windows.
SCHED_E_START_ON_DEMAND
The task settings do not allow the task to start on demand.
TaskScheduler Код События 413
С недавних пор в системном журнале windows при загрузке постоянно появляется данная критическая ошибка:
Службе планировщика заданий не удалось загрузить задания при запуске службы. Дополнительные данные: ошибка: 2147549183.
В подробностях события:
В чем может быть проблема? Спасибо.
Очистите задания планировщика задач, удалив в корзину все из директории %systemroot%Tasks
Разблокировать доступ к службе «Планировщик заданий» с использованием локальной политики безопасности
- Запустите Консоль управления (mmc.exe).
- В меню «Консоль» выберите пункт «Добавить или удалить оснастку». Выберите вкладку «Изолированная оснастка» и нажмите кнопку «Добавить».
- В списке «Доступные изолированные оснастки» выберите «Групповая политика» и нажмите кнопку «Добавить».
- В строке «Объект групповой политики» выберите «Локальный компьютер» или нажмите кнопку «Обзор» для поиска требуемого объекта групповой политики.
- Нажмите кнопку «Готово», кнопку «Закрыть» и кнопку «ОК». Оснастка «Групповая политика» откроется для редактирования.
- Откройте раздел «Конфигурация пользователя» или «Конфигурация компьютера», затем разделы «Административные шаблоны», «Компоненты Windows», «Планировщик заданий».
- Откройте параметр «Запретить запуск и завершение задач». На вкладке «Параметры» установите переключатель «Не задано» и нажмите кнопку «ОК».
Разблокировать доступ к службе «Планировщик заданий» с использованием системного реестра
- Запустите редактор системного реестра (regedit.exe).
- Откройте или создайте (в случае отсутствия) следующие разделы системного реестра:
HKEY_LOCAL_MACHINESOFTWAREPoliciesMicrosoftWindowsTask Scheduler5.0
How get task scheduler to detect failed error code from powershell script
I have a few powershell scripts that I’m trying to get to trigger as a failed state in the windows task scheduler when they have failures inside them. So I’m doing something like this inside the powershell script. I tried an exit code of 1 or 99, and it doesn’t look like windows task scheduler is seeing that as a failure state. So my failure code email doesn’t get sent out to notify me.
How do I get task scheduler to see that my powershell script had a failure? It always has event codes of 129 (created task process), 100 (task started), 200 (action started), 110 (task triggered), 201 (action completed), 102 (task completed).
I know my list is populated with errors because I created them to test it. I checked that the errorCode as string was a length and hit the exit 99 or 1. The task scheduler is still showing the normal event codes.
I have an email alert on failure scheduled and since the event codes aren’t showing failures, it will never trigger to send my email. This is windows 10, in case it matters.
The powershell scripts are set up in task scheduler like this:
action: start a program
program/script: PowerShell
Add arguments: -ExecutionPolicy Bypass -File C:UsersmeDocumentspowershelldisasterBackup.ps1
2 Answers 2
Part 1 is to have PowerShell return the correct Last Exit Code to Task Scheduler.
This is one of the peculiarities of Task Scheduler. It simply is reporting that, yes, PowerShell.exe ran successfully. The problem is that PowerShell.exe doesn’t report back the exit code, because, yes, PowerShell.exe ran correctly, even if the script did not.
The way I have been able to get around this is to switch from running the script with the -File parameter, which doesn’t return the exit value, to a -Command parameter. That way I can exit PowerShell.exe with the correct exit code by explicitly exiting with the $LASTEXITCODE value:
So in your case it would be:
Part 2 is to have a Scheduled Task Triggering on an Event when it fails to send an email or something.
The trouble with Task Scheduler is the same thing we had with PowerShell exiting. No matter what exit code is returned, the task always logs an Event ID 201 — Action Completed. which is correct. no matter what, the task completed even if the job that was run failed internally.
Looking further into the Details of the logged Event, we can see the ResultCode in the EventData does get set correctly. So it’s a simple job to filter that through the GUI right. well no. There is no filter beyond EventID. Now we have to write a custom Event filter to trigger on based on the ResultCode . The XML XPath query that we need is this:
So to break it down, we want:
If we set the bad exit code to 1, why is ResultCode = 2147942401 ? because it actually returns 0x1 which is hexadecimal 0x80070001 which equals decimal 2147942401 . So you will have to look at the Details of the Event to find the «Correct» ResultCode.
Windows task scheduler error codes
This forum has migrated to Microsoft Q&A. Visit Microsoft Q&A to post new questions.
Asked by:
Question
I have setup a task using Task Scheduler that I would like to use to launch a batch file at a certain time each day. The batch file works correctly when launched manually and the task also works correctly when the option ‘Run only when user is logged on’. However, as soon as I mark ‘Run whether user is logged on or not’ using the Administrator login, the task returns a Last Run Result of (0x1). This happens when trying to launch the file on demand or when it is scheduled at it’s daily time to run.
From some research I have done, I don’t believe I should see the actions of the batch file and the program that it launches when this option is marked, but I know it is not running correctly in the background due to the fact the log files are not generated from the task it is to complete. I have marked ‘Run with highest privileges’ and also entered information in the Start in field under Edit Action with no quotes. The history logs show that the task successfully finished, despite the lack of the Last Run Result code and no log files being generated. I have also verified the user being added to the Log on as a batch job option and that there are full permissions to the files (all on the local machine).
Does anyone have any insight to what I could be missing? If helpful, i could post the history logs as well.
Windows Task Scheduler Error Codes
Most Popular Sites That List Windows Task Scheduler Error Codes
Below are 41 working coupons for Windows Task Scheduler Error Codes from reliable websites that we have updated for users to get maximum savings. Take action now for maximum saving as these discount codes will not valid forever. You can alw ays come back for Windows Task Scheduler Error Codes because we update all the latest coupons and special deals weekly. View more
Where can I find a complete list of Windows Scheduler .
I am having troubles with a task I added to the Windows Scheduler and now I
am trying to debug it. It is returning status code 267011 (in Hex: 41303). Where can I find a complete reference describing the Status Codes of the Windows Scheduler? Only thing I found until now, is this document. But it does not provide enough information in my point .
Windows Task Scheduler Error Codes — 03/2021
The Task Scheduler service is too busy to handle your request. Please try ag
ain later. SCHED_E_TASK_ATTEMPTED. 0x80041324. The Task Scheduler service attempted to run the task, but the task did not run due to one of the constraints in the task definition. SCHED_S_TASK_QUEUED. 0x00041325. The Task Scheduler service has asked the task to run.
task scheduler last run result (0xFFFFFFFF) error .
Jul 11, 2017 · Hi All, I am using PSTools to uninstall and i
nstall software. I am able to create the shortcut and double click on it and run it manually and i can also run the task from PSTools front-end and it works it uninstalls the software reboots the PC and i can then run the second task to install software but when i schedule the shortcut to run as a scheduled task from Task Scheduler no matter what i .
Task Scheduler Error and Success Constants (WinError.h .
The Task Scheduler service is too busy to handle your request. Please try ag
ain later. SCHED_E_TASK_ATTEMPTED. 0x80041324. The Task Scheduler service attempted to run the task, but the task did not run due to one of the constraints in the task definition. SCHED_S_TASK_QUEUED. 0x00041325. The Task Scheduler service has asked the task to run.
Task Scheduler Last Run Result And Error Codes List .
Mar 30, 2016 · The Task Scheduler service is too busy to han
dle your request. Please try again later. 0x80041324: SCHED_E_TASK_ATTEMPTED: The Task Scheduler service attempted to run the task, but the task did not run due to one of the constraints in the task definition. 0x00041325: SCHED_S_TASK_QUEUED: The Task Scheduler service has asked the task to run .
Task scheduler errors and success code |What does code .
Mar 24, 2020 · SCHED_S_TASK_NOT_SCHEDULED: One or more of th
e properties that are needed to run this task on a schedule have not been set. – 0x00041305. SCHED_S_TASK_TERMINATED: The last run of the task was terminated by the user. – 0x00041306. SCHED_S_TASK_NO_VALID_TRIGGERS: Either the task has no triggers or the existing triggers are …
Common Task Scheduler Operational Codes — Cyprich .
Mar 29, 2017 · Here are some hard to find Operational Codes
that you find in the History tab in Windows Task Scheduler. Very useful for trying to figure out why your scheduled task isn’t working. Op Codes Description 0 or 0x0 The operation completed successfully. 1 or 0x1 Incorrect function called or unknown function called. 2 or 0x2 […]
Easy fix 0xFFFD0000 in Task Scheduler when running .
Dec 11, 2020 · In my Task Scheduler I had error 0xFFFD0000 a
s a last run result on one of my Powershell scripts:
Tip: Last Run Result (0x2) in Task Scheduler as Administrator
Sep 05, 2014 · While Task Scheduler does fire the task, it f
ails with a «Last Run Result» of «(0x2)», which means «access denied». Cause The Task Scheduler in Windows Server 2008 R2 and later and Windows Vista and later executes tasks under a «least privileges» security context by default.
windows — How get task scheduler to detect failed error .
Part 1 is to have PowerShell return the correct Last Exit Code to Task Sched
uler. This is one of the peculiarities of Task Scheduler. It simply is reporting that, yes, PowerShell.exe ran successfully. The problem is that PowerShell.exe doesn’t report back the exit code, because, yes, PowerShell.exe ran correctly, even if the script did not.. The way I have been able to get around this is to .
Task scheduler 0x41303, 0x41302, 0x41304, 0x41305, 0x41306 .
Oct 30, 2019 · The next article will explain task scheduler
0x41303, 0x41302, 0x41304, 0x41305 and 0x41306 result codes.Every tech guy worked with task scheduler have seen those result codes minimum 1 time. We will explain those codes and try to help you if any issue appear related to them.
How to Fix Task Scheduler Error Value 2147943726 — Appuals.com
May 20, 2020 · Type taskschd.msc in the Run to open Task Sch
eduler Inside your Task Scheduler, navigate to the task that is creating the issue, right-click on it and select Properties from the context menu. Viewing the properties of the affected task From the …
Windows task scheduler 2147943785 – Failed to start event .
There are quite a lot of things to consider when looking for the best comput
er for animation. From performance to clear screen and storage, you need to look for a lot of factors before making a decision.
2147942416 message code running task scheduler — Microsoft .
Feb 14, 2020 · When I run the scheduled task manually, I get
the following message (translated from Spanish): — Task manager finished correctly the task «Mover a seguro», instance <(a lot of numbers and letters)>, action «C:WINDOWSSYSTEM32cmd.exe» with the return code 2147942416.
Run PowerShell Script with Windows Task Scheduler .
Windows Task Scheduler has wide functionalities and options we would explore
the options useful for PowerShell. Case 1: Run the PowerShell script with Windows Task Scheduler Locally. Sample code for execution Locally. Save the code in a file with .ps1 extension in C: to be called by the task scheduler.
Task Scheduler :The following error was . — Malneedi Nani
Aug 20, 2014 · Hi This is Naveen Malneedi author of this blo
g.I like to feel the music flowing on my face, I like gud books , action,cartoon movies. I like the land and the nature.I like to keep smile on my face.
Windows Admin Center Error: Scheduled task status prompts .
Apr 18, 2020 · On how to create advanced scheduled task on W
indows Server with Windows Task Scheduler, see the following link. Solution: To resolve this issue, you will have to configure your active ‘Power Plan’ settings to enable the Windows Task Scheduler to wake up the server. Below are the steps to do this via the control panel – https .
Windows Task Scheduler — Wikipedia
Task Scheduler is a component of Microsoft Windows, including the latest ver
sion Windows 10, that provides the ability to schedule the launch of computer programs or scripts at pre-defined times or after specified time intervals: job scheduling (task scheduling). It is implemented as a Windows service and was first introduced in the Microsoft Plus! for Windows 95 as System Agent but was .
Scheduled Task Exit code (80) — Microsoft: Windows servers .
Apr 05, 2006 · RE: Scheduled Task Exit code (80) ncotton (IS
/IT—Management) 5 Apr 06 04:32 There is a hotfix for MSScheduler, to get around it, Press Start, …
(0x1) — Task Scheduler Error — Windows Server 2008 R2
Oct 23, 2016 · Task Scheduler successfully completed task &q
uot;Restart 8pm» , instance «» , action «C:Windowssystem32shutdown.EXE» with return code 1. Since the task completes and if nothing happens then there may be some process preventing the shutdown.
Windows Task Scheduler Error 2147943730 Reported – System .
Dec 17, 2014 · We all might have used task scheduler in Wind
ows. It is a simple job to create a scheduled task. But I experienced an unexpected error, while scheduling. As you can see in the image below, it doesn’t gave me an idea on what the real issue is. Googling doesn’t displayed helpful results except for an article.
7 Tips to Fix Task Scheduler Not Running/Working Windows 10
Make Sure Task Scheduler Service Is Running. Press Windows + R, type msc in
Run box, and … Restart Task Scheduler Service. You can follow the same operation in Fix 1 to open Windows … Run Task Scheduler Windows 10 with Command Prompt. You can press Windows + R, type cmd, … Run SFC Scan. Press Windows + R, type cmd, and press Ctrl + Shift + Enter to run Command … Change the Service Configuration. You can follow the same operation in Fix 3 to open Command … Delete Corrupted Task Scheduler Tasks. You can click Start, type task scheduler, and click Task … Perform a Clean Boot in Windows 10. If Task Scheduler is still not running/working/starting … See full list on minitool.com
Fix Task Scheduler Error 0x41306 (Solved)
SCHED_S_BATCH_LOGON_PROBLEM: 0x0004131C: The task is do I handle an untermin
ated wire behind my wall? Not the answer Tasks are manipulated directly is Windows Server .
Python’s nest » Scheduled Task Error 0x8007000d or Last .
This is most likely caused by using sysprep to deploy the OS with scheduled
tasks configured. The Task Scheduler service has encountered a problem, like a file handle or memory corruption issue. In this case stopping and starting the Task Scheduler service does not resolve the problem. Solution: To recreate the d42* files follow these steps:
Solved: Scheduled Tasks Last Result code of 0x35 | Experts .
May 08, 2009 · My task is simply running the shutdown comman
d to reboot a list of computers in a txt file. Here’s from the Scheduled Tasks Log file (the last 3 days): «SysReboots.job» (cmd) 3/28/2006 11:17:01 PM ** WARNING **
Task Scheduler Result Code 2147943726 — 04/2021
Task Scheduler Result Code 2147943726 Overview. Task Scheduler Result Code 2
147943726 can offer you many choices to save money thanks to 16 active results. You can get the best discount of up to 80% off. The new discount codes are constantly updated on …
windows server 2008 — Scheduled Robocopy task fails with .
Browse other questions tagged windows-server-2008 windows-server-2003 schedu
led-task robocopy or ask your own question. The Overflow Blog Level Up: Creative Coding with p5.js – parts 4 and 5
Using the Task Scheduler — Win32 apps | Microsoft Docs
This section contains code examples that illustrate how the Task Scheduler A
PI is used and XML examples that show how tasks are defined in the Task Scheduler schema. Most of these examples are stand-alone code that can be run independently, or pasted into a larger application and modified to the requirements of the application.
Task Scheduler Tasks copy file to mapped network drive .
Dec 30, 2019 · When I run the bat file manually (double-clic
k) it functions, but if I run the task which calls it, the action fails. The Windows account has full privileges on the share (mapped network) drive and admin rights on the PC. What could be stopping the Task Scheduler-invoked bat file command from copying the file? Thanks, JR Windows Version 10.0.17763
Windows Task Scheduler: The Directory Name . — Code Wreckers
Jun 07, 2013 · Windows Task Scheduler: The Directory Name Is
Invalid (0x8007010B) sreckers June 7, 2013 Windows 1 Comment I ran into some interesting behavior with the Windows Task Scheduler on a Windows Server 2008 R2 box.
Solved: Task Scheduler error Codes | Experts Exchange
Our community of experts have been thoroughly vetted for their expertise and
industry experience. Experts with Gold status have received one of our highest-level Expert Awards, which recognize experts for their valuable contributions.
Using Windows Task Scheduler to Automate NodeJS Scripts
Tons of reasons! Maybe you are trying to emulate a production environment th
at has NodeJS scripts as scheduled CRON tasks. Or, for your own productivity or fun you want to script things to happen based on Window events. For example, you could write a NodeJS script that talks to your project tracker of choice via API and stops any running timers when you lock your computer to take a break.
How to fix Task Scheduler 0x1 error — YouTube
How to solve Task Scheduler 0x1 last run result on most cases! Most people e
ncounter 0x1 error when turn on the «Run only when user is logged on» option. Thi.
Task scheduler- task completed «successfully» with exit .
Jan 23, 2017 · It still records the task as successfully com
pleted with the return code mentioned in my initial post. If I only knew what exactly it means. Web research only mentions it in the connection with Windows backup and restore, something my command script doesn’t invoke. I shall now look at the links you provided — thanks a lot!
How to analyze Task Scheduler 0x41301 error code and fix it.
On settings tried to specify “Stop task if it run longer than 5 min” and
“If the running task does not end when requested, force it to stop” but the code 0x41301 is not disappear after starting the task.
task scheduler return code 3221225477 | Securityhope.com .
The Windows Event Logservice must be running before the Task Scheduler start
s up. This service should not be confused with the scheduler that allocates CPU resources to processes already in memory. How To Fix task scheduler return code 3221225477. 0 …
Scheduled Task / Batch Code on Windows Server 2008 R2 SP1 .
Mar 28, 2013 · Scheduled Task / Batch Code on Windows Server
2008 R2 SP1. I have some processes that I need to stop and restart each morning. In order to do this, I’ve created 2 scheduled tasks inside Task Scheduler: . Windows Server 2008 update error- code 80073712 Please someone help with this error:
Troubleshooting Scheduled Automation Scripts in Toad Data .
When you schedule an Automation script in Toad, a Windows scheduled task is
created. You can also manage an Automation script as a scheduled task from the Windows Task Scheduler. AUTOMATION TROUBLESHOOTING CHECKLIST. Watch a video, Troubleshooting scheduled Automation scripts in Toad Data Point, which highlights these checklist points.
Windows 2000 • View topic • Task Scheduler Last Result .
Windows task scheduler last result codes list Hi, I have defined 12 tasks in
windows server 2003 task scheduler to run at night. When I am looking at the result of tasks in the morning it shows different last result codes like 0x0, 0x1, 0x3, 0x9, 0xb etc, I have tried to find a full list of last result code …
Task Not Running: error code 2147750687
Briefly describe the article. The summary is used in search results to help
users find relevant articles. You can improve the accuracy of search results by including phrases …
EventTracker KB —Event Id: 103 Source: Microsoft-Windows .
1.Click theStart button and typeTask Scheduler in theStart Search box. 2.Sel
ect theTask Scheduler program to start Task Scheduler. 3.Select the task to run by locating the task in the task folder hierarchy. 4.On theActions menu clickRun. You can also clickRun in theActions pane. 5.Click theHistory tab for the task to verify that it contains .
Please Rate Here
💵 Average Discount: 5.6$
🛍 Amount Of Coupons: 41
🏆 Highest Discount: 80% off
Filter Search
Coupon Type
Other Good Coupons
Windows Task Scheduler Error Codes — FAQ
Are there Windows Task Scheduler Error Codes ?
It’s easy to find any coupon for Windows Task Scheduler Error Codes by searching it on the internet through popular coupon sites such as serverfault.com, couponxoo.com, community.spiceworks.com and docs.microsoft.com.
Are all Windows Task Scheduler Error Codes valid to use?
All the best coupons are usually arranged in the first 10 results. However, in some cases, the coupon codes may expire while our editor has not updated yet. “Don’t be worried, it’s just a very small amount”. We always do ourselves best to help you save money to the maximum when you do online shopping.
How to use Windows Task Scheduler Error Codes?
To use a Windows Task Scheduler Error Codes. At checkout step, apply the code at coupon box then press “ENTER”. Remember that some Windows Task Scheduler Error Codes coupons only apply to selected items, so make sure all the items in your cart are eligible to be applied the code before you place your order..
Top Stores
Tips Not To Miss Any Coupons 24/7
1. Email subscription
To receive coupons and discounts notification, sign up for email list of the retailer.
Check out Facebook, Twitter, Instagram page for upcoming sales and coupon promotions.
You have free access to different coupon sites like isCoupon to search for active discounts.
Full advantages of Amazon Discount Hunter.
The tool filters out the lowest price and the highest discounts available, making purchase decisions easier than ever.
2. Customized search
Type in search bar whatever product you look for and the tool will show you the best deals
Not much time wasted for the results. You are just a few clicks away from accurate options for your saving.
Popular Searched
Recently Searched
Don’t Miss Another Deals!
Subscribe to get notification about new coupon!
Latest Blog Posts
Top Picks for Sporting Goods and Equipment Discounts in 2020
Want some great sporting goods for a discount price this year? Here are the best places to look for upcoming deals on fantastic sporting goods in 2020.
Shopping Tips for Healthcare Products during COVID-19 Outbreak
Having an adequate supply of healthcare products is important in a time of crisis, so here are some tips for procuring healthcare products and healthcare deals.
Top 5 Supplements That Can Change Your Life — Health Wise
If you’re looking for some great supplements to boost your health and wellbeing, then here are 5 that you should certainly be taking on a regular basis.
Best Summer Pet Care Tips for Your Furry Friends in 2020
The hot summer days can be a nightmare for your furry friends. Here are some top pet care tips on how to keep them in tip-top shape through the summer.
How to find windows task scheduler error codes
With more consumers shopping online, there’s a proliferation of windows task scheduler error codes that you can find. You needn’t go out and hustle in the midst of a press to get your desired items. Everything becomes easier when you shop online. Best of all, you can get more awesome deals and offers with the help of coupons. Searches for coupons before you complete any online purchases. If you do not know where to get coupons, trustful coupon sites like isCoupon, Freecouponcodes.net. maybe a perfect choice for you. Besides, you can register the newsletter to be the first one to get coupons.
What else we have
isCoupon is considered as one of the most reliable coupon sites. Our site always makes sure that our team will try best to update the latest coupons and greatest deals. And, of course, you can save you decent bucks. Our blogs always open for you to explore and enjoy more savings. Spend your time reading crucial online shopping tips and money-saving tips that we share with you. Make sure to search for coupons before you make any purchases. Create a habit of using coupons for savings and you will be amazed by the amount of money you can save.
Amazon Coupon Searcher
No matter if you’re shopping for kid items, books, or clothing, Amazon is probably the first place you go. You can get everything you’d ever need just a few clicks. To save money on Amazon purchases, never miss Amazon Coupon Searcher. This tool is definitely free that helps you to get all the amazing deals and offers. All you need is to select a department or type your item name, then this tool will show you the best price and a large of cool deals. Save every time and enjoy the Amazon shopping experience with this tool now.
В “Планировщике задач” на сервере под управлением Windows Server 2008 R2 Standard x64 была создана задача резервного копирования бекапов баз 1С (MS SQL) на сетевое хранилище. Задание выполнялось от имени администратора домена. Данная задача прерывалась следующей ошибкой:
Планировщику заданий не удается запустить задачу "Бекап баз 1с" для пользователя " администратор". Дополнительные сведения: значение ошибки: 2147943645. |
Полностью данное событие выглядит так:
Имя журнала: Microsoft-Windows-TaskScheduler/Operational Источник: Microsoft-Windows-TaskScheduler Дата: 16.03.2013 3:00:00 Код события: 101 Категория задачи:Не удается запустить задачу Уровень: Ошибка Ключевые слова:(1) Пользователь: система Компьютер: somali. .ru Описание: Планировщику заданий не удается запустить задачу "Бекап баз 1с" для пользователя " администратор". Дополнительные сведения: значение ошибки: 2147943645. Xml события: <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event"> <System> <Provider Name="Microsoft-Windows-TaskScheduler" Guid="{DE7B24EA-73C8-4A09-985D-5BDADCFA9017}" /> <EventID>101</EventID> <Version>0</Version> <Level>2</Level> <Task>101</Task> <Opcode>101</Opcode> <Keywords>0x8000000000000001</Keywords> <TimeCreated SystemTime="2013-03-15T23:00:00.127741200Z" /> <EventRecordID>2590</EventRecordID> <Correlation /> <Execution ProcessID="984" ThreadID="12" /> <Channel>Microsoft-Windows-TaskScheduler/Operational</Channel> <Computer>somali. .ru</Computer> <Security UserID="S-1-5-18" /> </System> <EventData Name="TaskStartFailedEvent"> <Data Name="TaskName">Бекап баз 1с</Data> <Data Name="UserContext"> администратор</Data> <Data Name="ResultCode">2147943645</Data> </EventData> </Event>
Вид ошибки (нажмите для увеличения):
Как оказалось, в данной операционке все запланированные задания по умолчанию выполняются от имени зарегистрированного в системе пользователя, т.е. в момент ее выполнения, он должен быть “залогинен”. Чтобы устранить это досадное недоразумение, необходимо в свойствах задания выставить параметры:
- Выполнять вне зависимости от регистрации пользователя;
- Выполнить с наивысшими правами.
Данные установки можно сделать, открыв “Планировщик заданий”. Далее необходимо раскрыть “Библиотеку планировщика заданий” и вызвать свойства нужной вам задачи:
Далее ставьте галочки напротив необходимых параметров и наживайте “ОК”:
После этого операционная система запросит пароль на учетную запись, от имени которой вы хотите запустить настраиваемую задачу.
После проделанных операций запланированное задание выполнялось без ошибок.
Изначально решение проблемы нашел тут.