Scheduled tasks and hibernation

E

Ebbe

Hey!

Q 1:
I have scheduled a task (backup, using a .bat script, running some Winzip
tasks) to run at a certain hour.
The task is set up to "Wake the computer to run this task".

I have also instructed the power manage system to hibernate after 30 minutes
of inactivity.

The question is:
What happens if the scheduled task last longer than 30 minutes?
Will the system suspend the running task after 30 minutes run, or will the
system hibernate 30 minutes after the task has ended?

Q 2:
My normal login on the computer has no password.
When I try to run a task using the scheduler under the user without
password, she scheduler claims that the task was not run because of no
password.

I have then added an other user on the computer and added a password to that
user.
Scheduled tasks under that user runs perfectly.

Is it impossible to run scheduled tasks under a user, that has no password?

Ebbe
 
R

Rick \Nutcase\ Rogers

Hi Ebbe,

1) Hibernate should set in 30 minutes after the task completes. However, if
the machine is hibernating when the task is supposed to begin, as opposed to
just being in standby, then the task will not run. Hibernate is a power off
state, so nothing is running at that point. The only difference between it
and a shutdown is that it preserves the current user state by copying the
ram contents to the hiberfil.sys file before shutting down.

2) See:

Scheduled Tasks Cannot Run with a Blank Password [Q310715]
http://support.microsoft.com/?kbid=310715

However, from MVP Kelly (a workaround):

For Pro: Start/Control Panel/Administrative Tools/Local Security
Policy/Local Policies/Security options.
In the right hand pane (third down). Accounts: Limit local account use of
blank passwords to console logon only. This is enabled by default, disable
it.

For Home: Backup your registry before modifying. Locate the following
registry key:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa

Value name: limitblankpassworduse
Type: REG_DWORD
Data: 0 (disabled) 1 (enabled)

It is enabled by default. Disable it and scheduled tasks should run.

--
Best of Luck,

Rick Rogers, aka "Nutcase" - Microsoft MVP

Associate Expert - WindowsXP Expert Zone

Windows help - www.rickrogers.org
 
C

Carey Frisch [MVP]

Scheduled Tasks Cannot Run with a Blank Password
http://support.microsoft.com/default.aspx?scid=kb;en-us;310715

Visit http://www.kellys-korner-xp.com/xp_s.htm and scroll down to:

"Scheduled Tasks - Applying/Running tasks without a password"

[Courtesy of Kelly Theriot, MS-MVP]

HOW TO: Troubleshoot Scheduled Tasks in Windows XP
http://support.microsoft.com/default.aspx?scid=kb;en-us;308558

HOW TO: Schedule Tasks in Windows XP
http://support.microsoft.com/default.aspx?scid=kb;en-us;308569


--
Carey Frisch
Microsoft MVP
Windows XP - Shell/User

Be Smart! Protect your PC!
http://www.microsoft.com/security/protect/

------------------------------------------------------------------------------------------------


| Hey!
|
| Q 1:
| I have scheduled a task (backup, using a .bat script, running some Winzip
| tasks) to run at a certain hour.
| The task is set up to "Wake the computer to run this task".
|
| I have also instructed the power manage system to hibernate after 30 minutes
| of inactivity.
|
| The question is:
| What happens if the scheduled task last longer than 30 minutes?
| Will the system suspend the running task after 30 minutes run, or will the
| system hibernate 30 minutes after the task has ended?
|
| Q 2:
| My normal login on the computer has no password.
| When I try to run a task using the scheduler under the user without
| password, she scheduler claims that the task was not run because of no
| password.
|
| I have then added an other user on the computer and added a password to that
| user.
| Scheduled tasks under that user runs perfectly.
|
| Is it impossible to run scheduled tasks under a user, that has no password?
|
| Ebbe
 
E

Ebbe

Hey Rick
1) Hibernate should set in 30 minutes after the task completes.
My computer is able to wake up from hibernation and run a task.
Do I understand you correctly, that this running task will not bee
interrupted by a new hibernation, if it last more than the 30 minutes?

Ebbe

Rick "Nutcase" Rogers said:
Hi Ebbe,

1) Hibernate should set in 30 minutes after the task completes. However, if
the machine is hibernating when the task is supposed to begin, as opposed to
just being in standby, then the task will not run. Hibernate is a power off
state, so nothing is running at that point. The only difference between it
and a shutdown is that it preserves the current user state by copying the
ram contents to the hiberfil.sys file before shutting down.

