• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1782
  • Last Modified:

Volume Shadow copy will not run from Scheduled Tasks

I have got a member server that I have enabled Volume shadow copy to run 3 time a day.

The shadow copies were not been created so I went to scheduled tasks and saw that the tasks could not start.

When I tried to view the properties of the task I got the following error:

General page initialization failed.
The specific error is:
0x8007000d: The data is invalid.
An error has occurred attempting to retrieve task information.  You may
continue editing the task object, but will be unable to change task
account information.

The poperties window opened once I click ok but I was unable to edit anything in the task page.

Can anyone point me in the right directions.

P.S I tried the work around suggested by microsoft  http://support.microsoft.com/kb/822904/en-us but this did not work!!

0
alexlivingstone
Asked:
alexlivingstone
  • 4
  • 4
  • 3
  • +2
1 Solution
 
sirbountyCommented:
Can you post the output of

schtasks <Enter>

It'll potentially be lengthy, and may contain some site-specific info, so perhaps post it to www.ee-stuff.com (use the same credentials you use on this site) - then upload under the Expert tab...
0
 
AdamRobinsonCommented:
I hope this solves your problem.  From:

http://groups.google.de/group/microsoft.public.windows.file_system/browse_thread/thread/ee51cdec9cda5e76/0de65493a235fe09?lnk=st&q=Microsoft+task+0x8007000d&rnum=19&hl=de
(other info on this problem at this link -- relevant text below)

"
Adi,
We finally got it working with the help of PSS. Here's
how.
1. Copy the non functioning task from task manager and
paste it elsewhere.
2. Rename the task
3. copy the newly renamed task back into "Scheduled Tasks"
(We could now edit the properties)
4. Change the credentials of the job to use a different
user account.
5. Delete the original (non-functional) task.

It likely had to do with the user account that the
schedule was stuck with, since VSC was implemented BEFORE
upgrading the machine to a DC.

There is a patch for this which will be released soon.

Thanks,
-RS
0
 
sirbountyCommented:
alexlivingstone - could you email the following to me (my email address is in my profile) - and I'll post it to ee-stuff for everyone else to view.

schtasks /query /fo list /v > c:\schedule.txt
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
alexlivingstoneAuthor Commented:
I have posted the txt file on ee-stuff now.
0
 
sirbountyCommented:
https://filedb.experts-exchange.com/incoming/ee-stuff/1553-schedule.txt is the direct link for anyone interested.

Ok - create a folder on your desktop - and drag all tasks into it.
Next, you can establish the snap to occur based upon the Volume name, rather than the GUID, so since I don't know what this refers to, I'm going to test with G: as the volume name...

Then run the following from a command prompt:

schtasks /create /ru System /sc Once /st 12:00:00 /tn ShadowCopyTest /tr "%systemroot%\system32\vssadmin Create Shadow /AutoRetry=5 /For=G:" <Enter>

Change 12:00:00 to be about 5 minutes from now whereever you are in the world...

After the schedule time, check that it was successful - look in Start->Run->C:\windows\tasks <Enter>
to view the status.

Post the results.
0
 
alexlivingstoneAuthor Commented:
Sorry to say that this did not work. I got the same status (could not start) and the same error when I tried to view the properties as before!!
0
 
sirbountyCommented:
You had removed all other tasks before scheduling this one?
0
 
Seelan NaidooMicrosoft Systems AdminCommented:
Disable Shadow copy for the drive, and then re-enable it..
0
 
alexlivingstoneAuthor Commented:
Yes I deleted all scheduled task before I added this one.

I have tried to disable and re-enable shadow copies and this did not work either!
0
 
Seelan NaidooMicrosoft Systems AdminCommented:
can you disable Shadow Copies at all for that drive..

When you attempt to disable it, do you get any error messages..
0
 
alexlivingstoneAuthor Commented:
Yes I can disable shadow copies and no it does not give an error when I do that.

0
 
Seelan NaidooMicrosoft Systems AdminCommented:
You could try disable shadow copy for that drive..

Restart server

Make sure shadow copy is still disabled, and then re-enable it..
0
 
Whereismys4Commented:
i found a different solution which may work here as well:

Since the account with which the task was originally created no longer exists (in my case i removed the server from a domain thus lost the domain account) you need to force ownership of the task to an admin account (local. or domain).  

1. log in as the local admin account or domain admin
2. select the task (got the data is invalid warning)
3. in security tab --> force the admin account as owner (even though admin group is effective owner)
4. select apply/OK close out of task
5. reopen the task (no error this time)
6. set the new Run as account

Hope this helps
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

  • 4
  • 4
  • 3
  • +2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now