Quantcast
Channel: Forum Remote Desktop Services (Terminal Services)
Viewing all articles
Browse latest Browse all 27650

Access to the object at RDS:\LicenseServer\ActivationStatus is denied for the cmdlet Set-Item -Windows2008R2

$
0
0

Hi

I am trying to automate activating server on a Windows 2008 R2 system  which is not connected to internet . The script used is  Set-ItemRDS:\LicenseServer\ActivationStatus-Value1-ConnectionMethodPW-LSID$ServerLicenseID

When exectuted on Windows 2008 R2 throw the following error . I am connecting to the server remotely using mstsc and executing the script .

Error thrown

Set-Item : Access to the object at RDS:\LicenseServer\ActivationStatus is denied for the cmdlet Set-Item+ CategoryInfo          : PermissionDenied: (:) [Set-Item], AccessViolationException
+ FullyQualifiedErrorId : PermissionDenied,Microsoft.PowerShell.Commands.SetItemCommand

Please suggest how to fix this .

Regards

Somaraj


Viewing all articles
Browse latest Browse all 27650

Latest Images

Trending Articles



Latest Images

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