Jump to content


  • Posts

  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    United States

Everything posted by bek

  1. OK... this worked!: ' CONPRINT.vbs Set NetObj = CreateObject("WScript.Network") PRINTER = WScript.Arguments(0) NetObj.AddWindowsPrinterConnection PRINTER and then running > CONPRINT.vbs "\\server\long printer share name"
  2. I will try it using that vbs... No, IP address doesn't work either... it just doesn't accept a share name with spaces, wether I quote it, or not, or set in a variable... which is also why I am skeptical that the vb script will work. thanks for the input.
  3. If you put it in the root path of your install source: start /wait .\sleep 30 or %cd%\sleep 30 otherwise, for example: .\bin\sleep 30 or %cd%\bin\sleep 30 Since your CD drive should be in the current path, then as longs as you have it at the root you shouldn't have a problem. I usually put TLIST or REG on CD"s or floppys or in the dir I am running the cmd from.
  4. Unfortunatley, no. All the print queues are named this way. I wouldn't have done it that way but... There would be the issue of getting all the client machines printers changed over etc. Not impossible, but some work, esp. in regards to whatever is their current default. Thanks.
  5. Try: MsDosInitiated = 0 Per MS... Comments: The value must always be set to 0. If an unattended Setup is running directly from the product CD and you do not set the value to 0, then Setup fails at the beginning of GUI-mode Setup. ... If UnattendedInstall is Yes, set MsDosInitiated to 0.... Anyway, I never had a problem either way (network or CD). Maybe check your winnt.sif file and make sure there aren't any extra characters or tabs in them (I've had ldif files act up this way)... Good luck.
  6. I have run into a snag trying to automate installing printers. Usually I just call up \\server\printershare, how ever this server has long share names with spaces and quoting them doesn't work!. start "\\fs1\Basement Plotter HP5500" or rundll32 printui.dll,PrintUIEntry /in /n "\\fs1\Basement Plotter HP5500" I also tried variable string substitution... all I get is The system cannot find the path specified. Any workarounds or am I outta luck?
  7. Does sound odd... 1) Does your Key actually match the media? this may cause it to prompt (?) 2) My unattended has: ProductID=11111-11111-11111-11111-11111 not ProductKey... if that really makes any difference (?)
  8. For a basic install: .\i386\update\update.exe /passive If you feel really brave and want to force it, quietly: .\i386\update\update.exe /n /quiet /forcerestart /f Run this as a startup or loginscript... or you can push a command to add a RunOnce to a local or remote machine with REG.exe Example: installsp2.cmd @echo off setlocal set spath=\\server01\xpsp2 %spath%\i386\update\update.exe /passive /n endlocal HTH...
  9. Try this... (W2k/XP) haven't tried on 2003 @echo off REM --- change my computer to read computername --- REM old value @%SystemRoot%\system32\SHELL32.dll,-9217 REG ADD HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D} /v LocalizedString /t REG_EXPAND_SZ /d "%computername%" /f Note: I keep the old value, just in case....

  • Create New...