Pixel IT Knowledgebase
Email to friend
* Your name:
* Your email:
* Friend's email:
Comment:



Prevent Students from Uninstalling NetSupport School

Summary

The idea of the following is to help deter students from uninstalling NetSupport School Client on their laptops

Resolution

The following registry point is related to the uninstall string in Add/Remove programs:

This string is different depending on whether the installation is from the Setup.exe or NetSupport School.msi

1.       If installed from the Setup.exe delete the following key:

a.       HKEY_CLASSES_ROOT\Installer\Products\5711C6C7BA4607E43A9D49B49325B39E

2.       If installed from the NetSupport School.msi delete the following key:

a.       HKEY_CLASSES_ROOT\Installer\Products\9CDE49FD56F20E241B53D26CC6D5CA84

Deleting the above key depending on which installation will remove the uninstall from Add/Remove programs.

3.       Delete the application it references (which is weird, but works):  C:\WINDOWS\Installer\{7C6C1175-64AB-4E70-A3D9-944B39523BE9}\ARPPRODUCTICON.exe

4.       You will also want to app block the setup.exe so the software can’t be re-downloaded and use that as the uninstall.

5.       NetSupport School can also be configured to run in both Silent mode and Quiet mode.

VB Script

Dim WshShell

Set WshShell = WScript.CreateObject("WScript.Shell")

Const DeleteReadOnly = True

Dim oFSO 

Set oFSO = CreateObject("Scripting.FileSystemObject")

If oFSO.FileExists("C:\WINDOWS\Installer\{7C6C1175-64AB-4E70-A3D9-944B39523BE9}\ARPPRODUCTICON.exe") Then

oFSO.DeleteFile("C:\WINDOWS\Installer\{7C6C1175-64AB-4E70-A3D9-944B39523BE9}\ARPPRODUCTICON.exe"),DeleteReadOnly

End If

WshShell.RegDelete "HKEY_CLASSES_ROOT\Installer\Products\5711C6C7BA4607E43A9D49B49325B39E\SourceList\Media\"

WshShell.RegDelete "HKEY_CLASSES_ROOT\Installer\Products\5711C6C7BA4607E43A9D49B49325B39E\SourceList\Net\"

WshShell.RegDelete "HKEY_CLASSES_ROOT\Installer\Products\5711C6C7BA4607E43A9D49B49325B39E\SourceList\"

WshShell.RegDelete "HKEY_CLASSES_ROOT\Installer\Products\5711C6C7BA4607E43A9D49B49325B39E\"

RSS