Windows 7 / Getting Started

Defining Conditions

The Conditions tab displays different conditions for running tasks and allows you to define settings for these conditions. If you do not specify condition settings, designated defaults will be applied to the task. Conditions on this page are optional unless you have selected the On Idle trigger type. If you have selected this trigger type, you must configure Idle settings as described in this section.

To configure task conditions, click the Conditions tab and configure the desired options as described in Table below.

Conditions Tab Options

SettingDescription
IdleGroups all conditions related to idle that affect the starting of the task.
Start The Task Only If The Computer Is Idle ForConfigures the task to start only if the computer has been idle for a certain amount of time.
Wait For IdleEnabled only by selecting the Start Only If Computer Is Idle For option; configures how long to wait for the idle condition to be satisfied.
Options in the list include Indefinitely, 1 Minute, 5 Minutes, 10 Minutes, 15 Minutes, 30 Minutes, 1 Hour, and 2 Hours.
Default value: 30 Minutes
You can also enter other values using the following formats:
	<ss> s[econds]

	<mm>[:<ss>] m[inutes]

	<hh>[:<mm>:<ss>] h[ours]
Stop If The Computer Ceases To Be IdleConfigures the task to stop if the computer ceases to be idle.
Default value: Selected
Restart If The Idle State ResumesEnabled only by selecting the Stop If Computer Ceases To Be Idle option. Configures the task to restart if the computer re-enters the idle state.
Default value: Cleared
Start The Task Only If The Computer Is On AC PowerConfigures the task to start only if the computer is on AC power and not on battery power.
Default value: Cleared
Stop If The Computer Switches To Battery PowerConfigures the task to stop if the computer switches to battery power.
Default value: Cleared
Wake The Computer To Run This TaskSpecifies that the computer should be brought out of hibernation or standby to run this task.
Default value: Cleared
Start Only If The Following Network Connection Is AvailableSets a condition to run the task only if a specific named network connection is available or if any network connection is available when the task's trigger is activated.
Default value: Cleared
[Previous] [Contents] [Next]

In this tutorial:

  1. Windows 7 Desktop Maintenance
  2. Performance Monitoring
  3. Improvements to Performance Monitoring in Windows 7
  4. Using Performance Monitor
  5. Real-Time Performance Monitoring
  6. Performance Monitor Logging
  7. Creating a Data Collector Set
  8. Configuring a Data Collector Set
  9. Using Data Manager to View Performance Data
  10. Starting and Stopping Data Logging
  11. Viewing Performance Data
  12. Comparing Performance Monitor Logs
  13. Performance Monitor User Rights
  14. Remote Data Collection
  15. Using Windows PowerShell for Performance Monitoring
  16. Resource Monitor
  17. Overview Tab
  18. CPU Tab
  19. Memory Tab
  20. Disk Tab
  21. Network Tab
  22. Reliability Monitor
  23. How Reliability Monitor Works
  24. Windows Performance Tools Kit
  25. Event Monitoring
  26. Understanding the Windows Event Architecture
  27. Channels
  28. Improvements to Event Monitoring in Windows 7
  29. Using Event Viewer
  30. Understanding Views
  31. Viewing Event Logs
  32. Saving Event Logs
  33. Configuring Event Subscriptions
  34. Considerations for Workgroup Environments
  35. Creating a New Subscription
  36. Using the Windows Events Command-Line Utility for Event Monitoring
  37. Using Windows PowerShell for Event Monitoring
  38. Using Task Scheduler
  39. Improvements to Task Scheduler in Windows 7
  40. Understanding Tasks
  41. Understanding the Task Scheduler Architecture
  42. Understanding Task Scheduler Security
  43. Credentials Management
  44. Securing Running Tasks
  45. Understanding AT and Task Scheduler v1.0 Compatibility Modes
  46. Understanding the Task Scheduler Snap-in
  47. Understanding Default Tasks
  48. Creating Tasks
  49. Defining Triggers
  50. At Startup Trigger
  51. On Connection To AND Disconnect From User Session Triggers
  52. On Workstation Lock AND Unlock Triggers
  53. Defining Actions
  54. Defining Conditions
  55. Defining Settings
  56. Managing Tasks
  57. Viewing History
  58. Using SchTasks.exe for Creating and Managing Tasks
  59. Task Scheduler Events
  60. Troubleshooting Task Scheduler
  61. Tasks Won't Run If the Service Is Not Started
  62. The Task Will Run Only When a Certain User Is Logged On
  63. The Task Action Failed to Execute
  64. Interpreting Result and Return Codes
  65. Understanding the Windows System Assessment Tool
  66. Understanding WinSAT Assessment Tests
  67. Examining the WinSAT Features Assessment
  68. Running WinSAT from the Command Line
  69. Understanding WinSAT Command Exit Values
  70. Running WinSAT Using Performance Information and Tools
  71. System Capabilities Section
  72. OEM Upsell And Help Section
  73. Understanding Windows Error Reporting
  74. Overview of Windows Error Reporting
  75. How WER Works
  76. Store Management System
  77. ReportArchive Folder
  78. WER Service
  79. Understanding the Error Reporting Cycle
  80. Understanding WER Data
  81. Configuring WER Using Group Policy
  82. Configuring WER Using the Action Center