<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>article How To Run Set-DomainUser Privilege Cloud Script in PAM SaaS Articles</title>
    <link>https://live.paloaltonetworks.com/t5/pam-saas-articles/how-to-run-set-domainuser-privilege-cloud-script/ta-p/1428154</link>
    <description>&lt;P dir="auto"&gt;Set-DomainUser automates the process of configuring PSM to use domain-based PSMConnect and PSMAdminConnect accounts.&lt;/P&gt;
&lt;P dir="auto"&gt;Set-DomainUser is provided as part of the Privilege Cloud Tools package, and depends on other components in Privilege Cloud Tools, so it should be kept together with the rest of the package.&lt;/P&gt;
&lt;DIV dir="auto"&gt;
&lt;H1 dir="auto"&gt;Usage&lt;/H1&gt;
&lt;A href="https://github.com/pCloudServices/Set-DomainUser/blob/main/Set-DomainUser-readme.md#usage" id="user-content-usage" target="_blank"&gt;&lt;/A&gt;&lt;/DIV&gt;
&lt;OL dir="auto"&gt;&lt;LI&gt;Create domain-based users as per the following instructions:
&lt;OL dir="auto" style="list-style-type: lower-roman;"&gt;&lt;LI&gt;&lt;A href="https://docs.cyberark.com/PrivCloud-SS/Latest/en/Content/PAS%20INST/Optional-Moving-the-PSMConnec-and-PSMAdminConnect-users-to-your-Domain.htm#CreatethePSMConnectandPSMAdminConnectusersinyourdomain" target="_blank"&gt;https://docs.cyberark.com/PrivCloud-SS/Latest/en/Content/PAS%20INST/Optional-Moving-the-PSMConnec-and-PSMAdminConnect-users-to-your-Domain.htm#CreatethePSMConnectandPSMAdminConnectusersinyourdomain&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://docs.cyberark.com/PrivCloud-SS/Latest/en/Content/PAS%20INST/Optional-Moving-the-PSMConnec-and-PSMAdminConnect-users-to-your-Domain.htm#ModifythedomainusersinActiveDirectory" target="_blank"&gt;https://docs.cyberark.com/PrivCloud-SS/Latest/en/Content/PAS%20INST/Optional-Moving-the-PSMConnec-and-PSMAdminConnect-users-to-your-Domain.htm#ModifythedomainusersinActiveDirectory&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://docs.cyberark.com/PrivCloud-SS/Latest/en/Content/PAS%20INST/Optional-Moving-the-PSMConnec-and-PSMAdminConnect-users-to-your-Domain.htm#HardentheActiveDirectorysettingsforthenewdomainusersoptional" target="_blank"&gt;https://docs.cyberark.com/PrivCloud-SS/Latest/en/Content/PAS%20INST/Optional-Moving-the-PSMConnec-and-PSMAdminConnect-users-to-your-Domain.htm#HardentheActiveDirectorysettingsforthenewdomainusersoptional&lt;/A&gt;&lt;/LI&gt;&lt;/OL&gt;
&lt;/LI&gt;&lt;LI&gt;Open an Admin Powershell in the&amp;nbsp;&lt;CODE&gt;PSM Convert local2domain Users&lt;/CODE&gt;&amp;nbsp;subdirectory of Privilege Cloud Tools and run the script, e.g.&amp;nbsp;&lt;CODE&gt;.\Set-DomainUser.ps1&lt;/CODE&gt;&lt;/LI&gt;&lt;/OL&gt;
&lt;P dir="auto"&gt;Set-DomainUser will prompt for inputs as required. At a minimum, you will need to confirm your domain details and provide the installer user details.&lt;/P&gt;
&lt;P dir="auto"&gt;Set-DomainUser will perform the following actions:&lt;/P&gt;
&lt;UL dir="auto"&gt;&lt;LI&gt;Confirm domain name details&lt;/LI&gt;&lt;LI&gt;Request installer user details&lt;/LI&gt;&lt;LI&gt;Attempt to retrieve PSM user details from Privilege Cloud
&lt;UL dir="auto"&gt;&lt;LI&gt;If users exist, review their details to ensure they match the environment&lt;/LI&gt;&lt;LI&gt;If users do not exist, request their details (pre-Windows 2000 usernames (samAccountNames) and passwords)&lt;/LI&gt;&lt;/UL&gt;
&lt;/LI&gt;&lt;LI&gt;Test PSM user credentials and configuration&lt;/LI&gt;&lt;LI&gt;As required:
&lt;UL dir="auto"&gt;&lt;LI&gt;Create PSM safe&lt;/LI&gt;&lt;LI&gt;Create account platform&lt;/LI&gt;&lt;LI&gt;Onboard PSM accounts&lt;/LI&gt;&lt;/UL&gt;
&lt;/LI&gt;&lt;LI&gt;Adjust local PSM server configuration&lt;/LI&gt;&lt;LI&gt;Configure PSM server object in Privilege Cloud with new PSM user details&lt;/LI&gt;&lt;LI&gt;Add PSM users to the Remote Desktop Users group&lt;/LI&gt;&lt;LI&gt;Grant PSM users the "Allow log on through Remote Desktop Services" user right in security policy&lt;/LI&gt;&lt;LI&gt;Grant the PSMAdminConnect user permission to monitor sessions&lt;/LI&gt;&lt;LI&gt;Run PSMHardening and PSMConfigureAppLocker scripts to correct permissions&lt;/LI&gt;&lt;LI&gt;Display a list of any remaining tasks to perform&lt;/LI&gt;&lt;/UL&gt;
&lt;H3&gt;Steps&lt;/H3&gt;
&lt;P dir="auto"&gt;The default execution method (without any parameters) should fit most use cases, but behaviour can be adjusted in a few ways, as outlined here.&lt;/P&gt;
&lt;DIV dir="auto"&gt;
&lt;H2 dir="auto"&gt;Supporting PSM environments in different domains/environments&lt;/H2&gt;
&lt;A href="https://github.com/pCloudServices/Set-DomainUser/blob/main/Set-DomainUser-readme.md#supporting-psm-environments-in-different-domainsenvironments" id="user-content-supporting-psm-environments-in-different-domainsenvironments" target="_blank"&gt;&lt;/A&gt;&lt;/DIV&gt;
&lt;P dir="auto"&gt;If your PSM servers are spread across multiple environments, you may need multiple sets of PSM accounts.&lt;/P&gt;
&lt;P dir="auto"&gt;By default, Set-DomainUser assumes that:&lt;/P&gt;
&lt;UL dir="auto"&gt;&lt;LI&gt;Accounts will be stored in the&amp;nbsp;&lt;CODE&gt;PSM&lt;/CODE&gt;&amp;nbsp;safe&lt;/LI&gt;&lt;LI&gt;The PSMConnect account will have an account name of&amp;nbsp;&lt;CODE&gt;PSMConnect&lt;/CODE&gt;&lt;/LI&gt;&lt;LI&gt;The PSMAdminConnect account will have an account name of&amp;nbsp;&lt;CODE&gt;PSMAdminConnect&lt;/CODE&gt;&lt;/LI&gt;&lt;/UL&gt;
&lt;P dir="auto"&gt;You may need to use the options in the following scenarios to change this behaviour, depending on exact requirements. These options can be combined if required.&lt;/P&gt;
&lt;DIV dir="auto"&gt;
&lt;H3 dir="auto"&gt;Scenario 1: The same Password Manager cannot manage every set of PSM accounts&lt;/H3&gt;
&lt;A href="https://github.com/pCloudServices/Set-DomainUser/blob/main/Set-DomainUser-readme.md#scenario-1-the-same-password-manager-cannot-manage-every-set-of-psm-accounts" id="user-content-scenario-1-the-same-password-manager-cannot-manage-every-set-of-psm-accounts" target="_blank"&gt;&lt;/A&gt;&lt;/DIV&gt;
&lt;P dir="auto"&gt;In this scenario, the new set of PSM accounts need to be stored in a separate safe, so that a different Password Manager can be assigned.&lt;/P&gt;
&lt;P dir="auto"&gt;Use the&amp;nbsp;&lt;CODE&gt;Safe&lt;/CODE&gt;&amp;nbsp;parameter for this purpose, for example, to store the accounts in a safe called&amp;nbsp;&lt;CODE&gt;PSM-UK&lt;/CODE&gt;, use:&lt;BR /&gt;&lt;CODE&gt;.\Set-DomainUser.ps1 -Safe PSM-UK&lt;/CODE&gt;&lt;/P&gt;
&lt;P dir="auto"&gt;Set-DomainUser will create the safe and grant the required permissions automatically.&lt;/P&gt;
&lt;DIV dir="auto"&gt;
&lt;H3 dir="auto"&gt;Scenario 2: A PSM server is in a separate domain from the existing PSM accounts&lt;/H3&gt;
&lt;A href="https://github.com/pCloudServices/Set-DomainUser/blob/main/Set-DomainUser-readme.md#scenario-2-a-psm-server-is-in-a-separate-domain-from-the-existing-psm-accounts" id="user-content-scenario-2-a-psm-server-is-in-a-separate-domain-from-the-existing-psm-accounts" target="_blank"&gt;&lt;/A&gt;&lt;/DIV&gt;
&lt;P dir="auto"&gt;In this scenario, the existing accounts, with names&amp;nbsp;&lt;CODE&gt;PSMConnect&lt;/CODE&gt;&amp;nbsp;and&amp;nbsp;&lt;CODE&gt;PSMAdminConnect&lt;/CODE&gt;&amp;nbsp;reference a domain separate from the PSM server that is being configured.&lt;/P&gt;
&lt;P dir="auto"&gt;Use the&amp;nbsp;&lt;CODE&gt;PSMConnectAccountName&lt;/CODE&gt;&amp;nbsp;and&amp;nbsp;&lt;CODE&gt;PSMAdminConnectAccountName&lt;/CODE&gt;&amp;nbsp;parameters to specify alternative account names, for example:&lt;BR /&gt;&lt;CODE&gt;.\Set-DomainUser.ps1 -PSMConnectAccountName PSMConnect-UK -PSMAdminConnectAccountName PSMAdminConnect-UK&lt;/CODE&gt;&lt;/P&gt;
&lt;P dir="auto"&gt;As mentioned, options from these scenarios can be combined. If a PSM server is both in a separate domain, and needs a CPM separate from the other domain, you can use both the account name and safe parameters, e.g.&lt;BR /&gt;&lt;CODE&gt;.\Set-DomainUser.ps1 -Safe PSM-UK -PSMConnectAccountName PSMConnect-UK -PSMAdminConnectAccountName PSMAdminConnect-UK&lt;/CODE&gt;&lt;/P&gt;
&lt;DIV dir="auto"&gt;
&lt;H2 dir="auto"&gt;Local Configuration Only&lt;/H2&gt;
&lt;A href="https://github.com/pCloudServices/Set-DomainUser/blob/main/Set-DomainUser-readme.md#local-configuration-only" id="user-content-local-configuration-only" target="_blank"&gt;&lt;/A&gt;&lt;/DIV&gt;
&lt;P dir="auto"&gt;If Privilege Cloud has been configured already, you may want to repeat only the configuration of PSM, as it's not necessary to onboard accounts or configure the PSM object again. This can be useful for repairing the PSM configuration in case issues were encountered during an upgrade or other situations.&lt;/P&gt;
&lt;P dir="auto"&gt;To use this option, run Set-DomainUser with the LocalConfigurationOnly option, e.g.&amp;nbsp;&lt;CODE&gt; .\Set-DomainUser.ps1 -LocalConfigurationOnly&lt;/CODE&gt;&lt;/P&gt;
&lt;DIV dir="auto"&gt;
&lt;H2 dir="auto"&gt;Skip Tests and Ignore Errors&lt;/H2&gt;
&lt;A href="https://github.com/pCloudServices/Set-DomainUser/blob/main/Set-DomainUser-readme.md#skip-tests-and-ignore-errors" id="user-content-skip-tests-and-ignore-errors" target="_blank"&gt;&lt;/A&gt;&lt;/DIV&gt;
&lt;P dir="auto"&gt;Some of the automated actions performed by Set-DomainUser may be prevented by system hardening or other configurations. Set-DomainUser may be instructed to skip many of these actions, or ignore errors, to allow the process to complete, allowing you to address outstanding issues separately.&lt;/P&gt;
&lt;TABLE style="width: max-content;"&gt;&lt;/TABLE&gt;
&lt;TABLE border="1" style="width: max-content;border-width: 1px;"&gt;&lt;THEAD&gt;&lt;TR&gt;&lt;TH colspan="1" rowspan="1" style="border-width: 1px;"&gt;Action or Error&lt;/TH&gt;&lt;TH colspan="1" rowspan="1" style="border-width: 1px;"&gt;Parameter to skip or ignore&lt;/TH&gt;&lt;/TR&gt;&lt;/THEAD&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD colspan="1" rowspan="1" style="border-width: 1px;"&gt;Check domain-based PSM user configurations (Initial Program, Session timeout settings, username/password accuracy, etc.)&lt;/TD&gt;&lt;TD colspan="1" rowspan="1" style="border-width: 1px;"&gt;&lt;CODE&gt;-SkipPSMUserTests&lt;/CODE&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD colspan="1" rowspan="1" style="border-width: 1px;"&gt;Configure PSM server object (Privilege Cloud portal &amp;gt; Configuration Options &amp;gt; Privileged Session Management &amp;gt; PSM Servers)&lt;/TD&gt;&lt;TD colspan="1" rowspan="1" style="border-width: 1px;"&gt;&lt;CODE&gt;-SkipPSMObjectUpdate&lt;/CODE&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD colspan="1" rowspan="1" style="border-width: 1px;"&gt;Grant PSM users the "Allow log on through Remote Desktop Services" user right in security policy&lt;/TD&gt;&lt;TD colspan="1" rowspan="1" style="border-width: 1px;"&gt;&lt;CODE&gt;-SkipSecurityPolicyConfiguration&lt;/CODE&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD colspan="1" rowspan="1" style="border-width: 1px;"&gt;Automatically add PSM users to the Remote Desktop Users group&lt;/TD&gt;&lt;TD colspan="1" rowspan="1" style="border-width: 1px;"&gt;&lt;CODE&gt;-SkipAddingUsersToRduGroup&lt;/CODE&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD colspan="1" rowspan="1" style="border-width: 1px;"&gt;Error while granting PSMAdminConnect Shadow permissions (permission to monitor sessions). This can be caused by a policy which prevents modification of RDP permissions.&lt;/TD&gt;&lt;TD colspan="1" rowspan="1" style="border-width: 1px;"&gt;&lt;CODE&gt;-IgnoreShadowPermissionErrors&lt;/CODE&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD colspan="1" rowspan="1" style="border-width: 1px;"&gt;Run PSMHardening script after execution to adjust file/folder permissions to allow PSM users access to relevant files and folders&lt;/TD&gt;&lt;TD colspan="1" rowspan="1" style="border-width: 1px;"&gt;&lt;CODE&gt;-DoNotHarden&lt;/CODE&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD colspan="1" rowspan="1" style="border-width: 1px;"&gt;Run PSMConfigureAppLocker script after execution to restrict the applications which can be accessed in PSM sessions&lt;/TD&gt;&lt;TD colspan="1" rowspan="1" style="border-width: 1px;"&gt;&lt;CODE&gt;-DoNotConfigureAppLocker&lt;/CODE&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;
&lt;DIV dir="auto"&gt;
&lt;H1 dir="auto"&gt;Full parameter reference&lt;/H1&gt;
&lt;A href="https://github.com/pCloudServices/Set-DomainUser/blob/main/Set-DomainUser-readme.md#full-parameter-reference" id="user-content-full-parameter-reference" target="_blank"&gt;&lt;/A&gt;&lt;/DIV&gt;
&lt;P dir="auto"&gt;There are some less-used parameters not covered above. The following table contains all available parameters.&lt;/P&gt;
&lt;TABLE border="1" style="width: max-content;border-width: 1px;"&gt;&lt;THEAD&gt;&lt;TR&gt;&lt;TH colspan="1" rowspan="1" style="border-width: 1px;"&gt;Parameter&lt;/TH&gt;&lt;TH colspan="1" rowspan="1" style="border-width: 1px;"&gt;Purpose&lt;/TH&gt;&lt;TH colspan="1" rowspan="1" style="border-width: 1px;"&gt;Notes&lt;/TH&gt;&lt;/TR&gt;&lt;/THEAD&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD colspan="1" rowspan="1" style="border-width: 1px;"&gt;InstallUser&lt;/TD&gt;&lt;TD colspan="1" rowspan="1" style="border-width: 1px;"&gt;Installeruser credentials.&lt;/TD&gt;&lt;TD colspan="1" rowspan="1" style="border-width: 1px;"&gt;If not provided you will be prompted for them.&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD colspan="1" rowspan="1" style="border-width: 1px;"&gt;PSMConnectCredentials&lt;/TD&gt;&lt;TD colspan="1" rowspan="1" style="border-width: 1px;"&gt;PSMConnect user credentials.&lt;/TD&gt;&lt;TD colspan="1" rowspan="1" style="border-width: 1px;"&gt;If not provided you will be prompted for them.&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD colspan="1" rowspan="1" style="border-width: 1px;"&gt;PSMAdminConnectCredentials&lt;/TD&gt;&lt;TD colspan="1" rowspan="1" style="border-width: 1px;"&gt;PSMAdminConnect credentials.&lt;/TD&gt;&lt;TD colspan="1" rowspan="1" style="border-width: 1px;"&gt;If not provided you will be prompted for them.&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD colspan="1" rowspan="1" style="border-width: 1px;"&gt;PrivilegeCloudUrl&lt;/TD&gt;&lt;TD colspan="1" rowspan="1" style="border-width: 1px;"&gt;The full address of the Privilege Cloud API host.&lt;/TD&gt;&lt;TD colspan="1" rowspan="1" style="border-width: 1px;"&gt;e.g.:&amp;nbsp;&lt;CODE&gt;&lt;A href="https://tenantname.privilegecloud.cyberark.cloud" target="_blank"&gt;https://tenantname.privilegecloud.cyberark.cloud&lt;/A&gt;&lt;/CODE&gt;. Should be detected automatically, only use this option if auto-detection fails.&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD colspan="1" rowspan="1" style="border-width: 1px;"&gt;VaultAddress&lt;/TD&gt;&lt;TD colspan="1" rowspan="1" style="border-width: 1px;"&gt;FQDN or IP address of the vault.&lt;/TD&gt;&lt;TD colspan="1" rowspan="1" style="border-width: 1px;"&gt;Should be detected automatically, only use this option if auto-detection fails.&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD colspan="1" rowspan="1" style="border-width: 1px;"&gt;DomainDNSName&lt;/TD&gt;&lt;TD colspan="1" rowspan="1" style="border-width: 1px;"&gt;The DNS name of the domain of the created accounts e.g.: "lab.net".&lt;/TD&gt;&lt;TD colspan="1" rowspan="1" style="border-width: 1px;"&gt;If this and DomainNetbiosName are both provided, Set-DomainUser will skip the domain names confirmation prompt.&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD colspan="1" rowspan="1" style="border-width: 1px;"&gt;DomainNetbiosName&lt;/TD&gt;&lt;TD colspan="1" rowspan="1" style="border-width: 1px;"&gt;The NETBIOS name of the domain of the created accounts e.g.: "LAB".&lt;/TD&gt;&lt;TD colspan="1" rowspan="1" style="border-width: 1px;"&gt;If this and DomainDNSName are both provided, Set-DomainUser will skip the domain names confirmation prompt.&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD colspan="1" rowspan="1" style="border-width: 1px;"&gt;Safe&lt;/TD&gt;&lt;TD colspan="1" rowspan="1" style="border-width: 1px;"&gt;The safe in which to save the domain accounts.&lt;/TD&gt;&lt;TD colspan="1" rowspan="1" style="border-width: 1px;"&gt;Default:&amp;nbsp;&lt;CODE&gt;PSM&lt;/CODE&gt;. If it does not exist it will be created.&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD colspan="1" rowspan="1" style="border-width: 1px;"&gt;PlatformName&lt;/TD&gt;&lt;TD colspan="1" rowspan="1" style="border-width: 1px;"&gt;The name of the platform which will be used by the PSM accounts&lt;/TD&gt;&lt;TD colspan="1" rowspan="1" style="border-width: 1px;"&gt;Default:&amp;nbsp;&lt;CODE&gt;WIN-DOM-PSMADMIN-ACCOUNT&lt;/CODE&gt;. If it does not exist it will be created.&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD colspan="1" rowspan="1" style="border-width: 1px;"&gt;IgnoreShadowPermissionErrors&lt;/TD&gt;&lt;TD colspan="1" rowspan="1" style="border-width: 1px;"&gt;Continue running if the script is unable to grant the PSMAdminConnect user permission to shadow sessions&lt;/TD&gt;&lt;TD colspan="1" rowspan="1" style="border-width: 1px;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD colspan="1" rowspan="1" style="border-width: 1px;"&gt;PSMConnectAccountName&lt;/TD&gt;&lt;TD colspan="1" rowspan="1" style="border-width: 1px;"&gt;The Account Name of the PSMConnect account in the vault.&lt;/TD&gt;&lt;TD colspan="1" rowspan="1" style="border-width: 1px;"&gt;Default:&amp;nbsp;&lt;CODE&gt;PSMConnect&lt;/CODE&gt;. Will be onboarded if required.&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD colspan="1" rowspan="1" style="border-width: 1px;"&gt;PSMAdminConnectAccountName&lt;/TD&gt;&lt;TD colspan="1" rowspan="1" style="border-width: 1px;"&gt;The Account Name of the PSMAdminConnect account in the vault.&lt;/TD&gt;&lt;TD colspan="1" rowspan="1" style="border-width: 1px;"&gt;Default:&amp;nbsp;&lt;CODE&gt;PSMAdminConnect&lt;/CODE&gt;. Will be onboarded if required.&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD colspan="1" rowspan="1" style="border-width: 1px;"&gt;DoNotHarden&lt;/TD&gt;&lt;TD colspan="1" rowspan="1" style="border-width: 1px;"&gt;Skip running the PSMHardening.ps1 script.&lt;/TD&gt;&lt;TD colspan="1" rowspan="1" style="border-width: 1px;"&gt;Intended to reduce execution time if step has already been completed.&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD colspan="1" rowspan="1" style="border-width: 1px;"&gt;DoNotConfigureAppLocker&lt;/TD&gt;&lt;TD colspan="1" rowspan="1" style="border-width: 1px;"&gt;Skip running the PSMConfigureAppLocker.ps1 script.&lt;/TD&gt;&lt;TD colspan="1" rowspan="1" style="border-width: 1px;"&gt;Intended to reduce execution time if step has already been completed.&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD colspan="1" rowspan="1" style="border-width: 1px;"&gt;LocalConfigurationOnly&lt;/TD&gt;&lt;TD colspan="1" rowspan="1" style="border-width: 1px;"&gt;Perform only the local configuration of PSM.&lt;/TD&gt;&lt;TD colspan="1" rowspan="1" style="border-width: 1px;"&gt;Skips account onboarding and other backend configuration.&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD colspan="1" rowspan="1" style="border-width: 1px;"&gt;SkipPSMUserTests&lt;/TD&gt;&lt;TD colspan="1" rowspan="1" style="border-width: 1px;"&gt;Do not check PSM users for configuration errors.&lt;/TD&gt;&lt;TD colspan="1" rowspan="1" style="border-width: 1px;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD colspan="1" rowspan="1" style="border-width: 1px;"&gt;SkipPSMObjectUpdate&lt;/TD&gt;&lt;TD colspan="1" rowspan="1" style="border-width: 1px;"&gt;Do not configure the PSM server object with the updated PSM user details.&lt;/TD&gt;&lt;TD colspan="1" rowspan="1" style="border-width: 1px;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD colspan="1" rowspan="1" style="border-width: 1px;"&gt;SkipSecurityPolicyConfiguration&lt;/TD&gt;&lt;TD colspan="1" rowspan="1" style="border-width: 1px;"&gt;Do not update Local Security Policy to allow PSM users to log on with Remote Desktop.&lt;/TD&gt;&lt;TD colspan="1" rowspan="1" style="border-width: 1px;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD colspan="1" rowspan="1" style="border-width: 1px;"&gt;SkipAddingUsersToRduGroup&lt;/TD&gt;&lt;TD colspan="1" rowspan="1" style="border-width: 1px;"&gt;Do not add PSM users to the Remote Desktop Users group.&lt;/TD&gt;&lt;TD colspan="1" rowspan="1" style="border-width: 1px;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD colspan="1" rowspan="1" style="border-width: 1px;"&gt;Verbose&lt;/TD&gt;&lt;TD colspan="1" rowspan="1" style="border-width: 1px;"&gt;Show detailed progress messages to assist with troubleshooting.&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;
&lt;H1&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/H1&gt;</description>
    <pubDate>Thu, 25 Jul 2024 11:04:12 GMT</pubDate>
    <dc:creator>CyberArkAlumni</dc:creator>
    <dc:date>2024-07-25T11:04:12Z</dc:date>
    <item>
      <title>How To Run Set-DomainUser Privilege Cloud Script</title>
      <link>https://live.paloaltonetworks.com/t5/pam-saas-articles/how-to-run-set-domainuser-privilege-cloud-script/ta-p/1428154</link>
      <description>&lt;P dir="auto"&gt;Set-DomainUser automates the process of configuring PSM to use domain-based PSMConnect and PSMAdminConnect accounts.&lt;/P&gt;
