Using the DPK Setup Script to Remove the PeopleSoft Environment on Microsoft Windows
Use these steps to remove a deployed PeopleSoft environment using the PeopleSoft DPK setup script on Microsoft Windows:
-
Open a command prompt window; for example:
-
Select Start, and navigate to Accessories, Command Prompt.
-
Right-click and select Run as Administrator.
-
-
Go to DPK_INSTALL\setup and run one of the following commands:
psft-dpk-setup.bat --cleanup -
Specify the base directory (BASE_DIR) that you want to remove.
Enter the PeopleSoft Base Folder specified during setup:You see this prompt only when there is more than one deployment. For example:
-
You carried out deployment A followed by deployment B.
-
You removed the second deployment B. For the cleanup of deployment B, you do not see this prompt for the BASE_DIR.
-
You run the script a second time. At the prompt, specify the BASE_DIR for deployment A.
-
-
Wait until the process is complete.
The DPK setup script displays [OK] for each step of the process, and [FAILED] if any of the steps are not successful.
-
Review the cleanup log file in DPK_INSTALL\setup.
-
After completing these steps, verify that the DPK installation directories (BASE_DIR/pt and BASE_DIR/db) have been cleared.
The cleanup process does not remove the BASE_DIR/dpk directory. Do not remove it manually if you want to use the psft_apply_puppet.sh process.
-
Verify that any services have been removed in the Microsoft Windows Services dialog box.
-
If any files or services remain, the cleanup process was not successful. Try running the process again, and if it is still not successful, you may need to carry out advanced cleanup.
See Manually Removing the PeopleSoft Environment on Microsoft Windows.