Q

Create text file of services running

Before rebooting servers, I would like to generate a text file of the services running, like the window that appears when you run the services.msc but in a text file. We have quite few services that are to be set as manual and need to be started manually and I would like to keep track of what to start. Is there a way to generate the services in Windows Server 2000 or 2003 as a text file?

Before rebooting servers, I would like to generate a text file of the services running, like the window that appears when you run the services.msc but in a text file. We have quite few services that are to be set as manual and need to be started manually and I would like to keep track of what to start. Is there a way to generate the services in Windows Server 2000 or 2003 as a text file?
You can use the sc command and pipe the results to a text file.

For example: "sc query > services.txt"

This was last published in November 2006

Dig Deeper on Microsoft Windows Data Backup and Protection

PRO+

Content

Find more PRO+ content and other member only offers, here.

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.

-ADS BY GOOGLE

SearchServerVirtualization

SearchCloudComputing

SearchExchange

SearchSQLServer

SearchWinIT

SearchEnterpriseDesktop

SearchVirtualDesktop

Close