Content Type
Profiles
Forums
Events
Everything posted by Tripredacus
-
-
We'll start out with building our base PE that we will work with. You will need to open the Windows PE Tools Command Prompt, and open it as the Administrator. copype.cmd amd64 c:\winpe_amd64 xcopy c:\winpe_amd64\winpe.wim c:\winpe_amd64\ISO\sources\boot.wim Dism /Mount-Wim /WinFile:c:\winpe_amd64\ISO\sources\boot.wim /index:1 /MountDir:c:\winpe_amd64\mount Dism /image:c:\winpe_amd64\mount /Add-Package /PackagePath:"C:\Program Files\Windows AIK\tools\PETools\amd64\WinPE_FPs\winpe-hta.cab" Dism /image:c:\winpe_amd64\mount /Add-Package /PackagePath:"C:\Program Files\Windows AIK\tools\PETools\amd64\WinPE_FPs\winpe-mdac.cab" Dism /image:c:\winpe_amd64\mount /Add-Package /PackagePath:"C:\Program Files\Windows AIK\tools\PETools\amd64\WinPE_FPs\winpe-scripting.cab" Dism /image:c:\winpe_amd64\mount /Add-Package /PackagePath:"C:\Program Files\Windows AIK\tools\PETools\amd64\WinPE_FPs\winpe-wmi.cab" Dism /unmount-Wim /MountDir:c:\winpe_amd64\mount /commit This adds the HTA, MDAC, Scripting and WMI packages. The MDAC may or may not be required for you, but not having it only can limit future development. Check out the Windows PE User's Guide (in the Start Menu) for more information on each package and how to add them. At this point, you should test your new PE that you made to make sure it works. You may skip this step if you feel sure about it. You will need these steps when you are finished with your PE anyways. The following also assumes a currently active WDS, and these steps will imply that. Update 10-05-09: It seems there was a step left out of the MS instructions. You need to take the files from C:\Program Files\Windows AIK\Tools\amd64 and put them in c:\winpe_amd64\mount\Windows\System32 if you want to have access to Imagex.exe! 1. Open Windows Deployment Services as Administrator (runas) 2. Expand your server you want to use until you see the containers inside. 3. Right-click on the Boot Images container and click Add Boot Image. 4. Browse to your PE location (look above if you forgot) choose it. 5. CLick next to the Name and Description page. I try to make things easy for my directed audience, so I will rename each line to "Imagex (x64)" 6. Keep clicking Next until it loads it and then Finish. Last step, boot a client to the network and choose the new Imagex (x64) if you have a menu, if not it should boot right in. Next we will put the HTA into the image. I've already gone through the liberty of figuring out how to get this working before writing up this post. First, make a folder to extract (or copy to) the files from the v7.1 zip file. If you have a customized one like I do, that's fine, or you can customize it ahead of time too, or leave it at stock. Up to you. There are a few things we need to make or get before we can put this in the Boot.wim. In order for this to work in x64, we need the new GimageX COM files. Not only is there one for x64 but also it is updated to handle Windows 7. Download the full package here: http://www.autoitscript.com/gimagex/ After you get this, you need to extract it out. You will find a COM folder and an x64 folder with the gimagex_com.dll inside. Copy this one and replace the one in the v71 folder. The second thing we need to take care of is the BROWSE.EXE program. You may choose to skip this step if you want to test to see if it works anyways. For me, it did not work until I decompiled it and recompiled it for x64. In order to do this, you need to download (or have installed) AutoIT v3. http://www.autoitscript.com/autoit3/ Once installed, in the start menu in the AutoIT folder you will find a program called "Decompile .exe to Script". Open this up and point it to the BROWSE.EXE in the v71 folder. In the second box you need to pick a name to save it as, which should be BROWSE.AU3. After it does this, go back into the AutoIT Start Menu and find a program called "Compile Script to .exe". Same concept, first line you choose the BROWSE.AU3 and second you choose the BROWSE.EXE that was already there. Make sure to choose the x64 radio button. In this step you will be overwriting the original BROWSE.EXE (the 32bit one) from the zip file. This is fine because if you want the original one back, just get it out of the Zip again! A little note about the Decompile .exe to Script program. It is used to decompile .EXE files compiled with AutoIT. This does not mean you can decompile any AutoIT based .EXE, just ones that have no password on them. Fortunately, Geezery did not put a password on his EXE so we can decompile it to make it 64bit. Now we are ready to make the Startnet.cmd file. This is what mine looks like on my test server: wpeinit wpeutil initializenetwork ping 127.0.0.1 -n 16 -w 1000>null net use z: \\7SERVER\images ZarleyZalapski33 /user:kdineen regsvr32 /s misc/gimagex_com.dll mshta.exe x:\windows\system32\imagex.hta The ping command are in there to delay mapping of the network drive for systems with NICs on an initialization delay. NICs on boards such as the Intel DG45ID and DG45FC (among others) require this in order to be able to be able to map the drive properly. The command after is mapping to the network share where the WIMs are kept. As you can tell, we are going to put all the files from inside the v71 folder into C:\Windows\System32. This includes the MISC folder and the Startnet.cmd! So here are your steps for updating the image with new files: 1. Mount the wim using the following command: Dism /mount-wim /wimfile:c:\winpe_amd64\iso\sources\boot.wim /index:1 /mountdir:c:\winpe_amd64\mount 2. Next, copy all files from the v71 folder, including the startnet.cmd and paste into c:\winpe_amd64\mount\windows\system32. You may need to provide Admin Rights for replacing the startnet.cmd. After you do this, we are ready to save the image with the following: dism /unmount-wim /mountdir:c:\winpe_amd64\mount /commit 3. Lastly we need to refresh the Boot image in WDS. From the WDS CPL, find your image under Boot Images, if named as in the tutorial it will be called Imagex (x64). Right-click on it and choose replace image. When you use the browse box, it will look at the last path (directory) you imported or replaced from the last time you used that option. So if you did nothing in WDS since adding the original Boot.wim, the one that appears when you hit browse will be the file we want. Select that, and go through the screens as you did the first time. It will default the Image name and Description, so you will have to change that again. After it is done and the Finish button lights up, you are good to go. You do not need to restart the WDS service, or refresh the window at all. Boot your client and see how it looks. At this point in the tutorial, you should be able to capture XP, Vista, 2003 and 2008 images just fine. Windows 7 instructions will be added to this thread later.
-
I'm still waiting for the price to come down. Must still be a good seller since its still about $40 around here. Probably can find it cheaper online tho. I can't play it yet (still) so I haven't bothered looking.
-
Basic partition question
Tripredacus replied to breadandbubbles's topic in Hard Drive and Removable Media
Or another good example is I have a 120GB Maxtor ATA drive that I bought in 2001 that has been partitioned and still works fine! However perhaps the difference is that HDD's partitions are both for data. OS still on another physical drive. Its a "best practice" to have OS on a separate physical disk, and data on (an)other(s). Even better practice is separate physical drives on different controllers. Example, our Domain Controller has 2 drives on RAID1 on onboard controller for OS, and 8 drives on RAID10 on 3Ware card for data. -
You may require one of the additional packages for the PE. I do not know which are already included in the Boot.wim. Try creating a WinPE 3.0 from the WAIK and running your program.
-
No, the OPK is only if you want to make your own install CDs with MCE on it. The package you bought should just be an install CD set. From the sounds of it, you may have bought something that looks like this: http://img.soft4share.com/files/pics/346/345697/img_1_pr.jpg Are both of these CDs have the hologram on them like in the picture?
-
By hologram, I mean the entire top of the CD is a hologram. Use this as an example: http://www.azcomputertech.com/images/authcd.jpg If not, what wording is on the CD? No company name like Dell, HP, Compaq, etc?
-
floppy disk drive error 02B2
Tripredacus replied to itachis.eyes's topic in Hard Drive and Removable Media
Check for BIOS POST Codes on the website/manual for the motherboard. Which board is it? -
The system cannot execute the specified program
Tripredacus replied to edwardpig's topic in Software Hangout
That is correct. The item you linked to is a security update to the redistributable package. You cannot redist the update, but you could redist the original package. Is there perhaps a newer version available that already contains that update? Edit: woops, I saw published date July 09. -
You haven't mentioned what brand of PC it is. Also, the Windows CD that comes with it, is it a hologram disc?
-
In addition, computers may turn themselves off if they get too hot. Also, try boot just on battery (no AC hooked up) and also try booting with just AC hooked up and take the battery out.
-
-
Oh NOes!
-
"Move Item" keep popping up when performing certain Explorer
Tripredacus replied to Ambassador's topic in Windows XP
Either reinstall the mouse software, or try a different mouse. If its an optical, try one with a ball, or if its USB, try a PS2 or Serial mouse. If it continues it isn't the mouse. -
Rush - Tom Sawyer
-
Try adding options 6 and 3 as in the WDS guide in my sig.
-
You may either have a HAL or Mass Storage Driver conflict if you are deploying to different configs. The images made by WDS/Imagex aren't very big and I only have 1 image per motherboard, sans applications. To see why your client is rebooting, after deploy press F8 to get to the Statup Menu. Then choose Disable Automatic Restart on System Failure to see what error you are getting.
-
"Move Item" keep popping up when performing certain Explorer
Tripredacus replied to Ambassador's topic in Windows XP
This is caused by stuck CTRL or SHIFT keys, or your mouse drivers being corrupted. -
There is also the dreaded "Antivirus 2009" clones which do this AND disable Task Manager. The OP didn't mention whether or not Task Manager opened or not, only that it was tried.
-
When the client is booting up, use F8 to get to the boot menu. Select the "Disable automatic restart on system failure" and see what error you are getting.
-
67 needs to be "\boot\x86\wdsnbp.com" <-- notice the first slash. What you typed did not have that. I have not tested using relay servers and 2008, only 2003. I am not sure what difference there is between the two. Also I have not dealt with everything being on different subnets.
-
I only like the Apple Pro USB Keyboards. They last a while but you can't take them apart if you need to clean it.
-
Just inject the driver into your PE or WIM. You didn't say what PE version you are using, but there is a general rundown: Win PE 1.x = XP driver WinPE 2.x = Vista/2008 WinPE 3.0 = Vista/2008/7
-
You should pick the one you are most familiar with.
-
EDIT: I am not having a problem at all. Using your post link hxxp://www.msfn.org/board/index.php?s=&showtopic=137119&view=findpost&p=878576 on paste becomes: http://www.msfn.org/board/broken-links-forum-issue-t137119-pid-878576.html#entry878576 but copy the #10 gives this: http://www.msfn.org/board/broken-links-forum-issue-t137119-pid-878576.html&view=findpost and translates to http://www.msfn.org/board/broken-links-forum-issue-t137119-pid-884506.html#entry884506 Which is my post. OK I see what you are saying.