Reverting to the Default Settings - Archive Services for Microsoft SharePoint - English - Foundation 22.1 - OnBase - Essential - Premier - Standard - external - Essential - Premier - Standard

Archive Services for Microsoft SharePoint

Platform
OnBase
Product
Archive Services for Microsoft SharePoint
Release
Foundation 22.1
License
Essential
Premier
Standard

The following steps describe how to undo the changes made by the previous script. Perform this procedure only after you have configured Archive Services. If you need to make a change to Archive Services configuration, then you must re-run the script in the previous procedure.

To revert to the default settings:

  1. Copy the following text into Notepad, and save the file with an extension of .ps1.
    function Set-RemoteAdministratorAccessDenied-True()
    {
    [System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SharePoint") > $null
    [System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SharePoint.Administration") > $null
    $contentService = [Microsoft.SharePoint.Administration.SPWebService]::ContentService
    $contentService.RemoteAdministratorAccessDenied = $true
    $contentService.Update()
    }
    Set-RemoteAdministratorAccessDenied-True
  2. Complete steps 2- 8 outlined in Enabling Access to Archive Services Configuration (SharePoint 2019), using the file you just created.