Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Database & SysAdmin
  3. System Admin
  4. Need help with Windows Logon Scripts

Need help with Windows Logon Scripts

Scheduled Pinned Locked Moved System Admin
helpdatabasesysadmintools
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    lnong
    wrote on last edited by
    #1

    I just set up a domain controller and some clients. Now, whenever a client logs on, I want a VBscript to be run ON THE SERVER. At first, I created the VBscript file as a Windows Login script and put it into the NETLOGON folder so that it will be run whenever a client logs on. However, I realize that this script, although residing on the server, is running WITHIN THE CONTEXT OF THE CLIENT. In other words, the script is executed as if it were located on the client. This is definitely a problem because the purpose of my script is to retrieve system info from the client and then writing that to a database on the server. In reality, when the script executes, it tries to write the data to the database on the client, which does not exist!

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups