PDA

View Full Version : Scheduled Task fails at restart


Tera
December 5th 03, 08:10 PM
I am running Windows XP professional sp1.
- I am trying to run a script that synchs time.
- The script is on our server. I type in the user name
that I would like for the script to run as. I DO type in
the password (twice!)
- I would like the script to run at computer startup
- I log on and log off using the run as user
- I can run the script (I am a domain administrator)
before restarting
- As soon as I restart I get a Could Not Start error
message
- When I open the scheduled task I get the following error
message:

General Page Initialization Failed
0x8007000d: Data is invalid

I have already checked that services are enabled!

Any suggestions??! I have already tried most of
the "fixes" but it seems most are situations where people
are trying to run scripts withOUT a password. The password
DOES work since I can log on using the run as user!

Roger Abell [MVP]
December 5th 03, 08:13 PM
I do not address your scheduled task failure.

If you want to time sync, you should consider that this=20
is already happening if you are in an AD domain that is=20
healthy. If in an AD domain and time is not being kept=20
in sync there is an issue with your PDC emulator or=20
network connectivity to it that should get fixed.

If you are not in a domain, you can set the NTP timeserver=20
with the=20
net time /setsntp=20
command.
Use=20
net help time
for info.
You can force a timesyn using=20
w32tm /once
at a cmd prompt.
It gives extensive info on the syn process when run this way.
Manual invocation of w32tm should not be needed.
Use=20
w23tm /?
for info.=20

--=20
Roger=20

"Tera" > wrote in message =
...
> I am running Windows XP professional sp1.
> - I am trying to run a script that synchs time.
> - The script is on our server. I type in the user name=20
> that I would like for the script to run as. I DO type in=20
> the password (twice!)
> - I would like the script to run at computer startup
> - I log on and log off using the run as user
> - I can run the script (I am a domain administrator)=20
> before restarting
> - As soon as I restart I get a Could Not Start error=20
> message
> - When I open the scheduled task I get the following error=20
> message:
>=20
> General Page Initialization Failed
> 0x8007000d: Data is invalid
>=20
> I have already checked that services are enabled!
>=20
> Any suggestions??! I have already tried most of=20
> the "fixes" but it seems most are situations where people=20
> are trying to run scripts withOUT a password. The password=20
> DOES work since I can log on using the run as user!

Tera
December 5th 03, 08:15 PM
Hi Roger! Thanks for the info! We are not yet in an AD
domain.

Tera
>-----Original Message-----
>I do not address your scheduled task failure.
>
>If you want to time sync, you should consider that this
>is already happening if you are in an AD domain that is
>healthy. If in an AD domain and time is not being kept
>in sync there is an issue with your PDC emulator or
>network connectivity to it that should get fixed.
>
>If you are not in a domain, you can set the NTP
timeserver
>with the
>net time /setsntp
>command.
>Use
>net help time
>for info.
>You can force a timesyn using
>w32tm /once
>at a cmd prompt.
>It gives extensive info on the syn process when run this
way.
>Manual invocation of w32tm should not be needed.
>Use
>w23tm /?
>for info.
>
>--
>Roger
>
>"Tera" > wrote in message
...
>> I am running Windows XP professional sp1.
>> - I am trying to run a script that synchs time.
>> - The script is on our server. I type in the user name
>> that I would like for the script to run as. I DO type
in
>> the password (twice!)
>> - I would like the script to run at computer startup
>> - I log on and log off using the run as user
>> - I can run the script (I am a domain administrator)
>> before restarting
>> - As soon as I restart I get a Could Not Start error
>> message
>> - When I open the scheduled task I get the following
error
>> message:
>>
>> General Page Initialization Failed
>> 0x8007000d: Data is invalid
>>
>> I have already checked that services are enabled!
>>
>> Any suggestions??! I have already tried most of
>> the "fixes" but it seems most are situations where
people
>> are trying to run scripts withOUT a password. The
password
>> DOES work since I can log on using the run as user!
>.
>

Roger Abell [MVP]
December 13th 03, 07:01 PM
I do not address your scheduled task failure.

If you want to time sync, you should consider that this=20
is already happening if you are in an AD domain that is=20
healthy. If in an AD domain and time is not being kept=20
in sync there is an issue with your PDC emulator or=20
network connectivity to it that should get fixed.

If you are not in a domain, you can set the NTP timeserver=20
with the=20
net time /setsntp=20
command.
Use=20
net help time
for info.
You can force a timesyn using=20
w32tm /once
at a cmd prompt.
It gives extensive info on the syn process when run this way.
Manual invocation of w32tm should not be needed.
Use=20
w23tm /?
for info.=20

--=20
Roger=20

"Tera" > wrote in message =
...
> I am running Windows XP professional sp1.
> - I am trying to run a script that synchs time.
> - The script is on our server. I type in the user name=20
> that I would like for the script to run as. I DO type in=20
> the password (twice!)
> - I would like the script to run at computer startup
> - I log on and log off using the run as user
> - I can run the script (I am a domain administrator)=20
> before restarting
> - As soon as I restart I get a Could Not Start error=20
> message
> - When I open the scheduled task I get the following error=20
> message:
>=20
> General Page Initialization Failed
> 0x8007000d: Data is invalid
>=20
> I have already checked that services are enabled!
>=20
> Any suggestions??! I have already tried most of=20
> the "fixes" but it seems most are situations where people=20
> are trying to run scripts withOUT a password. The password=20
> DOES work since I can log on using the run as user!

Tera
December 13th 03, 07:04 PM
Hi Roger! Thanks for the info! We are not yet in an AD
domain.

Tera
>-----Original Message-----
>I do not address your scheduled task failure.
>
>If you want to time sync, you should consider that this
>is already happening if you are in an AD domain that is
>healthy. If in an AD domain and time is not being kept
>in sync there is an issue with your PDC emulator or
>network connectivity to it that should get fixed.
>
>If you are not in a domain, you can set the NTP
timeserver
>with the
>net time /setsntp
>command.
>Use
>net help time
>for info.
>You can force a timesyn using
>w32tm /once
>at a cmd prompt.
>It gives extensive info on the syn process when run this
way.
>Manual invocation of w32tm should not be needed.
>Use
>w23tm /?
>for info.
>
>--
>Roger
>
>"Tera" > wrote in message
...
>> I am running Windows XP professional sp1.
>> - I am trying to run a script that synchs time.
>> - The script is on our server. I type in the user name
>> that I would like for the script to run as. I DO type
in
>> the password (twice!)
>> - I would like the script to run at computer startup
>> - I log on and log off using the run as user
>> - I can run the script (I am a domain administrator)
>> before restarting
>> - As soon as I restart I get a Could Not Start error
>> message
>> - When I open the scheduled task I get the following
error
>> message:
>>
>> General Page Initialization Failed
>> 0x8007000d: Data is invalid
>>
>> I have already checked that services are enabled!
>>
>> Any suggestions??! I have already tried most of
>> the "fixes" but it seems most are situations where
people
>> are trying to run scripts withOUT a password. The
password
>> DOES work since I can log on using the run as user!
>.
>

Google