Technology Questions

Go Back   Technology Questions > Software Questions > Operating System Questions > Windows XP

Windows XP Discuss the Microsoft Windows XP Operating System

Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old 04-24-2007, 06:00 PM
Waz Up
Newsgroup Contributor
 
Posts: n/a
Scheduled Task Fails.

I've schedule a task (shutdown - not the MS version) to run at a certain
time. When I run this program "Manually" all works well. However the
schedule task fails.

The account I use has admin privs, but DOES not have a password. I suspect
that is the issue.

Having said that, I run WinTvPVR and have serveral scheduled recordings that
run under the same account without fail.

What am I missing?

(System: WinXP, SP2 etc.)

Thanks.


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

 
Old 04-24-2007, 06:00 PM
  #2 (permalink)  
Old 04-24-2007, 07:30 PM
CreateWindow
Newsgroup Contributor
 
Posts: n/a
Re: Scheduled Task Fails.

Hi Waz Up,

That's the reason. You will need at least a one character password or the
Task Scheduler cannot create a security token with enough privileges to run
the task.

Good Luck,

Good luck,
CreateWindow - http://mymessagetaker.com


"Waz Up" <ms_mvp@netservices.net> wrote in message
news:%235ztgQthHHA.1220@TK2MSFTNGP03.phx.gbl...
> I've schedule a task (shutdown - not the MS version) to run at a certain
> time. When I run this program "Manually" all works well. However the
> schedule task fails.
>
> The account I use has admin privs, but DOES not have a password. I suspect
> that is the issue.
>
> Having said that, I run WinTvPVR and have serveral scheduled recordings
> that
> run under the same account without fail.
>
> What am I missing?
>
> (System: WinXP, SP2 etc.)
>
> Thanks.
>
>



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #3 (permalink)  
Old 04-25-2007, 09:01 AM
Wesley Vogel
Newsgroup Contributor
 
Posts: n/a
Re: Scheduled Task Fails.

Open the SchedLgU.txt and see what you can see.

Start | Run | Type: SchedLgU.txt | Click OK

C:\WINDOWS\SchedLgU.txt

Or, Open Scheduled Tasks.
On the Advanced menu, click View Log.

Troubleshooting Scheduled Tasks
Paste the following line into Start | Run and click OK...

hh mstask.chm::/TS_troubleshoot.htm

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In news:%235ztgQthHHA.1220@TK2MSFTNGP03.phx.gbl,
Waz Up <ms_mvp@netservices.net> hunted and pecked:
> I've schedule a task (shutdown - not the MS version) to run at a certain
> time. When I run this program "Manually" all works well. However the
> schedule task fails.
>
> The account I use has admin privs, but DOES not have a password. I suspect
> that is the issue.
>
> Having said that, I run WinTvPVR and have serveral scheduled recordings
> that run under the same account without fail.
>
> What am I missing?
>
> (System: WinXP, SP2 etc.)
>
> Thanks.


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #4 (permalink)  
Old 04-25-2007, 06:15 PM
Waz Up
Newsgroup Contributor
 
Posts: n/a
Re: Scheduled Task Fails.

Hi Wesley, here is the excerpt from the log:
<<< Start
"Auto Shutdown.job" (shutdown.exe) 4/23/2007 7:17:00 PM ** ERROR **
The attempt to log on to the account associated with the task failed,
therefore, the task did not run.
The specific error is:
0x8007052f: Logon failure: user account restriction. Possible reasons are
blank passwords not allowed, logon hour restrictions, or a policy
restriction has been enforced.
Verify that the task's Run-as name and password are valid and try again.
>>> End


I've reviewed the help file and (of cours) it makes referrence to an invalid
login (i.e. blank password).

I buy into the Blank Password thing, but as i mentioned in my post, WinTVpvr
runs schedule recordings using the SAME account (i.e. mine) and there is no
password attached to this account. As an SE and MCT, I understand that this
is a "Bad Thing", but I'm researching this for a client to find out why
certain tasks will run "Without a password", while others fail.

Thanks

Waz Up

"Wesley Vogel" <123WVogel955@comcast.net> wrote in message
news:%23R3mvK1hHHA.4880@TK2MSFTNGP04.phx.gbl...
> Open the SchedLgU.txt and see what you can see.
>
> Start | Run | Type: SchedLgU.txt | Click OK
>
> C:\WINDOWS\SchedLgU.txt
>
> Or, Open Scheduled Tasks.
> On the Advanced menu, click View Log.
>
> Troubleshooting Scheduled Tasks
> Paste the following line into Start | Run and click OK...
>
> hh mstask.chm::/TS_troubleshoot.htm
>
> --
> Hope this helps. Let us know.
>
> Wes
> MS-MVP Windows Shell/User
>
> In news:%235ztgQthHHA.1220@TK2MSFTNGP03.phx.gbl,
> Waz Up <ms_mvp@netservices.net> hunted and pecked:
> > I've schedule a task (shutdown - not the MS version) to run at a certain
> > time. When I run this program "Manually" all works well. However the
> > schedule task fails.
> >
> > The account I use has admin privs, but DOES not have a password. I

