|
|
|
|
How Tos > Uninstall Agents using script
Silently Uninstall Agents using ScriptFollow the below given steps to silently (without the knowledge of the end user) uninstall the Desktop Central Agent from the remote desktops:
- Create a Network share [eg.: \\Myserver\Myshare].
- Download the attached script uninstallscript.txt.
- Rename it to .vbs extension. Save the vb script in the network
share created in step1 [\\Myserver\Myshare\uninstallscript.vbs]
- Download the PsExec utility from http://technet.microsoft.com/en-us/sysinternals/bb897553.aspx
and save it, for example, C:.
- Download the attached uninstall.bat and
save it in the same folder where you the PsExec utility is available,
that is C:
- Create a .txt file called computernames.txt. Enter the computer
names in which you want to install the agent, each machine name in a
single line and save the file in C:(Find attached sample computernames.txt).
- Run the batch file using the following command from the dos
prompt passing username and password as arguments
C:\>uninstall.bat <domain>/<username> <password>
| Note: You can edit the UnInstall.bat according to your requirements
(say if you have saved the computernames.txt in some other directory or
if you want to change the share directory name open the batch file and
change the parameters accordingly). |
|
Document Saved Successfully
|
|
|
|
|
|
|