Scripted restart of a local test controller RRS feed

  • Question

  • Hi,

    I am using VS2010 + agents.

    What would be the best way to restart a test controller which is running locally without using the UI for that (e.g. Visual Studio -> Test -> Manage Test Controllers)? I need to be able to do that as part of my automated test procedure.

    So far I've had some success using:


    net stop "Visual Studio Test Controller"

    net start "Visual Studio Test Controller"


    Thanks in advance,

    Wednesday, April 13, 2011 3:05 PM


  • Hi Stoimen,

    Since the test controller is a windows service, the method you have described above is the best solution.



    • Proposed as answer by Ramesh P Singh Thursday, April 14, 2011 5:05 AM
    • Marked as answer by Stoimen Thursday, April 14, 2011 5:06 AM
    Wednesday, April 13, 2011 3:30 PM