Content Type
Profiles
Forums
Events
Everything posted by JPamplin
-
Please help: howto add SP2 wireless access points?
JPamplin replied to JPamplin's topic in Unattended Windows 2000/XP/2003
Unfortunately, netsh cannot do this. But thanks for the suggestion. Anyone else do this, say, in WINNT.SIF, registry, or otherwise? Maybe in GPEDIT? Bueller? ;-) JP -
Ryan, Actually, when I said "I tried to download the latest from your website", that's the exact place I went to download it. Have you modified the binary since yesterday? If not, then the version that is there is still exhibiting the reboot problem. Thanks, JP
-
Ryan, I tried to download the latest from your website, and it rebooted again. More than that, it bypassed a shutdown command I had issued with a 120 second delay and logged off immediately. Very odd indeed. Here's my setup: Any PC I build on - WinXP SP2 - no other modifications or patches - CMD file run from GuiRunOnce (desktop not loaded yet) - I also copied the file to the desktop and double-clicked - rebooted - This is the jre5.exe listed at the first page, first post. Thanks, JP
-
The revised version posted on the previous page also rebooted for me as well. This was on a "real" PC doing a CMD file installation script of several apps before the desktop was loaded (a CMD in GuiRunOnce) in WinXP SP2 Corp. I am tempted to unpack it all and try your string though, Ryan. Thanks for continuing to try figuring it out. JP
-
Install Printer Drivers During Unattended Win2K/XP
JPamplin replied to mniccum's topic in Unattended Windows 2000/XP/2003
If you are trying to print to these printers over the network (direct to an IP address), then I have the answer for you: http://www.msfn.org/board/index.php?showtopic=26296&hl= If they are connected via USB, parallel, or shared off another machine, things would be a bit different. But for IP printing, I've got the process down pat. JP -
RyanVM Windows XP SP2 Update Pack
JPamplin replied to RyanVM's topic in Unattended Windows 2000/XP/2003
Sorry, please refresh thread and view my updated post. JP -
RyanVM Windows XP SP2 Update Pack
JPamplin replied to RyanVM's topic in Unattended Windows 2000/XP/2003
Update: Here's a suggestion: could you change the file naming so that they all comform to the 8.3 filename format? Some of us still copy all XP files to the hard disk in DOS, and I don't think this will work with long file names. On another note (by the way, thanks for doing this), I would have placed the Remote Desktop Client update in the Lite version, since it is an update to an existing windows component (which nearly everything in the Lite package looks to be). If I wanted all the extra doo-dads, I can download the Full version, but the Lite version should be devoted to patching existing components. Just my 2 cents, and thanks again. JP -
Folks, I'm trying to build out a Compaq Evo D51C/P1.8/20/p/256c with a rock-solid XP SP2 unattended installer. Using these forums, I have built and tuned this installer since January, and it's been stable on all other platforms I've thrown at it. Now I have to rebuild these Compaqs, and I'm running into this issue as soon as it starts the GUI install cycle. I am not doing anything "irregular" with my setup - just a WINNT.SIF file, and I've cleaned the directories out of I386 that are not used (WINNTMIG, LANG, etc.). Again, this build works like a CHARM on every other Dell, IBM, Gateway, clone, etc. that I have tried. What I've done to correct this so far (to no avail): - Updated BIOS to 2.21 (very latest) - Completely wiped hard disk, FDISK /MBR, laid down new FAT32 partitions When you click OK (see screenshot below), the text window showing c:\WINDOWS\setuperr.log shows the following: Fatal Error: One of the components that Windows needs to continue setup could not be installed. Untranslatable message, Win32LastError is 14001 Has anyone else seen this, and does anyone know how to get around it? Any suggestions would be greatly appreciated. Did I delete the LANG folder and somehow I need it just for this machine (this is an English only setup)? Thanks again, JP
-
Looking for Start Menu/Control Panel Tweak
JPamplin replied to Drac0's topic in Unattended Windows 2000/XP/2003
Sigh. The answer you're looking for is here: [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced] ; Show hidden files "Hidden"=dword:00000001 ; Show compressed folders as a different color "ShowCompColor"=dword:00000001 ; show known file extensions "HideFileExt"=dword:00000000 ; show full path in titlebar "DontPrettyPath"=dword:00000000 ; shows "tips" when mouse over the folder like size "ShowInfoTip"=dword:00000001 "HideIcons"=dword:00000000 "MapNetDrvBtn"=dword:00000000 "WebView"=dword:00000000 "Filter"=dword:00000000 "SuperHidden"=dword:00000001 "SeparateProcess"=dword:00000000 "Start_ShowControlPanel"=dword:00000002 "Start_AdminToolsRoot"=dword:00000002 "StartMenuAdminTools"="YES" "Start_ShowMyComputer"=dword:00000001 "Start_ShowMyDocs"=dword:00000001 "Start_ShowRecentDocs"=dword:00000001 "Start_ShowNetPlaces"=dword:00000001 "Start_AutoCascade"=dword:00000001 "ServerAdminUI"=dword:00000001 "ListviewAlphaSelect"=dword:00000001 "ListviewShadow"=dword:00000001 "ListviewWatermark"=dword:00000001 "TaskbarAnimations"=dword:00000001 "StartMenuInit"=dword:00000002 "StartButtonBalloonTip"=dword:00000002 "StartMenuAdminTools"=dword:00000001 "StartMenuFavorites"=dword:00000001 "StartMenuLogoff"=dword:00000000 "StartMenuRun"=dword:00000001 "StartMenuChange"=dword:00000001 "CascadeControlPanel"="YES" "CascadeMyDocuments"="YES" "CascadeMyPictures"="YES" "CascadeNetworkConnections"="YES" "CascadePrinters"="YES" "StartMenuScrollPrograms"="NO" "IntelliMenus"=dword:00000001 "TaskbarSizeMove"=dword:00000000 "TaskbarGlomming"=dword:00000001 "NoNetCrawling"=dword:00000000 "FolderContentsInfoTip"=dword:00000001 "FriendlyTree"=dword:00000001 "DisableThumbnailCache"=dword:00000000 "ClassicViewState"=dword:00000001 "PersistBrowsers"=dword:00000001 "EnableBalloonTips"=dword:00000001 "WebViewBarricade"=dword:00000001 "ShowSuperHidden"=dword:00000000 CascadeControlPanel set to YES will give you a submenu under Control Panel in Classic View. I guess your eyes weren't square enough. ;-) JP -
Folks, OK, I'm tearing my hair out on this one. How can I add a preferred wireless access point (with or without WEP keys, etc.) to my setup during install? Is it a registry key, or a file that I can copy in later (like rasphone.pbk is for adding dial-up or VPN connections)? Anyone get this to work? I've got to reimage alot of laptops and adding the preferred access points in SP2 is just too time-consuming. Oh, also, has anyone been able to change the Java Plug-In settings (via registry or whatever) to auto-enable using Sun's Java for IE and disabling auto-update checking? I certainly appreciate it, JP
-
Installing network printers silently - here's how!
JPamplin replied to JPamplin's topic in Unattended Windows 2000/XP/2003
@alhaddar, Well, just put the pieces in the right places. What is the IP address you have assigned the printer? Where is the INF file? What is the exact name of the printer in the INF file? And finally, what do you want to call it? First, set up the IP port on a PC (any PC) that has a connection to the printer, and do a manual install of the printer driver. Note the exact name of the model in the INF file - let's say it's "HP LaserJet 2100 PCL6". Go into Regedit and export the key I mentioned above, AFTER you set it up manually. That .reg file should be imported during the install process, for instance, during the post-XP installation script (I use a CMD file). After it reboots, the new PC will be ready to accept the new IP printer, and you can run a second script below. Let's say the IP address you have given the printer is 192.168.1.21. Let's also assume that the printer driver is not in XP, but you have copied it to a folder beforehand (like during the first install script) - we'll say it's in c:\Install\Printers\HPLJ2100\HP2100.INF. And let's say you want to call it "Al's LaserJet 2100". You would create a small CMD file that put the pieces in place like so: @echo off ECHO. ECHO Installing Network Printers ... ECHO. ECHO Al's LaserJet 2100 ... start /high /wait rundll32 printui.dll,PrintUIEntry /if /b "Al's LaserJet 2100" /f c:\Install\Printers\HPLJ2100\HP2100.INF /r "IP_192.168.1.21" /m "HP LaserJet 2100 PCL6" The order of events is: 1 - XP is installed 2 - XP auto-reboot 3 - you run a post-installation script to install your apps (for example, a CMD file), and in this file you import the .reg file with the IP address 4 - reboot again, called from the CMD file (I use %windir%\system32\shutdown.exe -r -t 90 -c "Initial Install Complete! After reboot, run INSTALL PRINTERS.CMD to install printers." in my CMD 5 - run the Install Printers CMD file you create from the code above. At that point your printer is listed and ready to use. That's it. I can't make it much easier than that - just copy and paste. Good luck, JP -
Folks, Sorry I haven't contributed in a while, but I'm answering my own question here (from a post weeks ago), and I think others might find this useful. Adding a TCP/IP printer requires that you have the TCP/IP Port in place first. But there's no easy way to do that via script (that I have found, and I've looked hard). So the easiest way I have found is to set up the ports on your master PC first, then export the following registry branch: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Monitors\Standard TCP/IP Port\Ports This registry branch contains all the details about your TCP/IP ports, so capture the entire branch and save it as a registry file. Then, during your post-install script, add this: start /high /wait REGEDIT /S printers.reg (name the reg file whatever you like). Then, after the PC reboots (yes this is necessary), it will be ready to programmatically add network printers and attach them to your newly added TCP/IP ports. I am using a CMD file with the PrintUI command structure, which I'll explain in a moment. Here is an example file adding two printers: @echo off ECHO. ECHO Installing Network Printers ... ECHO. ECHO Printer 1 - Canon ImageRUNNER C3200 Color Copier start /high /wait rundll32 printui.dll,PrintUIEntry /if /b "ATL - Canon ImageRUNNER C3200" /f c:\Drivers\Printers\C3200\P52KUSAL.inf /r "IP_192.168.10.32" /m "Canon iR C3200-C1 PCL5c" comment "Copy Room" ECHO. ECHO Printer 2 - HP LaserJet 4050N (Accounting) start /high /wait rundll32 printui.dll,PrintUIEntry /if /b "ATL - HP LaserJet 4050N (Accounting)" /f %windir%\inf\ntprint.inf /r "IP_192.168.10.40" /m "HP LaserJet 4050 Series PCL6" comment "Accounting" The structure of this command is fairly basic when you take it apart (I have separated the components on different lines for readability, but this should be all on one line): rundll32 printui.dll,PrintUIEntry /if /b "printer name you want listed" /f path and filename of inf file - if long folder names, place in quotes /r "IP port (expressed as IP_xxx.xxx.xxx.xxx)" /m "exact spelling of printer listing in INF" comment "any comment you like" Notice in the code above I have included a printer whose driver folder and INF file had to be specified (because it's not a printer native to XP), and one printer that it being copied from the XP driver database (the %windir%\inf\ntprint.inf statement tells XP to search it's own database). You have to make very sure you have the spelling of the printer exactly as it is listed in the INF, otherwise it might not install correctly. I hope this helps - it works great for me in an environment where I have to install 10 network printers all at once, and I want the clients to print to these printers directly instead of using a print server. Enjoy! I'll make changes or additions as necessary. JP
-
Well, you'd have to add default to the list of preferred networks in the Wireless Networks tab of the Wireless connection - assuming you are using XP to manage the connection. Look in your Network Connections control panel for this. Then in the Advanced button, make sure "Automatically connect to non-preferred networks" is UNCHECKED. That's it.
-
Silently adding wireless access points in SP2?
JPamplin replied to JPamplin's topic in Unattended Windows 2000/XP/2003
Anyone? -
Silently adding wireless access points in SP2?
JPamplin replied to JPamplin's topic in Unattended Windows 2000/XP/2003
Beuller? Has nobody run across this? Thanks, JP -
Well, if this is something you have control over, can you rename it to one word?
-
Hey folks, OK, here's one: I'm trying to figure out a way to programmatically add a wireless access point to Windows XP SP2 upon successful install, as well as adding several network printers (specified by IP address and pointing to a driver folder). I'm starting my research on printers (it seems a little complex), but I haven't the foggiest idea how to add the access point. Would it be a matter of doing a registry compare, or is there a simpler way specified in the ref.chm file or something I could execute in a CMD file? Any help would be greatly appreciated, thanks, JP
-
Actually, batch files (and DOS utilities) exist to remove C: drives and reformat it without bothering the D: drive. Even if it's an NTFS volume and you're working in DOS. Check out my method here: http://www.msfn.org/board/index.php?showtopic=17144&hl= Cheers, JP
-
I think you may not have enough files in the main WinXP directory. If memory serves me right, you have to leave the files WIN51, WIN51IP, and WIN51IP.SP1 in the root directory (above I386). I think those files identify the XP folder so it does not ask for another disk. Try that. JP
-
@db2k... OK, perhaps you missed one of the last lines in the post... This assumes you start out in DOS using a simple Win98 boot floppy image on your CD instead of WinPE or the Windows Boot Disk images. I am referring to a CD-based solution, using a DOS floppy image. Sorry you didn't catch that one. JP
-
Actually, the best way to do it is to have a batch file auto-format your HD, then reboot, then start the install process. Can you do this on a read-only CD? Yes! This assumes your hard disk is either a) empty or only has one partition on it from a previous install. Here's the logic tree: Test 1: Is drive empty? This test uses AEFDisk's ALLSIZE (HD capacity) compared to FREESIZE (unallocated space) - if they are identical, the drive is empty. If Yes - GOTO format subroutine, create a C: and D: drive, auto-reboot If No - Check for Drive D: existence Test 2: Does D: exist? Again, this script assumes that your existing drives do not have a D: partition - only THIS script creates that, so if it's there, we know the HD is ready to install on. If Yes - drive has been formatted using AEFDISK, so goto install script If No - pre-existing C: drive exists, GOTO DeleteALL and remove all partitions, then goto formatCD and format C: and D: drives, and reboot. So, here's the code: @echo off GOTO IsHDempty :IsHDempty @AEFDisk 1 /FREESIZE @AEFDisk 1 /ALLSIZE IF "%freesize%"=="%allsize%" GOTO formatCD GOTO CheckForD :CheckForD IF EXISTS d:\nul GOTO install GOTO deleteALL :deleteALL @AEFDisk 1 /DELALL GOTO formatCD :formatCD (however you wish to define csize goes here, or you can hard code 10240 below in place of %csize% - I use INPUT.COM to type it in on the fly [do a search here for my previous article on it]) @AEFDisk 1 /PRI:%csize%:0B @AEFDisk 1 /FREESIZE @AEFDisk 1 /EXT:%freesize% /LOG:%freesize%:0B @AEFDisk 1 /formatfat:1:Hard_Disk_C @AEFDisk 1 /formatfat:5:Hard_Disk_D /reboot :install ECHO. ECHO Creating Install Folder and copying from source ... ECHO. IF NOT EXISTS d:\XP\nul (MD d:\XP) xcopy (path to winxp CD)\*.* d:\XP\*.* /e ECHO. ECHO Starting Windows Install ... ECHO. d:\XP\i386\winnt /s:d:\XP\i386 /u:d:\XP\i386\winnt.sif This assumes you start out in DOS using a simple Win98 boot floppy image on your CD instead of WinPE or the Windows Boot Disk images. Works like a champ, plus is fast and simple. One of the problems with copying subdirectories in DOS is you can't go beyond 8 levels deep in folders. The solution I found is to put your XP install folder into a RAR file, then extract all files from CD to the new D: drive using RAR32 for DOS. That's what I do and it's a proven solution. JP
-
How To Make 2nd CD Unattend Installation
JPamplin replied to yazanaswad's topic in Unattended Windows 2000/XP/2003
I think there's a simpler way to do this... I wouldn't have any script which "asks" for a second CD. After your install cycle is done and the PC is just sitting there, ready to do whatever, why don't you just create a CD with an AUTORUN.INF in it? The AUTORUN.INF would merely launch the .CMD file that installs all the apps on the CD as soon as you insert it. That way, you could run CD2 whenever you wanted to, rather than being forced to run it when the PC wanted to. Plus, it would be universal (you could stick it in ANY PC and install those apps, not just in your unattended script). That's going to be my approach with my CD2, but frankly, I've got so much stuff on CD1 that currently I don't need it. Just look at any commercial CD for an example of AUTORUN.INF - it's pretty simple, but I can't remember the exact syntax of the file. Good luck, JP -
BREAKTHROUGH! Accepting user input in batch files
JPamplin replied to JPamplin's topic in Unattended Windows 2000/XP/2003
Folks, You will notice that I've rewritten my original post to include the INPUT.COM user input utility and simplified my script quite a bit. JP -
Is there any way to select the components of Norton SystemWorks (2002, 2003, or 2004) and use the MSI? Something like a TRANSFORMS file (.mst) for Norton or an INI? I'd also like to know where Norton keeps it's settings (INI or registry)? If registry, where? Anyone? Thanks, JP
-
Hard Drive Partitioning during an Unattended Build
JPamplin replied to Yokozuna's topic in Unattended Windows 2000/XP/2003
Yokozuna, Hajimemas***e. You can use AEFDisk to partition the remaining space on your hard disk as a D: drive. I do this all the time in DOS prior to the beginning of my XP install. If there is unallocated space on your hard disk, you can use a little script I wrote: @echo off AEFDisk 1 /freesize AEFDisk 1 /log:%freesize% /ext:%freesize%:0B AEFDisk /formatfat:5:Hard_Disk_D /reboot That batch file will create a new drive from your HD's free space, formats it as FAT32, and reboots. You should run it in DOS, if possible. AEFDisk is free and available at http://www.aefdisk.com/ You can also use AEFDisk just to get the freesize variable, if you are bent on using Microsoft products (FDISK): FDISK 1 /log:&freesize% /ext:%freesize% /actok /q You'll still have to format it, and FDISK does not format anything over 64GB. JP