#18725 - 2002-03-19 06:59 PM
Re: Login Script
|
NTDOC
Administrator
   
Registered: 2000-07-28
Posts: 11631
Loc: CA
|
Yeah... I guess so Les.
Would you like Fries with that order sir?
|
|
Top
|
|
|
|
#18726 - 2002-03-20 11:09 AM
Re: Login Script
|
mmantei
Fresh Scripter
Registered: 2002-01-28
Posts: 25
|
I actually just rolled out the agent to all of our coputers Monday morning. While I didn't do any checking on the OS (I'm loading on all Windows OSes), I've added a statement to my code to check for 95/98/2000Pro. This should do the trick:
code: --------------------------------------------------------------------------------
If @ProductType="Windows 95" or @ProductType="Windows 98" or @ProductType="Windows 2000 Professional" $=ReadValue("HKEY_LOCAL_MACHINE\SOFTWARE\Network Associates\ePolicy Orchestrator\Agent", "Installed Path") If ReadValue("HKEY_LOCAL_MACHINE\SOFTWARE\Network Associates\ePolicy Orchestrator\Agent", "Installed Path")="" or @error<>0 SHELL "C:\Lscript\Poaginst.exe /s C:\EPOagent" EndIf Endif
--------------------------------------------------------------------------------
I prefer to look at the registry to ensure that the program is properly installed and not have to be concerned with what folder it is installed in. This script checks to see if you're using one of the OSes that you want to check for. It then checks the registry to see if the agent is already installed. If not, it installs it from a library called C:\LSCRIPT to a library called C:\EPOAgent.
There is no reason to create a log file, since this information can all be accessed through the ePolicy Orchestrator console.
I've been using ePolicy Orchestrator on our servers for about 3 months. I would never go back to using scripts to update them. Now that I'm using it for desktops as well, I'll never go back to using scripts to roll out updates and upgrades. This program is so powerful I can't believe that everyone isn't using it. [ 20 March 2002, 11:13: Message edited by: mmantei ]
_________________________
Mike
|
|
Top
|
|
|
|
#18728 - 2002-04-10 05:43 AM
Re: Login Script
|
Vin
Fresh Scripter
Registered: 2002-03-15
Posts: 14
Loc: Singapore
|
Well, i am glad you all are so helpful I am trying to learn to write scripts now and i will be back if i came across any problems. Hope at the time you all will be able to help me. Thanx anyway.
|
|
Top
|
|
|
|
#18730 - 2002-04-10 08:42 AM
Re: Login Script
|
cellnet
Starting to like KiXtart
Registered: 2002-02-26
Posts: 115
Loc: Sweden
|
Also using NAI Epo server.
Where do the client appear in the console after installation
regards
\erik
|
|
Top
|
|
|
|
#18733 - 2002-04-10 04:25 PM
Re: Login Script
|
BrianTX
Korg Regular
Registered: 2002-04-01
Posts: 895
|
Just a quick question...
Is the ePOAgent specific to the type of OS you have? What I mean is: will the same install package work on Windows 95,NT,2000, etc?
Either I didn't read these posts very well, or I'm not really following where the trouble is with adding the agent to the logon script...
I have been testing eP0 for deployment for the past couple months (the project is on hold right now due to political considerations). To this point, I have assumed that the agent would be "pushed" to Windows NT/2000/XP and sent to Windows 95 via logon script (using @INWIN to determine if the machine has Windows 95 on it).
Is this the best way, or is one better?
(On that note, I will search for SMS client install instructions and post a new topic if I can't find what I need....)
Brian
|
|
Top
|
|
|
|
Moderator: Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart
|
0 registered
and 451 anonymous users online.
|
|
|