Additional SQL Server features and topics not covered by specific categories
SQL Installation on Remote Server
Hello Experts
I'm having some trouble with installing a SQL Server on a Remote Server. I have the ISO on the Remote Server with the configurationfile.ini, that is used for the installation. I want to start the setup.exe with PowerShell and I start the installation with:
Invoke-Command -ComputerName $remoteServer -ScriptBlock {
param (
$remoteCommand
)
Invoke-Expression -Command $remoteCommand
} -ArgumentList $remoteCommand
While the remoteCommand is
$remoteCommand = "\$remoteServer\c$\Users$currentUsername\Downloads\setup.exe /ConfigurationFile=$remoteConfigFile
Now for the problem. I get the error: Acces is denied for UpdateResult. I start the script as administrator, that has rights to access any directory and also has access to write anywhere. I have also disabled UAC and startet the service for Remote registry, since it looks like it has problems with writing in there. I can start the script locally without any problems and also writing registry keys is not a problem. Does someone have an idea what the problem could be? Here is also the summary.txt if it helps: Summary.txt
Thank you in advance and kind Regards
Johannes