How to Duplicate the Windows Service Platform and Add the RestartService Property at the Platform Level
89
Created On 11/10/26 10:59 AM - Last Modified 11/10/26 16:00 PM
Objective
The RestartService is an optional property that is normally set at the account level on the Windows Service usage platform. However, the RestartService property CAN be set at the platform level on the Windows Service usage platform. This article describes how to duplicate the Windows Service accounts platform to create two new ones (one with RestartService=Yes and the other with RestartService=No). You can then add the two new usage platforms to a target platform and see the new Windows Service tabs under an account using that target platform.
Environment
9.6;9.7;9.8;9.9;9.10;10.0;10.1;10.2;10.3;10.4;10.5;10.6;10.7;10.8;10.9;10.10;11.1;11;11.2;11.3;11.4;11.5;11.6;11.7;12.0;12.1;12.2;11.9;11.8;12.4;12.3;12.5;12.6 Privileged Access Manager (PAM, self-hosted) Central Policy Manager (CPM)
Procedure
Steps to duplicate the Windows Service usage platform:
1. In the PVWA, go to Administration > Platform Management > Service Account Platforms > select Windows Service > click Duplicate > name new platform (e.g. "Windows Service Restart Yes")
2. Repeat step 1 and name new platform (e.g. "Windows Service Restart No")
Steps to add the RestartService property to the Windows Service usage platform:
1. In the PVWA, go to Administration > Platform Management > Service Account Platforms > select Windows Service Restart Yes > click Edit > Automatic Password Management > Additional Policy Settings (add if not there) > Parameters (add if not there) > Add Parameter > set the Name to RestartService and Value to Yes
2. Repeat step 1 for Windows Service Restart No and set Value to No
Steps to add new usage platforms to target platform:
1. In the PVWA, go to Administration > Platform Management > select the target platform (e.g. Windows Server Local Accounts) you want to add the new usage platforms > click Edit > UI & Workflows > Usages > right click to Add Usage > set Value of Name to the PolicyID of the new usage platform (e.g. WindowsServiceRestartYes)
2. Repeat step 1 for WindowsServiceRestartNo
3. The new usage platform tabs should now be visible on the Account Details screen
Please note that the RestartService property under the account must be left as optional and UNCHECKED (or it will override the platform setting) for the platform setting be effective.