The workflow capability of this environment has not been configured

http://serverfault.com –
I've set up a virtual enviroment in test professional to build depoly and test and application using visual studio and TFS.
It builds ok, but doesn't deploy or test. I get this error when the build finishes
I'm guessing you can only configure the wrokflow when you have the test configured:
But when i try to configure it it gives me this error:
I just installed lab agent and I still get the same error, I've tried restarting the machine and looking for lab manager but all I can find is the install logs.
Hope someone can help. Thanks in advance
(HowTos)