Unable to run "Uninstall.bat" File to remove agent and unenroll device

Unable to run "Uninstall.bat" File to remove agent and unenroll device

I can't seem to successfully execute the Uninstall.bat file from the MobiControl folder.

I receive this error message:

 

Any help is greatly appreciated! 

4 Answers

Order By:   Standard | Newest | Votes
Matt Dermody | posted this 05 February 2020

I don't have any experience managing Windows devices with SOTI but I feel like logically it would make sense that you can't manually delete or uninstall MobiControl from a machine that you are managing. You might have better luck Unenrolling the device from the MobiControl console than trying to manually remove the agent from the device. I would consider that a pretty big vulnerability if you could just manually uninstall it. 

  • 0
  • 0
DDMOD@SOTI | posted this 05 February 2020

Hi Jeff,

Thank you for requesting a response from SOTI Support Staff.

 

It's been a while since I had to "remove the agent and unenroll" a Windows desktop but right off the bat try running CMD with elevated privileges (Administrator).

 

Also, you may have to open CMD and navigate to the folder the file is located in to execute the file.   Let me know if that works or not and I will double-check on any other instructions needed to perform the task you require. 

 

Hope this helps, 

 

Technical Support | SOTI Inc. |1.905.624.9828 | support@soti.net | www.soti.net |

  • 1
  • 0
Jeff Burns | posted this 06 February 2020

Thank you for your support!

 

I had tried to run as Administrator but that's what originally lead to this error message.

 

I have found a solution though.  I created a bat file that when ran as Administrator calls the Uninstall.bat from the MobiControl folder.

 

@echo on

cd "C:\Program Files (x86)\SOTI\MobiControl\"
Call "Uninstall.bat"

 

From here it performs the full uninstall on the device.  But on the cloud web UI only shows the device as "Unenrolled" and does not remove it which is another bump I'm trying to get over.

 

  • 0
  • 0
DDMOD@SOTI | posted this 07 February 2020

Hi Jeff,

You need to manually delete that device from the cloud web UI to remove it permanently.

 

Technical Support | SOTI Inc. |1.905.624.9828 | support@soti.net | www.soti.net |

  • 0
  • 0

Give us your feedback
Give us your feedback
Feedback