Please use the procedure to remove "Kaspersky Endpoint Security 10" and "Kaspersky Security Center Agent"
If you have configured your Kaspersky Endpoint Security with a "username" & "password".Provide it in the script
For Example
username="abcde"
password="ghijk"
Note:
Please run the script as System User