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 first published in November 2006

Dig Deeper

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.

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

-ADS BY GOOGLE

SearchServerVirtualization

SearchCloudComputing

SearchExchange

SearchSQLServer

SearchWinIT

SearchEnterpriseDesktop

SearchVirtualDesktop

  • Virtual desktop security guide

    To secure virtual desktops, consider antivirus, certificates and network vulnerabilities. Just remember, VDI doesn't always ...

  • Guide to low-cost desktop virtualization

    In this guide, learn to virtualize desktops without spending more than you would when deploying PCs, and what VDI vendors are ...

  • VDI pilot project guide

    A VDI pilot project should start with a VDI project plan. Know what pitfalls to avoid and test product options to achieve a ...

Close