altecsole (21st February 2008)
I'm sure it's listed elsewhere in this thread as that's where I nicked it from, but I'll post a copy of one of my RIS setups (The others are identical apart from the .cmd files which deploy different applications) which will deploy on damn near any hardware.
This setup uses the flat XP Pro SP2 image created when originally setting up RIS.
The 3 .cmd files should be placed in \\RIS_Server\REMINST\Setup\English\Images\Image_Na me\$OEM$\$1\Install
Hardware drivers should be placed in \\RIS_Server\REMINST\Setup\English\Images\Image_Na me\$OEM$\$1\Drivers
Applications with silent installs added to ictsuite1-0.cmd will be installed automatically. You can even install applications without silent installers by scripting them using AutoIt.
ictsuite1-0.cmdCode:[data] floppyless = "1" msdosinitiated = "1" OriSrc = "\\%SERVERNAME%\RemInst\%INSTALLPATH%\%MACHINETYPE%" OriTyp = "4" LocalSourceOnCD = 1 [SetupData] OsLoadOptions = "/noguiboot /fastdetect" SetupSourceDevice = "\Device\LanmanRedirector\%SERVERNAME%\RemInst\%INSTALLPATH%" [Unattended] OemPreinstall = yes OemPnpDriversPath = Drivers DriverSigningPolicy = Ignore FileSystem = LeaveAlone ExtendOEMPartition = 0 TargetPath = \WINDOWS OemSkipEula = yes InstallFilesPath = "\\%SERVERNAME%\RemInst\%INSTALLPATH%\%MACHINETYPE%" LegacyNIC = 1 [Components] AccessOpt=Off chat=off deskpaper=off freecell=off hearts=off hyperterm=off media_clips=off media_utopia=off minesweeper=off msnexplr=off OEAccess=off pinball=off solitaire=off spider=off templates=off WMAccess=off WMPOCM=off zonegames=off [UserData] ProductID = "Your Windows Product Key" FullName = "Authorised User" OrgName = "Your School" ComputerName = %MACHINENAME% [GuiUnattended] OemSkipWelcome = 1 OemSkipRegional = 1 TimeZone = %TIMEZONE% AdminPassword = "Local Admin Password" Autologon = Yes Autologoncount = 2 [GuiRunOnce] %systemdrive%\install\ictsuite1-0.cmd [Display] BitsPerPel = 16 XResolution = 1024 YResolution = 768 VRefresh = 60 [RegionalSettings] LanguageGroup=1 SystemLocale=00000809 UserLocale=00000809 InputLocale=0809:00000809 [Networking] [NetServices] MS_Server=params.MS_PSched [Identification] JoinDomain = %MACHINEDOMAIN% DoOldStyleDomainJoin = Yes [RemoteInstall] Repartition = Yes UseWholeDisk = Yes [OSChooser] Description ="Microsoft Windows XP Professional - ICT Suite 1" Help ="This will install Windows XP Professional as a Curriculum station with the global software set." LaunchFile = "%INSTALLPATH%\%MACHINETYPE%\templates\startrom.com" ImageType =Flat Version="5.1 (0)"
curric1.cmdCode:cmdow @ /HID @echo off SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx REG ADD %KEY% /V TITLE /D "Installing Drives And Applications" /f REG ADD %KEY%\001 /VE /D "Mapping Network Drive" /f REG ADD %KEY%\001 /V /1 /D "%systemdrive%\install\curric1.cmd" /f REG ADD %KEY%\004 /VE /D "KB899409 XP - Logon Delay" /f REG ADD %KEY%\004 /V 1 /D "\\THOR\REMINST\MSIs\kb899409\windowsxp-kb899409-x86-enu.exe /passive /quiet /norestart" /f REG ADD %KEY%\010 /VE /D "Microsoft Office 2003" /f REG ADD %KEY%\010 /V 1 /D "\\THOR\REMINST\MSIs\Office\SETUP.EXE TRANSFORMS=\\THOR\REMINST\MSIs\Office\Setup_Office_18_05_06.MST /qb-" /f REG ADD %KEY%\015 /VE /D "OpenOffice.org 2.0" /f REG ADD %KEY%\015 /V 1 /D "MSIEXEC.EXE /i \\THOR\REMINST\MSIs\OpenOffice\openofficeorg20.msi ALLUSERS=1 /q" /f REG ADD %KEY%\020 /VE /D "FireFox 2.0" /f REG ADD %KEY%\020 /V 1 /D "MSIEXEC.EXE /i \\THOR\REMINST\MSIs\Firefox\Firefox2.0.msi /q" /f REG ADD %KEY%\025 /VE /D "IS Script 11" /f REG ADD %KEY%\025 /V 1 /D "MSIEXEC.EXE /i \\THOR\REMINST\MSIs\QuickTime\ISScript11.msi /qb" /f REG ADD %KEY%\030 /VE /D "Quick Time Player 7" /f REG ADD %KEY%\030 /V 1 /D "MSIEXEC.EXE /i \\THOR\REMINST\MSIs\QuickTime\QuickTime.msi /passive /norestart /t \\THOR\REMINST\MSIs\QuickTime\QuickTime_MST.mst ISSETUPDRIVEN=1" /f REG ADD %KEY%\035 /VE /D "Windows Media Player 10" /f REG ADD %KEY%\035 /V 1 /D "MSIEXEC.EXE /i \\THOR\REMINST\MSIs\WindowsMediaPlayer10\wmp10setupedp.msi /passive /norestart /quiet" /f REG ADD %KEY%\040 /VE /D "Java 2 Runtime Environment 22.214.171.124" /f REG ADD %KEY%\040 /V 1 /D "MSIEXEC.EXE /i \\THOR\REMINST\MSIs\J2RE\38075a31.msi /passive /norestart /t \\THOR\REMINST\MSIs\J2RE\J2RE_1_4_2_11.mst" /f REG ADD %KEY%\042 /VE /D "DirectX 9.0c" /f REG ADD %KEY%\042 /V 1 /D "\\THOR\REMINST\MSIs\DirectX\dxsetup.exe /silent" /f REG ADD %KEY%\045 /VE /D "Macromedia Flash Player 8" /f REG ADD %KEY%\045 /V 1 /D "MSIEXEC.EXE /i \\THOR\REMINST\MSIs\Flash\install_flash_player_active_x.msi /q" /f REG ADD %KEY%\050 /VE /D "Macromedia Shockwave" /f REG ADD %KEY%\050 /V 1 /D "MSIEXEC.EXE /i \\THOR\REMINST\MSIs\Shockwave\sw_lic_full_installer.msi /q" /f REG ADD %KEY%\056 /VE /D "Google SketchUp" /f REG ADD %KEY%\056 /V 1 /D "MSIEXEC.EXE /i \\THOR\REMINST\MSIs\GoogleSketchUp\GoogleSketchUp.msi /q" /f REG ADD %KEY%\057 /VE /D "Audacity" /f REG ADD %KEY%\057 /V 1 /D "\\THOR\REMINST\MSIs\Audacity\audacity.exe" /f REG ADD %KEY%\063 /VE /D "The GIMP" /f REG ADD %KEY%\063 /V 1 /D "\\THOR\REMINST\MSIs\Gimp\gtk.exe" /f REG ADD %KEY%\063 /V 2 /D "\\THOR\REMINST\MSIs\Gimp\gimp.exe" /f REG ADD %KEY%\063 /V 3 /D "\\THOR\REMINST\MSIs\Gimp\gap.exe" /f REG ADD %KEY%\063 /V 4 /D "\\THOR\REMINST\MSIs\Gimp\gimp-help.exe" /f REG ADD %KEY%\085 /VE /D "Microsoft .Net Framework" /f REG ADD %KEY%\085 /V 1 /D "MSIEXEC.EXE /i \\THOR\REMINST\MSIs\DotNet\1.1\netfx.msi /q" /f REG ADD %KEY%\085 /V 2 /D "\\THOR\REMINST\MSIs\DotNet\2.0\install.exe /q" /f REG ADD %KEY%\120 /VE /D "Adobe Reader 7" /f REG ADD %KEY%\120 /V 1 /D "MSIEXEC.EXE /i \\THOR\REMINST\MSIs\AdobeReader\AdobeReader7.0.msi /q /t \\THOR\REMINST\MSIs\AdobeReader\reader.mst" /f REG ADD %KEY%\125 /VE /D "AVG 7" /f REG ADD %KEY%\125 /V 1 /D "\\THOR\REMINST\MSIs\AVG7\AVG\avgsetup.exe /script_file \\THOR\REMINST\MSIs\AVG7\avgsetup.ini" /f REG ADD %KEY%\135 /VE /D "OCS Inventory" /f REG ADD %KEY%\135 /V 1 /D "MSIEXEC.EXE /i \\THOR\REMINST\MSIs\OCS\OCS.msi /q" /f REG ADD %KEY%\150 /VE /D "Cleaning Up" /f REG ADD %KEY%\150 /V 1 /D "%systemdrive%\install\curric2.cmd" /f REG ADD %KEY%\200 /VE /D "Restarting" /f REG ADD %KEY%\200 /V 1 /D "shutdown.exe -r -f -t 5 -c \"Windows will now restart....\"" /f shutdown.exe -r -f -t 5 -c "Windows will now restart...." Exit
curric2.cmdCode:cmdow @ /HID @echo off :: Create an authenticated connection to the server by mapping a drive. net use q: \\THOR\RemInst /user:DOMAIN\UserName /persistent:no UserPass :: Change to the Q Drive q: exit
This setup has worked happily for at least 12 months, however I've now moved over to WDS & BDD as I can get away with a smaller number of configurations.Code:CMDOW @ /HID @echo off :: Start >> set AUPSM=%ALLUSERSPROFILE%\Start Menu del "%AUPSM%\New Office Document.lnk" del "%AUPSM%\Open Office Document.lnk" del "%AUPSM%\Set Program Access and Defaults.lnk" del "%AUPSM%\Windows Catalog.lnk" del "%AUPSM%\Windows Update.lnk" del "%AUPSM%\Microsoft Update.lnk" :: Start >> Programs >> set UPSMP=%USERPROFILE%\Start Menu\Programs del "%UPSMP%\Remote Assistance.lnk" set DUSMP=C:\Documents and Settings\Default User\Start Menu\Programs del "%DUSMP%\Remote Assistance.lnk" set AUPSMPA=%ALLUSERSPROFILE%\Start Menu\Programs rd /s /q "%AUPSMPA%\Java Web Start" rd /s /q "%AUPSMPA%\GTK+ Runtime Environment" rd /s /q "%AUPSMPA%\AVG Anti-Virus 7.0" rd /s /q "%AUPSMPA%\AVG 7.5" del "%AUPSMPA%\GIMP\Uninstall.lnk" rd /s /q "%AUPSMPA%\SMART\Board Software\ Check for Updates" set AUPSMPA=%ALLUSERSPROFILE%\Start Menu\Programs\Startup del "%AUPSMPA%\Adobe Gamma Loader.lnk" del "%AUPSMPA%\Java Web Start.lnk" :: Start >> Programs >> Accessories >> set AUPSMPA=%ALLUSERSPROFILE%\Start Menu\Programs\Accessories rd /s /q "%AUPSMPA%\System Tools" rd /s /q "%AUPSMPA%\Communications" set DUSMP=C:\Documents and Settings\Default User\Start Menu\Programs\Accessories del "%DUSMP%\Tour Windows XP.lnk" del "%DUSMP%\Program Compatibility Wizard.lnk" del "%DUSMP%\Synchronize.lnk" del "%DUSMP%\Command Prompt.lnk" :: Start >> Programs >> Administrative Tools set AUPSMPA=%ALLUSERSPROFILE%\Start Menu\Programs\Administrative Tools rd /s /q "%AUPSMPA%\Component Services.lnk" rd /s /q "%AUPSMPA%\Computer Management.lnk" rd /s /q "%AUPSMPA%\Data Sources (ODBC).lnk" rd /s /q "%AUPSMPA%\Event Viewer.lnk" rd /s /q "%AUPSMPA%\Local Security Policy.lnk" rd /s /q "%AUPSMPA%\Performance.lnk" rd /s /q "%AUPSMPA%\Services.lnk" :: Start >> Programs >> QuickTime set AUPSMPA=%ALLUSERSPROFILE%\Start Menu\Programs\QuickTime rd /s /q "%AUPSMPA%\About QuickTime.lnk" rd /s /q "%AUPSMPA%\Uninstall QuickTime.lnk" set UPSMPA=%ALLUSERSPROFILE%\Start Menu\Programs\Accessories del "%UPSMPA%\Tour Windows XP.lnk" del "%UPSMPA%\Program Compatibility Wizard.lnk" del "%UPSMPA%\Synchronize.lnk" del "%UPSMPA%\Command Prompt.lnk" del "%UPSMPA%\Address Book.lnk" set UPSMPA=%ALLUSERSPROFILE%\Start Menu\Programs\Startup del "%UPSMPA%\Adobe Reader Speed Launch.lnk" set AUD=%ALLUSERSPROFILE%\Desktop del "%AUD%\Java Web Start.lnk" del "%AUD%\Adobe Reader 7.0.lnk" del "%AUD%\SMART Board Tools.lnk" del "%AUD%\SMART Notebook.lnk" del "%AUD%\Notebook Software.lnk" del "%AUD%\AVG 7.5.lnk" del "%AUD%\Google Earth.lnk" DEL "%systemroot%\*.bmp" DEL "%systemroot%\system32\dllcache\*.scr" DEL "%systemroot%\system32\*.scr" RD /S /Q %systemdrive%\Drivers RD /S /Q %systemdrive%\Install net user aspnet /delete EXIT
altecsole (21st February 2008)
hello all, a little help?
i've set up a cd based image, and tried to set up an unattended install, but it never works. which file do i need to create and where do i place it?
i've tried creating an unattended.txt and renaming it blah.sif and placing it in the i386 folder.
Rename it to winnt.sif
As this is a RIS question i thought i'd add it in here.
When i look in adsi edit under CN=NetServices,CN=Services,CN=Configuration,DC=dom ain,DC=domain i see 2 DHCP servers listed one is the IP of my DHCP server the other is the IP of my RIS server.
Is the RIS server supposed to be listed as a DHCP server? Anyone else see this?
yup RIS is its own DHCP Server
Does anyone have a list of network cards supported natively by RIS? We have a bunch of machines with onboard Realtek gigabit cards which we cannot get the system to recognise in the initial stage of the installation process. If we can't get that working, we would like to add a second gigabit card to each machine which will work without any more messing about.
Can anyone help?
I was finding having to authenticate against AD every time I booted into RIS was becoming a pain, so I had a look at how the menu system works, and it turns out to be a very simple form of markup language.
So with a 10 minute hack I was able to preset a build username/password into the RIS client, so all I have to do to each client is press enter lots.
Nowadays I only use RIS as a network launcher for Ghostcast though. Ghost has several significant advantages over RIS, like it can be made to work over many HALs, and you can multicast the image across the network making it much faster to rebuild whole rooms.
</sales pitch> !!
Having borked a server install out of two and still having a second server to hand with a good install I decided to try some new stuff with RIS and risprep...
I hadn't counted on the RAID drivers causing problems so when I got the "can't find a hard drive" I was a bit non-plussed. The solution however was rather nifty so I thought I'd share.
Instead of attempting to load the drivers direct to the Risprep'd image on the server I noted that you can make driver changes to the base OS on the RIS drive and they should carry over to the risprep.
I then noted that a lot of work was required to do this manually: Ref:
MSFN's Unattended Windows : RAID/SATA Drivers
... so after a few minutes looking at the nightmare of code I decided to give nlite a try...
Amazingly it worked... All I did was use nLite on the base install to add in the driver (Textmode obviously) and then try re-ris'ing the server... Simple, effective and still waiting to see what the final outcome is...
Thought I'd pass that on though as it was a lot of guesswork..
Couple of things I learned the hard way today...
1. Duplicate GUID's error
If you get this it may not relate directly to the computer that comes up with the error. It's more likely that you've managed to RIS or add two machines on to the AD that have the same GUID. Removing at least one of them resolves the issue and allows you to continue.
The real lesson here is to not assume it's the current machine that comes up with the error. For some reason RIS seems to belatedly realised there's a problem and bork over two other computers. Took me half an hour to ID the problem machines and remove one (that had been deleted) and use GGUID.exe to resolve the other before re-adding it to the AD.
2. "Unable to create or Modify Computer account" Error: 00004E4F
This happens usually because you're trying to use a custom naming scheme to setup your machines AND putting the machines into a OU automatically. Google helped with this one but the solution I went with was to return the naming system to a pre-set one (AD > Domain controllers > right click > Remote Intall > Advanced Settings )
It may have been this that prompted problem #1 above but either way resorting to a pre-set naming convention resolve the error.
Don't forget to restart the WDS / RIS service when you're done...
Hope that proves useful to anyone else who hits it...
We're running Windows Server 2003 R2 x86 (SP2) and was wondering if anyone has managed to get Windows XP x64 images working with RIS?
How can you get the RIS server to recognise the x64 image? When I put the RISTNDRD.sif file in the AMD64 folder it doesn't recognise the image and when I put it in the i386 folder it complains it can't find txtsetup.sif.
Looking up RIS stuff all over the internet and thought this link might be handy for people...
Adding drivers to RIS images without RIPrep (Windows XP and Windows 2000) | Diary Products - Hannes Schmidt
Now that our RIS server is working fine and builds machines I'm looking at getting the machines to join the correct security groups as part of the build.
Is this possible through the ristndrd.sif file?
I've googled but cannot find anything. WOndered if you guys had done it.
There are currently 1 users browsing this thread. (0 members and 1 guests)