suspect
> > that is the issue.
> >
> > Having said that, I run WinTvPVR and have serveral scheduled recordings
> > that run under the same account without fail.
> >
> > What am I missing?
> >
> > (System: WinXP, SP2 etc.)
> >
> > Thanks.

>



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #5 (permalink)  
Old 04-26-2007, 08:30 AM
Wesley Vogel
Newsgroup Contributor
 
Posts: n/a
Re: Scheduled Task Fails.

0x8007052f: Logon failure: user account restriction
http://www.google.com/search?hl=en&a...rch&lr=lang_en

Scheduled Tasks cannot run with a blank password
http://support.microsoft.com/kb/310715

Unless you bypass the password restriction, with Local Policies or a tweak
from Kelly, blank password scheduled tasks won't run
http://groups.google.com/group/micro...d552d687e15631

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In news:%23tlKs$5hHHA.208@TK2MSFTNGP05.phx.gbl,
Waz Up <ms_mvp@netservices.net> hunted and pecked:
> Hi Wesley, here is the excerpt from the log:
> <<< Start
> "Auto Shutdown.job" (shutdown.exe) 4/23/2007 7:17:00 PM ** ERROR **
> The attempt to log on to the account associated with the task failed,
> therefore, the task did not run.
> The specific error is:
> 0x8007052f: Logon failure: user account restriction. Possible reasons are
> blank passwords not allowed, logon hour restrictions, or a policy
> restriction has been enforced.
> Verify that the task's Run-as name and password are valid and try again.
>>>> End

>
> I've reviewed the help file and (of cours) it makes referrence to an
> invalid login (i.e. blank password).
>
> I buy into the Blank Password thing, but as i mentioned in my post,
> WinTVpvr runs schedule recordings using the SAME account (i.e. mine) and
> there is no password attached to this account. As an SE and MCT, I
> understand that this is a "Bad Thing", but I'm researching this for a
> client to find out why certain tasks will run "Without a password", while
> others fail.
>
> Thanks
>
> Waz Up
>
> "Wesley Vogel" <123WVogel955@comcast.net> wrote in message
> news:%23R3mvK1hHHA.4880@TK2MSFTNGP04.phx.gbl...
>> Open the SchedLgU.txt and see what you can see.
>>
>> Start | Run | Type: SchedLgU.txt | Click OK
>>
>> C:\WINDOWS\SchedLgU.txt
>>
>> Or, Open Scheduled Tasks.
>> On the Advanced menu, click View Log.
>>
>> Troubleshooting Scheduled Tasks
>> Paste the following line into Start | Run and click OK...
>>
>> hh mstask.chm::/TS_troubleshoot.htm
>>
>> --
>> Hope this helps. Let us know.
>>
>> Wes
>> MS-MVP Windows Shell/User
>>
>> In news:%235ztgQthHHA.1220@TK2MSFTNGP03.phx.gbl,
>> Waz Up <ms_mvp@netservices.net> hunted and pecked:
>>> I've schedule a task (shutdown - not the MS version) to run at a certain
>>> time. When I run this program "Manually" all works well. However the
>>> schedule task fails.
>>>
>>> The account I use has admin privs, but DOES not have a password. I
>>> suspect that is the issue.
>>>
>>> Having said that, I run WinTvPVR and have serveral scheduled recordings
>>> that run under the same account without fail.
>>>
>>> What am I missing?
>>>
>>> (System: WinXP, SP2 etc.)
>>>
>>> Thanks.


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #6 (permalink)  
Old 04-28-2007, 04:15 PM
Waz Up
Newsgroup Contributor
 
Posts: n/a
Re: Scheduled Task Fails.

Wesley, I tried something rather interesting.

I copied an exisiting schedueld task (one that has my account - with a blank
password). I simply changed the app that was to run and voila it worked.

I'm not sure why, and according to all the web posts (including the links
you gave me) this should not have worked, but alas it did.

Waz Up.

"Wesley Vogel" <123WVogel955@comcast.net> wrote in message
news:%232vtAXBiHHA.5008@TK2MSFTNGP02.phx.gbl...
> 0x8007052f: Logon failure: user account restriction
>

http://www.google.com/search?hl=en&a...rch&lr=lang_en
>
> Scheduled Tasks cannot run with a blank password
> http://support.microsoft.com/kb/310715
>
> Unless you bypass the password restriction, with Local Policies or a tweak
> from Kelly, blank password scheduled tasks won't run
>

