dkinfl
Technical User
- May 7, 2007
- 1
Hello!
I am pretty new to vb script, but I am working on a login script for our enterprise. Among other things, I need to make sure my norton antivirus is being managed by the local management server for the client's site, as they move frequently. In short, I need to do the following:
1. Read a registry key on the client, and compare the value to the client's logon server (windows AD)
2. If they match, do nothing
3. If the do not match, copy a file from the logon server to the client, then restart the NAV services (so client is managed by right server)
I think this would be pretty basic, but I am stuck on the compare portion. Any help would be appreciated.
I am pretty new to vb script, but I am working on a login script for our enterprise. Among other things, I need to make sure my norton antivirus is being managed by the local management server for the client's site, as they move frequently. In short, I need to do the following:
1. Read a registry key on the client, and compare the value to the client's logon server (windows AD)
2. If they match, do nothing
3. If the do not match, copy a file from the logon server to the client, then restart the NAV services (so client is managed by right server)
I think this would be pretty basic, but I am stuck on the compare portion. Any help would be appreciated.