Discussion Locked

Login Script needed - this is specific

0 helpful
9 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I am looking for a login script (if one exists) that will:

1)set time
2)check to see current version of Norton, update from our virus server if needed
3)if norton is not installed, map to the network share and install (using run-as command for permissions) norton anti-virus

I have an existing script that is running, but needs to be modified. It will not allow some users to install the updates and I dont beleive that it will auto-install the client software needed. I can email a copy of the script if needed to help out on this.

I have NO scripting experience here, so help is needed (point me in the right direction) or some links to syntax. Im not sure of language, but I beleive it to be VB.

Thanks

9 replies

by gigelul

You can use a simple batch file for time synchronization and virus definition update.
-----------------
echo off
REM synchronize time:
net time \\ServerName /set /y
REM update virus definition:
cd\
cd program files
cd navnt
navlu32.exe /silent
exit
-----------------
To download virus definition I use ?Live update Administrative Utility?. You can download this utility from Symantec. With this utility you can make a ?liveupdt.hst? file, which must be copied on each workstation with Norton installed (in Program files\symantec\liveupdate\ ). This file will redirect all workstations to check for updates to the internal server/share where the ?Live update Administrative Utility? stores the downloaded updates. The ?Live update Administrative Utility? can be scheduled to check automatically for updates for all versions of Norton. If you put this batch in login scripts, every workstation will receive the necessary update.
For coping the ?liveupdt.hst? file you can add this to thesame batch (or use a separate batch):
------------------
if exist "c:\Program Files\Navnt\Navwnt.exe" copy \\ServerName\ShareName\liveupdt.hst c:\program files\symantec\liveupdate /y
if not exist "c:\Program Files\Navnt\Navwnt.exe" \\ServerName\ShareName\logevent.exe -m \\ComputerName -s S -e 45000 "Norton don't exist"
-------------------

by gigelul

The last line will inform you where don't exist Norton installed ("logenvent.exe" from resource kit, \\ComputerName the computer where you can view these records with "event viewer")

by flyfshmn

This looks good so far, but I need to have the command that will install NAV from a network share with a run-as command attached, as the users cant install software on their own. Here is what is running right now...Im not even sure, but is this DOScommands?

net time \\chrmorpdc01 /set /y >nul
@SET LANG=ENU
@SET FILE_SERVER=CHRMORPDC01
@ECHO OFF

rem %0\..\NBPSHPOP +T: \\%FILE_SERVER%\vplogon

if "%OS%" == "Windows_NT" goto WINNT_NBPSHPOP

%0\..\NBPSHPOP +T: \\%FILE_SERVER%\vplogon

goto MOVEON

:WINNT_NBPSHPOP

NBPSHPOP +T: \\%FILE_SERVER%\vplogon

:MOVEON

T:\OSVER
IF ERRORLEVEL 2 GOTO WIN_32
GOTO 16BIT

:WIN_32
T:\VP_Log32 /p=T:
GOTO END

:16BIT
T:\VP_Log16 /l=%LANG% /p=T:\ /n=4
:END

rem %0\..\NBPSHPOP -T:

if "%OS%" == "Windows_NT" goto WINNT_NBPSHPOP_END

%0\..\NBPSHPOP -T:

goto MOVEON_END

:WINNT_NBPSHPOP_END

NBPSHPOP -T:

:MOVEON_END

Thanks for the help so far... Please reply so that points can be awarded...

by gigelul

I'm not 100% sure what are doing your script. I suppose that it identifying the OS version, the language and something about the application type (16 bit or 32 bit). Define some variables for later use (LANG, FILE_SERVER) but I don't understand whatis NBPSHPOP (You use now this script? What do you think that it doing? This script is called from other scripts? What OSes and how many workstations exist in your network? Is so hard to install Norton in classic style, from workstation console?)
If you will use the batch described in my previous answer you don't need this (I used this batch for 100 workstation with no problems in the last two years).
About the installing Norton Antivirus product on remote workstations:
- I don't know if youcan install it with a script or without additional management software (maybe others know a way)
- For remote software installation I use VNC (require to be already installed on each workstation)

Best regards

by mark.tassin

In addition, per the installation instructions of NAVCE you need to copy the following files to your netlogon directory.

NBPSHPOP.EXE
VPLOGON.BAT

You will put the following in the logon script of your users.

CALL %0\..\vplogon.bat

So your logon script (which is nothing more than a batch file) should have the following:

:This line sets the time
NET TIME \\ /SET /Y
:This line installs/updates NAVCE
CALL %0\..\vplogon.bat

by mark.tassin

Odd... it erased my longer posting.

Anyway.. if you are having clients that are not installed via automatic deployment of NAVCE, you need to ensure the following:

1. In Symantec System Center, make sure that the operating systems you have deployed are set to auto-deploy. Do this by opening the server group, right clicking on the group, choosing all tasks, then Norton Anti-Virus, then client login scan and installation.

2. You may have corrupted installations on some systems... this happens under certain situations, such as a sudden reboot while the installer is running. To fix this you need to perform a manual uninstall of the client.
http://service1.symantec.com/SUPPORT/ent-security.nsf/552ba2f7636bedf088256818006f78bf/5700df7156aad99488256a22002729b8?OpenDocument&prod=Norton%20AntiVirus%20Corporate%20Edition&ver=7.6&src=ent&pcode=nav_ce&dtype=corp&svy=&prev=&miniver=nav_76_ce

This discussion is closed to new replies.