Quantcast
Channel: VMware Communities : Discussion List - Site Recovery Manager
Viewing all articles
Browse latest Browse all 3691

VRMGuestAgent Elevated Powershell

$
0
0

We recently deployed vRA in our environment and got everything working with VMware Professional Services.  That engagement is over and we have decided to implement a new flavor of windows in our catalog.  I have installed the VRM Guest Agent on the template, and have it communicating.  However, any action that makes a change will not work. I keep getting errors like this:

 

2017-02-01 11:00:17.163] [I] Set-ItemProperty : Requested registry access is not allowed.

At C:\Windows\TEMP\vmware36\vco_vmware217.ps1:20 char:3

+         Set-ItemProperty -Path $TLSClient -Name $name -Value $SetValue

+         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    + CategoryInfo          : PermissionDenied: (HKEY_LOCAL_MACH...\TLS 1.0\Cl

   ient:String) [Set-ItemProperty], SecurityException

    + FullyQualifiedErrorId : System.Security.SecurityException,Microsoft.Powe

   rShell.Commands.SetItemPropertyCommand

 

The account we are using is a local admin on the box.  The script runs fine from the local box in an elevated powershell session. A little digging on google turns up that the script in the guest agent isn't running elevated.

 

How do i fix this?  I've followed several blogs to install the agent, but can't seem to figure this out.

 

Any help is greatly appreciated!

 

Thanks.


Viewing all articles
Browse latest Browse all 3691

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>