Running the Composer.MWS Service without Administrator Rights - Advanced Design and Setup - Foundation 23.2 - Foundation 23.2 - Ready - Content Composer - external

Content Composer Advanced Design and Setup

Platform
Content Composer
Product
Advanced Design and Setup
Release
Foundation 23.2
License
To run the Composer.MWS service with a user account without administrator rights:
  1. To reserve the URLs, you must execute the following commands in a Command Prompt window with administrator rights, replacing the port number and the account name with the appropriate values. If you are using http, replace url=https with url=http.
    1. netsh http add urlacl url=https://+:[Port Number]/mws/ user=[Windows-user-account]
    2. netsh http add urlacl url=https://+:[Port Number]/mws/ user=[Windows-user-account]
    3. netsh http add urlacl url=https://+:[Port Number]/mwsbasic/ user=[Windows-user-account]
    4. netsh http add urlacl url=https://+:[Port Number]/mwsrest/ user=[Windows-user-account]
    5. netsh http add urlacl url=https://+:[Port Number]/RemoteDebugger/ user=[Windows-user-account]
    6. netsh http add urlacl url=https://+:[Port Number]/RemoteControlService/ user=[Windows-user-account]
    7. netsh http add urlacl url=https://+:[Port Number] user=[Windows-user-account]
  2. From the %Composerdir% directory, open Composer.MWS.exe.config with a text editor.
  3. For the first command, search for the first <add baseAddress element ending with /mws and use the port number used in this element to execute the command.

    Example: <add baseAddress="http://localhost:8010/mws" />

    Command to execute: netsh http add urlacl url=https://+:8010/mws/ user=[Windows-user-account]

  4. For the second command, search for the second <add baseAddress element ending with /mws and use the port number used in this element to execute the command.

    Example: <add baseAddress="http://localhost:8011/mws" />

    Command to execute: netsh http add urlacl url=https://+:8011/mws/ user=[Windows-user-account]

  5. For the third command, search for the <add baseAddress element ending with /mwsbasic and use the port number used in this element to execute the command.

    Example: <add baseAddress="https://localhost:8111/mwsbasic" />

    Command to execute: netsh http add urlacl url=https://+:8111/mwsbasic/ user=[Windows-user-account]

  6. For the fourth command, search for the <add baseAddress element ending with ending with /mwsrest and use the port number used in this element to execute the command.

    Example: <add baseAddress="https://localhost:8111/mwsrest" />

    Command to execute: netsh http add urlacl url=https://+:8111/mwsrest/ user=[Windows-user-account]

  7. For the fifth command, search for the <endpoint address element for /RemoteDebugger and use the port number used in this element to execute the command.

    Example: <endpoint address="http://127.0.0.1:8012/RemoteDebugger" ...

    Command to execute: netsh http add urlacl url= https://+:8012/RemoteDebugger/ user=[Windows-user-account]

  8. For the sixth command, search for the <endpoint address element for /RemoteControlService and use the port number used in this element to execute the command.

    Example: <endpoint address="http://127.0.0.1:4721/RemoteControlService" ...

    Command to execute: netsh http add urlacl url= https://+:4721/RemoteControlService/ user=[Windows-user-account]

  9. For the seventh command, search for the line starting with <mwswebapi ipport= and use the port number used in this element to execute the command.

    Example: <mwswebapi ipport="9010" ...

    Command to execute: netsh http add urlacl url=https://+:9010/ user=[Windows-user-account]

  10. Execute the following command using all ports used in the previously executed commands.

    Example: netsh http add urlacl url=https://+:[PortNumber]/ user=[Windows-user-account]

    Commands to execute:
    netsh http add urlacl url=https://+:8010/ user=[Windows-user-account]
                        netsh http add urlacl url=https://+:8011/ user=[Windows-user-account]
                        netsh http add urlacl url=https://+:8111/ user=[Windows-user-account]
                        netsh http add urlacl url=https://+:8012/ user=[Windows-user-account]
                        netsh http add urlacl url=https://+:4721/ user=[Windows-user-account]
  11. On the Content Composer server, open the Local Computer - Personal - Certificates certificate store.
  12. Right-click the composer.server certificate and then click All Tasks | Manage Private Keys.
  13. In the Permission for composer.server private keys dialog box, add the user account used in this topic.
  14. Verify that the added user account has at least read access and then click OK.
  15. Right-click the composer.service certificate and then click All Tasks | Manage Private Keys.
  16. In the Permission for composer.service private keys dialog box, add the user account used in this topic.
  17. Verify that the added user account has at least read access and then click OK.
  18. Complete the steps in Granting Access Rights to the RSA Container in the Content Composer Installation Guide for the user account used in this topic.
  19. If you are using HTTPS, you must grant the user account the needed rights for the SSL certificate. Complete the following substeps:
    1. On the Content Composer server, open the certificate manager and locate the SSL certificate.
    2. Right-click the SSL certificate and then click All Tasks | Manage Private Keys.
    3. In the Permission dialog box, add the user account used in this topic.
    4. Verify that the added user account has at least read access and then click OK.