Error Installing Test Agents for Lab Management 2012 RRS feed

  • Question

  • I am trying to set up Lab Manager with SCVMM (TFS 2012 - on premise). I have created a new environment with one Windows 7 VM (from a template) on it but I cannot get the "Install Agents" process to work.

    I have created a local user named TFSLab on the Test Controller and the VM and added them to the Admin group, and it is this that I am specifying to use in the Install Agents box (.\TFSLab), but I get the following error (Win 7 32 is the name of the machine): "Windows 7 32: One or more machines are not accessible because the user account provided is not a member of the Administrators group on the machine".

    I have tried to install the agent manually and this seems to work except it constantly hangs at the last step of 'stopping the agent' so I have to kill the process.

    Any advice on the different users I should be using for Lab Management would also be appreciated.

    • Moved by Lily_Wu Friday, May 17, 2013 2:25 AM
    Thursday, May 16, 2013 9:39 AM

All replies

  • Can you confirm the following

    1. You have created a network isolated LE, joined to Workgroup ??

    2. Is your TC IP Sec exempted ??

    3. Is controller machine <a href="file://\\\Admin$">\\<TC>\Admin$ is accessible from Lab Agent machine ??

    4. Can you ensure printer and file sharing is enabled on the Lab Agent Machine for workgroup??

    Can you share the following details

    1. Exact error message you are getting in mtm while you are trying to do install agents by inputting user name and password ??

    2. Can share the event logs of controller and test agent machine, while you are manually trying to register TA to TC (It is not recommended, do this way) ??

    Thanks & Regards,


    Saturday, May 18, 2013 3:31 AM
  • Hi Subbu,

    Thank you for trying to help me!

    1. I don't believe so as I am not sure how?

    2. How can I find this out?

    3. Do you mean can the host connect to the VM? If so not at the moment - I am waiting for permissions to be set to allow sharing of folders and the internet (I am following http://geekswithblogs.net/manesh/archive/2010/05/26/share-files-and-internet-between-guest-os-and-the-host.aspx but the internet connection sharing has been disabled by the network admin), do you think this might be causing the problem or is there something else I should be doing?

    4. I have enabled printer and file sharing on the machine, but I'm not sure what you mean by "for workgroup"?

    1. The error is as above: "Windows 7 32: One or more machines are not accessible because the user account provided is not a member of the Administrators group on the machine".

    2. I'm not sure what you mean by manually registering - do you mean when I manually installed the test agents using the iso?



    Wednesday, May 22, 2013 9:17 AM
  • Try the following command

    Net use * \\machineip\Admin$ /user:<username> --> If the connection is not successful, then follow the

    blog http://blogs.msdn.com/b/visualstudioalm/archive/2012/06/17/10319736.aspx . This should let you install the agent.

    • Proposed as answer by Wurble369 Friday, November 15, 2013 2:49 PM
    Wednesday, May 22, 2013 10:59 AM
  • Hi,

    The connection failed with access is denied but unfortunately when I followed the article, I found the registry setting was already set to 1.



    Wednesday, May 22, 2013 11:54 AM
  • subraman@microsoft.com ping me in IM
    Wednesday, May 22, 2013 12:03 PM
  • Claire,

    For us to install agent on the lab machine, the network share should be accessible.

    If that is not met, we can't install. For troubleshooting you need to check with your network administrator

    to understand why the connection is failing. If the connection is successful I can help you with rest.

    For checking your TC name is IP Sec exempted or not contact your network admin.

    Wednesday, May 22, 2013 12:37 PM
  • Thank you for all your help!

    I am currently trying to get our network admins to enable me to specify that internet connection sharing is allowed. Once I have that I will have another go and see if it fixes it.

    Is the Admin$ share something specific to Lab or do all computers have it?



    Wednesday, May 22, 2013 12:51 PM
  • Hello Clarie,

    What about your issue now? Can Subrahmanyam’s suggestion help you?

    As far as I know, Administrative share is for all computers, whichever is accessible by net use.

    Best regards,

    Amanda Zhu [MSFT]
    MSDN Community Support | Feedback to us
    Develop and promote your apps in Windows Store
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    Friday, May 24, 2013 8:33 AM