Jump to content

Decommission


PaulWTech

Recommended Posts

Hi,  Here is how I recently "decommissioned" and uninstalled my service files from a machine:

Beware: use the rd and del command at  YOUR OWN RISK!

run these from your remote service app or Pulseway terminal;

1. Check for your Support files and remove;
dir c:\PathToSupportFolder\*.*

rd <- remove directory, /s including sub-folders, /q just do it!
rd /s /q C:\PathToSupportFolder\FolderAndSubFolderToRemove
repeat with other sub-folders as needed.
Check folders are removed
dir c:\PathToSupportFolder\*.*
Delete one file:
del c:\PathToSupportFolder\filename.ext

2. If you have your own service files in the User Profile folder:

Check the Username & paste into the "for editing section
net user
dir C:\Users\(User_Name)\Documents\Files\*.* <- list files
rd /s /q C:\Users\(User_Name)\Documents\Files <- removes Files Folder and sub-folders
dir C:\Users\(User_Name)\Documents\*.* <- verifies it is removed
For editing:  copy paste the User found running the net user command here for a quick copy and paste into the terminal, for example:
dir C:\Users\Administrator\Documents\Files\*.*
rd /s /q C:\Users\Administrator\Documents\Files
dir C:\Users\Administrator\Documents\*.*

The following I have not tested so if someone can confirm it works that would be wonderful!  It would be interesting to know if you could run pathto/msiexec /x Pulseway_x64.msi from the Pulseway Terminal and have it complete but I'm not sure the config file would be removed?

3. Decommission Pulseway monitoring and remove app.
Remove Pulseway Monitoring: Log into https://www.pulseway.com/account/login > locate system and click the x to remove.  (deletes config file on that machine)
    To Remove Pulseway locate the msi:
dir c:\Pulseway_x64.msi /s /p    Of course you would need an alternative means to send the commands to the machine.

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...