Announcement

Collapse
No announcement yet.

running a VB script as a service

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

  • running a VB script as a service

    hi,
    can someone please help me out on this one?

    i have a script which queries information from a specific registry key on a whole bunch of servers. it only reads information. it changes nothing. since i do not have access to all these servers i used to run the script using the admin account of a colleague. this is no longer possible.

    i've found some websites which offer products which make it possible to run the script as a service. does anyone know a freeware tool which does the same?
    i could then get a service account and let the script run under that one.

    thx in advance
    Yesterday we stood at the edge of the abyss. Today we are a step further...

  • #2
    Re: running a VB script as a service

    You can use srvany (http://support.microsoft.com/kb/q137890/)

    But if you just have a basic VB script it won't work, you need to code into your script service controls so it knows when the service has stopped and started successfully etc.

    topper
    * Shamelessly mentioning "Don't forget to add reputation!"

    Comment


    • #3
      Re: running a VB script as a service

      thx, topper. i'll give it a go.
      Yesterday we stood at the edge of the abyss. Today we are a step further...

      Comment


      • #4
        Re: running a VB script as a service

        There is a program that came with the NT4 resource kit that run a batch file as a server. AutoExNT was the name. it is available to download but you need the buy the resource kit as it is still a licensed product. Hope it helps.
        Server 2000 MCP
        Development: ASP, ASP.Net, PHP, VB, VB.Net, MySQL, MSSQL - Check out my blog http://tonyyeb.blogspot.com

        ** Remember to give credit where credit is due and leave reputation points sigpic where appropriate **

        Comment


        • #5
          Re: running a VB script as a service

          is the tasksheduler insuffient for you?
          Marcel
          Technical Consultant
          Netherlands
          http://www.phetios.com
          http://blog.nessus.nl

          MCITP(EA, SA), MCSA/E 2003:Security, CCNA, SNAF, DCUCI, CCSA/E/E+ (R60), VCP4/5, NCDA, NCIE - SAN, NCIE - BR, EMCPE
          "No matter how secure, there is always the human factor."

          "Enjoy life today, tomorrow may never come."
          "If you're going through hell, keep going. ~Winston Churchill"

          Comment

          Working...
          X