Re: My RIS Imaging and RunOnce Setup
- From: "Anthony" <anthony.spam@xxxxxxxxxxxxxx>
- Date: Wed, 16 May 2007 11:35:31 +0100
Altiris Deployment Solution does this by having an agent on the DOS
partition as well as the Windows partition. Both are able to talk to the
Deployment Server, so one agent can boot into the other partition, then the
other agent completes a task (like re-imaging), then boots back into
Windows,
Anthony
http://www.airdesk.co.uk
"DHamer" <d.hamer@xxxxxxxxxxxxxxx> wrote in message
news:1179308751.907530.311840@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
On 26 Apr, 11:22, DHamer <d.ha...@xxxxxxxxxxxxxxx> wrote:
Decided to list some of the problems we had;
Getting our splash screen to display during the install process was a
pain, as XP doesnt include a command line tool to force a window on-
top. This was eventually done with a 3rd party bit of freeware....see
the runonce.bat for info.
shockwave has been a pain, since the silent/passive install STILL puts
up a message asking if you want to install google toolbar, and I
cannot find a way to stop this from happening. The workaround was to
install google toolbar first, so that shockwave doesnt bother asking.
Now if I could find a scripted way of UNINSTALLING google toolbar I'd
be a happy man.
I should also explain one of the commands which creates a local group
on the PC called LOCAL ADMINS. This is so that we can make certain
network users a member of a domain group, thus giving them local admin
rights on workstations. Ideasl for technicians etc.
RegardsDavidHamer.
DHamer wrote:
Hi,
My name isDavidHamerand I work for Blackburn College, in Lancashire
UK.
Since we have been working with ourRISimaging process for the past 2
years, I thought that now would be a good time to post our config
files so that others might get some useful tips.
In summary, here is how it all works;
We are a college, and have around 1,500 PCs over 7 types of
workstation. We have a small operations team, who should a machine
need re-imaging will go and do an F12 boot and log-in.
The machine then boots up into imaging and downloads ourRISbased
image, which also includes all our software (more on that later).
Once theRISprocess is complete, the workstation re-boots, and goes
into the RunOnce process. I'll include more on that later in this
document too. All the core applications are installed one by one, and
a full screen message is displayed which simply states the HelpDesk
phone number and a "Please Wait" message, so that the user cannot see
the batch file processing in the background.
Once all the applications are installed, the registry is cleaned up,
application windows closed, and the PC rebooted. Once the reboot is
complete the PC is at the log-in screen and ready to use.
The attached example is from the staff side of our network, but we use
the same principal for either staff or students, with obvious tweeks
to the software being installed.
If any students from Blackburn College are reading this, you can be
sure that I have changed any passwords before pasting config files.
I was going to post a directory listing of ourRISfolder, but due to
googles newsgroup posting restrictions I cannot do that.
Anyway, here is a copy of our ristndrd.sif file from the i386/
templates folder;
-------------------------------------------------------
;SetupMgrTag
[data]
floppyless="1"
msdosinitiated="1"
OriSrc="\\%SERVERNAME%\RemInst\%INSTALLPATH%"
OriTyp="4"
LocalSourceOnCD=1
;DisableAdminAccountOnDomainJoin=0
AutoPartition=1
UnattendedInstall="Yes"
[SetupData]
OsLoadOptions="/noguiboot /fastdetect"
SetupSourceDevice="\Device\LanmanRedirector\%SERVERNAME%\RemInst\
%INSTALLPATH%"
[Unattended]
OemPreinstall=Yes
FileSystem=LeaveAlone
ExtendOEMPartition=0
TargetPath=\WINDOWS
OemSkipEula=Yes
InstallFilesPath=\\%SERVERNAME%\RemInst\%INSTALLPATH%\%MACHINETYPE
%
LegacyNIC=1
UnattendMode=FullUnattended
NtUpgrade=No
OverwriteOemFilesOnUpgrade=No
OemPnpDriversPath = \Drivers\Nic;\Drivers\3000\Display;\Drivers
\3000\Audio;\Drivers\2800\Audio;\Drivers\2400\Audio;\Drivers
\OptixplexGX520\Nic;\Drivers\OptixplexGX520\Video;\Drivers
\OptixplexGX520\Audio;\Drivers\OptixplexGX520\Chipset;\Drivers
\OptixplexGX520\Monitor;\Drivers\CompaqD330\Audio;\Drivers
\SamsungV25\Wireless;\Drivers\Tecra\Wireless;\Drivers
\OptixplexGX620\Audio;\Drivers\OptixplexGX620\NIC;\Drivers
\OptixplexGX620\Chipset;Drivers\ToshibaA120\LAN;Drivers
\ToshibaA120\Display;Drivers\ToshibaA120\Audio;Drivers
\ToshibaA120\WLAN
[UserData]
FullName="Computer Services"
OrgName="Blackburn College"
ComputerName=%MACHINENAME%
ProductKey=YEAH-RIGHT-AINT-GONNA-HAPEN
[GuiUnattended]
OemSkipWelcome=1
OemSkipRegional=1
TimeZone=%TIMEZONE%
;autologin
AutoLogon=Yes
AutoLogonCount=1
AdminPassword="passwordhere"
EncryptedAdminPassword=NO
[Display]
BitsPerPel=16
XResolution=800
YResolution=600
VRefresh=60
[Networking]
InstallDefaultComponents=No
ProcessPageSections=Yes
[Identification]
JoinDomain=%MACHINEDOMAIN%
DoOldStyleDomainJoin=Yes
[RemoteInstall]
Repartition=Yes
UseWholeDisk=Yes
[OSChooser]
Description="Windows XP With Service Pack 2"
Help="This will install Windows Professional with base
applications & SP2"
LaunchFile="%INSTALLPATH%\%MACHINETYPE%\templates\startrom.com"
ImageType=Flat
Version="5.1 (2600)"
[TapiLocation]
CountryCode=44
Dialing=Tone
AreaCode=44
LongDistanceAccess="9"
[RegionalSettings]
LanguageGroup=1
SystemLocale=00000809
UserLocale=00000809
InputLocale=0809:00000809
[Branding]
BrandIEUsingUnattended=Yes
[Proxy]
Proxy_Enable=1
Use_Same_Proxy=1
HTTP_Proxy_Server=radius:8080
[URL]
Home_Page=http://www.google.com
[NetAdapters]
Adapter1=params.Adapter1
[NetClients]
MS_MSClient=params.MS_MSClient
[NetServices]
MS_SERVER=params.MS_SERVER
[NetProtocols]
MS_TCPIP=params.MS_TCPIP
[params.MS_TCPIP]
DNS=Yes
UseDomainNameDevolution=No
EnableLMHosts=Yes
AdapterSections=params.MS_TCPIP.Adapter1
[params.MS_TCPIP.Adapter1]
SpecificTo=Adapter1
DHCP=Yes
WINS=No
NetBIOSOptions=0
[params.Adapter1]
INFID=*
[GuiRunOnce]
Command0 = "c:\applications\runonce.bat"
[WindowsFirewall]
Profiles = WindowsFirewall.TurnOffFirewall
[WindowsFirewall.TurnOffFirewall]
Mode = 0
-------------END-------------------------------------------
As you can see, the aboverissetup file specifies that once complete,
the imaging process will run "runonce.bat" after the reboot..... soo,
here is the most important past of our imaging process, the
runonce.bat;
-------------------------------------------------------------
@ECHO OFF
ECHO Load PowerMenu which is used to force specific windows to appear
OnTop
start /realtime c:\Applications\pleasewait\PowerMenu.exe -quiet
ECHO Installing Windows Installer v3.1
start /realtime C:\Progra~1\Intern~1\iexplore.exe -k c:\applications
\pleasewait\installer31.htm
start /realtime c:\Applications\pleasewait\PowerMenu.exe -topmost on
"c:\applications\pleasewait\installer31.htm"
start /wait /min c:\Applications\Installer31\installer31 /passive /
norestart
start /realtime c:\Applications\pleasewait\PowerMenu.exe -topmost off
"c:\applications\pleasewait\installer31.htm"
ECHO Installing Dot Net Framework v2.0
start /realtime C:\Progra~1\Intern~1\iexplore.exe -k c:\applications
\pleasewait\netframework.htm
start /realtime c:\Applications\pleasewait\PowerMenu.exe -topmost on
"c:\applications\pleasewait\netframework.htm"
start /wait /min c:\Applications\DotNetFW\DotNetFX /c /t:c:
\applications\DotNetFW
start /wait /min c:\Applications\DotNetFW\install.exe /q
start /realtime c:\Applications\pleasewait\PowerMenu.exe -topmost off
"c:\applications\pleasewait\netframework.htm"
ECHO Installing Internet Explorer v7
start /realtime C:\Progra~1\Intern~1\iexplore.exe -k c:\applications
\pleasewait\ie7.htm
start /realtime c:\Applications\pleasewait\PowerMenu.exe -topmost on
"c:\applications\pleasewait\ie7.htm"
start /wait /min c:\Applications\ie7\ie7.exe /passive /norestart /
update-no
start /realtime c:\Applications\pleasewait\PowerMenu.exe -topmost off
"c:\applications\pleasewait\ie7.htm"
ECHO Installing Quicktime player 7
start /realtime C:\Progra~1\Intern~1\iexplore.exe -k c:\applications
\pleasewait\quicktime7.htm
start /realtime c:\Applications\pleasewait\PowerMenu.exe -topmost on
"c:\applications\pleasewait\quicktime7.htm"
start /wait /min c:\Applications\Quicktime7\QuickTime.msi /q
start /wait /min xcopy "C:\Applications\Quicktime7\QuickTime.qtp" "C:
\Documents and Settings\All Users\Application Data\QuickTime\" /e /y
start /realtime c:\Applications\pleasewait\PowerMenu.exe -topmost off
"c:\applications\pleasewait\quicktime7.htm"
ECHO Installing Office 2007 using autosetup
start /realtime C:\Progra~1\Intern~1\iexplore.exe -k c:\applications
\pleasewait\office.htm
start /realtime c:\Applications\pleasewait\PowerMenu.exe -topmost on
"c:\applications\pleasewait\office.htm"
start /wait /min c:\Applications\Office2007\setup.exe
start /realtime c:\Applications\pleasewait\PowerMenu.exe -topmost off
"c:\applications\pleasewait\office.htm"
ECHO Installing SaveAsPDF Office Plug-In
start /wait /min c:\Applications\saveaspdf\saveaspdf.exe /quiet
ECHO Installing Adobe Acrobat Reader 8
start /realtime C:\Progra~1\Intern~1\iexplore.exe -k c:\applications
\pleasewait\adobe8.htm
start /realtime c:\Applications\pleasewait\PowerMenu.exe -topmost on
"c:\applications\pleasewait\adobe8.htm"
start /wait /min c:\Applications\AdobeReader8\AcroRead.msi
TRANSFORMS=c:\Applications\AdobeReader8\AcroRead.mst /q
start /realtime c:\Applications\pleasewait\PowerMenu.exe -topmost off
"c:\applications\pleasewait\adobe8.htm"
ECHO Installing Flash player
start /realtime C:\Progra~1\Intern~1\iexplore.exe -k c:\applications
\pleasewait\flash.htm
start /realtime c:\Applications\pleasewait\PowerMenu.exe -topmost on
"c:\applications\pleasewait\flash.htm"
start /wait /min
...
read more »- Hide quoted text -
- Show quoted text -
Wouldnt it be fantastic to somehow remove the prompt asking you to
press F12!?
You can do this by renaming the ROM files, but this doesnt really help
as it would boot a machine into imaging every single time you
startup. What is ideally needed is that you can tick a checkbox in
the properties of a workstation object in AD, which says "IMAGE AT
NEXT BOOT", the startrom boot file would then check AD when the PC
boots, and image it if the value is set. Simple!
Onyone have any ideas where to start coding a new ROM file?
Regards
David Hamer.
.
- References:
- Re: My RIS Imaging and RunOnce Setup
- From: DHamer
- Re: My RIS Imaging and RunOnce Setup
- Prev by Date: Re: Network printing from Mac OSX 10.4.9
- Next by Date: Re: win2003 print server redundancy
- Previous by thread: Re: My RIS Imaging and RunOnce Setup
- Next by thread: Re: Delegating a domain user
- Index(es):
Relevant Pages
|