Jump to content

clivebuckwheat

Member
  • Posts

    574
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    Canada

Everything posted by clivebuckwheat

  1. Thanks for your help on this I do appreciate it so much. Here's the thing. I have to install Adobe CS5 on 15 computers. The standard naming convention we use is 5b4-01 5b4-02 etc. I wish we could ditch the hyphen but I can't. Thanks for all your help again.
  2. Thanks. I didn't know I needed leading 0's I have a question is there a way to check a range of computer names. For example if the computer name is 5B4-01 TO 5B15 DO this Or would I need separate if statements for each pc?
  3. Does this look ok, because the updates are not installing, it skips over them way to fast. REG ADD %KEY%\040 /VE /D "Installing Adobe CS4 Updates" /f REG ADD %KEY%\040 /V 1 /D "\"C:\Applications\CS4\Updates\acrobat9pro-EFG\AcroProStdUpd910_T1T2_incr.msp\" /qn" /F>NUL REG ADD %KEY%\040 /V 2 /D "\"C:\Applications\CS4\Updates\Updates\acrobat9pro-EFG\AcrobatUpd912_all_incr.msp\" /qn" /F>NUL REG ADD %KEY%\040 /V 3 /D "\"C:\Applications\CS4\Updates\Updates\acrobat9pro-EFG\AcrobatUpd920_all_incr.msp\" /qn" /F>NUL REG ADD %KEY%\040 /V 4 /D "\"C:\Applications\CS4\Updates\Fireworks-10.0.3-AdobeUpdate\Setup.exe --mode=silent\"" /F>NUL REG ADD %KEY%\040 /V 5 /D "\"C:\Applications\CS4\Updates\Photoshop_11.0.2_mul_AdobeUpdate\Setup.exe --mode=silent\"" /F>NUL REG ADD %KEY%\040 /V 6 /D "\"C:\Applications\CS4\Updates\AdobeDrive_1.0.1_AdobeUpdate_2\Setup.exe --mode=silent\"" /F>NUL REG ADD %KEY%\040 /V 7 /D "\"C:\Applications\CS4\Updates\AdobeExtensionManager-2.1-mul-AdobeUpdate2\Setup.exe --mode=silent\"" /F>NUL REG ADD %KEY%\040 /V 8 /D "\"C:\Applications\CS4\Updates\AdobeCameraRaw-5.7-mul-AdobeUpdate\Setup.exe --mode=silent\"" /F>NUL REG ADD %KEY%\040 /V 9 /D "\"C:\Applications\CS4\Updates\AdobeOutputModule-2.1-mul-AdobeUpdate_2\Setup.exe --mode=silent\"" /F>NUL REG ADD %KEY%\040 /V 10 /D "\"C:\Applications\CS4\Updates\AdobeVersionCue4All_4.0.1_AdobeUpdate_2\Setup.exe --mode=silent\"" /F>NUL REG ADD %KEY%\040 /V 11 /D "\"C:\Applications\CS4\Updates\AME_All_CS4.2_mul_AdobeUpdate\Setup.exe --mode=silent\"" /F>NUL REG ADD %KEY%\040 /V 12 /D "\"C:\Applications\CS4\Updates\DeviceCentral_2.1.1_mul_AdobeUpdate\Setup.exe --mode=silent\"" /F>NUL REG ADD %KEY%\040 /V 13 /D "\"C:\Applications\CS4\Updates\Flash-10.0.2-AdobeUpdate\Setup.exe --mode=silent\"" /F>NUL REG ADD %KEY%\040 /V 14 /D "\"C:\Applications\CS4\Updates\Soundbooth-2.0.1-786\Setup.exe --mode=Silent\"" /F>NUL
  4. Hi We would like to add certain printer drivers to our images, they be injected with sysprep?
  5. Thanks I learn something new every day. I am trying to do the Adobe updates via reg add To add this command with REG ADD start /wait C:\Applications\CS4\Updates\Soundbooth-2.0.1-786\Setup.exe\ --mode=silent REG ADD %KEY%\040 /VE /D "Installing Adobe CS4 Updates" /f REG ADD %KEY%\040 /V 1 /D "C:\Applications\CS4\Updates\Soundbooth-2.0.1-786\Setup.exe\ --mode=silent" /f I tried this but it ended way to fast, also would I need the start /wait with REG add?
  6. Thanks again it worked out great I have another question on the printer deletion it works fine, I would think there is an unnecessary F also This actually worked for the printer delete, I would have that there was too many /f? REG ADD %KEY%\100 /V 1 /D "REG DELETE \"HKLM\Software\Microsoft\Windows NT\CurrentVersion\Print\Printers\,,ipp://dc2.mydomain.com,2F26P\" /f" /f I tried but I was prompted to choose yes after every delete. REG ADD %KEY%\100 /V 1 /D "REG DELETE \"HKLM\Software\Microsoft\Windows NT\CurrentVersion\Print\Printers\,,ipp://dc2.mydomain.com,2F26P\"" /f Also trying to add the following command to the RunOnce in the registry is this correct. REG ADD "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce\KickOff"="rundll32.exe iernonce.dll,RunOnceExProcess"
  7. I spoke to soon, the default printer line, never changes to the correct printer
  8. thank you it worked!! One more question I need to check the first 4 letters of the computer name would it be? if /i "%COMPUTERNAME:0,4%" ==2F26 goto :2F26
  9. WORKED! Thank you sir. I have another question To add this command using reg add cscript %windir%\system32\Printing_Admin_Scripts\en-us\prnmngr.vbs -t -p "\\ipp://dc2.Mydomain.com\2F26P" is this correct? REG ADD %KEY%\030 /V 1 /D "cscript %windir%\system32\Printing_Admin_Scripts\en-us\prnmngr.vbs -t -p "\\ipp://dc2.Mydomain.com\2F26P\" /f " /f
  10. I made a batch file called ACS4.cmd in it I put Setup.exe --mode=Silent --deploymentFile="Adobe Creative Suite 4 Web Premium.install.xml" I then called it with this REG ADD %KEY%\030 /VE /D "Installing Adobe CS4" /f REG ADD %KEY%\030 /V 1 /D "C:\Applications\CS4\ACS4.cmd" /f and the install ran through without issue, so I know the command line and the XML file is ok but calling the cmd file generates a dos window as you know. I have another question how can I add this command using a REG ADD REG DELETE "HKLM\Software\Microsoft\Windows NT\CurrentVersion\Print\Printers\,,ipp://dc2,2F24P" /f I tried REG ADD %KEY%\010 /VE /D "Delete printer" /f REG ADD %KEY%\010 /V 1 /D "REG DELETE "HKLM\Software\Microsoft\Windows NT\CurrentVersion\Print\Printers\,,ipp://dc2,2F24P" /f I get a reg add error
  11. thanks but that line causes the install to bomb, it seems like it is installing and then it moves on to the next item in the list way to quickly.
  12. I have a directory called C:\Applications\CS4\ Inside of the folder is the CS4 installation files REG ADD %KEY% /V TITLE /D "Post Image Configurations" /f REG ADD %KEY%\020 /VE /D "Installing Adobe CS4" /f REG ADD %KEY%\020 /V 1 /D "C:\Applications\CS4\Setup.exe --mode=Silent --deploymentFile="Adobe Creative Suite 4 Web Premium.install.xml"" /f I keep getting a REG ADD ERROR.
  13. upon reflection I was wondering if it's possible to check the first 4 letters of a computer name and run my script? The script runs no matter what the computer name is Basically here is the if's if /i "%COMPUTERNAME%" == "2F26" goto :2F26 if /i "%COMPUTERNAME%" == "2F24" goto :2F24 if /i "%COMPUTERNAME%" == "2F20" goto :2F20 if /i "%COMPUTERNAME%" == "2F18" goto :2F18 2F24 is a section, 2f26 is a section etc, if the computer name is not found i'd like the script to go to :End echo Nothing to do on the screen.
  14. Hi My script works great, now I would like to add only run this script if the computer name is equal to test, my if statement doesn't seem to work, it runs even if the computer name is NOT test. @ ECHO OFFREG ADD HKLM\SOFTWARE\MICROSOFT\WINDOWS\CURRENTVERSION\RunOnceExSET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExNET USE Z: \\192.168.1.216\Installations Mypassword /USER:Robwrundll32.exe iernonce.dll,RunOnceExProcessif "%COMPUTERNAME%" == "Test" goto :TEST:TESTREG ADD %KEY% /V TITLE /D "Test Post Image Configurations" /fREG ADD %KEY%\010 /VE /D "Installing FireFox 3.64" /fREG ADD %KEY%\010 /V 1 /D "z:\Firefox\Firefox364.exe -ms" /fREG ADD %KEY%\015 /VE /D "Installing Java 6 Update 20" /fREG ADD %KEY%\015 /V 1 /D "z:\Java6U20\jre-6u20-windows-i586-s.exe /s /v /qn ADDLOCAL=ALL IEXPLORER=1 MOZILLA=1 SYSTRAY=0 JAVAUPDATE=0 REBOOT=Suppress" /fREG ADD %KEY%\020 /VE /D "Installing Flash Player" /fREG ADD %KEY%\020 /V 1 /D "z:\FlashPlayer\install_flash_player_10_active_x.msi /qn" /fREG ADD %KEY%\020 /V 2 /D "z:\FlashPlayer\install_flash_player_10_plugin.msi /qn" /fREG ADD %KEY%\025 /VE /D "Installing Shockwave Player" /fREG ADD %KEY%\025 /V 1 /D "z:\ShockwavePlayer\sw_lic_full_installer.msi /qn" /fREG ADD %KEY%\030 /VE /D "Installing CCleaner 2.33" /fREG ADD %KEY%\030 /V 1 /D "z:\CCleaner\ccleaner_slim_233.exe /silent" /fREG ADD %KEY%\035 /VE /D "Installing FileZilla 3.3.3" /fREG ADD %KEY%\035 /V 1 /D "z:\FileZilla\FileZilla_3.3.3_win32-setup.exe /S" /fREG ADD %KEY%\040 /VE /D "Install GomPlayer" /fREG ADD %KEY%\040 /V 1 /D "z:\GomPlayer\GOMPLAYERENSETUP.EXE /S" /fREG ADD %KEY%\045 /VE /D "Installing ImgBurn" /fREG ADD %KEY%\045 /V 1 /D "z:\ImgBurn\imageburnsetup.exe /S" /f\REG ADD %KEY%\045 /V 2 /D "REGEDIT /S z:\Imgburn\imgburnsettings.reg" /fREG ADD %KEY%\050 /VE /D "Installing Itunes-Quicktime" /fREG ADD %KEY%\050 /V 1 /D "z:\Itunes64Setup\AppleApplicationSupport.msi /qn" /fREG ADD %KEY%\050 /V 2 /D "z:\Itunes64Setup\AppleMobileDeviceSupport64.msi /qn" /fREG ADD %KEY%\050 /V 3 /D "z:\Itunes64Setup\AppleSoftwareUpdate.msi /qn" /fREG ADD %KEY%\050 /V 4 /D "z:\Itunes64Setup\Quicktime.msi /qn" /fREG ADD %KEY%\050 /V 5 /D "z:\Itunes64Setup\Bonjour64.msi /qn" /fREG ADD %KEY%\050 /V 6 /D "z:\Itunes64Setup\iTunes64.msi /qn" /fREG ADD %KEY%\055 /VE /D "Installing Adobe Reader 9.3.1" /fREG ADD %KEY%\055 /V 1 /D "z:\Reader931\AdbeRdr930_en_us.msi /qn" /fREG ADD %KEY%\055 /VE /D "Installing VLC 1.1.0" /frem REG ADD %KEY%\055 /V 1 /D "z:\VLC\vlc-1.1.0-win32.exe /S" /fREG ADD %KEY%\060 /VE /D "Installing Open Office 3.3" /fREG ADD %KEY%\060 /V 1 /D "z:\OpenOffice33\openofficeorg33.msi /qb /t openofficeorg33.mst" /fREG ADD %KEY%\090 /VE /D "Installing Microsoft Office 2010" /fREG ADD %KEY%\090 /V 1 /D "z:\Office14\setup.exe /adminfile Office2010Full.MSP" /fREG ADD %KEY%\090 /V 2 /D "REGEDIT /S z:\Office14\Excel-Add-ins.reg" /fexit:ENDecho Nothing to DO!@echo on
  15. getting unexpected end error, and I really can't see why. :* @echo off cd /d %~dp0 if "%pi_netOS%" == "" call piParms.cmd if exist C:\reboot.1 goto :rb1 IF "%pi_netOS%" == "NW" ( reg ADD "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v DefaultDomainName /d %computername% /f :* start postImage.cmd.lnk ) ELSE ( echo running AD > C:\reboot.1 move postImage.cmd.lnk "%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Startup\" netdom join %computerName% /Domain:mydomain/UserD:postimager /PasswordD:mypassword /REBoot:5 echo. echo Computer will soon reboot... pause ) rb1 rundll32.exe iernonce.dll,RunOnceExProcess SET pi_KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx REG ADD %pi_KEY% /f REG ADD %pi_KEY% /V TITLE /D "Installing Applications & Settings" /f set pi_roomNum=%computerName:~0,-3% set pi_stnNum=%computerName:~-2% call :%pi_roomNum% 2>nul goto :genericLab :* ----------------------------------------------------------------------------------- :1H1-1 call :LanSchool 111 call :printers goto :EOF :* ----------------------------------------------------------------------------------- :2F14 call :LanSchool 14 call :printers 2F14P 2H12P-CLR goto :EOF :* ----------------------------------------------------------------------------------- :2F18 call :LanSchool 18 call :printers 2F18P 2H12P-CLR :* %pi_KEY%\s go from 100 to 200 call C:\Applications\CS4\setupCS4inMenu.cmd goto :EOF :* ----------------------------------------------------------------------------------- :2F24 call :LanSchool 24 call :printers 2F24P 2H12P-CLR :* %pi_KEY%\s go from 100 to 200 call C:\Applications\CS4\setupCS4inMenu.cmd goto :EOF :* ----------------------------------------------------------------------------------- :2F26 call :LanSchool 26 call :printers 2F26P 2H12P-CLR :* %pi_KEY%\s go from 100 to 200 REM call C:\Applications\CS3\setupCS3inMenu.cmd goto :EOF :* ----------------------------------------------------------------------------------- REM final steps :genericLab rundll32.exe iernonce.dll,RunOnceExProcess move /y C:\Applications\sdelete.exe C:\Windows\System32 reg ADD "HKCU\Software\Sysinternals\SDelete" /v EulaAccepted /t REG_DWORD /d 1 /f IF "%pi_netOS%" == "NW" ( reg ADD "HKLM\SOFTWARE\Novell\Login" /v AutoAdminQueryNDS /t REG_DWORD /d 1 /f ) ELSE ( REM running AD reg ADD "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v AutoAdminLogon /d 0 /f del "%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Startup\postImage.cmd.lnk" ) SET pi_KEY= set pi_roomNum= set pi_stnNum= set pi_netOS= :* sdelete.exe -p 6 C:\...\Auth.exe move C:\Applications\DeepFreeze\DFWks.exe C:\Windows rd /s /q C:\Applications md C:\Applications DFWks.exe /Install goto :out :* ----------------------------------------------------------------------------------- :out pause goto :EOF :* =================================================================================== :LanSchool REG ADD %pi_KEY%\050 /VE /D "Installing LanSchool Student 7.4.2.2 on channel %1%" /f REG ADD %pi_KEY%\050 /V 1 /D "msiexec.exe /i C:\Applications\LanSchool\Student.msi /qn CHANNEL=%1%" /f goto :EOF :* ----------------------------------------------------------------------------------- :printers REM set the "Default" printer cscript %windir%\system32\Printing_Admin_Scripts\en-us\prnmngr.vbs -t -p "\\ipp://dc2\%1%" REM printers to delete if "%1" NEQ "2F14P" if "%2" NEQ "2F14P" call :delPrn 2F14P if "%1" NEQ "2F16P" if "%2" NEQ "2F16P" call :delPrn 2F16P if "%1" NEQ "2F18P" if "%2" NEQ "2F18P" call :delPrn 2F18P if "%1" NEQ "2F20P" if "%2" NEQ "2F20P" call :delPrn 2F20P if "%1" NEQ "2F24P" if "%2" NEQ "2F24P" call :delPrn 2F24P if "%1" NEQ "2F26P" if "%2" NEQ "2F26P" call :delPrn 2F26P if "%1" NEQ "2H12P-CLR" if "%2" NEQ "2H12P-CLR" call :delPrn 2H12P-CLR goto :EOF :* ----------------------------------------------------------------------------------- :delPrn reg delete "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Print\Printers\,,ipp://dc2,%1%" /f goto :EOF :* ----------------------------------------------------------------------------------- :2F16 goto :EOF :5B1 goto :EOF :5B2 goto :EOF :5B3 goto :EOF :5B4 goto :EOF :5B7 goto :EOF Here is the PiParms.cmd file here is the piparms.cmd set pi_netOS=AD reg query HKLM\SOFTWARE\Novell\Login /ve >nul 2>nul if errorlevel 1 goto :netOSok set pi_netOS=NW :netOSok
  16. Hi I have a Microsoft security essentials issue. My reference computer has Microsoft security essentials on it, after it has been deployed to a test computer, it seems have to run through a minisetup where I must click next, next until it checks the latest dat file. Does anyone know why this is happening?
  17. The time zone is correct in the sysprep.xml file, any thoughts on how to fix this?
  18. Does anyone know where I can turn off this setting, so it does pop up every time some one starts Internet Explorer 9. The setting i'm trying to suppress is when a new user launches IE it asked them 1. Use recommended settings 2. Don't use recommended settings I'd like to not use recommended settings.
  19. Hi I recently installed Adobe Acrobat 10 pro on machines that have Adobe reader 10 on them. Now the default for pdf's is acrobat pro 10. Is there a way to install pro 10 but keep reader 10 as the default? I have this problem on several hundred pc's. Or is it possible to script the default back to reader? Any hep would greatly be appreciated.
  20. Fixed. I had to install Acrobat first before installing the cs 5.5 suite , once done Acrobat serialized fine.
×
×
  • Create New...