|
|
Script for Remote Removal of SMS 2.0 ClientsSeptember 26, 2003
The script requires PSexec.exe from Sysinternals.com (direct download link for PSExec.exe) to be executed. In the ZIP file to be downloaded, you will find two batch files.
Both have to be edited for your specific network information to work. First we take script (b). The contents of the ZIP file need to be put on a shared folder on your network. Once that is done in script (b) you need to change the 3rd Line:
to reflect your network share location. This share needs read access to Domain admin group only. You can remove the default everyone group (this is important as the script needs an admin username/password combo to be stored in a batch file which, even though it's temporary, if anyone picks up will lead to a security issue). Before we go to the next step, one more important task has to be completed. You need to create a temp account with domain admin privileges. For script (a) you need to download PSexec from sysinternals and copy it to the same folder as the script. Now in Runme.bat you will see the following line. psexec <\\Targeted Client> -u -p -c -f
Now using notepad edit this bacth file and add the
That's it, you are done. Now you can uninstall all the clients from a single location. Download the script. << Back to SMS Scripts list.
Disclaimer: We hope that the information in these pages is valuable to you. Your use of the information contained in these pages, however, is at your sole risk. All information on these pages is provided "as -is", without any warranty, whether express or implied, of its accuracy, completeness, fitness for a particular purpose, title or non-infringement, and none of the third-party products or information mentioned in the work are authored, recommended, supported or guaranteed by me. We shall not be liable for any damages you may sustain by using this information, whether direct, indirect, special, incidental or consequential, even if it has been advised of the possibility of such damages.
|