--- title: "SetExtendedProtectionSettings Method (WMI MSReportServer_ConfigurationSetting) | Microsoft Docs" ms.custom: "" ms.date: "06/14/2017" ms.prod: "sql-server-2014" ms.reviewer: "" ms.technology: "reporting-services-native" ms.topic: conceptual ms.assetid: 2d8e7232-42f4-41b6-98eb-c856f6c85d8c author: maggiesMSFT ms.author: maggies manager: kfile --- # SetExtendedProtectionSettings Method (WMI MSReportServer_ConfigurationSetting) The SetExtendedProtectionSettings method is used to set the RSWindowsExtendedProtectionLevel and the RSWindowsExtendedProtectionScenario properties in the [!INCLUDE[ssRSnoversion](../../includes/ssrsnoversion-md.md)] configuration file RSReportServer.config. ## Syntax ```vb Public Sub SetExtendedProtectionSettings( _ ByVal ExtendedProtectionLevel As String, _ ByVal ExtendedProtectionScenario As String, _ ByRef Warnings() As String, _ ByRef Length As Int32, _ ByRef HRESULT As Int32) ``` ```csharp public void SetExtendedProtectionSettings( string ExtendedProtectionLevel, string ExtendedProtectionScenario, out string[] Warnings, out Int32 Length, out Int32 HRESULT); ``` ## Parameters *ExtendedProtectionLevel* Sets the RSWindowsExtendedProtectionLevel in the RSRreportserver.config file. The required value is not case sensitive. The following list shows valid values: `"Off | Allow | Require"` *ExtendedProtectionScenario* Sets the RSWindowsExtendedProtectionScenario in the RSReportserver.config file. The required value is not case sensitive. The following list shows valid values: `"Any" | "Proxy" | "Direct"` ## Remarks The RSWindowsExtendedProtectionLevel and the RSWindowsExtendedProtectionScenario properties apply when the AuthenticationTypes in the RSReportServer.config file include RSWindowNTLM, RSWindowsNegotiate, or RSWindowsKerberos. Setting these properties affects how users and client software authenticate with a report server. It is recommended that you read the documentation for extended protection before setting ExtendedProtectionLevel to either `Allow` or `Require`. To set the ExtendedProtectionLevel, the user must be a member of the BUILTIN\Administrators group on the report server. ## Requirements **Namespace:** [!INCLUDE[ssRSWMInmspcA](../../includes/ssrswminmspca-md.md)] ## See Also [RSWindowsExtendedProtectionScenario Property (WMI MSReportServer_ConfigurationSetting)](rswindowsextendedprotectionscenario-property.md) [RSWindowsExtendedProtectionLevel Property (WMI MSReportServer_ConfigurationSetting)](rswindowsextendedprotectionlevel-property.md) [Extended Protection for Authentication with Reporting Services](../security/extended-protection-for-authentication-with-reporting-services.md) [RSReportServer Configuration File](../report-server/rsreportserver-config-configuration-file.md)