Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống
1
/ 133 trang
THÔNG TIN TÀI LIỆU
Thông tin cơ bản
Định dạng
Số trang
133
Dung lượng
0,92 MB
Nội dung
18-20 Chapter 18 Using Windows XP Tools ■ Run maintenance programs at specific intervals. ■ Run programs at a time when there is less demand for computer resources. How to Schedule a Task Use the Scheduled Task Wizard to schedule tasks. You access the wizard in the Sched- uled Tasks folder by double-clicking Add Scheduled Task. Table 18-5 describes the options that you can configure in the Scheduled Task Wizard. How to Configure Advanced Options for a Scheduled Task In addition to the options that are available in the Scheduled Task Wizard, you can set several additional options for tasks. You can change options that you set with the Scheduled Task Wizard or set additional advanced options by configuring advanced properties for the task. Table 18-5 Scheduled Task Wizard Options Option Description Application The applications to schedule. Select from a list of applications that are registered with Windows XP Professional, or click Browse to specify any program or batch file. Name A descriptive name for the task. Perform This Task How often Windows XP Professional will perform the task. You can select Daily, Weekly, Monthly, One Time Only, When My Computer Starts, or When I Log On. Start Time The start time for the task to occur. Start Date The start date for the task. User Name And Password A user name and password. You can enter your user name and pass- word or another user name and password to have the application run under the security settings for that user account. If the user account that you used to log on does not have the rights required by the scheduled task, you can use another user account that does have the required rights. For example, you can run a scheduled backup by using a user account that has the required rights to back up data but does not have other administrative privileges. Advanced Properties Select this check box if you want the wizard to display the Advanced Properties dialog box so that you can configure additional properties after you click Finish. Advanced Properties are covered in the next sec- tion. 18-21 Table 18-6 describes the tabs in the Advanced Properties dialog box for the scheduled task. How to Troubleshoot Scheduled Tasks In general, troubleshooting the Scheduled Tasks involves checking the parameters that you have set up. In the Scheduled Tasks window, switch the view to Details view. Two columns, Status and Last Result, are useful in determining whether a task was success- ful or not. The Advanced menu provides a few options to help you with troubleshooting. When you open Scheduled Tasks and click Advanced, the first option on the Advanced menu allows you to stop and start the Task Scheduler Service, and the selection is either Stop Using Task Scheduler or Start Using Task Scheduler. If your scheduled tasks are not starting, you can check this option to be sure that the Task Scheduler Service is run- ning; if it is not, you can start it. The second option is similar to the first, only it pauses and continues the service. If the service is paused, scheduled tasks do not start. The third option on the Advanced menu, Notify Me Of Missed Tasks, causes the system to send you a message when a scheduled task does not occur. The next option on the Advanced menu is the AT Service Account, which allows you to change the account being used from the System account. The next option, View Log, allows you to view a log of when the Task Scheduler Service started, stopped, paused, and continued. It also logs the name of each scheduled task, the application or task that started, and the time and date the task was started. The final option, View Hidden Tasks, allows you to view tasks created by Windows and applications that hide the tasks by default. Table 18-6 Scheduled Task Wizard Advanced Options Tab Description Task Change the scheduled task or change the user account that is used to run the task. You can also turn the task on and off. Schedule Set and display multiple schedules for the same task. You can set the date, time, and number of repeat occurrences for the task. For example, you can set up a task to run every Friday at 10:00 p.m. Settings Set options that affect when a task starts or stops, such as how long a backup can take, if the computer can be in use, or if the computer can be running on batteries when it runs the task. Security Change the list of users and groups that have permission to perform the task, or change the permissions for a specific user or group. This tab is available only if you have simple file sharing disabled. Lesson 3 Using Scheduled Tasks 18-22 Chapter 18 Using Windows XP Tools Practice: Using Task Scheduler In this practice, you schedule Address Book to start at a predetermined time. You can use this as a reminder to review address information. You also configure Task Sched- uler options. 1. Click Start, and then click Control Panel. 2. In the Control Panel window, click Performance And Maintenance. 3. In the Performance And Maintenance window, click Scheduled Tasks. Windows XP Professional opens the Scheduled Tasks folder. 4. Double-click Add Scheduled Task. The Scheduled Task Wizard appears. 5. Click Next. Windows XP Professional displays a list of currently installed programs. To sched- ule a program that is not registered with Windows XP Professional, click Browse to locate the program. 6. Click Browse. Windows XP Professional displays the Select Program To Schedule dialog box. 7. Double-click Program Files, and then double-click Windows NT. 8. Double-click Accessories, and then double-click WordPad. 9. Type Launch WordPad in the Type A Name For This Task text box. The Type A Name For This Task text box allows you to enter a description that is more intuitive than the program name. Windows XP Professional displays this name in the Scheduled Tasks folder when you finish the wizard. 10. Click One Time Only, and then click Next. 11. In the Start Time box, set the time to 4 minutes after the current system time and make a note of this time. To confirm the current system time, look at the Windows taskbar. Do not change the entry in the Start Date text box. 12. Click Next. The wizard requires you to enter the name and password of a user account. When Task Scheduler runs the scheduled task, the program receives all the rights and permissions of the user account that you enter here. The program is also bound by any restrictions on the user account. Notice that the user name you are currently using is already filled in as the default. You must type the correct password for the user account in both password boxes before you can continue. 18-23 You will schedule the console to run with your administrative privileges. 13. In both the Enter The Password text box and the Confirm Password text box, type your password. 14. Click Next. Do not select the Open Advanced Properties For This Task When I Click Finish check box. You will review the Advanced properties in the next procedure. 15. Click Finish. Notice that the wizard added the task to the list of scheduled tasks. Note The account that will run the task must have the Log On As A Batch Job user right in order to run a scheduled task. This right is normally added automatically when you create a scheduled task. If it is not, you should add the right to that account. See Chapter 16 for more information on user rights. 16. To confirm that you scheduled the task successfully, wait for the time that you configured in Step 11, and WordPad will start. 17. Close WordPad. Lesson Review The following questions are intended to reinforce key information presented in this lesson. If you are unable to answer a question, review the lesson materials and try the question again. You can find answers to the questions in the “Questions and Answers” section at the end of this chapter. 1. How can Scheduled Tasks help you monitor, manage, and maintain network resources? 2. Which of the following are valid choices for the frequency with which Scheduled Tasks schedules programs to run? (Choose all that apply.) a. Daily b. One time only c. When the computer shuts down d. When a user logs off 18-24 Chapter 18 Using Windows XP Tools 3. Why do you have to assign a user account and password for each task that you schedule using the Scheduled Task Wizard? 4. If none of your scheduled tasks is starting, what is one thing that you need to check? Lesson Summary ■ You can use Scheduled Tasks to schedule programs and batch files to run once, at regular intervals, at specific times, or when certain operating system events occur. ■ Windows XP Professional saves scheduled tasks in the Scheduled Tasks folder, which can be accessed through Performance And Maintenance in Control Panel. ■ After you have scheduled a task to run, you can still modify any of the options or advanced features for the task, including the program to be run. ■ You can access Scheduled Tasks on another computer by browsing that com- puter’s resources using My Network Places, so you can move tasks from one com- puter to another. 18-25 Lesson 4: Using System Restore System Restore is a feature that monitors changes to certain system and application files. System Restore functions like an “undo” feature for Windows XP Professional configuration changes, allowing you to recover from problems caused by incorrect sys- tem settings, faulty drivers, and incompatible applications. Windows XP Professional creates restore points automatically, and you can also create a restore point manually. After this lesson, you will be able to ■ Explain System Restore. ■ Enable or disable System Restore. ■ Create a restore point. ■ Restore a restore point. Estimated lesson time: 30 minutes Overview of System Restore System Restore works by creating restore points that contain a snapshot of the Reg- istry (which includes user account, application, and hardware configuration) and a copy of certain system files that Windows XP Professional requires for startup, includ- ing those in the %systemroot% directory and boot files on the system partition. You can restore your computer to a particular restore point at any time. By default, System Restore creates restore points when the following events occur: ■ Every 24 hours if the computer is turned on or if it has been 24 hours since the computer was last turned on ■ When you install an unsigned device driver ■ When System Restore–compliant applications are installed ■ When updates are installed through Automatic Updates or Windows Update ■ When you restore data from backup media using Windows Backup ■ When you restore a restore point ■ When certain system or application files are changed ■ When you create a restore point manually System Restore also monitors file operations for a core set of system and application files. These files are specified in %systemroot%\System32\Restore\Filelist.xml. System Restore records changes to these file and sometimes copies them to a hidden archive before allowing the files to be overwritten, deleted, or changed. Lesson 4 Using System Restore 18-26 Chapter 18 Using Windows XP Tools System Restore does not monitor the following files and folders: ■ The virtual memory paging file ■ Personal user data, such as files in My Documents, Favorites, Recycle Bin, Tempo- rary Internet Files, History, and Temp folders ■ Image and graphics files, such as those with .bmp, .jpg, and .eps extensions ■ Application data files with extensions not listed in systemroot\System32\Restore\ Filelist.xml, such as .doc, .xls, .mdb, and .pst Restore point information is saved to a hidden folder on the volume in which a moni- tored file is located. The archive collects multiple restore points, each representing individual system states. The files, Registry snapshots, and logs associated with older restore points are purged on a first in, first out (FIFO) basis, optimizing System Restore disk space and making room for new restore points. Real World Changing System Restore Options in the Windows Registry In most situations, the default System Restore operation is satisfactory. However, there might be situations in which you need to change how System Restore func- tions. There are four settings that you can change in the Windows Registry that affect the intervals System Restore uses when creating automatic restore points and the disk space it uses. Each of these settings is located in the HKEY_LOCAL_MACHINE\SOFT- WARE\Microsoft\Windows NT\CurrentVersion\SystemRestore subkey. These set- tings include the following: ■ RPSessionInterval This setting specifies the intervals, in seconds, between scheduled restore-point creations during an active user session. The default value is 0 seconds (disabled). ■ RPGlobalInterval This setting specifies the time interval, in seconds, at which scheduled restore points are created (regardless of whether or not there is an active user session). The default value is 86,400 seconds (24 hours). ■ RPLifeInterval This setting specifies the time interval, in seconds, for which restore points are kept. System Restore deletes restore points older than the specified value. The default value is 7,776,000 seconds (90 days). ■ DiskPercent This setting specifies the maximum amount of disk space on each drive that System Restore can use. This value is specified as a percent- age of the total drive space. The default value is 12 percent. 18-27 Exam Tip Restoring to a restore point affects the Windows Registry and certain system and application files. The restoration does not affect user-created documents and data. Restoring to a restore point provides a safe means to reset the Windows configuration to an earlier time. How to Enable or Disable System Restore System Restore is enabled by default in Windows XP Professional to monitor all drives on the computer. You can disable System Restore entirely or you can disable it on any particular drive. The one exception to this is that you cannot disable System Restore on the system drive without disabling it on all drives. To turn off System Restore for all drives, use these steps: 1. Click Start, and then click Control Panel. 2. In the Control Panel window, click Performance And Maintenance. 3. In the Performance And Maintenance window, click System. 4. In the System Properties dialog box, on the System Restore tab (see Figure 18-11), select the Turn Off System Restore On All Drives check box. F18us11 Figure 18-11 Turn off System Restore for all drives. To turn off System Restore for a particular drive or to change the disk space that System Restore uses for a drive, use these steps: 1. In the System Properties dialog box, on the System Restore tab, in the Available Drives list, click the drive you want to configure, and then click Settings. ! Lesson 4 Using System Restore 18-28 Chapter 18 Using Windows XP Tools 2. In the Settings dialog box for the drive, check the Turn Off System Restore On This Drive check box to disable file monitoring for that drive. 3. Use the Disk Space To Use slider to control how much disk space System Restore uses to save restore points on the drive. 4. Click OK. How to Create a Restore Point System Restore creates restore points automatically based on criteria you learned about earlier in this lesson. However, you should create a restore point manually if you are about to perform any major action, such as installing or removing an application, installing a new hardware device, or troubleshooting a problem. To create a restore point, use these steps: 1. Click Start, point to All Programs, point to Accessories, point to System Tools, and then click System Restore. Windows displays the System Restore window, as shown in Figure 8-12. 2. Click Create A Restore Point, and then click Next. 3. In the Restore Point Description text box, type a name that describes the restore point, and then click Create. 4. Click Close. F18us12 Figure 18-12 Create a restore point before making any major changes. 18-29 How to Restore a Restore Point If you experience a problem in Windows, you can often solve that problem by restor- ing to an earlier restore point. You can also restore to a restore point to undo configu- ration changes that a user might not remember the details of. For example, if a user installs incompatible software that causes problems or makes changes to the Windows configuration, you can restore to a restore point created before the problem occurred. To restore a restore point, use these steps: 1. Click Start, point to All Programs, point to Accessories, point to System Tools, and then click System Restore. 2. Click Restore My Computer To An Earlier Time, and then click Next. Windows displays the Select A Restore Point page (see Figure 8-13), which pre- sents a simple, calendar-based way to browse available restore points. Dates in bold represent days when a restore point was created. 3. Click any date that is listed in bold, and then click a restore point on that day. F18us13 Figure 18-13 Browse available restore points by date. 4. Click Next to continue. Windows displays the Confirm Restore Point Selection page, which warns you that the computer will be shut down during the restoration process. Lesson 4 Using System Restore [...]... running Windows XP Professional to allow Remote Desktop connections, follow these steps: 1 From the Start menu (or from the desktop or in Windows Explorer), right-click My Computer and select Properties 2 On the Remote tab, in the Remote Desktop section, select Allow Users To Connect Remotely To This Computer, as shown in Figure 18- 14 18- 34 Chapter 18 Using Windows XP Tools F18us14 Figure 18- 14 Enable Remote... method that you want to use to create the invitation, as shown in Figure 18- 18 You can send invitations directly by using Windows Messenger, by using an e-mail attachment, or by saving an invitation file and transmitting it to the helper user (for example, you could save the file to a shared folder on the network) F18us 18 Figure 18- 18 Choose the method to create an invitation 4 When prompted, enter the... Windows XP Professional requires for startup You can also create restore points manually and restore the computer to any restore point 18- 48 Chapter 18 Using Windows XP Tools Questions and Answers Lesson 1 Practice: Exercise 1 Page 18- 9 6 What is the description provided for the Error Reporting Service? Allows Error Reporting For Services And Applications Running In Non-Standard Environments 8 What do... must restart so that it can apply configuration changes 18- 32 Chapter 18 Using Windows XP Tools Lesson 5: Using Remote Desktop and Remote Assistance Remote Assistance and Remote Desktop are both Windows XP Professional features that allow remote access to a computer Remote Desktop provides a user with a way to control a computer running Windows XP Professional from a remote location Remote Assistance... F18us15 Figure 18- 15 Configure options for connecting to a remote computer To use the Remote Desktop Connections client, use these steps: 1 From the Start menu, select All Programs, then Accessories, then Communications, and then Remote Desktop Connection 2 In the Remote Desktop Connection dialog box, depicted in Figure 18- 16, enter the name or IP address of the remote computer and click Connect 18- 36... and on subsequent failures 3 What two tools does Windows XP Professional provide for enabling and disabling services? The System Configuration Utility and the Services console Lesson 2 Review Page 18- 17 1 What are the three Windows XP Professional logs you can view with Event Viewer, and what is the purpose of each log? Questions and Answers 18- 49 The application log contains errors, warnings, or information... not start Server–2505 The server could not bind to the transport \Device\NetBT_Tcpip_{DA411120-47FB4F 38- AC72-67AFC5649900} because another computer on the network has the same name Server service did not start Service Control Manager 702 4 The Messenger service terminated with service-specific error 2 270 Messenger service did not start 3 Looking through these events, what do you suspect is the problem?... Remote Desktop Connection 2 In the Remote Desktop Connection dialog box, depicted in Figure 18- 16, enter the name or IP address of the remote computer and click Connect 18- 36 Chapter 18 Using Windows XP Tools F18us16 Figure 18- 16 Establish a Remote Desktop session 3 When prompted, enter the appropriate user account and password, and then click OK 4 If another user is currently logged on to the remote system,... Case Scenario Exercise 18- 41 2 How can you install the Remote Desktop Connection software on computers that are not running Windows XP Professional? 3 What is the difference between Remote Desktop and Remote Assistance? Lesson Summary ■ Remote Desktop allows users that are members of the Administrators or Remote Users groups to remotely gain access to a computer running Windows XP Professional After a... Midwest You work in the company headquarters in Boulder, Colorado You are working with Ken, a supervising manager of a resort in 18- 42 Chapter 18 Using Windows XP Tools Jackson Hole, Wyoming Ken has recently installed a non-Microsoft backup program on his computer running Windows XP Professional and is having some problems He says that during the installation of the program, he was asked whether he wanted . Figure 18- 14. Lesson 5 Using Remote Desktop and Remote Assistance 18- 34 Chapter 18 Using Windows XP Tools F18us14 Figure 18- 14 Enable Remote Desktop on a computer running Windows XP Professional. 3 Figure 18- 16, enter the name or IP address of the remote computer and click Connect. Lesson 5 Using Remote Desktop and Remote Assistance 18- 36 Chapter 18 Using Windows XP Tools F18us16 Figure 18- 16. helper user (for example, you could save the file to a shared folder on the network). F18us 18 Figure 18- 18 Choose the method to create an invitation. 4. When prompted, enter the requested information,