Announcement

Collapse
No announcement yet.

How to run a .vbs file as a Schedule task in windows plesk

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to run a .vbs file as a Schedule task in windows plesk

    Hi,

    If you are trying to run a scheduled task in Plesk (Windows) that launches a .vbs file then you need to do the following:

    In Path to executable file you need to enter the path to csripts.exe, for example:
    c:\windows\system32\cscript.exe

    Then in Arguments you need to enter the full path to the .vbs file
    c:\interpub\vhost\\\myscript.vbs

    And that is all you need to do to launch a .vbs file in Plesk task scheduler
    "I am matter, and you are matter, but it doesn't matter."

  • #2
    wont this allow malicious .vbs code to be executed on the server causing a server security risk?? AFAIK .vbs is complied in visual basic it can be used to execute many admin utils from windows folder.
    can someone please clarify ????
    Only I can live forever.

    Comment


    • #3
      by default if a normal plesk user is adding a scheduled task to use a .vbs script it wont be able to run any admin utils as to do that a Task needs to be executed with highest privileges. To run a task with highest privileges it will require server's administrator password, so it wont be able to execute any admin utils from windows folder.

      Originally posted by theonewhomustnotbenamed View Post
      wont this allow malicious .vbs code to be executed on the server causing a server security risk?? AFAIK .vbs is complied in visual basic it can be used to execute many admin utils from windows folder.
      can someone please clarify ????

      Comment

      Working...
      X