Getting below error “Access Denied” error while Installing MSSQL Server on Windows server.
Error log :-
“Error: Action "Microsoft.SqlServer.Configuration.SmartSetupExtension.SearchUpdatesAction" threw an exception during execution.”,
“Microsoft.SqlServer.Setup.Chainer.Workflow.ActionExecutionException: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) —> System.UnauthorizedAccessException: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))”
This sets become and become_method as the task directives so the task is actually run with become. It also sets the become credentials to the same as your connection credentials without an extra flags.