http://groups.google.com/group/micro...d552d687e15631
>
> --
> Hope this helps. Let us know.
>
> Wes
> MS-MVP Windows Shell/User
>
> In news:%23tlKs$5hHHA.208@TK2MSFTNGP05.phx.gbl,
> Waz Up <ms_mvp@netservices.net> hunted and pecked:
> > Hi Wesley, here is the excerpt from the log:
> > <<< Start
> > "Auto Shutdown.job" (shutdown.exe) 4/23/2007 7:17:00 PM ** ERROR **
> > The attempt to log on to the account associated with the task failed,
> > therefore, the task did not run.
> > The specific error is:
> > 0x8007052f: Logon failure: user account restriction. Possible reasons

are
> > blank passwords not allowed, logon hour restrictions, or a policy
> > restriction has been enforced.
> > Verify that the task's Run-as name and password are valid and try again.
> >>>> End

> >
> > I've reviewed the help file and (of cours) it makes referrence to an
> > invalid login (i.e. blank password).
> >
> > I buy into the Blank Password thing, but as i mentioned in my post,
> > WinTVpvr runs schedule recordings using the SAME account (i.e. mine) and
> > there is no password attached to this account. As an SE and MCT, I
> > understand that this is a "Bad Thing", but I'm researching this for a
> > client to find out why certain tasks will run "Without a password",

while
> > others fail.
> >
> > Thanks
> >
> > Waz Up
> >
> > "Wesley Vogel" <123WVogel955@comcast.net> wrote in message
> > news:%23R3mvK1hHHA.4880@TK2MSFTNGP04.phx.gbl...
> >> Open the SchedLgU.txt and see what you can see.
> >>
> >> Start | Run | Type: SchedLgU.txt | Click OK
> >>
> >> C:\WINDOWS\SchedLgU.txt
> >>
> >> Or, Open Scheduled Tasks.
> >> On the Advanced menu, click View Log.
> >>
> >> Troubleshooting Scheduled Tasks
> >> Paste the following line into Start | Run and click OK...
> >>
> >> hh mstask.chm::/TS_troubleshoot.htm
> >>
> >> --
> >> Hope this helps. Let us know.
> >>
> >> Wes
> >> MS-MVP Windows Shell/User
> >>
> >> In news:%235ztgQthHHA.1220@TK2MSFTNGP03.phx.gbl,
> >> Waz Up <ms_mvp@netservices.net> hunted and pecked:
> >>> I've schedule a task (shutdown - not the MS version) to run at a

certain
> >>> time. When I run this program "Manually" all works well. However the
> >>> schedule task fails.
> >>>
> >>> The account I use has admin privs, but DOES not have a password. I
> >>> suspect that is the issue.
> >>>
> >>> Having said that, I run WinTvPVR and have serveral scheduled

recordings
> >>> that run under the same account without fail.
> >>>
> >>> What am I missing?
> >>>
> >>> (System: WinXP, SP2 etc.)
> >>>
> >>> Thanks.

>



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #7 (permalink)  
Old 04-29-2007, 09:30 AM
Wesley Vogel
Newsgroup Contributor
 
Posts: n/a
Re: Scheduled Task Fails.

Check the setting of limitblankpassworduse, if set to 0, no password needed
for Scheduled Tasks. WinTV-PVR, which I never heard of and know nothing
about, may have changed the setting.

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Contro l\Lsa
Value name: limitblankpassworduse
Data Type: REG_DWORD
Value Data: 0 (disabled) 1 (enabled)

limitblankpassworduse is Enabled, set to 1, by default.

In Windows XP Professional only.
Group Policy Editor (Start | Run | gpedit.msc)
Computer Configuration\Windows Settings\Security Settings\
Local Policies\Security Options\
Accounts: Limit local account use of blank passwords to console logon only
If Enabled here, limitblankpassworduse value of 1.

Or Local Security Policy (Start | Run | secpol.msc)
Security Settings\Local Policies\Security Options\
Accounts: Limit local account use of blank passwords to console logon only
If Enabled here, limitblankpassworduse value of 1.

Limit local account use of blank passwords to console logon only
http://www.microsoft.com/resources/d....mspx?mfr=true

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In news:OF0xnmeiHHA.4112@TK2MSFTNGP04.phx.gbl,
Waz Up <ms_mvp@netservices.net> hunted and pecked:
> Wesley, I tried something rather interesting.
>
> I copied an exisiting schedueld task (one that has my account - with a
> blank password). I simply changed the app that was to run and voila it
> worked.
>
> I'm not sure why, and according to all the web posts (including the links
> you gave me) this should not have worked, but alas it did.
>
> Waz Up.
>
> "Wesley Vogel" <123WVogel955@comcast.net> wrote in message
> news:%232vtAXBiHHA.5008@TK2MSFTNGP02.phx.gbl...
>> 0x8007052f: Logon failure: user account restriction
>>

