Need help with Windows Logon Scripts
System Admin
1
Posts
1
Posters
0
Views
1
Watching
-
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!