Saturday, December 11, 2010

Script for Hotspot Shield Starting & Stopping

Here is the way to start and stop Hotspot Shield safely. Starting hotspot shield from program menu will keep the service always on, and unnecessarily deliver ads to your pc. Exiting/disconnecting the program dosnt stop the service fom the background, and the service will keep on running. Stop the service after use is the best practice. Make two batch files with the below scripts.

For Starting

@echo off
sc \\pcname config hotspotshieldservice start= auto
net start hotspotshieldservice
choice /t 5 /c YNC /cs /d Y
sc \\pcname config hsstrayservice start= auto
sc \\pcname config hsswd start= auto
net tart hsswd
choice /t 5 /c YNC /cs /d Y
sc \\pcname config hsstrayservice start= auto
net start hsstrayservice
choice /t 5 /c YNC /cs /d Y
end


For Stopping

@echo off
net stop hsswd
choice /t 5 /c YNC /cs /d Y
sc \\pcname config hsswd start= disabled
net stop hotspotshieldservice
choice /t 5 /c YNC /cs /d Y
sc \\pcname config hotspotshieldservice start= disabled
sc \\pcname config hsstrayservice start= disabled
tskill openvpntray
end

3 comments:

  1. The Stop Script is not working.?.Is there any other Script.?

    ReplyDelete
  2. What does it say? You have to modify the script accoding to your PC Name. You may insert this line instead of choice /t 5 /c YNC /cs /d Y
    "timeout 10"

    ReplyDelete
  3. What about if I want to start and restart the program/change the countries at a regular interval? Is there a way to do this?

    ReplyDelete