&lt;P dir="auto"&gt;Set-DomainUser is provided as part of the Privilege Cloud Tools package, and depends on other components in Privilege Cloud Tools, so it should be kept together with the rest of the package.&lt;/P&gt;
&lt;DIV dir="auto"&gt;
&lt;H1 dir="auto"&gt;Usage&lt;/H1&gt;
&lt;A href="https://github.com/pCloudServices/Set-DomainUser/blob/main/Set-DomainUser-readme.md#usage" id="user-content-usage" target="_blank"&gt;&lt;/A&gt;&lt;/DIV&gt;
&lt;OL dir="auto"&gt;&lt;LI&gt;Create domain-based users as per the following instructions:
&lt;OL dir="auto" style="list-style-type: lower-roman;"&gt;&lt;LI&gt;&lt;A href="https://docs.cyberark.com/PrivCloud-SS/Latest/en/Content/PAS%20INST/Optional-Moving-the-PSMConnec-and-PSMAdminConnect-users-to-your-Domain.htm#CreatethePSMConnectandPSMAdminConnectusersinyourdomain" target="_blank"&gt;https://docs.cyberark.com/PrivCloud-SS/Latest/en/Content/PAS%20INST/Optional-Moving-the-PSMConnec-and-PSMAdminConnect-users-to-your-Domain.htm#CreatethePSMConnectandPSMAdminConnectusersinyourdomain&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://docs.cyberark.com/PrivCloud-SS/Latest/en/Content/PAS%20INST/Optional-Moving-the-PSMConnec-and-PSMAdminConnect-users-to-your-Domain.htm#ModifythedomainusersinActiveDirectory" target="_blank"&gt;https://docs.cyberark.com/PrivCloud-SS/Latest/en/Content/PAS%20INST/Optional-Moving-the-PSMConnec-and-PSMAdminConnect-users-to-your-Domain.htm#ModifythedomainusersinActiveDirectory&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://docs.cyberark.com/PrivCloud-SS/Latest/en/Content/PAS%20INST/Optional-Moving-the-PSMConnec-and-PSMAdminConnect-users-to-your-Domain.htm#HardentheActiveDirectorysettingsforthenewdomainusersoptional" target="_blank"&gt;https://docs.cyberark.com/PrivCloud-SS/Latest/en/Content/PAS%20INST/Optional-Moving-the-PSMConnec-and-PSMAdminConnect-users-to-your-Domain.htm#HardentheActiveDirectorysettingsforthenewdomainusersoptional&lt;/A&gt;&lt;/LI&gt;&lt;/OL&gt;
&lt;/LI&gt;&lt;LI&gt;Open an Admin Powershell in the&amp;nbsp;&lt;CODE&gt;PSM Convert local2domain Users&lt;/CODE&gt;&amp;nbsp;subdirectory of Privilege Cloud Tools and run the script, e.g.&amp;nbsp;&lt;CODE&gt;.\Set-DomainUser.ps1&lt;/CODE&gt;&lt;/LI&gt;&lt;/OL&gt;
&lt;P dir="auto"&gt;Set-DomainUser will prompt for inputs as required. At a minimum, you will need to confirm your domain details and provide the installer user details.&lt;/P&gt;
&lt;P dir="auto"&gt;Set-DomainUser will perform the following actions:&lt;/P&gt;
&lt;UL dir="auto"&gt;&lt;LI&gt;Confirm domain name details&lt;/LI&gt;&lt;LI&gt;Request installer user details&lt;/LI&gt;&lt;LI&gt;Attempt to retrieve PSM user details from Privilege Cloud
&lt;UL dir="auto"&gt;&lt;LI&gt;If users exist, review their details to ensure they match the environment&lt;/LI&gt;&lt;LI&gt;If users do not exist, request their details (pre-Windows 2000 usernames (samAccountNames) and passwords)&lt;/LI&gt;&lt;/UL&gt;
&lt;/LI&gt;&lt;LI&gt;Test PSM user credentials and configuration&lt;/LI&gt;&lt;LI&gt;As required:
&lt;UL dir="auto"&gt;&lt;LI&gt;Create PSM safe&lt;/LI&gt;&lt;LI&gt;Create account platform&lt;/LI&gt;&lt;LI&gt;Onboard PSM accounts&lt;/LI&gt;&lt;/UL&gt;
&lt;/LI&gt;&lt;LI&gt;Adjust local PSM server configuration&lt;/LI&gt;&lt;LI&gt;Configure PSM server object in Privilege Cloud with new PSM user details&lt;/LI&gt;&lt;LI&gt;Add PSM users to the Remote Desktop Users group&lt;/LI&gt;&lt;LI&gt;Grant PSM users the "Allow log on through Remote Desktop Services" user right in security policy&lt;/LI&gt;&lt;LI&gt;Grant the PSMAdminConnect user permission to monitor sessions&lt;/LI&gt;&lt;LI&gt;Run PSMHardening and PSMConfigureAppLocker scripts to correct permissions&lt;/LI&gt;&lt;LI&gt;Display a list of any remaining tasks to perform&lt;/LI&gt;&lt;/UL&gt;
&lt;H3&gt;Steps&lt;/H3&gt;
&lt;P dir="auto"&gt;The default execution method (without any parameters) should fit most use cases, but behaviour can be adjusted in a few ways, as outlined here.&lt;/P&gt;
&lt;DIV dir="auto"&gt;
&lt;H2 dir="auto"&gt;Supporting PSM environments in different domains/environments&lt;/H2&gt;
&lt;A href="https://github.com/pCloudServices/Set-DomainUser/blob/main/Set-DomainUser-readme.md#supporting-psm-environments-in-different-domainsenvironments" id="user-content-supporting-psm-environments-in-different-domainsenvironments" target="_blank"&gt;&lt;/A&gt;&lt;/DIV&gt;
&lt;P dir="auto"&gt;If your PSM servers are spread across multiple environments, you may need multiple sets of PSM accounts.&lt;/P&gt;
&lt;P dir="auto"&gt;By default, Set-DomainUser assumes that:&lt;/P&gt;
&lt;UL dir="auto"&gt;&lt;LI&gt;Accounts will be stored in the&amp;nbsp;&lt;CODE&gt;PSM&lt;/CODE&gt;&amp;nbsp;safe&lt;/LI&gt;&lt;LI&gt;The PSMConnect account will have an account name of&amp;nbsp;&lt;CODE&gt;PSMConnect&lt;/CODE&gt;&lt;/LI&gt;&lt;LI&gt;The PSMAdminConnect account will have an account name of&amp;nbsp;&lt;CODE&gt;PSMAdminConnect&lt;/CODE&gt;&lt;/LI&gt;&lt;/UL&gt;
&lt;P dir="auto"&gt;You may need to use the options in the following scenarios to change this behaviour, depending on exact requirements. These options can be combined if required.&lt;/P&gt;
&lt;DIV dir="auto"&gt;
&lt;H3 dir="auto"&gt;Scenario 1: The same Password Manager cannot manage every set of PSM accounts&lt;/H3&gt;
&lt;A href="https://github.com/pCloudServices/Set-DomainUser/blob/main/Set-DomainUser-readme.md#scenario-1-the-same-password-manager-cannot-manage-every-set-of-psm-accounts" id="user-content-scenario-1-the-same-password-manager-cannot-manage-every-set-of-psm-accounts" target="_blank"&gt;&lt;/A&gt;&lt;/DIV&gt;
&lt;P dir="auto"&gt;In this scenario, the new set of PSM accounts need to be stored in a separate safe, so that a different Password Manager can be assigned.&lt;/P&gt;
&lt;P dir="auto"&gt;Use the&amp;nbsp;&lt;CODE&gt;Safe&lt;/CODE&gt;&amp;nbsp;parameter for this purpose, for example, to store the accounts in a safe called&amp;nbsp;&lt;CODE&gt;PSM-UK&lt;/CODE&gt;, use:&lt;BR /&gt;&lt;CODE&gt;.\Set-DomainUser.ps1 -Safe PSM-UK&lt;/CODE&gt;&lt;/P&gt;
&lt;P dir="auto"&gt;Set-DomainUser will create the safe and grant the required permissions automatically.&lt;/P&gt;
&lt;DIV dir="auto"&gt;
&lt;H3 dir="auto"&gt;Scenario 2: A PSM server is in a separate domain from the existing PSM accounts&lt;/H3&gt;
&lt;A href="https://github.com/pCloudServices/Set-DomainUser/blob/main/Set-DomainUser-readme.md#scenario-2-a-psm-server-is-in-a-separate-domain-from-the-existing-psm-accounts" id="user-content-scenario-2-a-psm-server-is-in-a-separate-domain-from-the-existing-psm-accounts" target="_blank"&gt;&lt;/A&gt;&lt;/DIV&gt;
&lt;P dir="auto"&gt;In this scenario, the existing accounts, with names&amp;nbsp;&lt;CODE&gt;PSMConnect&lt;/CODE&gt;&amp;nbsp;and&amp;nbsp;&lt;CODE&gt;PSMAdminConnect&lt;/CODE&gt;&amp;nbsp;reference a domain separate from the PSM server that is being configured.&lt;/P&gt;
&lt;P dir="auto"&gt;Use the&amp;nbsp;&lt;CODE&gt;PSMConnectAccountName&lt;/CODE&gt;&amp;nbsp;and&amp;nbsp;&lt;CODE&gt;PSMAdminConnectAccountName&lt;/CODE&gt;&amp;nbsp;parameters to specify alternative account names, for example:&lt;BR /&gt;&lt;CODE&gt;.\Set-DomainUser.ps1 -PSMConnectAccountName PSMConnect-UK -PSMAdminConnectAccountName PSMAdminConnect-UK&lt;/CODE&gt;&lt;/P&gt;
&lt;P dir="auto"&gt;As mentioned, options from these scenarios can be combined. If a PSM server is both in a separate domain, and needs a CPM separate from the other domain, you can use both the account name and safe parameters, e.g.&lt;BR /&gt;&lt;CODE&gt;.\Set-DomainUser.ps1 -Safe PSM-UK -PSMConnectAccountName PSMConnect-UK -PSMAdminConnectAccountName PSMAdminConnect-UK&lt;/CODE&gt;&lt;/P&gt;
&lt;DIV dir="auto"&gt;
&lt;H2 dir="auto"&gt;Local Configuration Only&lt;/H2&gt;
&lt;A href="https://github.com/pCloudServices/Set-DomainUser/blob/main/Set-DomainUser-readme.md#local-configuration-only" id="user-content-local-configuration-only" target="_blank"&gt;&lt;/A&gt;&lt;/DIV&gt;
&lt;P dir="auto"&gt;If Privilege Cloud has been configured already, you may want to repeat only the configuration of PSM, as it's not necessary to onboard accounts or configure the PSM object again. This can be useful for repairing the PSM configuration in case issues were encountered during an upgrade or other situations.&lt;/P&gt;
&lt;P dir="auto"&gt;To use this option, run Set-DomainUser with the LocalConfigurationOnly option, e.g.&amp;nbsp;&lt;CODE&gt; .\Set-DomainUser.ps1 -LocalConfigurationOnly&lt;/CODE&gt;&lt;/P&gt;
&lt;DIV dir="auto"&gt;
&lt;H2 dir="auto"&gt;Skip Tests and Ignore Errors&lt;/H2&gt;
&lt;A href="https://github.com/pCloudServices/Set-DomainUser/blob/main/Set-DomainUser-readme.md#skip-tests-and-ignore-errors" id="user-content-skip-tests-and-ignore-errors" target="_blank"&gt;&lt;/A&gt;&lt;/DIV&gt;
&lt;P dir="auto"&gt;Some of the automated actions performed by Set-DomainUser may be prevented by system hardening or other configurations. Set-DomainUser may be instructed to skip many of these actions, or ignore errors, to allow the process to complete, allowing you to address outstanding issues separately.&lt;/P&gt;
&lt;TABLE style="width: max-content;"&gt;&lt;/TABLE&gt;
&lt;TABLE border="1" style="width: max-content;border-width: 1px;"&gt;&lt;THEAD&gt;&lt;TR&gt;&lt;TH colspan="1" rowspan="1" style="border-width: 1px;"&gt;Action or Error&lt;/TH&gt;&lt;TH colspan="1" rowspan="1" style="border-width: 1px;"&gt;Parameter to skip or ignore&lt;/TH&gt;&lt;/TR&gt;&lt;/THEAD&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD colspan="1" rowspan="1" style="border-width: 1px;"&gt;Check domain-based PSM user configurations (Initial Program, Session timeout settings, username/password accuracy, etc.)&lt;/TD&gt;&lt;TD colspan="1" rowspan="1" style="border-width: 1px;"&gt;&lt;CODE&gt;-SkipPSMUserTests&lt;/CODE&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD colspan="1" rowspan="1" style="border-width: 1px;"&gt;Configure PSM server object (Privilege Cloud portal &amp;gt; Configuration Options &amp;gt; Privileged Session Management &amp;gt; PSM Servers)&lt;/TD&gt;&lt;TD colspan="1" rowspan="1" style="border-width: 1px;"&gt;&lt;CODE&gt;-SkipPSMObjectUpdate&lt;/CODE&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD colspan="1" rowspan="1" style="border-width: 1px;"&gt;Grant PSM users the "Allow log on through Remote Desktop Services" user right in security policy&lt;/TD&gt;&lt;TD colspan="1" rowspan="1" style="border-width: 1px;"&gt;&lt;CODE&gt;-SkipSecurityPolicyConfiguration&lt;/CODE&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD colspan="1" rowspan="1" style="border-width: 1px;"&gt;Automatically add PSM users to the Remote Desktop Users group&lt;/TD&gt;&lt;TD colspan="1" rowspan="1" style="border-width: 1px;"&gt;&lt;CODE&gt;-SkipAddingUsersToRduGroup&lt;/CODE&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD colspan="1" rowspan="1" style="border-width: 1px;"&gt;Error while granting PSMAdminConnect Shadow permissions (permission to monitor sessions). This can be caused by a policy which prevents modification of RDP permissions.&lt;/TD&gt;&lt;TD colspan="1" rowspan="1" style="border-width: 1px;"&gt;&lt;CODE&gt;-IgnoreShadowPermissionErrors&lt;/CODE&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD colspan="1" rowspan="1" style="border-width: 1px;"&gt;Run PSMHardening script after execution to adjust file/folder permissions to allow PSM users access to relevant files and folders&lt;/TD&gt;&lt;TD colspan="1" rowspan="1" style="border-width: 1px;"&gt;&lt;CODE&gt;-DoNotHarden&lt;/CODE&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD colspan="1" rowspan="1" style="border-width: 1px;"&gt;Run PSMConfigureAppLocker script after execution to restrict the applications which can be accessed in PSM sessions&lt;/TD&gt;&lt;TD colspan="1" rowspan="1" style="border-width: 1px;"&gt;&lt;CODE&gt;-DoNotConfigureAppLocker&lt;/CODE&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;
&lt;DIV dir="auto"&gt;
&lt;H1 dir="auto"&gt;Full parameter reference&lt;/H1&gt;
&lt;A href="https://github.com/pCloudServices/Set-DomainUser/blob/main/Set-DomainUser-readme.md#full-parameter-reference" id="user-content-full-parameter-reference" target="_blank"&gt;&lt;/A&gt;&lt;/DIV&gt;
&lt;P dir="auto"&gt;There are some less-used parameters not covered above. The following table contains all available parameters.&lt;/P&gt;
&lt;TABLE border="1" style="width: max-content;border-width: 1px;"&gt;&lt;THEAD&gt;&lt;TR&gt;&lt;TH colspan="1" rowspan="1" style="border-width: 1px;"&gt;Parameter&lt;/TH&gt;&lt;TH colspan="1" rowspan="1" style="border-width: 1px;"&gt;Purpose&lt;/TH&gt;&lt;TH colspan="1" rowspan="1" style="border-width: 1px;"&gt;Notes&lt;/TH&gt;&lt;/TR&gt;&lt;/THEAD&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD colspan="1" rowspan="1" style="border-width: 1px;"&gt;InstallUser&lt;/TD&gt;&lt;TD colspan="1" rowspan="1" style="border-width: 1px;"&gt;Installeruser credentials.&lt;/TD&gt;&lt;TD colspan="1" rowspan="1" style="border-width: 1px;"&gt;If not provided you will be prompted for them.&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD colspan="1" rowspan="1" style="border-width: 1px;"&gt;PSMConnectCredentials&lt;/TD&gt;&lt;TD colspan="1" rowspan="1" style="border-width: 1px;"&gt;PSMConnect user credentials.&lt;/TD&gt;&lt;TD colspan="1" rowspan="1" style="border-width: 1px;"&gt;If not provided you will be prompted for them.&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD colspan="1" rowspan="1" style="border-width: 1px;"&gt;PSMAdminConnectCredentials&lt;/TD&gt;&lt;TD colspan="1" rowspan="1" style="border-width: 1px;"&gt;PSMAdminConnect credentials.&lt;/TD&gt;&lt;TD colspan="1" rowspan="1" style="border-width: 1px;"&gt;If not provided you will be prompted for them.&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD colspan="1" rowspan="1" style="border-width: 1px;"&gt;PrivilegeCloudUrl&lt;/TD&gt;&lt;TD colspan="1" rowspan="1" style="border-width: 1px;"&gt;The full address of the Privilege Cloud API host.&lt;/TD&gt;&lt;TD colspan="1" rowspan="1" style="border-width: 1px;"&gt;e.g.:&amp;nbsp;&lt;CODE&gt;&lt;A href="https://tenantname.privilegecloud.cyberark.cloud" target="_blank"&gt;https://tenantname.privilegecloud.cyberark.cloud&lt;/A&gt;&lt;/CODE&gt;. Should be detected automatically, only use this option if auto-detection fails.&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD colspan="1" rowspan="1" style="border-width: 1px;"&gt;VaultAddress&lt;/TD&gt;&lt;TD colspan="1" rowspan="1" style="border-width: 1px;"&gt;FQDN or IP address of the vault.&lt;/TD&gt;&lt;TD colspan="1" rowspan="1" style="border-width: 1px;"&gt;Should be detected automatically, only use this option if auto-detection fails.&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD colspan="1" rowspan="1" style="border-width: 1px;"&gt;DomainDNSName&lt;/TD&gt;&lt;TD colspan="1" rowspan="1" style="border-width: 1px;"&gt;The DNS name of the domain of the created accounts e.g.: "lab.net".&lt;/TD&gt;&lt;TD colspan="1" rowspan="1" style="border-width: 1px;"&gt;If this and DomainNetbiosName are both provided, Set-DomainUser will skip the domain names confirmation prompt.&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD colspan="1" rowspan="1" style="border-width: 1px;"&gt;DomainNetbiosName&lt;/TD&gt;&lt;TD colspan="1" rowspan="1" style="border-width: 1px;"&gt;The NETBIOS name of the domain of the created accounts e.g.: "LAB".&lt;/TD&gt;&lt;TD colspan="1" rowspan="1" style="border-width: 1px;"&gt;If this and DomainDNSName are both provided, Set-DomainUser will skip the domain names confirmation prompt.&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD colspan="1" rowspan="1" style="border-width: 1px;"&gt;Safe&lt;/TD&gt;&lt;TD colspan="1" rowspan="1" style="border-width: 1px;"&gt;The safe in which to save the domain accounts.&lt;/TD&gt;&lt;TD colspan="1" rowspan="1" style="border-width: 1px;"&gt;Default:&amp;nbsp;&lt;CODE&gt;PSM&lt;/CODE&gt;. If it does not exist it will be created.&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD colspan="1" rowspan="1" style="border-width: 1px;"&gt;PlatformName&lt;/TD&gt;&lt;TD colspan="1" rowspan="1" style="border-width: 1px;"&gt;The name of the platform which will be used by the PSM accounts&lt;/TD&gt;&lt;TD colspan="1" rowspan="1" style="border-width: 1px;"&gt;Default:&amp;nbsp;&lt;CODE&gt;WIN-DOM-PSMADMIN-ACCOUNT&lt;/CODE&gt;. If it does not exist it will be created.&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD colspan="1" rowspan="1" style="border-width: 1px;"&gt;IgnoreShadowPermissionErrors&lt;/TD&gt;&lt;TD colspan="1" rowspan="1" style="border-width: 1px;"&gt;Continue running if the script is unable to grant the PSMAdminConnect user permission to shadow sessions&lt;/TD&gt;&lt;TD colspan="1" rowspan="1" style="border-width: 1px;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD colspan="1" rowspan="1" style="border-width: 1px;"&gt;PSMConnectAccountName&lt;/TD&gt;&lt;TD colspan="1" rowspan="1" style="border-width: 1px;"&gt;The Account Name of the PSMConnect account in the vault.&lt;/TD&gt;&lt;TD colspan="1" rowspan="1" style="border-width: 1px;"&gt;Default:&amp;nbsp;&lt;CODE&gt;PSMConnect&lt;/CODE&gt;. Will be onboarded if required.&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD colspan="1" rowspan="1" style="border-width: 1px;"&gt;PSMAdminConnectAccountName&lt;/TD&gt;&lt;TD colspan="1" rowspan="1" style="border-width: 1px;"&gt;The Account Name of the PSMAdminConnect account in the vault.&lt;/TD&gt;&lt;TD colspan="1" rowspan="1" style="border-width: 1px;"&gt;Default:&amp;nbsp;&lt;CODE&gt;PSMAdminConnect&lt;/CODE&gt;. Will be onboarded if required.&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD colspan="1" rowspan="1" style="border-width: 1px;"&gt;DoNotHarden&lt;/TD&gt;&lt;TD colspan="1" rowspan="1" style="border-width: 1px;"&gt;Skip running the PSMHardening.ps1 script.&lt;/TD&gt;&lt;TD colspan="1" rowspan="1" style="border-width: 1px;"&gt;Intended to reduce execution time if step has already been completed.&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD colspan="1" rowspan="1" style="border-width: 1px;"&gt;DoNotConfigureAppLocker&lt;/TD&gt;&lt;TD colspan="1" rowspan="1" style="border-width: 1px;"&gt;Skip running the PSMConfigureAppLocker.ps1 script.&lt;/TD&gt;&lt;TD colspan="1" rowspan="1" style="border-width: 1px;"&gt;Intended to reduce execution time if step has already been completed.&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD colspan="1" rowspan="1" style="border-width: 1px;"&gt;LocalConfigurationOnly&lt;/TD&gt;&lt;TD colspan="1" rowspan="1" style="border-width: 1px;"&gt;Perform only the local configuration of PSM.&lt;/TD&gt;&lt;TD colspan="1" rowspan="1" style="border-width: 1px;"&gt;Skips account onboarding and other backend configuration.&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD colspan="1" rowspan="1" style="border-width: 1px;"&gt;SkipPSMUserTests&lt;/TD&gt;&lt;TD colspan="1" rowspan="1" style="border-width: 1px;"&gt;Do not check PSM users for configuration errors.&lt;/TD&gt;&lt;TD colspan="1" rowspan="1" style="border-width: 1px;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD colspan="1" rowspan="1" style="border-width: 1px;"&gt;SkipPSMObjectUpdate&lt;/TD&gt;&lt;TD colspan="1" rowspan="1" style="border-width: 1px;"&gt;Do not configure the PSM server object with the updated PSM user details.&lt;/TD&gt;&lt;TD colspan="1" rowspan="1" style="border-width: 1px;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD colspan="1" rowspan="1" style="border-width: 1px;"&gt;SkipSecurityPolicyConfiguration&lt;/TD&gt;&lt;TD colspan="1" rowspan="1" style="border-width: 1px;"&gt;Do not update Local Security Policy to allow PSM users to log on with Remote Desktop.&lt;/TD&gt;&lt;TD colspan="1" rowspan="1" style="border-width: 1px;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD colspan="1" rowspan="1" style="border-width: 1px;"&gt;SkipAddingUsersToRduGroup&lt;/TD&gt;&lt;TD colspan="1" rowspan="1" style="border-width: 1px;"&gt;Do not add PSM users to the Remote Desktop Users group.&lt;/TD&gt;&lt;TD colspan="1" rowspan="1" style="border-width: 1px;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD colspan="1" rowspan="1" style="border-width: 1px;"&gt;Verbose&lt;/TD&gt;&lt;TD colspan="1" rowspan="1" style="border-width: 1px;"&gt;Show detailed progress messages to assist with troubleshooting.&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;
&lt;H1&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/H1&gt;</description>
      <pubDate>Thu, 25 Jul 2024 11:04:12 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-saas-articles/how-to-run-set-domainuser-privilege-cloud-script/ta-p/1428154</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2024-07-25T11:04:12Z</dc:date>
    </item>
  </channel>
</rss>