> http://www.google.com/search?hl=en&a...rch&lr=lang_en
>>
>> Scheduled Tasks cannot run with a blank password
>> http://support.microsoft.com/kb/310715
>>
>> Unless you bypass the password restriction, with Local Policies or a
>> tweak from Kelly, blank password scheduled tasks won't run
>>

> http://groups.google.com/group/micro...d552d687e15631
>>
>> --
>> Hope this helps. Let us know.
>>
>> Wes
>> MS-MVP Windows Shell/User
>>
>> In news:%23tlKs$5hHHA.208@TK2MSFTNGP05.phx.gbl,
>> Waz Up <ms_mvp@netservices.net> hunted and pecked:
>>> Hi Wesley, here is the excerpt from the log:
>>> <<< Start
>>> "Auto Shutdown.job" (shutdown.exe) 4/23/2007 7:17:00 PM ** ERROR **
>>> The attempt to log on to the account associated with the task failed,
>>> therefore, the task did not run.
>>> The specific error is:
>>> 0x8007052f: Logon failure: user account restriction. Possible reasons
>>> are blank passwords not allowed, logon hour restrictions, or a policy
>>> restriction has been enforced.
>>> Verify that the task's Run-as name and password are valid and try again.
>>>>>> End
>>>
>>> I've reviewed the help file and (of cours) it makes referrence to an
>>> invalid login (i.e. blank password).
>>>
>>> I buy into the Blank Password thing, but as i mentioned in my post,
>>> WinTVpvr runs schedule recordings using the SAME account (i.e. mine) and
>>> there is no password attached to this account. As an SE and MCT, I
>>> understand that this is a "Bad Thing", but I'm researching this for a
>>> client to find out why certain tasks will run "Without a password",
>>> while others fail.
>>>
>>> Thanks
>>>
>>> Waz Up
>>>
>>> "Wesley Vogel" <123WVogel955@comcast.net> wrote in message
>>> news:%23R3mvK1hHHA.4880@TK2MSFTNGP04.phx.gbl...
>>>> Open the SchedLgU.txt and see what you can see.
>>>>
>>>> Start | Run | Type: SchedLgU.txt | Click OK
>>>>
>>>> C:\WINDOWS\SchedLgU.txt
>>>>
>>>> Or, Open Scheduled Tasks.
>>>> On the Advanced menu, click View Log.
>>>>
>>>> Troubleshooting Scheduled Tasks
>>>> Paste the following line into Start | Run and click OK...
>>>>
>>>> hh mstask.chm::/TS_troubleshoot.htm
>>>>
>>>> --
>>>> Hope this helps. Let us know.
>>>>
>>>> Wes
>>>> MS-MVP Windows Shell/User
>>>>
>>>> In news:%235ztgQthHHA.1220@TK2MSFTNGP03.phx.gbl,
>>>> Waz Up <ms_mvp@netservices.net> hunted and pecked:
>>>>> I've schedule a task (shutdown - not the MS version) to run at a
>>>>> certain time. When I run this program "Manually" all works well.
>>>>> However the schedule task fails.
>>>>>
>>>>> The account I use has admin privs, but DOES not have a password. I
>>>>> suspect that is the issue.
>>>>>
>>>>> Having said that, I run WinTvPVR and have serveral scheduled
>>>>> recordings that run under the same account without fail.
>>>>>
>>>>> What am I missing?
>>>>>
>>>>> (System: WinXP, SP2 etc.)
>>>>>
>>>>> Thanks.


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Scheduled task (run .bat file) fails every time with 0x80070002 (file not found) Ben Dilts Windows Vista 1 07-22-2008 06:50 AM
What happens if a scheduled task is scheduled to start, but theprevious task execution is still running? joe.carr@gmail.com Windows XP 1 12-17-2007 11:40 AM
Scheduled Backup Always Fails - Error 546 AdamOsterrieder Windows Vista 0 10-31-2007 04:00 PM
Scheduled Tasks settings fails when hibernated to "Wake the computer to run this task" Michel Merlin Windows XP 0 09-10-2007 04:10 AM
How to Read Scheduled Task Last Result from Registry for a task Sakthi Windows XP 1 07-19-2007 10:50 PM


New To Technology Questions? Do You Need Help with Your Computer or Device? Do You Need Help with this site?

All times are GMT -8. The time now is 11:32 PM.


2003 - 2009 All Rights Reserved. Technology Questions

Search Engine Friendly URLs by vBSEO 3.3.0