Sdílet prostřednictvím


Configure PowerPoint service application settings

 

Applies to: PowerPoint Web App Preview

Topic Last Modified: 2011-08-05

Banner stating end of support date for Office 2010 with link to more info

The information provided in this article about configuring the PowerPoint service application is aimed at IT pros who maintain Microsoft Office Web Apps installed on Microsoft SharePoint 2010 Products on a stand-alone server or on a server farm. SharePoint 2010 Products in this article refers to Microsoft SharePoint Server 2010 and Microsoft SharePoint Foundation 2010 unless otherwise noted.

This article contains the following sections:

  • Configure the PowerPoint service application settings

  • Set maximum worker processes by using Windows PowerShell

Configure the PowerPoint service application settings

The PowerPoint service application settings page allows administrators to set supported file formats, determine or specify a broadcast site URL, and disable presentation scanning.

To configure the PowerPoint service application settings

  1. Verify that you have the following administrative credentials:

    • To change settings for the Office Web Apps service applications, you must be a member of the Farm Administrators SharePoint group on the computer that is running the SharePoint Central Administration Web site.
  2. On the Central Administration Web site, in the Application Management section, click Manage service applications.

  3. On the Service Applications page, click PowerPoint Service Application.

  4. On the PowerPoint Service Application page, configure the following settings:

    Supported File Formats   Specify which presentation types users will be able to view by using this PowerPoint service application. If the file format is not selected, consumers of this service will receive an error when they attempt to view this file type in the Web browser.

    • Office Open XML Presentation   Select this setting to support .pptx, .pptm, .potx, and .potm file formats.

    • PowerPoint 97-2003 Presentation   Select this setting to support .ppt and .pot file formats.

    Broadcast Site   Users can connect to a broadcast site from Microsoft PowerPoint 2010 and broadcast a slide show to remote attendees who can watch by using a Web browser. When the PowerPoint service application is created, a default site will be created and its URL displayed. You can create another broadcast site at another location by creating a new site collection using the PowerPoint Broadcast Site template.

    PowerPoint 97-2003 Presentation Scanning   To provide added security when you are loading Microsoft PowerPoint 97 through PowerPoint 2003 documents, the PowerPoint service application performs extra checks for malicious content before opening the document in the browser. These checks can have an effect on overall server performance. Disable this setting only if you trust all documents that are loaded by this service instance. By default, document scanning is enabled. To disable scanning, select Disable PowerPoint 97-2003 presentation scanning.

Set maximum worker processes by using Windows PowerShell

You can set the maximum number of worker processes that are permitted to service requests for the PowerPoint service application. Set the value for maximum worker processes high enough to allow for a maximum number of service requests without diminishing worker processes from other applications. A low number of worker processes can reduce performance and resource consumption of the PowerPoint service application. Other factors such as cache size and computer specifications might suggest a different number of maximum worker processes. For typical use, it is recommended that you set two worker processes for each service application per core processor.

Some procedures in this task require using Windows PowerShell or SharePoint 2010 Management Shell to run cmdlets. To run SharePoint 2010 cmdlets in Windows PowerShell, you must add the Microsoft.SharePoint.PowerShell snapin by using the Add-PSSnapin cmdlet, or you can run the SharePoint 2010 cmdlets by using SharePoint 2010 Management Shell. By default, the Microsoft.SharePoint.PowerShell snapin is already registered, and the snapin is added to the SharePoint 2010 Management Shell. To run SharePoint 2010 cmdlets, you must be a member of the SharePoint_Shell_Access role on the configuration database and a member of the WSS_ADMIN_WPG local group on the computer where SharePoint 2010 Products is installed. To run scripts in Windows PowerShell or SharePoint 2010 Management Shell, you must set the execution policy by using the set-executionpolicy cmdlet, using the unrestricted parameter. For more information about the Add-PSSnapin cmdlet, see Add-PSSnapin. For more information about using Windows PowerShell with SharePoint 2010 Products, see SharePoint 2010 Products administration by using Windows PowerShell.

To set maximum worker processes for the PowerPoint Viewing service application by using Windows PowerShell

  1. Using Notepad, create a text file and then copy and paste the following script into the file.

    This example specifies two worker processes for each core processor on a server with four core processors (2 worker processes x 4 core processors):

    Get-SPPowerPointServiceApplication | Set-SPPowerPointServiceApplication -ViewingWorkerProcessCount 8
    
  2. Specify the following parameters:

    Parameter Value

    -ViewingWorkerProcessCount

    Number (total worker processes)

  3. Save the file with a .ps1 file name extension to a folder where you run scripts (typically C:\scripts).

  4. In the Windows PowerShell console, at the command prompt (that is, PS C:\>), type the following command and press ENTER:

    C:\<path>\<filename>.ps1