简体   繁体   中英

TFS Builds: Running the builds as administrator

We have one of our build projects that modifies the registry on the build machine (don't ask me why) and it needs to be done as administrator. Is there some way to run msdev from the build agent as "administrator"? We're using TFS 2012, soon to move to TFS 2013. - Bruce

将构建服务帐户添加到本地Administrators组

Even though it's late - adding to Vian's answer, adding the account to the local Admin groups is probably the way to go here. Someone who is an Admin on the computer will have to do this.

  1. In the start menu type in "User". It will come up as "Edit Local Users and Groups". Click on that.
  2. In the window that just opened, Under Groups -> Administrators (double click to edit properties of Admin Group). Add the Build Machine Account.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM