New task created not functioning and not displayed under tasks scheduler.

Hi Experts,
I created today a new task from task scheduler wizard and its not working.
Dont even see that listed under all other tasks!!
However under C:\Windows\System32\Tasks I see it.
How can I troubleshoot this?
LVL 6
bfuchsAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

AndyAinscowFreelance programmer / ConsultantCommented:
>>However under C:\Windows\System32\Tasks I see it.

What does that mean?  That is a folder, not an app running.
David Johnson, CDRetiredCommented:
open the task file using notepad and check the xml is proper, perhaps copy it and post the xml here .. put in dummy values for any confidential data
bfuchsAuthor Commented:
@Andy,
I read on google that tasks get stored there, went to look and saw it there.

@David,
Here it is..
<?xml version="1.0" encoding="UTF-16"?>
<Task version="1.2" xmlns="http://schemas.microsoft.com/windows/2004/02/mit/task">
  <RegistrationInfo>
    <Date>2018-06-20T18:11:01.7971474</Date>
    <Author>WG\b.fuchs</Author>
  </RegistrationInfo>
  <Triggers />
  <Principals>
    <Principal id="Author">
      <RunLevel>LeastPrivilege</RunLevel>
      <UserId>WG\b.fuchs</UserId>
      <LogonType>Password</LogonType>
    </Principal>
  </Principals>
  <Settings>
    <MultipleInstancesPolicy>IgnoreNew</MultipleInstancesPolicy>
    <DisallowStartIfOnBatteries>true</DisallowStartIfOnBatteries>
    <StopIfGoingOnBatteries>true</StopIfGoingOnBatteries>
    <AllowHardTerminate>true</AllowHardTerminate>
    <StartWhenAvailable>true</StartWhenAvailable>
    <RunOnlyIfNetworkAvailable>false</RunOnlyIfNetworkAvailable>
    <IdleSettings>
      <StopOnIdleEnd>true</StopOnIdleEnd>
      <RestartOnIdle>false</RestartOnIdle>
    </IdleSettings>
    <AllowStartOnDemand>true</AllowStartOnDemand>
    <Enabled>true</Enabled>
    <Hidden>false</Hidden>
    <RunOnlyIfIdle>false</RunOnlyIfIdle>
    <WakeToRun>false</WakeToRun>
    <ExecutionTimeLimit>P3D</ExecutionTimeLimit>
    <Priority>7</Priority>
  </Settings>
  <Actions Context="Author">
    <Exec>
      <Command>C:\Application\CopyCaspioTablesToServer.bat</Command>
    </Exec>
  </Actions>
</Task>

Open in new window


Thanks,
Ben
Exploring SQL Server 2016: Fundamentals

Learn the fundamentals of Microsoft SQL Server, a relational database management system that stores and retrieves data when requested by other software applications.

bfuchsAuthor Commented:
Just to clarify, I'm searching for it at the attached.
Perhaps I'm looking at the wrong place..?

Thanks,
Ben
Untitled.png
David Johnson, CDRetiredCommented:
You didn't give it a name, under author you should have  <URI>\Scheduled Task Name</URI> </RegistrationInfo>2018-06-21_13-26-39.jpg
bfuchsAuthor Commented:
You didn't give it a name,
So are you saying, I should manually add that to the file?
why isn't it there to begin with?
and where do I put the "</RegistrationInfo>"?

Thanks,
Ben
David Johnson, CDRetiredCommented:
I have no idea, use the same name that the task is in ..\tasks
bfuchsAuthor Commented:
Did that, now see attached..

Thanks,
Ben
Untitled.png
David Johnson, CDRetiredCommented:
Delete and recreate the task is all that I can think of right off now.. probably fastest fix
Shaun VermaakTechnical SpecialistCommented:
You cannot edit the XML files, they are "signed" after creation. Recreate it. How did you initially create it?
bfuchsAuthor Commented:
How did you initially create it?
Using the task scheduler wizard, shown on attached above, clicked on create new task..

Thanks,
Ben
bfuchsAuthor Commented:
Hi Experts,

I realized the problem only happens when I use create task option, however when using create basic task.. option then I dont have this issue.
Any idea why?

Thanks,
Ben

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
bfuchsAuthor Commented:
Thanks experts!
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
System Programming

From novice to tech pro — start learning today.