|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Need help with domain controller and client scripts
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! |
|
#2
|
||||
|
||||
|
I don't think there is any way out of your problem. AFAIK, the idea of the logon scripts is to run from the client. But why can't you adapt the script so that it can update the database from the server?
|
|
#3
|
||||
|
||||
|
btw: don't cross posts in future. You posted this question in three different forums.
|
![]() |
| Viewing: Dev Shed Forums > System Administration > Networking Help > Need help with domain controller and client scripts |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|