Startup Script – Execute on Network only

Home Forums Scripting Windows Script Host Startup Script – Execute on Network only

Viewing 1 post (of 1 total)
  • Author
    Posts
  • Avatar
    CaTBuS
    Member
    #167319

    I’ve got a great startup script (vbs) that I only want to run when I’m connected to my corporate network. For instance, I want it to execute when I’m docked in my office but not when I’m booting up outside of the office. I’ve tried utilizing the “docking state” registry key but can’t get it to work consistently plus different manufactures have different registry locations/values so this is not the best way I think. Also, are moving towards MS DirectAccess so I also think looking for a unc path is not the answer either.

    Any ideas friends?

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.