Jump to content

Radimus

Member
  • Posts

    310
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    United States

Everything posted by Radimus

  1. This requires a bit of manual setup... By no means is this as automated or full featured as XPCreate This requires winrar, CDBurn.exe, CDImage.exe, a bootsector, and an existing ISO of any flavor of XP,... I will add making the ISO and the Bootsector eventually No errorchecking or trapping is in place yet, and will probably blowup if the files/folders aren't ready ahead of time. first update will be to create the XPSource ISO and capture the bootsector then to error out if that iso doesn't exist. There is much to do if you want to compare to nlite or xpcreate, and I'm not that ambitious (yet ) My premise is to make a UA CD where the hotfixes\updates stay on the CD, not copied down in the $oem$ structure (on purpose). I just want to be able to modify the files/filestructure/file contents in a 'master' location and have it spin it into a fresh UaCD anything that I am missing in the grand scheme? I know there is much to do to make it bullet proof later on @echo off @echo off REM ----- Make Folder Structure ----- if not exist $oem$ do md $oem$ if not exist Bootsector do md Bootsector if not exist Hotfixes do md Hotfixes if not exist XPSource do md XPSource if not exist XPSP2 do md XPSP2 if not exist XPType3 do md XPType3 rd c:\XPTemp /q /s MD c:\XPTemp REM ----- Create XP ISO ----- if exist XPSource\WinXP.iso goto Extract :PROGRAMS ECHO Please insert a WindowsXP disc in the CD drive pause FOR %%D IN (D E F G H I J K L M N O P Q R S T U V W X Y Z) DO IF EXIST %%D:\WIN51IP SET CDROM=%%D: if not %CDROM% GOTO PROGRAMS CDIMAGE -LXPBUILD -YD -N -H -X -OCI -M -D d: XPSource\WinXP.iso cdr open %CDROM% bbie XPSource\WinXP.iso move image1.bin bootsector\bootsector.bin pause REM ----- Extract ISO to Working Folder ----- :Extract "%programfiles%\winrar\winrar.exe" x XPSource\WinXP.iso c:\XPtemp REM ----- Slipstream SP2 if necessary ----- if not exist c:\xptemp\win51ip.SP2 XPsp2\WindowsXP-KB835935-SP2-ENU.exe /integrate:c:\xptemp /passive REM ----- Slipstream Type 3 Hotfixes ----- FOR /f %%f in ('dir /b XPType3\*.exe') DO XPType3\%%f /integrate:c:\xptemp /passive REM ----- Remove Unnecessary Folders from working set ----- rem rd c:\xptemp\cmpnents /q /s rd c:\xptemp\Docs /q /s rd c:\xptemp\dotnetfx /q /s rd c:\xptemp\support /q /s rd c:\xptemp\valueadd /q /s REM ----- Copy OEM files, drivers, and other hotfixes to working set ----- copy winnt.sif c:\xptemp\i386\ /y xcopy $oem$ c:\XPTemp\$oem$ /e /v /h /y /i xcopy hotfixes c:\XPTemp\hotfixes /e /v /h /y /i REM ----- Create ISO of working folder ----- del xpbuild.iso echo %date% %time% > c:\XPTemp\BUILD.TXT CDIMAGE -LXPBUILD -YD -N -H -X -OCI -M -D c:\XPTemp XPBuild.ISO -Bbootsector\bootsector.bin del c:\XPTemp\BUILD.TXT REM ----- burn ISO to CD ----- CDBURN.EXE d: xpbuild.iso -SPEED MAX pause
  2. yep, that is what the problem was... 3 days blown on this. Oh well, I did write a batch to take a plain xp CD, ISO it to the HD, extract the files, apply sp2 (if necessary), integrate the type 3 hotfixes, del the unnecessary folders, copy in the $oem$ and hotfix folders, copy in the sif file, ISO it, and burn it to CD. I still need to see about using svcpack.inf, whether it makes a difference doing it through svcpack.inf, or just individually through runonceex, (I'm leaning toward runonceex...)
  3. I have about 2000 clients (laptop and desktop) in 12 main offices and 5 or 6 satellite offices. An image spanned on CDs that is bootable can be mailed even to teleworkers or remote offices without IT staff, and a phonecall to the central helpdesk can then remote to the newly imaged PC for naming and joining. 5 or 10 minutes of the client's time, and 5 minutes of a tech's time for remote control, and the user can work again... (the logon script handles the details of desktop icons, AV updates, outlook configuration, custom apps that only specific users get, as well as any updates that haven't been rolled up on the latest image In any case, we seem to have lost the original poster with his question regarding imaging and sysprep...
  4. You know... I think I know what the problem is... I have switched from repartitioning the HD to using a 8 gb partition (sysprep will extendoempartition for me later on) and Setup is apparently deleting the XP files but isn't removing the pre-existing $Docs folders, and since they exist when XP attempts to create the folders later on, it creates a new profile folder, leaving the old ones there... I am trying it again after removing the partition completely and recreating it... Dammit, I spent 3 days on this issue
  5. It is still doing it... I have removed the hkcu.reg and the runonceex.cmd from cmdlines.txt (empty) Files added to CD: $OEM$\cmdlines.txt $OEM$\HKCU.reg $OEM$\RunOnceEx.cmd $OEM$\$$ $OEM$\$$\Apps.cmd $OEM$\$$\CDR.exe $OEM$\$$\firewallcfg.cmd $OEM$\$$\Help $OEM$\$$\Hotfixes1.cmd $OEM$\$$\Hotfixes2.cmd $OEM$\$$\Hotfixes3.cmd $OEM$\$$\KIX32.EXE $OEM$\$$\kixforms.dll $OEM$\$$\Office.cmd $OEM$\$$\RegTweaks.reg $OEM$\$$\SHORTCUT.EXE $OEM$\$$\Shortcuts.cmd $OEM$\$$\sleep.exe $OEM$\$$\Switchless1.cmd $OEM$\$$\Switchless2.cmd $OEM$\$$\system32 $OEM$\$$\user.cmd $OEM$\$$\Help\calcplus.chm $OEM$\$$\system32\cmdow.exe $OEM$\$$\system32\Drivers $OEM$\$$\system32\VCdControlTool.exe $OEM$\$$\system32\Drivers\VCdRom.sys Hotfixes\Hotfixes.cmd Hotfixes\qchain.exe Hotfixes\Switchless1 Hotfixes\Switchless1\dotnetfx.EXE Hotfixes\Switchless1\dotnetfxsp1.EXE Hotfixes\Switchless1\MSJAVA1.EXE Hotfixes\Switchless1\MSJava2.EXE Hotfixes\Switchless1\WMP10Silent.EXE Hotfixes\Switchless2 Hotfixes\Switchless2\MBSASetup-EN.msi Hotfixes\Type1 Hotfixes\Type2 Hotfixes\Type2\WM9Codecs.exe Hotfixes\Type3 Hotfixes\Type3\WindowsXP-KB834707-x86-enu.exe Hotfixes\Type3\WindowsXP-KB873339-x86-ENU.exe Hotfixes\Type3\WindowsXP-KB885835-x86-ENU.exe Hotfixes\Type3\WindowsXP-KB885836-x86-ENU.exe Hotfixes\Type3\WindowsXP-KB885932-v2-x86-ENU.exe Hotfixes\Type3\WindowsXP-KB886185-x86-enu.exe I386\WINNT.SIF Winnt.sif ;SetupMgrTag [Data] AutoPartition=0 MsDosInitiated="0" UnattendedInstall="Yes" AutomaticUpdates=0 [Unattended] UnattendMode = FullUnattended Repartition = No OemSkipEula = Yes OemPreinstall = Yes ComputerType = "Advanced Configuration and Power Interface (ACPI) PC", Retail TargetPath = \WINDOWS UnattendSwitch = Yes WaitForReboot = No Hibernation = No AutoActivate = No KeyboardLayout = "US" OemPnPDriversPath = "drivers\000_Chipset;drivers\001_network;drivers\002_video;drivers\003_cardbus;drivers\004_Sound;drivers\005_modem;drivers\006_irda;drivers\007_touchpad;drivers\008_printer" DriverSigningPolicy = Ignore NonDriverSigningPolicy = Ignore [GuiUnattended] AdminPassword="password" EncryptedAdminPassword=NO AutoLogon=Yes AutoLogonCount=1 OEMSkipRegional=1 TimeZone=35 OemSkipWelcome=1 [Display] Xresolution=1024 Yresolution=768 BitsPerPel=16 [UserData] ProductKey=xxxxx-xxxxx-xxxxx-xxxxx-xxxxx FullName="Agency" OrgName="Agency" ComputerName=* [Identification] JoinWorkgroup=FDHC [Networking] InstallDefaultComponents=Yes [IEPopupBlocker] AllowedSites=https://www.website.com BlockPopups=Yes FilterLevel=Medium ShowInformationBar=Yes [Branding] BrandIEUsingUnattended=Yes [URL] Home_Page=http://intranet/ [Proxy] HTTP_Proxy_Server = http://proxy.agency.com:80 Proxy_Enable=1 Use_Same_Proxy=1 Proxy_Override = <local> [PCHealth] ER_Display_UI = 1 ER_Enable_Reporting = 0 RA_AllowToGetHelp = 0 RA_AllowFullControl = 0 [TerminalServices] AllowConnections = 1 [Components] AutoUpdate = off msmsgs = off msnexplr = off zonegames = off Solitaire = on Spider = On Pinball = Off minesweeper = on Freecell = On Hearts = Off OEAccess = Off Templates = Off [Shell] DefaultStartPanelOff=Yes DefaultThemesOff=Yes [GuiRunOnce] Runonceex.cmd cmdow @ /HID @echo Off set key=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx REG ADD %KEY% /V TITLE "Installing Additional Applications" /f REG ADD %KEY%\001 /VE /D "Installation of Additional Components" /f REG ADD %KEY%\001 /V 1 /D "%windir%\Switchless1.cmd" /f REG ADD %KEY%\002 /VE /D "Installation of Type 1 Hotfixes" /f REG ADD %KEY%\002 /V 1 /D "%windir%\hotfixes1.cmd" /f REG ADD %KEY%\003 /VE /D "Installation of Type 2 Hotfixes" /f REG ADD %KEY%\003 /V 1 /D "%windir%\hotfixes2.cmd" /f REG ADD %KEY%\004 /VE /D "Installation of Type 3 Hotfixes" /f REG ADD %KEY%\004 /V 1 /D "%windir%\hotfixes3.cmd" /f REG ADD %KEY%\005 /VE /D "Installation of Additional Windows Apps" /f REG ADD %KEY%\005 /V 1 /D "%windir%\Switchless2.cmd" /f REG ADD %KEY%\008 /VE /D "Installation of Microsoft Office 2003" /f REG ADD %KEY%\008 /V 1 /D "%windir%\Office.cmd" /f REG ADD %KEY%\010 /VE /D "Installation of AHCA Apps" /f REG ADD %KEY%\010 /V 1 /D "%windir%\apps.cmd" /f REG ADD %KEY%\015 /VE /D "Installation of Kixtart Files" /f REG ADD %KEY%\015 /V 1 /D "regsvr32 /s kixforms.dll" /f REG ADD %KEY%\025 /VE /D "Creating and Modifying Shortcuts" /f REG ADD %KEY%\025 /V 1 /D "%windir%\shortcuts.cmd" /f REG ADD %KEY%\030 /VE /D "Importing Registry Tweaks" /f REG ADD %KEY%\030 /V 1 /D "REGEDIT /S %windir%\RegTweaks.reg" /f REG ADD %KEY%\035 /VE /D "Setting Firewall Properties" /f REG ADD %KEY%\035 /V 1 /D "%windir%\firewallcfg.cmd" /f REG ADD %KEY%\090 /VE /D "Removing Unnecessary User Accounts" /f REG ADD %KEY%\090 /V 1 /D "%windir%\user.cmd" /f REG ADD %KEY%\095 /VE /D "Cleaning Up Temporary Files" /f REG ADD %KEY%\095 /V 1 /D "cmd /c del %windir%\*.cmd /f /q" /f
  6. BTW... the ONLY justification for doing RIS, is that it is free. However, if you figure that it takes an hour or so to setup a PC 1 time, and the average tech makes about $20-$25 per hour ( or if you want to use the end user's hourly wage) a corp license for ghost or drive image costs about $10-$15 depending on quantity. It is pretty obvious that the 10 minutes of down time for a ghost install is far more economical that the RIS. If your techs works 24 hours (or after hours shifts) then RIS makes only a little more sense... but not much more. BTW 2: if you are GOOD at your job, and it took you 2 years to master RIS, how useful is that for other networks that may not have your genius there to assist them If you aren't that good, and it took you 2 years to figure it out because your skills are lacking, then how good is your opinion on this subject
  7. not at all... after all it took you 2 YEARS to figure it out I mastered Ghost in about 2 hours Figuring out the HAL issues took about a week of testing You have no idea that a manager will want a machine back as fast as possible, a sales rep, customer service staff, laptop user etc is on a tight schedule... they wouldn't even bother to come in if the problem wasn't a showstopper, and then tell them that they have to wait an hour or 2... a ghost image can span multiple CDs, or dvd's if necessary, or sit on a network share waiting for a pxe boot, WinPE, or floppy based network boot. The amount of time it takes to update an image isn't much more that the amount of time that it would take one of your RIS installs to complete (plus sysprep) Face it, you spent 2 years learning a procedure that has very little real merit... a multicast ghost or powerquest image can do the same thing in a tiny fraction of the time... and quite frankly a stack of UA cds can do the same thing without spending 2 years trying to figure it out.
  8. You can be offended if you want to be (It is Christmas), but once sysprep is configured right, a PC can be imaged in 5 minutes, and mini-setup only takes 3 or 4 minutes to run and have a completely configured PC sitting on a users desk I had a sys admin (for a different agency) visit an office where he had brought his own RIS server to hook up to that office's LAN... He started up 10 PCs at a time (which he had to preconfigure the MAC addresses and names), Let them install (about an hour each), and then come back and tweak them. Waste of time. a ghost image on a few CDs or on a network share or on an external dvd drive, images a PC in 5-8 minutes, the mini setup only takes 3 or 4 minutes, and then you are DONE... you say it only takes 2 minutes of YOUR time to start RIS setup, but then you have an hour or hour and a half to sit around drinking coffee... well you also have the user there that is doing nothing. Try that with an exec... tell them you could be done with them in 15 minutes or in 90 and which one will they pick Now if you want to use RIS to deploy PE to start ghost32 and deploy an image that way... or if you have 24 hour operations and can RIS client PCs overnight, that might be an alternative
  9. I have one ordered and it is being shipped now. I'll let you know in a few days. I ordered the g version... go all G or buy a seperate b
  10. I like using copy SET D=%SYSTEMROOT%\system32\ echo Line4=Date of installation: %date% >> "%D%pt2.txt" copy "%D%pt1.txt"+"%D%pt2.txt"+"%D%pt3.txt" "%D%oeminfo.ini"
  11. RIS is a waste of time... takes forever to install a client and then deploy apps. Put no drivers on the UA CD, put no drivers in the $oem$ folder of sysprep. just place the drivers in the root of C (or whereever you want them) and make sure the sysprep.inf has the correct location. run sysprep, let it shutdown, and ghost it. If you have other model PCs BSOD or fail to run after applying the image, you will need to check the HAL and ensure the HAL from the first PC is the same (or compatable) with all the targets
  12. I have one... Easy to setup, a/b/g doesn't have much in the way of "real' security. Real meaning that someone with the right tools can hack into it, but joe average can't. 802.11 N is coming out soon that is supposed to be more secure and have higher throughput (G x 4) Considering the price it is hard to beat, but if you look around the netgear and belkin are sometimes cheaper.... however I like mine just fine
  13. try giving it a full path instead of the relative path
  14. I use: start /wait "" AvastAV\setupeng.exe /SILENT /SP- /NORESTART
  15. I have a $docs\All users\... for a rasphone.pbk I'll pull it out and just copy it in after the fact... I'll test it Monday
  16. put the HD in the packard bell and install XP there
  17. and check out spywareblaster... it can prevent many of these apps from installing
  18. I ran one without runonce, so all it is doing is hkcu.reg and winnt.sif The allusers.windows folders appeared etc... HKCU.reg.txt
  19. can you not rightclick the bar and turn off those search bars then go into add/remove progs and uninstall them
  20. I'll cut out the runonceex stuff to try and narrow it down... I can do this today as for the patches, the type3 patches I could do so, they type 2 are a bit more involved, but isn't the goal of my process. My goal is to continue the UA cd through sysprep and ghost so I can deploy the image to the corp AND provide a simple automated process by which an updated image can be generated With this goal in mind, I have a batch that takes a slipstreamed vanilla XP SP2 source, deletes the uncessary folders, copies in the $oem$ and hotfix folders, copies in the winnt.sif file, and then ISOs and Burns it. Kind of a very basic version of GreenMachine's system, but I have to provide all the patches in the hotfix foders and it installs them during runonceex... just a few xcopy, move, and del statements with cdrecord and makeiso When that part is done it probpts for CD 2 (msoffice) and cd 3 (business apps like mcafee) copies in the drivers folders and sysprep files... I defrag it manually a few times, reboot it a few times and then sysprep it. Since this issue has popped up, I have skipped installing CD2 and CD3,
  21. Text Mode Setup Reboot GUI Mode Setup Apply HKCU regtweaks via cmdlines.txt set runonceex keys via cmdlines.txt Reboot autoadmin logon runonce keys install hotfixes (from CD) runonce keys install mso from CD 2 runonce keys apply HKLM reg tweaks runonce deletes aspnet user runonce deletes temp files go to desktop finished at this time I can find that all the admin shell folders and the all user folders are pointed to the unusual/unexpected paths
  22. I have rebuilt the CD again and it is continuing to happen all the shell folders paths are afflicted by this. The UA cd completes and even before the first logoff the profiles are 'afflicted' by this Any Ideas?
  23. see reg.exe and http://support.microsoft.com/kb/q130510/ reg query "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\OUTLOOK.EXE" /v Path Kixtart is a much better scripting language than 'dos', but I don't know what you are trying to accomplish, or in what context you need this for break ON $office=readvalue("HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\OUTLOOK.EXE","Path") shell 'explorer /n,"'+$office+'"'
  24. before sysprep it does the unattend install and runonceex, and loads the desktop... the other profile folders are present by then.
×
×
  • Create New...