Doug, here are contents of "server.vbs" as you asked.
Thanks for your help.
**********************************************************
' VBScript Source File -- Created with Support.com
ScriptCenter(TM)
'
' NAME: server.vbs
'
' AUTHOR: Chip Blais, Content Developer, Tiger Team, Sony
Electronics
' DATE : 10/11/2000
'
' COMMENT: Support Action to set active servers
' checks for registry key about
notification, True = notify, False = turn off notification.
' Sets server paths.
'
'==========================================================
================
Option Explicit
Dim global, shellobj, wshEnv, strRegKey, strSysFolder,
strUser, strNotify
Const forcesyncpath = "C:\Progra~1
\Support.com\client\bin\forcesync.exe"
const tgfixpath = "C:\Progra~1
\Support.com\client\bin\tgfix.exe "
const lserver = "C:\Program
files\Support.com\client\lserver"
const tgcmdpath = "c:\progra~1
\Support.com\client\bin\tgcmd.exe "
set shellobj = WScript.createobject("WScript.shell")
Set wshEnv = shellObj.Environment("Process")
On Error Resume Next
shellobj.run tgcmdpath & "/server",1, false
'==========================================================
===========================================================
===============================
strSysFolder = wshEnv("WINDIR")
If strSysFolder = "C:\WINNT" then
strRegKey
= "HKLM\Software\Microsoft\WindowsNT\CurrentVersion\WinLogo
n\Defaultusername"
Else If strSysFolder = "C:\WINDOWS" then
strRegKey = "HKLM\Network\Logon\username"
End If
End If
err.Clear
strUser = shellobj.RegRead (strRegKey)
strRegKey = "HKLM\Software\support.com\users\" & strUser
& "\DnaServerList\74D49528\"
'==========================================================
===========================================================
===============================
On Error Resume Next
strNotify = shellobj.RegRead
("HKEY_LOCAL_MACHINE\Software\tioga\Notification")
IF strNotify = "False" then
global = ""
shellobj.run tgfixpath & "/fds " &
global ,1, TRUE
shellobj.RegDelete strRegKey
Else
global
= "
http://sdcglobal4.sel.sony.com/global"
shellobj.run tgfixpath & "/fds " &
global ,1, TRUE
End If
err.Clear
shellobj.run tgfixpath & "/fds " & chr(34) & lserver & chr
(34) ,1, TRUE
shellobj.run forcesyncpath, 1, true
wscript.Quit