TFS 发布管理 Visual Studio 2013 - 权限问题
TFS Release Management Visual Studio 2013 - Permission Issue
我正在尝试部署到目标服务器上的 'Program Files' 目录,该目录是 运行 具有 'Administrator' 权限的帐户下的 TFS 部署代理。
我无法在 'Program Files'
上执行任何目录操作
确定部署工具应该能够访问程序文件吗?
Microsoft Release Management ManageWindowsIO PowerShell Script v12.0
Copyright (c) 2013 Microsoft. All rights reserved.
Executing with the following parameters:
Action: Create
Source file or folder name: c:\Program Files\xxx
Destination file or folder name:
Read Only:
Archive:
System:
Hidden:
Owner Domain:
Owner Name:
Working Directory: (script path)
New-Item : Access to the path 'xxx' is denied.
At C:\Users\xxxxxxxxxxxxxx\AppData\Local\Temp\RM\T\RM\Create Folder1507
141521278761159-39\ManageWindowsIO.ps1:165 char:17
+ New-Item <<<< -ItemType directory -path $FileFolderName
+ CategoryInfo : PermissionDenied: (C:\Program File...
xxx:String) [New-Item], UnauthorizedAccessException
+ FullyQualifiedErrorId : CreateDirectoryUnauthorizedAccessError,Microsoft
.PowerShell.Commands.NewItemCommand
Done with errors.
The folder could not be created.
Exiting with error: 9999
谢谢
更改帐户权限后,确保重新启动部署代理服务。
我正在尝试部署到目标服务器上的 'Program Files' 目录,该目录是 运行 具有 'Administrator' 权限的帐户下的 TFS 部署代理。
我无法在 'Program Files'
上执行任何目录操作确定部署工具应该能够访问程序文件吗?
Microsoft Release Management ManageWindowsIO PowerShell Script v12.0
Copyright (c) 2013 Microsoft. All rights reserved.
Executing with the following parameters:
Action: Create
Source file or folder name: c:\Program Files\xxx
Destination file or folder name:
Read Only:
Archive:
System:
Hidden:
Owner Domain:
Owner Name:
Working Directory: (script path)
New-Item : Access to the path 'xxx' is denied.
At C:\Users\xxxxxxxxxxxxxx\AppData\Local\Temp\RM\T\RM\Create Folder1507
141521278761159-39\ManageWindowsIO.ps1:165 char:17
+ New-Item <<<< -ItemType directory -path $FileFolderName
+ CategoryInfo : PermissionDenied: (C:\Program File...
xxx:String) [New-Item], UnauthorizedAccessException
+ FullyQualifiedErrorId : CreateDirectoryUnauthorizedAccessError,Microsoft
.PowerShell.Commands.NewItemCommand
Done with errors.
The folder could not be created.
Exiting with error: 9999
谢谢
更改帐户权限后,确保重新启动部署代理服务。