Escolar Documentos
Profissional Documentos
Cultura Documentos
Every modern operating system needs to run certain processes constantly, regardless of what
other programs and operations are currently active and regardless of what the user may be
doing. These background processes may be used to detect new hardware, monitor the network
for incoming data, or a variety of other things that require the operating system to pay
constant attention to its surroundings.
In Windows XP, these background processes are called Services
What's a Service?
A Windows service is an 'always on' application that is constantly running in the background of
your system. These applications are loaded at startup with an executable file or started when
needed, and do not have a user interface or require a user to run them. They allow Windows
XP to perform functions that require constant management or access without forcing the user
to run a specific program or command.
A good example of a service is Windows XP's 'Automatic Update' service. If you've enabled
automatic updating, this service will run constantly in the background, and periodically connect
to Microsoft to look for new updates and patches. When they are found, the service will either
notify you or automatically download and install the updates, depending on how you set up
your system.
To access a configurable list of services, open the Start menu and click the 'run' command.
In the text box, type: services.msc and hit ENTER. This will bring up the services management
window.
'Status' simply indicates whether a given service is actually running on your computer at the
moment. Services are either 'started' or not. 'Startup type' indicates how starting the service is
handled by Windows. There are three possible values:
Automatic: The service is started automatically as part of the Windows XP boot process.
Manual: The service can be started by another application or process that needs it, but is off
by default. Once it is started, the service will remain on until it is manually stopped or the
system is rebooted.
Disabled: The service will not start unless this condition is changed.
Finally, the 'log on as' attribute determines which user or system account the service uses to
perform its duties. This can have several implications, but is more important for those who are
designing new services. As you can see, most of the services use the 'local system account'
which provides them practically unlimited access to your computer, but does not allow them to
perform any operations over a network. Services can also be run under users accounts, which
gives them the same security permissions as that specific user would have.
To find out more information about a specific service, you can double click it to bring up its
properties window.
As you can see, there are four tabs here. The 'general' tab gives you essential information
about the service, including its actual name according to the system (this will be important
later), the 'path to executable' which shows the .EXE file that Windows uses to start the
service, its startup type and status.
The 'log on' tab allows you to change what account the service uses to perform its function.
Just like every other user and application on a Windows XP box, services need an account
(which defines what security restrictions are in place) to run.
Services are started during the operating system boot process, and load from executable files
like other programs. The difference is that once they are started, they stay running in the
background until they are manually turned off. This way, they can perform whatever function
they need to perform without having to be manually invoked by the user.
The downside of this, of course, is that services consume system resources, notably memory.
The more services you have open, the greater the initial overhead on your system.
Potentially worse is the fact that standardized sets of services that are always present by
default (such as the base list of services loaded by Windows XP) are well known, and their
presence on the vast majority of XP systems can (and has) made certain network services
vulnerable to viruses, Trojans, spyware and exploits. The sheer complexity of Windows XP is
the main reason why Microsoft seemingly has so much trouble securing it. Service Pack 2 went
a long way towards rectifying these issues, closing down several little-used services that might
present security issues, like the Remote registry editing service.
The difference between services and processes
You've looked at the list of services running on your system by now, and you understand that
these services are applications running behind the scenes, but now for a puzzling thing… Press
CTRL+ALT+DEL to bring up the Task Manager Window and click on the 'processes' tab
Hmm, if all those services are loaded in the background, why aren't they represented on this
list? The processes tab shows every piece of software currently running within your Windows
application, so surely the services you've seen should be here too? The quick answer to this is
that they are here, just not in the form you are expecting.
The processes tab only displays the .EXE executable file for each application that is running on
your Windows XP system. Remember when we said that services are loaded with an
executable file like any other program?
The thing is, certain executable files (like SVCHOST.EXE, which should appear several times in
the process list) start up multiple services. Also, in most cases the name of the executable file
in the process list is not representative of the service(s) it starts.
We can find out more about a service that is running by going back to the 'services.msc'
window and double clicking on any 'started' service. Try the 'computer browser' service as one
example.
Look at the 'path to executable' box. Recognize that .exe file? The browser service is just one
of many services started by the 'SVCHOST.EXE' file which runs as a process when Windows
boots up.
To recap, services are applications that run in the background, while processes are
the actual operations that the computer is currently working on. One process can be
responsible for several running services, as in the case of the SVCHOST.EXE process.
Now Let's run through a list of all the services that should be present by default in a Windows
XP Service Pack 2 computer. Compare your own list of services to this one to find out what
additional services (if any) are present on your system.
Please note that if you have more services than are listed here (and you will), it doesn't mean
that these extra services are harmful or shouldn't be present on your system. Many third party
software programs create and run their own Windows services as part of their normal
operation. Anti virus software is one great example of this, as Norton's antivirus suite creates
several additional services when it is installed.
If you are unsure about a specific service or process and the information provided in the
services.msc window is of no use, try a web search using that service or process's name.
Windows XP Service Pack 2 Default Services List
Alerter
Application Layer Gateway Service
Application Management
Automatic Updates
BackgroundIntelligentTransferService
ClipBook
COM+ Event System
COM+ System Application
Computer Browser
Cryptographic Services
DCOM Server Process Launcher
DHCP Client
Distributed Link Tracking Client
Distributed Transaction Coordinator
DNS Client
Error Reporting Service
Event Log
Fast User Switching Compatibility
HTTP SSL
Help and Support
Human Interface Device Access
IMAPI CD-Burning COM Service
Indexing Service
Windows Firewall/Internet Connection Sharing *Formerly known as Internet Connection
Firewall / Internet Connection Sharing
IPSEC Services
Logical Disk Manager
LogicalDiskManagerAdministrativeService
Messenger
MS Software Shadow Copy Provider
Net Logon
NetMeetingRemoteDesktopSharing
Network Connections
Network DDE
Network DDE DSDM
Network Location Awareness (NLA)
Network Provisioning Service
NT LM Security Support Provider
Performance Logs and Alerts
Plug and Play
Portable Media Serial Number Service *previously 'Portable Media Serial Number'
Print Spooler
Protected Storage
QoS RSVP
RemoteAccessAutoConnectionManager
Remote Access Connection Manager
Remote Desktop Help Session Manager
RemoteProcedureCall(RPC)
Remote Procedure Call (RPC) Locator
Remote Registry
Reomovable Storage
Routing and Remote Access
Secondary Logon
Security Accounts Manager
Security Center
Server
Shell Hardware Detection
Smart Card *Incorporates the 'smart card helper' service post-SP2
SSDP Discovery Service
System Event Notification
System Restore Service
Task Scheduler
TCP/IP NetBIOS Helper Service
Telephony
Telnet
Terminal Services
Themes
Uninterruptible Power Supply
Universal Plug and Play Device Host
Volume Shadow Copy
WebClient
Windows Audio
Windows Firewall / Internet Connection Sharing
Windows Image Acquisition (WIA)
Windows Installer
Windows Management Instrumentation
Windows Management Instrumentation Driver Extension
Windows Time
Wireless Zero Configuration
WMI Performance Adapter
Workstation
What services can I disable for better performance/security?
As far as security is concerned, Windows XP Service Pack 2 went a long way towards making
XP a much more secure environment, and that included locking down several previously active
services. If you've already got SP2 (and if you haven't, you should), there's actually very little
additional security tweaking that needs to be done to the services list.
To change from FAT 32 to NTFS file system for more stability, security and less fragmentation,
open the command prompt and type:
Convert C: /FS:NTFS
"C" being the drive you wish to convert. Make sure there is a space between the C: and the forward
slash (/). Once you press enter it will ask you for confirmation and press Y. Then press Y and enter
once more to reboot.. This also works for windows XP Home.
To save memory and CPU time turn off the automatic update system in windows. You can always
check manually for updates and most users have no problem with that. For those of you lazy bums
out there you can leave this feature on but I warned you.
To disable it, go to the Control Panel and click Add/Remove Programs. Click the Add/Remove
Window Components. Simply unclick the Indexing services and click next!
Indexing service creates a database index of all files on your system when the system is otherwise
idle. Unless you do frequent searches, it is suggested you disable this service. (Allan, Forum
Admin)
1. Start Regedit.
2. Navigate to HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\ Run
3. Once there, locate any entry's on the right. You can identify the program by the path to the
executable. Find programs that you can live without starting up from the list.
4. Right click on them and select Delete
5. You may also want to navigate to
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\ Runonce and
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion \Run.
6. Delete unnecessary programs.
7. Also go to START - PROGRAMS - STARTUP and see if there is anything there you wish to
remove.
8. Reboot your computer.
Alternative method:
* Open System in the Control Panel (or right-click on the My Computer icon and select
Properties.
* Choose the Advanced tab, and click Error Reporting.
• You can disable error reporting entirely here, or enable it selectively for certain programs. Click
Ok when you're done.
•
* Right-click on an item in the folder you want to sort, and select Sort by Name.
Here's the hard way, which allows you to sort all the folders in your Start Menu at once:
The Registry is a database of nearly all the settings for Windows and your installed applications.
The following is a brief collection of information, tips, and troubleshooting techniques involving
the Windows Registry. Check out the Glossary for definitions of any of the technical terms used
below.
One way to backup the registry is to create a System Restore snapshot. System Restore returns your
computer to a previous snapshot without losing recent personal information, such as documents,
history lists, favorites, or e-mail. It monitors the computer and many applications for changes and
creates restore points. You restore these snapshots when your configuration isn't working. This
method is unreliable in case you want to rollback the registry changes made a longtime ago, in
which case the System Restore might have purged that particular restore point - due to space
constraints or due to a recent system restore point or even a Restore point corruption. Please
remember, System Restore points get deleted for many reasons, making it unreliable, especially in
the long run.
For Classic Start Menu: Click Start, Programs, Accessories, System Tools, System Restore.
In the Restore point description box, type a name to identify this restore point. System Restore
automatically adds to this name the date and time that this Restore Point is created.
You can also launch System Restore window by typing the command below, in the RUN box:
%SystemRoot%\System32\restore\rstrui.exe
Windows 2000/XP
Win2000/XP Pro include a great on-board solution for backing up files. The Backup utility offers
configurable scheduled options for protecting important data from catastrophic loss. Based on
Veritas (www.veritas.com) backup technology, the Backup utility offers a very simple solution for
creating backups of some or all of the data on the PC, including the option to set backup schedules.
Install the WinXP Backup utility. WinXP Home buries Backup on the install disk. To find the
bundled backup tool, insert the WinXP Home installation CD-ROM and navigate to the
VALUEADD/MSFT/Ntbackup folder. Double-click the folder and install the utility by double-
clicking the NTBACKUP Windows Installer Package, which will automatically step through the
install process. Click Finish when the install is complete. WinXP Home automatically inserts this
file in C:/START/ALL PROGRAMS/ACCESSORIES/SYSTEM TOOLS/Backup. Once this
application is on the system, it functions just like the preinstalled WinXP Pro Backup utility.
Back up with both. To get started with the built-in XP Backup
utility, first launch the application by clicking Backup in the
System Utilities folder. The first time the application runs, it
prompts you to use the Backup Or Restore Wizard. (If you
prefer, removing the check mark next to Always Start In Wizard
Mode will allow you to start with the standard program
interface.) Click Next, choose Back Up Files And Settings, and
click Next again. The next screen presents you with several
Select the date on the options and explains them all. Read through these options
calendar for starting your carefully to make personalizing your backup easier next time.
scheduled backup.
For now (assuming this is the first backup you've done on your
system), click the radio button next to All Information On This
Computer and click Next. On the Backup Type, Destination,
And Name screen, click Browse to choose where the information is backed up. In addition to the
drive where the backup data is stored, the full backup also requires a floppy disk for archiving
important system state information. Name your backup file (including the date of the backup in the
name makes finding it again much easier) and click next. A full backup may take several hours to
complete, with a prompt to insert the floppy at the end of the process. Unless many system details
change regularly, a full system backup is probably only
necessary once a month, with smaller backups in between.
Back up like a pro. Using the Backup utility's Advanced Mode
provides greater control over the backup process. Start the
Backup And Restore Wizard and click the Advanced Mode
hyperlink. In the Backup Utility windows, click the Schedule
Jobs tab and double-click the date you'd like for your next
planned backup. This will open the Backup Wizard; click Next.
If you choose to schedule your backups, you have three options:
Back up everything, back up only selected files, or back up
system state information. Choose one that fits your own
computing habits and preferences, but for regularly scheduled WinXP lets you get very
backups, the second option is probably the most sensible choice. particular with your
Click Next after choosing a backup option. backup schedule,
providing options for both
Because we chose the second option, we'll select the files and the date, time, and
folders to include in the backup. (This will be different if you frequency. Click Advanced
chose the first or third option.) Click next, choose the location for more options.
for the backup, and name the backup file before clicking Next again. The following screen offers
several backup type options in a drop-down menu:
Normal: Backs up selected files and marks each file as backed up.
Copy: Backs up selected files but does not mark any as backed up.
Incremental: Backs up selected files only if they were created or modified since the previous
backup.
Differential: Backs up selected files only if they were created or modified since the previous
backup but does not mark them as backed up.
In most cases, choosing Incremental offers the most convenient way to back up files. This way, all
important data gets backed up without wasting additional space with files that never change. A good
example of this is performing backups of a music collection. If the My Music folder contains
10,000 WMA (Windows Media Audio) files, which always remain exactly the same, adding the
extra gigabytes to each backup to make yet another copy of the same 10,000 files is a waste of
space. With an incremental backup, only if songs are added to the folder will they be backed up
during the next session. Choose Incremental and click Next.
The next screen offers you options to Verify Data After Backup and Disable Volume Shadow Copy.
The first tells the system to make sure the backup data is complete, which increases the length of
the process but guarantees a complete backup. It's highly recommended to verify the backup to
avoid even more frustration if the backup fails after a data failure. A volume shadow copy makes a
backup of an in-use file. A third box, located between the other two, is designed to offer hardware
compression when available, but you can't select it because the feature is only available in the full
Veritas backup product. After selecting one or both available options, click Next.
In the Backup Options screen, you have two choices: Append
This Backup To The Existing backups or Replace The Existing
Backups. Only use the second option when you'll back up all
data on the system. With an incremental backup, the second
option results in some data not effectively backed up, unless
every file on your computer changes between each session.
Because you've already selected Incremental backup, choose the
first option and click Next.
Use the Backup Scheduler
in Win98 to set where and
On the next screen, you'll set the schedule. Click the radio
when you want your
button next to Later, type a name for your scheduled backup,
information backed up.
and click the Set Schedule button to determine when the backup
job will run. By default, the backup utility automatically
chooses the data you clicked on the calendar as the first date to
run the backup.
Under Schedule Task you can choose the backup frequency, and you'll then customize the backup
depending on the backup option selected. You can configure weekly backups to run every week,
every other week, or some other specified period, with the option to perform the backup on specific
day(s) of the week. A monthly backup defaults to the first day of the month, but you can configure it
to run on a specific day, which is useful when system changes happen at predictable intervals. Make
your choice and select OK. Click Next. In the Set Account Information box, type and confirm your
password and click OK. Select Finish in the Backup Wizard to schedule your backup.
Microsoft takes a very inconsistent position on backups and their role in protecting data. Finding
the bundled tool to back up your files is sometimes like a game of digital hide-and-seek. Once the
tools are installed, they perform consistently across operating systems based on the same kernel
structure, which means maintaining backups after an upgrade to a new OS should be relatively
intuitive. Just make sure backups are part of your regular computing routine. A college paper is
certainly an inconvenient thing to lose, but when the information is banking data or family
keepsakes, the information loss is considerably more than a few hours of your time.
Windows XP
Windows XP SP2 includes all updates contained in the previous SPs (1 and 1a). For complete
information, see the Knowledge Base document What is Windows XP Service Pack 2, and why
should I install it?
Windows 2000
SP4 for Windows 2000, which includes all updates contained in SPs 1-3, addresses the following:
• Application and hardware compatibility
• Windows 2000 setup, and setup for various add-on components
• Operating system reliability
• Security, including the latest updates for known Windows 2000 security problems
• Patches for programs and utilities included in Windows 2000, such as Windows Media
Player