ローカルアカウントを使用してWindowsマシンをVeeam Backup & Replicationに追加する際、アクセスが拒否される
| KB ID: | 4185 |
| Product: |
Veeam Backup & Replication Veeam Agent for Microsoft Windows |
| Published: | 2021-06-23 |
| Last Modified: | 2024-08-05 |
| Languages: | EN |
Cheers for trusting us with the spot in your mailbox!
Now you’re less likely to miss what’s been brewing in our knowledge base with this weekly digest
問題が発生しました。
時間をおいて、再度お試しください
問題の内容
以下の操作を実行しようとすると、"Access is Denied. "というエラーが発生します:
エラーコードの全文を表示
Access is denied.
--tr:Error code: 0x00000005
--tr:Failed to create persistent connection to ADMIN$ shared folder on host [<servername>].
Failed to install service [VeeamDeploySvc] was not installed on the host [<servername>].
ログファイルからの完全なエラーテキスト:
C:\ProgramData\Veeam\Backup\Satellites\VBR\<username>\Satellite_Console.log
Info [winsrvr] Trying to install Installer service on <servername>:6160.
Info [RPC] Making sure that the deployment service installed on host [<servername>].
Info [RPC] Creating persistent connection to ADMIN$ shared folder on host [<servername>].
Warning [winsrvr] Failed to install Installer service on <servername>:6160. Reason: Access is denied.
Warning --tr:Error code: 0x00000005
Warning --tr:Failed to create persistent connection to ADMIN$ shared folder on host [<servername>].
Warning --tr:Failed to install service [VeeamDeploySvc] was not installed on the host [<servername>]. at VeeamProxyClient.GenerateComException(basic_string<char\,std::char_traits<char>\,std::allocator<char> >* excMsg, Int32 errHrCode)
Warning at VeeamProxyClient.RegenerateCLRException(exception* excBase)
Warning at VeeamProxyClient.CCliVeeamDeployer.InstallServiceEx(String svcPath)
Warning at Veeam.Backup.ProxyProvider.CProxyRawDeployerService.Connect(CCliVeeamDeployer veeamDeployer, String srvName, String connectionPoint, Int32 port, CCredentials creds, Boolean install, WindowsIdentity identityForImpersonationOrNull, Boolean quickFailureMode)
Warning at Veeam.Backup.ProxyProvider.CProxyRawDeployerService.Connect(String srvName, String[] connectionPoints, CCredentials creds, Int32 configPort, Boolean install, WindowsIdentity identityForImpersonationOrNull, Boolean quickFailureMode, Boolean withoutLogging)
Error Access is denied.
Error --tr:Error code: 0x00000005
Error --tr:Failed to create persistent connection to ADMIN$ shared folder on host [<servername>].
Error --tr:Failed to install service [VeeamDeploySvc] was not installed on the host [<servername>]. (System.Runtime.InteropServices.COMException)
- 接続資格情報にローカルAdministratorアカウントを使用するように設定されている Windows サーバを含む保護グループを再スキャンした場合。
― エラーコードの全文を表示
Unable to install backup agent: cannot connect to <servername> Error: Access is denied.
保護グループ内の個々のサーバを再スキャンする場合、その操作のログファイルは以下にあります:
C:\ProgramData\Veeam\Backup\Rescan\Rescan_of_<servername>\Job.Rescan_of_<servername>.log
保護グループ全体を再スキャンする場合、その操作のログファイルは以下にあります:
C:\ProgramData\Veeam\Backup\Rescan\Rescan_of_<protection_group>\Job.Rescan_of_<protection_group>.log
Info [<servername>] Trying to install Installer service on <servername>:11731.
Info [RPC] Making sure that the deployment service installed on host [<servername>].
Info [RPC] Creating persistent connection to ADMIN$ shared folder on host [<servername>].
Info [RPC] Creating persistent connection to ADMIN$ shared folder on host [<servername>]. Failed.
Info [RPC] Making sure that the deployment service installed on host [<servername>]. Failed.
Warning [<servername>] Failed to install Installer service on <servername>:11731. Reason: Access is denied.
Warning --tr:Error code: 0x00000005
Warning --tr:Failed to create persistent connection to ADMIN$ shared folder on host [<servername>].
Warning --tr:Failed to install service [VeeamDeploySvc] was not installed on the host [<servername>]. at VeeamProxyClient.GenerateComException(basic_string<char\,std::char_traits<char>\,std::allocator<char> >* excMsg, Int32 errHrCode)
Warning at VeeamProxyClient.RegenerateCLRException(exception* excBase)
Warning at VeeamProxyClient.CCliVeeamDeployer.InstallServiceEx(String svcPath)
Warning at Veeam.Backup.ProxyProvider.CProxyRawDeployerService.Connect(CCliVeeamDeployer veeamDeployer, String srvName, String connectionPoint, Int32 port, CCredentials creds, Boolean install, WindowsIdentity identityForImpersonationOrNull, de)
Warning at Veeam.Backup.ProxyProvider.CProxyRawDeployerService.Connect(String srvName, String[] connectionPoints, CCredentials creds, Int32 configPort, Boolean install, WindowsIdentity identityForImpersonationOrNull, Boolean quickFailureMode, )
Error Access is denied.
Error --tr:Error code: 0x00000005
Error --tr:Failed to create persistent connection to ADMIN$ shared folder on host [<servername>].
Error --tr:Failed to install service [VeeamDeploySvc] was not installed on the host [<servername>]. (System.Runtime.InteropServices.COMException)
Error at VeeamProxyClient.GenerateComException(basic_string<char\,std::char_traits<char>\,std::allocator<char> >* excMsg, Int32 errHrCode)
Error at VeeamProxyClient.RegenerateCLRException(exception* excBase)
原因
Windows Serverがマネージドサーバとして追加される、または保護グループに追加される場合、Veeam Backup & ReplicationはVeeam Installer Service (VeeamDeploySvc)がサーバ上に存在するかどうかを確認します。そのサービスにアクセスできない場合、Veeam Backup & Replicationはadmin$共有経由でマシンに接続し、サービスを展開しようとします。
例:\\localhost\admin$
指定されたユーザーアカウントがローカルアカウントであり、UACがローカルアカウントでのリモート制限をかけている場合、"Access is Denied "エラーが発生します。
解決方法
WindowsマシンがマネージドサーバとしてVeeam Backup & Replication環境に追加される、または保護グループに追加される場合、使用するアカウントは次のいずれかでなければなりません:
- ローカルAdministratorsグループのメンバーであるドメインアカウント
- Administrator という名前の組み込みアカウント
注意:「ユーザーアカウント制御:ビルトインAdministratorアカウントのための管理者承認モード」ポリシーがリモートマシンで有効になっている場合、組み込み Administrator アカウントは失敗することがあります。
ユースケース例:
- Veeam Backup & Replicationに追加されるWindowsマシンがドメインに参加している場合、リモートマシンのローカル管理者グループのメンバーであるドメインアカウントを使用して、サーバをVeeam Backup & Replicationに追加する必要があります。
- Veeam Backup & Replicationに追加するWindowsサーバがドメインに参加していない場合、またはドメインアカウントの使用を避ける必要がある場合、Administratorという名前の組み込みアカウントを使用してサーバをVeeam Backup & Replicationに追加する必要があります。他のローカルアカウントはAdministratorsグループのメンバーであってもUACによって制限されます。
注意: Administrator アカウントの名前が変更されている場合は、リモート UAC 制限をバイパスするユニークなSID となり、そのアカウントは使用できます。 - Veeam Backup & Replicationに追加するWindowsマシンがドメインに参加しておらず、サーバOSでもない場合、組み込みAdministratorアカウントを有効にし、パスワードを設定する必要があります。そして、そのアカウントを使用してマシンをVeeam Backup & Replicationに追加する必要があります。
その他の情報
If this KB article did not resolve your issue or you need further assistance with Veeam software, please create a Veeam Support Case.
To submit feedback regarding this article, please click this link: Send Article Feedback
To report a typo on this page, highlight the typo with your mouse and press CTRL + Enter.