In order to make any changes to any configuration files, you must stop the Pleasant Password Server Service.
Directly from command-line (run as Administrator):
powershell "stop-service -DisplayName 'Pleasant Password Server'"
powershell "start-service -DisplayName 'Pleasant Password Server'"
From the PowerShell interface, the relevant commands are:
stop-service -DisplayName 'Pleasant Password Server' start-service -DisplayName 'Pleasant Password Server'
1. Open a Run... dialog and start services.msc (press Window+R or click the Start menu and type in the search box). It should look similar to this:
2. From the Services window that opens up, look for the Pleasant Password Server service and double-click on it.
3. Click the Stop button in the Properties window.
4. Now you can make configuration changes.
5. Make sure to restart the service once you're finished making configuration changes. Click Start in the same properties window as step 3.
(See also the above recommended method.)
To stop Pleasant Password Server from the command prompt (run as Administrator) by running:
net stop "Pleasant Password Server"
And start it again by running:
net start "Pleasant Password Server"
To identify the PID of Pleasant Password Server, run the command (run as Administrator):
sc queryex "Pleasant Password Server"
Note: Stopping IISExpress may also be necessary, and can be End Tasked from the Task Manager
This command will return the PID of the process the service is running as. To force the PID to stop, run the following command, replacing 1234 with the PID from above.
taskkill /F /PID 1234
Sometimes if a process hangs while starting or stopping, the GUI won't let you do anything with the service.