Closed

What dos command to display window all services

what is the dos command to display all windows services
19 answers Last reply
More about what command display window services
  1. senkumar said:
    what is the dos command to display all windows services



    services.msc
  2. i want save the all windows services in a text file by using of DOS command


  3. Go from Start to Run and into the open box type cmd then hit Enter. In the Command form that opens up, at the prompt type tasklist /svc and hit Enter. The Servcies running at the time will be displayed and if you right click anywhere in that form and press Enter, it all goes into your Clipboard and will come back out using Control and V together.

    Many of teh SVCHosts will be grouped together and to split them apart you need to type the following, including the spaces for each Service you want to live apart from the others:-

    sc config {service name} type =Own

    and the name of each service has to go in place of the bracketed example only without the brackets.

    Any more help, as with any Command, you can find by entering the command and then /? so to find help with sc config type sc config /? and press Enter.

  4. How to save the services.msc (Windows services) in a text file as it is in the list.


  5. Control A doesn't work so it can't be done unless you copy it all out and write it down. What's wrong with the method I wrote up and why do you need a copy of the list?

  6. i am going to reboot many servers. so i need to take screenshot of services and after reboot i will again screenshot and compare the services.

    i need batch file for save all the services in a text file.
  7. DOS redirect

    tasklist /svc >filename.txt
  8. i no need tasklist service list. I need to save complete services (services.msc) in a text file, as per the view (name, status, startup type)
  9. sc query:

    Information about services and drivers can be obtained with this command. Used alone it returns a list of running services with various information about the service.

    Lists can be redirected to a text file.

    To create a text list of running services use the command sc query > serviceslist.txt    The path for the text file serviceslist.txt can be anywhere that is convenient.

    To create a list of all services, use sc query type= service state= all > allserviceslist.txt

    To create a list of active drivers, use sc query type= driver

    or notice this one is slightly different:

    For a list of everything, use sc query state= all > services-all.txt


  10. sc query type= service state= all > allserviceslist.txt displayed the follow

    SERVICE_NAME: AeLookupSvc
    DISPLAY_NAME: Application Experience
    TYPE : 20 WIN32_SHARE_PROCESS
    STATE : 1 STOPPED
    WIN32_EXIT_CODE : 1077 (0x435)
    SERVICE_EXIT_CODE : 0 (0x0)
    CHECKPOINT : 0x0
    WAIT_HINT : 0x0

    I want to the content the below format

    Name Status startup type
    AeLookupSvc stopped Manual
  11. senkumar said:


    I want to the content the below format

    Name Status startup type
    AeLookupSvc stopped Manual


    And now you want someone to prepare a database that looks the way you want it?

    Get real, this has all been supplied for free. Hire someone.
  12. when enter services.msc it displayed all the services. I need the same as in a text file. How can export the list via command.


  13. One last time - IT CANNOT BE DONE!

    The GUI in XP displays things differently to the way in which they appear in Command Line forms. Both Tigsounds and I have posted the Command methodology but you simply cannot reproduce the way the list of Services appears in Administrative Tools in a text file without copying it all out and inputting it all into Notepad.


  14. One last time - IT CANNOT BE DONE!
    Yea, I quit here too.http://i805.photobucket.com/albums/yy336/tigsounds/nutkick.gif


  15. why this inconvenient helping simply u quit this website!
  16. The txt file is CR/LF separated. YOU write a program to sort the order you want things to appear. It will involve making the headers and then counting entries and going back a few times to pick up items wanted and rejecting items you don't want to put them in columns like you want because Windows won't do it for you and neither will anybody here. We are not a free custom software source.
  17. Obvious troll is obvious. I call.
    If not then their english not speaking gud gud.

    Please tell us your native language.
  18. Click start--> Run --> type DXDiag
  19. Right click on Services (Local) on the left hand side (separate frame). Right click on 'export' and save the file. (.txt and .csv available)
Ask a new question

Read More

DOS Command Windows XP Displays