BigFix Technical Search
Search BigFix
|
|
|
| Search Areas | |||
| BigFix Support Website | Knowledge Base | ||
| User Forums | Main BigFix Website | ||
Looking for info on the BigFix Relevance Language? Try the Inspector Search Engine. |
|||
Summary:
Can you provide an example of a login script to install the BES Client?
Solution:
Below is an example of a batch script that can be run at startup to install the BES Client. You will need to configure the batch script to work on your network and you will need to set up a shared folder that contains all the files necessary to install the BES Client.
Note: This script assumes that the BES Client is installed in the default folder and that the name of the login script file is BESINSTALL.BAT.
@echo off
rem This file can be used as a login script for windows machines
rem you must set up a share containing the BES Client w/ its masthead
rem MAKE SURE THAT THE USER HAS ACCESS TO THE SHARE OR ELSE IT WILL FAIL
rem BECAUSE IT WILL ASK FOR A LOGIN AND PASSWORD AND IT WILL FAIL
rem this is designed for WinNT/2000/XP machines
rem you will need to customize the following variables for your network configuration
set SERVERNAME=CHANGEME
set SHARENAME=CHANGEME
rem The TEMPLOGPATH should be the path to a file where the install
rem log will be written to. This file will need to be writable by
rem every computer that is going to install the BES Client or the
rem installation will fail. (Example: "TEMPLOGPATH=C:\temp\besclientinstall.log"
rem will create the file besclientinstall.log in the C:\temp folder
rem on each computer that installs the BES Client.
set TEMPLOGPATH=CHANGEME
if not exist besinstall.bat goto WrongDir
rem NOTE: The default folder changed in BES 4.0 so if you have any BES 3.1 Clients or earlier, you should check both folders
if exist "c:\program files\BigFix Enterprise\BES Client\BESClient.exe" goto AgentFound
if exist "c:\program files\BigFix Enterprise\Enterprise Client\BESClient.exe" goto AgentFound
@echo Now installing BigFix Enterprise Client on this machine ...
\\%SERVERNAME%\%SHARENAME%\Setup /s /f2"%TEMPLOGPATH%"
del %TEMPLOGPATH%
goto AgentFound
:WrongDir
@echo on
@echo BESINSTALL.BAT not in working directory, please fix this and try again.
pause
:AgentFound
Knowledge Base ID: | 42 |
Version Information: | 7.0 |
Creation Date: | 29 Aug 2002 14:42:29 |
Last Modified Date: | 19 Dec 2008 23:32:05 |