2) See:

Scheduled Tasks Cannot Run with a Blank Password [Q310715]
http://support.microsoft.com/?kbid=310715

However, from MVP Kelly (a workaround):

For Pro: Start/Control Panel/Administrative Tools/Local Security
Policy/Local Policies/Security options.
In the right hand pane (third down). Accounts: Limit local account use of
blank passwords to console logon only. This is enabled by default, disable
it.

For Home: Backup your registry before modifying. Locate the following
registry key:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa

Value name: limitblankpassworduse
Type: REG_DWORD
Data: 0 (disabled) 1 (enabled)

It is enabled by default. Disable it and scheduled tasks should run.

--
Best of Luck,

Rick Rogers, aka "Nutcase" - Microsoft MVP

Associate Expert - WindowsXP Expert Zone

Windows help - www.rickrogers.org

Ebbe said:
Hey!

Q 1:
I have scheduled a task (backup, using a .bat script, running some Winzip
tasks) to run at a certain hour.
The task is set up to "Wake the computer to run this task".

I have also instructed the power manage system to hibernate after 30 minutes
of inactivity.

The question is:
What happens if the scheduled task last longer than 30 minutes?
Will the system suspend the running task after 30 minutes run, or will the
system hibernate 30 minutes after the task has ended?

Q 2:
My normal login on the computer has no password.
When I try to run a task using the scheduler under the user without
password, she scheduler claims that the task was not run because of no
password.

I have then added an other user on the computer and added a password to that
user.
Scheduled tasks under that user runs perfectly.

Is it impossible to run scheduled tasks under a user, that has no password?

Ebbe
 
R

Rick \Nutcase\ Rogers

Hi,

Your computer is able to wake from standby and run tasks, not hibernate -
they are two different things. Hibernate mode is the same as a power-off
except for the contents of the ram being saved. Standby would not interfere
with scheduled tasks in most cases.

--
Best of Luck,

Rick Rogers, aka "Nutcase" - Microsoft MVP

Associate Expert - WindowsXP Expert Zone

Windows help - www.rickrogers.org

Ebbe said:
Hey Rick
1) Hibernate should set in 30 minutes after the task completes.
My computer is able to wake up from hibernation and run a task.
Do I understand you correctly, that this running task will not bee
interrupted by a new hibernation, if it last more than the 30 minutes?

Ebbe

Rick "Nutcase" Rogers said:
Hi Ebbe,

1) Hibernate should set in 30 minutes after the task completes. However, if
the machine is hibernating when the task is supposed to begin, as
opposed
to
just being in standby, then the task will not run. Hibernate is a power off
state, so nothing is running at that point. The only difference between it
and a shutdown is that it preserves the current user state by copying the
ram contents to the hiberfil.sys file before shutting down.

2) See:

Scheduled Tasks Cannot Run with a Blank Password [Q310715]
http://support.microsoft.com/?kbid=310715

However, from MVP Kelly (a workaround):

For Pro: Start/Control Panel/Administrative Tools/Local Security
Policy/Local Policies/Security options.
In the right hand pane (third down). Accounts: Limit local account use of
blank passwords to console logon only. This is enabled by default, disable
it.

For Home: Backup your registry before modifying. Locate the following
registry key:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa

Value name: limitblankpassworduse
Type: REG_DWORD
Data: 0 (disabled) 1 (enabled)

It is enabled by default. Disable it and scheduled tasks should run.

--
Best of Luck,

Rick Rogers, aka "Nutcase" - Microsoft MVP

Associate Expert - WindowsXP Expert Zone

Windows help - www.rickrogers.org

Ebbe said:
Hey!

Q 1:
I have scheduled a task (backup, using a .bat script, running some Winzip
tasks) to run at a certain hour.
The task is set up to "Wake the computer to run this task".

I have also instructed the power manage system to hibernate after 30 minutes
of inactivity.

The question is:
What happens if the scheduled task last longer than 30 minutes?
Will the system suspend the running task after 30 minutes run, or will the
system hibernate 30 minutes after the task has ended?

Q 2:
My normal login on the computer has no password.
When I try to run a task using the scheduler under the user without
password, she scheduler claims that the task was not run because of no
password.

I have then added an other user on the computer and added a password
to
that
user.
Scheduled tasks under that user runs perfectly.

Is it impossible to run scheduled tasks under a user, that has no password?

Ebbe
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top