Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

compare reg value to logon server

Status
Not open for further replies.

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.
 
Why don't you post what you have so far?

--------------------------------------------------------------------------------
dm4ever
My philosophy: K.I.S.S - Keep It Simple Stupid
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top