<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-4177401791947219781</id><updated>2011-11-27T16:28:59.561-08:00</updated><category term='mouse'/><category term='hard drive install'/><category term='screen resolution'/><category term='peimg'/><category term='mapped drive'/><category term='AeroSnaps'/><category term='WMI'/><category term='ram drive'/><category term='scratch space'/><category term='registry'/><category term='unattend'/><category term='Boot from a hard drive'/><category term='BCD'/><category term='wpeinit'/><category term='add application'/><category term='defrag'/><category term='networking'/><category term='pagefile'/><category term='read write'/><category term='Windows 7'/><title type='text'>All About Windows PE 2.x</title><subtitle type='html'>Tips and Tricks for working with Windows PE 2.1</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://winpe2.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4177401791947219781/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://winpe2.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Paul Mathews</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>15</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-4177401791947219781.post-7766792223870963439</id><published>2008-12-29T11:49:00.001-08:00</published><updated>2009-01-07T08:42:21.915-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='AeroSnaps'/><category scheme='http://www.blogger.com/atom/ns#' term='Windows 7'/><title type='text'>AeroSnaps In Windows PE</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_AoiEzZwW4PE/SVks3QdT0EI/AAAAAAAAABg/Y7haiGD7xPk/s1600-h/PE_Aero2.jpg"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 200px; height: 150px;" src="http://4.bp.blogspot.com/_AoiEzZwW4PE/SVks3QdT0EI/AAAAAAAAABg/Y7haiGD7xPk/s200/PE_Aero2.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5285304965518315586" /&gt;&lt;/a&gt;

&lt;p&gt;Over at &lt;a href="http://www.osattack.com/"&gt;OS Attack &lt;/a&gt;they have noticed that Microsoft has inlcuded AeroSnaps in the next version of Windows PE that comes with Windows 7.  This is a good indication that there have been other things added to the new PE as well.  &lt;/p&gt;&lt;p&gt;Via: &lt;a href="http://www.osattack.com/"&gt;OS Attack&lt;/a&gt;&lt;/p&gt;&lt;p&gt;UPDATE:: It appears as if all of the standard shortcuts for AeroSnaps that work in Windows 7 also work in Windows PE.&lt;/p&gt;&lt;p&gt;Maximize
Keyboard shortcut: WINKEY + UP ARROW

Maximize vertically
Keyboard shortcut: WINKEY + SHIFT + UP ARROW

Snap to the left side of screen
Keyboard shortcut: WINKEY + LEFT ARROW

Snap to the right side of screen
Keyboard shortcut: WINKEY + RIGHT ARROW

Restore
Keyboard shortcut: WINKEY + DOWN ARROW

&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4177401791947219781-7766792223870963439?l=winpe2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://winpe2.blogspot.com/feeds/7766792223870963439/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4177401791947219781&amp;postID=7766792223870963439' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4177401791947219781/posts/default/7766792223870963439'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4177401791947219781/posts/default/7766792223870963439'/><link rel='alternate' type='text/html' href='http://winpe2.blogspot.com/2008/12/aerosnaps-in-windows-pe.html' title='AeroSnaps In Windows PE'/><author><name>Paul Mathews</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_AoiEzZwW4PE/SVks3QdT0EI/AAAAAAAAABg/Y7haiGD7xPk/s72-c/PE_Aero2.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4177401791947219781.post-358819008374780506</id><published>2008-12-24T04:35:00.000-08:00</published><updated>2008-12-24T04:41:56.132-08:00</updated><title type='text'>My Absence</title><content type='html'>&lt;p&gt;Thanks to everyone that is still visiting even with my long absence.  I have had a rather large amount of changes in my life since I last posted including marriage, change of job, moving to another country.  So needless to say I have been extremely busy.&lt;/p&gt;&lt;p&gt;In the last several months Windows 7 has been making some serious headway which also includes some Windows PE changes.  Over the next few months I will start to outline some of those new changes and how they can benefit us.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4177401791947219781-358819008374780506?l=winpe2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://winpe2.blogspot.com/feeds/358819008374780506/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4177401791947219781&amp;postID=358819008374780506' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4177401791947219781/posts/default/358819008374780506'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4177401791947219781/posts/default/358819008374780506'/><link rel='alternate' type='text/html' href='http://winpe2.blogspot.com/2008/12/my-absence.html' title='My Absence'/><author><name>Paul Mathews</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4177401791947219781.post-9027351107800121626</id><published>2008-06-21T20:09:00.000-07:00</published><updated>2008-06-21T18:09:14.176-07:00</updated><title type='text'>Commercially produced WinPE's</title><content type='html'>Some commercially available PE based boot CD's are available, however they are rare due to the licensing restrictions.   Most frequently these are utilized by larger corporations that do not want to spend time developing their own PE solution.  If anyone knows of any additional versions commercially available feel free to let me know.


&lt;p&gt;&lt;a href="http://www.portlock.com/products/boot_cd/"&gt;Portlock Boot CD&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;a href="http://www.microsoft.com/windows/products/windowsvista/enterprise/dart.mspx"&gt;Microsoft DART (Formerly ERD Commander)&lt;/a&gt;
&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4177401791947219781-9027351107800121626?l=winpe2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://winpe2.blogspot.com/feeds/9027351107800121626/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4177401791947219781&amp;postID=9027351107800121626' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4177401791947219781/posts/default/9027351107800121626'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4177401791947219781/posts/default/9027351107800121626'/><link rel='alternate' type='text/html' href='http://winpe2.blogspot.com/2008/04/some-commercially-available-pe-based.html' title='Commercially produced WinPE&apos;s'/><author><name>Paul Mathews</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4177401791947219781.post-3917985162757585945</id><published>2008-06-21T18:45:00.000-07:00</published><updated>2008-06-21T19:11:27.949-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='WMI'/><category scheme='http://www.blogger.com/atom/ns#' term='ram drive'/><category scheme='http://www.blogger.com/atom/ns#' term='registry'/><title type='text'>WMI Tracing</title><content type='html'>&lt;p&gt;When you add the WMI package to your WinPE a problem that most people are unaware of us the default action of WMI in PE to create an in depth log file.  The real problem is that this file grows to be very large within a short period of time if WMI intensive applications are used.  Typically it grows to be about 16 MB in size before it stops logging.  This log file is then taking up precious space inside of the ram drive.  Thankfully its easy to toggle off this setting during the customization of your WIM.  After adding the WMI package change the following registry to the value shown:&lt;/p&gt;&lt;p&gt;[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WBEM\Tracing\WMI]
"SessionEnabled"=dword:00000000
&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4177401791947219781-3917985162757585945?l=winpe2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://winpe2.blogspot.com/feeds/3917985162757585945/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4177401791947219781&amp;postID=3917985162757585945' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4177401791947219781/posts/default/3917985162757585945'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4177401791947219781/posts/default/3917985162757585945'/><link rel='alternate' type='text/html' href='http://winpe2.blogspot.com/2008/06/wmi-tracing.html' title='WMI Tracing'/><author><name>Paul Mathews</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4177401791947219781.post-328465351498249806</id><published>2008-06-17T19:18:00.000-07:00</published><updated>2008-06-18T04:58:01.804-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='registry'/><category scheme='http://www.blogger.com/atom/ns#' term='add application'/><category scheme='http://www.blogger.com/atom/ns#' term='defrag'/><category scheme='http://www.blogger.com/atom/ns#' term='pagefile'/><title type='text'>Add Defrag to PE</title><content type='html'>&lt;p&gt;One of the benefits of WinPE is that it allows you to work with an offline operating system without the problems of files being in use.  This is most evident when it comes to Defragging a hard drive.  Many files such as the pagefile or the regsitry hives cant be defragmented when they are in use.  Thankfully this task can still be accomplished with PE with the right modifications.&lt;/p&gt;&lt;p&gt;By adding these registry keys to your PE and then the files you will have the full capabilities of defrag inside of your PE.&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:85%;"&gt;Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\EXTERNALSOFTWARE\Classes\CLSID\{80EE4901-33A8-11d1-A213-0080C88593A5}]
@="Defrag NTFS engine"

[HKEY_LOCAL_MACHINE\EXTERNALSOFTWARE\Classes\CLSID\{80EE4901-33A8-11d1-A213-0080C88593A5}\LocalServer32]
@=hex(2):25,00,73,00,79,00,73,00,74,00,65,00,6d,00,72,00,6f,00,6f,00,74,00,25,\
  00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,44,00,66,00,\
  72,00,67,00,4e,00,74,00,66,00,73,00,2e,00,65,00,78,00,65,00,00,00


[HKEY_LOCAL_MACHINE\EXTERNALSOFTWARE\Classes\CLSID\{80EE4902-33A8-11d1-A213-0080C88593A5}]
@="Defrag FAT engine"

[HKEY_LOCAL_MACHINE\EXTERNALSOFTWARE\Classes\CLSID\{80EE4902-33A8-11d1-A213-0080C88593A5}\LocalServer32]
@=hex(2):25,00,73,00,79,00,73,00,74,00,65,00,6d,00,72,00,6f,00,6f,00,74,00,25,\
  00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,44,00,66,00,\
  72,00,67,00,46,00,61,00,74,00,2e,00,65,00,78,00,65,00,00,00

&lt;/span&gt;&lt;/p&gt;&lt;p&gt;For these files you can copy them from  a Vista machine but make sure that the Vista service pack version matches the WinPE service pack version.  Place them in the same locations as they are located on Vista.  
&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:85%;"&gt;System32\Defrag.exe&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:85%;"&gt;System32\dfrgfat.exe&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:85%;"&gt;System32\DfrgNtfs.exe&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:85%;"&gt;System32\DfrgRes.dll&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:85%;"&gt;System32\en-US\Defrag.exe.mui&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:85%;"&gt;System32\en-US\DfrgFat.exe.mui&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:85%;"&gt;System32\en-US\DfrgNtfs.exe.mui&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:85%;"&gt;System32\en-US\DfrgRes.dll.mui&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4177401791947219781-328465351498249806?l=winpe2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://winpe2.blogspot.com/feeds/328465351498249806/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4177401791947219781&amp;postID=328465351498249806' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4177401791947219781/posts/default/328465351498249806'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4177401791947219781/posts/default/328465351498249806'/><link rel='alternate' type='text/html' href='http://winpe2.blogspot.com/2008/06/add-defrag-to-pe.html' title='Add Defrag to PE'/><author><name>Paul Mathews</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4177401791947219781.post-9148612836117518906</id><published>2008-06-08T02:46:00.000-07:00</published><updated>2008-06-08T02:48:55.499-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='hard drive install'/><category scheme='http://www.blogger.com/atom/ns#' term='Boot from a hard drive'/><title type='text'>How to make a PE boot from a hard drive</title><content type='html'>This process works very well with a USB hard drive as long as you follow some basic steps.  I have done it with USB pendrives as well but it tends to only work with some drives.  For the size of the partition I have had the best luck with setting them as Fat and no bigger than 3 GB.

Open a command prompt (cmd.exe) and enter the following commands

diskpart list disk
select disk 1  (where 1 is you will need to select your USB hard drive)
clean disk  (THIS WILL ERASE EVERYTHING ON THE DISK!)
create partition primary size=3000
list partition
select partition 1
format fs=fat
select partition 1  (Some systems lose the selected partition during the format process and this selects it again)
active
assign


Now we will copy the files we will need for our PE.  Replace "C:\PE\winpe_x86\ISO\" and "D:\" with the location of where your PE files are and the location of your USB drive.

xcopy C:\PE\winpe_x86\ISO\*.* /e /f  D:\&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4177401791947219781-9148612836117518906?l=winpe2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://winpe2.blogspot.com/feeds/9148612836117518906/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4177401791947219781&amp;postID=9148612836117518906' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4177401791947219781/posts/default/9148612836117518906'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4177401791947219781/posts/default/9148612836117518906'/><link rel='alternate' type='text/html' href='http://winpe2.blogspot.com/2008/06/how-to-make-pe-boot-from-hard-drive.html' title='How to make a PE boot from a hard drive'/><author><name>Paul Mathews</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4177401791947219781.post-6207083257546426646</id><published>2008-06-07T12:17:00.000-07:00</published><updated>2008-06-08T16:00:15.251-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='mapped drive'/><category scheme='http://www.blogger.com/atom/ns#' term='networking'/><title type='text'>Map a network drive</title><content type='html'>I have been getting quite a few questions about networking in WinPE and how to map a network drive correctly.  There are many different components to this whether that is automatically or manually.  The quickest way to do it via command prompt is with the following command format...

net use O: \\%servername%\%sharename% /user:%user% %password%

Or

net use Z:\\HAL2008\machineimages  /user:Admin1 YMYF

Remember when doing this that you should never setup a network drive to map the drive letter "X:" because WinPE uses this drive as the default drive letter for the operating system much as regular windows uses the default of C:\.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4177401791947219781-6207083257546426646?l=winpe2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://winpe2.blogspot.com/feeds/6207083257546426646/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4177401791947219781&amp;postID=6207083257546426646' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4177401791947219781/posts/default/6207083257546426646'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4177401791947219781/posts/default/6207083257546426646'/><link rel='alternate' type='text/html' href='http://winpe2.blogspot.com/2008/06/map-network-drive.html' title='Map a network drive'/><author><name>Paul Mathews</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4177401791947219781.post-7087541041254216462</id><published>2008-06-04T18:16:00.000-07:00</published><updated>2008-06-04T19:29:29.899-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='screen resolution'/><category scheme='http://www.blogger.com/atom/ns#' term='unattend'/><category scheme='http://www.blogger.com/atom/ns#' term='wpeinit'/><category scheme='http://www.blogger.com/atom/ns#' term='pagefile'/><category scheme='http://www.blogger.com/atom/ns#' term='networking'/><title type='text'>Change the Desktop Resolution</title><content type='html'>The default resolution of Windows PE is 800 x 600.  The obvious problem with this is that most applications are designed for 1024 x 768.  Modifying the PE resolution is not the easiest of tasks to accomplish automatically but is entirely possible.  The most common way to do this is by using an application called &lt;a href="http://www.iansharpe.com/downloads.php"&gt;Setres&lt;/a&gt;.  It is created by Ian Sharpe and is widely used by many that utilize Windows PE in a non-corporate environment.   The not-so-obvious problem with this is legalities.  Using applications that albeit free they may not necessarily be legal to distribute.   This can present a legal nightmare to companies that create duplicates of their WinPE disks for different employees.   There is a very easy solution to this that not only accomplishes everything Setres does but substantially more.  And best of all its already included by default in Windows PE 2.

wpeinit.exe

It is used for executing an unattended script to allow for automated installation in Windows Vista.  There are many different components of this but I will cover only the basics for now.

This is my simple unattend.xml script for setting my screen resolution as well as creating a pagefile and starting my networking.

SetPEoptions.xml
&lt;pre&gt;
     &amp;lt;?xml version="1.0" encoding="utf-8"?&amp;gt;
&amp;lt;unattend xmlns="urn:schemas-microsoft-com:unattend"&amp;gt;
  &amp;lt;settings pass="windowsPE"&amp;gt;
    &amp;lt;component name="Microsoft-Windows-Setup" processorArchitecture="x86"
publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"
 xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"&amp;gt;
          &amp;lt;Display&amp;gt;
          &amp;lt;ColorDepth&amp;gt;32&amp;lt;/ColorDepth&amp;gt;
          &amp;lt;HorizontalResolution&amp;gt;1024&amp;lt;/HorizontalResolution&amp;gt;
          &amp;lt;VerticalResolution&amp;gt;768&amp;lt;/VerticalResolution&amp;gt;
          &amp;lt;/Display&amp;gt;
    &amp;lt;EnableNetwork&amp;gt;true&amp;lt;/EnableNetwork&amp;gt;
    &amp;lt;EnableFirewall&amp;gt;true&amp;lt;/EnableFirewall&amp;gt;
    &amp;lt;PageFile&amp;gt;
          &amp;lt;Path&amp;gt;C:\Pagefile.sys&amp;lt;/Path&amp;gt;
          &amp;lt;Size&amp;gt;1024&amp;lt;/Size&amp;gt;
    &amp;lt;/PageFile&amp;gt;
    &amp;lt;/component&amp;gt;
  &amp;lt;/settings&amp;gt;
&amp;lt;/unattend&amp;gt;
&lt;/pre&gt;

You can manually execute this script each time but it is much better if you have it executed automatically in your startnet.cmd or other batch file.  This helps to keep the manual steps to a minnimum when using WinPE.

Once you have your xml document created you can place it in your Windows directory in your PE wim or anywhere else so long as you remember where you put it.  The command if it is placed in the Windows directory would like this to execute the script: 

wpeinit.exe /unattend=X:\Windows\SetPEoptions.xml

I will expand on the unattended scipts in a future posts to help show more of its features.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4177401791947219781-7087541041254216462?l=winpe2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://winpe2.blogspot.com/feeds/7087541041254216462/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4177401791947219781&amp;postID=7087541041254216462' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4177401791947219781/posts/default/7087541041254216462'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4177401791947219781/posts/default/7087541041254216462'/><link rel='alternate' type='text/html' href='http://winpe2.blogspot.com/2008/06/change-desktop-resolution.html' title='Change the Desktop Resolution'/><author><name>Paul Mathews</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4177401791947219781.post-6474521364795433465</id><published>2008-04-30T08:23:00.000-07:00</published><updated>2008-04-30T08:47:25.262-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='registry'/><category scheme='http://www.blogger.com/atom/ns#' term='mouse'/><title type='text'>Mouse Wheel Support</title><content type='html'>Lack of mouse wheel support in Windows PE is one of those things that can be annoying.  Especially when you are attempting to navigate quickly around the machine and not waste time.  It is actually surprising to me that it is not enabled by default in PE.  This is something that can be enabled by a simple registry key addition.


&lt;blockquote&gt;[HKEY_LOCAL_MACHINE\EXTERNALSYSTEM\ControlSet001\Services\i8042prt\Parameters]
"EnableWheelDetection"=dword:00000002&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4177401791947219781-6474521364795433465?l=winpe2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://winpe2.blogspot.com/feeds/6474521364795433465/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4177401791947219781&amp;postID=6474521364795433465' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4177401791947219781/posts/default/6474521364795433465'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4177401791947219781/posts/default/6474521364795433465'/><link rel='alternate' type='text/html' href='http://winpe2.blogspot.com/2008/04/lack-of-mouse-wheel-support-in-windows.html' title='Mouse Wheel Support'/><author><name>Paul Mathews</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4177401791947219781.post-8825472384139441511</id><published>2008-04-15T16:35:00.000-07:00</published><updated>2008-04-15T17:09:21.208-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='scratch space'/><category scheme='http://www.blogger.com/atom/ns#' term='ram drive'/><category scheme='http://www.blogger.com/atom/ns#' term='registry'/><title type='text'>Ram Drive Compression</title><content type='html'>One of the lesser known features of the Ram drive is the ability to add compression.  This can help when there is a need to have a larger amount of data on the Ram drive without modifying the wim for the specific situation.   It also helps for machines with minimal ram to keep the resource usage to a minimum.

&lt;blockquote&gt;[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\FBWF]
"CacheType"=dword:00000002&lt;/blockquote&gt;1 = Dynamic
2 = Dynamic Compressed
3 = Pre-Allocated

I have tested each of the settings and Dynamic Compressed has worked the best for average usage.  At this time I am not aware of another way to modify this cache type other than a registry key change.  As far as performance goes I have not noticed any degradation of performance with the compression due to it being in physical ram.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4177401791947219781-8825472384139441511?l=winpe2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://winpe2.blogspot.com/feeds/8825472384139441511/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4177401791947219781&amp;postID=8825472384139441511' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4177401791947219781/posts/default/8825472384139441511'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4177401791947219781/posts/default/8825472384139441511'/><link rel='alternate' type='text/html' href='http://winpe2.blogspot.com/2008/04/one-of-lesser-known-features-of-ram.html' title='Ram Drive Compression'/><author><name>Paul Mathews</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4177401791947219781.post-4882558917664235700</id><published>2008-04-13T15:04:00.001-07:00</published><updated>2008-12-09T21:44:31.027-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='read write'/><category scheme='http://www.blogger.com/atom/ns#' term='hard drive install'/><category scheme='http://www.blogger.com/atom/ns#' term='BCD'/><category scheme='http://www.blogger.com/atom/ns#' term='registry'/><title type='text'>Windows PE Read AND Write the Registry?</title><content type='html'>I have many different variants of WinPE with varying installation mediums.  One of my most recent versions is a Windows PE 2.0 installed to a hard drive.  There are many benefits to this, the first of which is how fast it boots.  With this particular machine it boots on average in about 3-5 seconds.  Yes that's seconds.

One of the many problems with PE is that the registry can be written to when it is booted but then when the system reboots it discards all of the changes made to it.  With the primary purpose of PE this is not an issue however for those of us looking to expand PE's capabilities and searching for a version of Vista that is actually fast this can be an obstacle to bypass.

With Vistas new form of boot.ini called the BCD many of the primary boot options are set with basic command line switches.  One of the entries in the BCD is simply called "winpe".  This is the switch from previous versions called "MININT".  What this switch does when it is enabled is cause the configuration manager to load the registry hives as volatile so that any changes made to it are not saved to the original hives.

The command as executed for the BCD would look like this:
C:\bcdedit /set {7619dcc8-fafe-11d9-b411-000476eba25f} winpe No

&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_AoiEzZwW4PE/SAKLfaViWUI/AAAAAAAAAA8/JEwq8uJti_U/s1600-h/winpe_no.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://4.bp.blogspot.com/_AoiEzZwW4PE/SAKLfaViWUI/AAAAAAAAAA8/JEwq8uJti_U/s320/winpe_no.jpg" alt="" id="BLOGGER_PHOTO_ID_5188863092446091586" border="0" /&gt;&lt;/a&gt;
The primary issue with this is that once the registry is writeable the boot process changes.  The system will no longer simply boot as previously.  Once winpeshl.exe is executed it attempts to operate as previously with read only hives.  A quick easy way to bypass this problem is simply replaces winpeshl.exe with a shell of your choice.  To do this quickly you can simply rename your shell executable to "winpeshl.exe" and then it will be launched.

I will continue to post about this in the future as I continue to explore down this path with the hard drive installation of WinPE.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4177401791947219781-4882558917664235700?l=winpe2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://winpe2.blogspot.com/feeds/4882558917664235700/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4177401791947219781&amp;postID=4882558917664235700' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4177401791947219781/posts/default/4882558917664235700'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4177401791947219781/posts/default/4882558917664235700'/><link rel='alternate' type='text/html' href='http://winpe2.blogspot.com/2008/04/windows-pe-read-and-write-registry.html' title='Windows PE Read AND Write the Registry?'/><author><name>Paul Mathews</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_AoiEzZwW4PE/SAKLfaViWUI/AAAAAAAAAA8/JEwq8uJti_U/s72-c/winpe_no.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4177401791947219781.post-4823633699163189936</id><published>2008-04-10T10:32:00.000-07:00</published><updated>2008-04-10T10:32:00.922-07:00</updated><title type='text'>ImageX GUI</title><content type='html'>For those that do not want to do everything by command line there are a few other options.  One of these options is the &lt;a href="http://www.autoitscript.com/gimagex/"&gt;ImageX GUI&lt;/a&gt; made by Jonathan Bennett of AutoIt fame.  Its fairly simple to use and just needs to be added to the imageX directory.  Personally I find myself using it when I am just looking for some quick information about a particular wim without having to manually use the command prompt to get the information I need.


&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://www.autoitscript.com/gimagex/capture.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px;" src="http://www.autoitscript.com/gimagex/capture.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4177401791947219781-4823633699163189936?l=winpe2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://winpe2.blogspot.com/feeds/4823633699163189936/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4177401791947219781&amp;postID=4823633699163189936' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4177401791947219781/posts/default/4823633699163189936'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4177401791947219781/posts/default/4823633699163189936'/><link rel='alternate' type='text/html' href='http://winpe2.blogspot.com/2008/04/imagex-gui.html' title='ImageX GUI'/><author><name>Paul Mathews</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4177401791947219781.post-5936933475668866548</id><published>2008-04-09T13:17:00.000-07:00</published><updated>2008-04-09T13:13:11.488-07:00</updated><title type='text'>Download Windows AIK (WinPE)</title><content type='html'>For those that would like to start working with Windows PE you can start by downloading the Microsoft Windows AIK (Automated Installation Kit).

&lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=94BB6E34-D890-4932-81A5-5B50C657DE08&amp;amp;displaylang=en"&gt;Download Windows AIK&lt;/a&gt;

Everything you will do be doing with it will be almost entirely by command line.  It is designed to script Windows installations however for the purpose of WinPE it is necessary to do most tasks via command line.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4177401791947219781-5936933475668866548?l=winpe2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://winpe2.blogspot.com/feeds/5936933475668866548/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4177401791947219781&amp;postID=5936933475668866548' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4177401791947219781/posts/default/5936933475668866548'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4177401791947219781/posts/default/5936933475668866548'/><link rel='alternate' type='text/html' href='http://winpe2.blogspot.com/2008/04/download-windows-aik-winpe.html' title='Download Windows AIK (WinPE)'/><author><name>Paul Mathews</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4177401791947219781.post-1646692516850300855</id><published>2008-04-08T18:22:00.000-07:00</published><updated>2008-04-08T18:55:58.776-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='scratch space'/><category scheme='http://www.blogger.com/atom/ns#' term='ram drive'/><category scheme='http://www.blogger.com/atom/ns#' term='peimg'/><title type='text'>Scratch Space aka Ram Drive</title><content type='html'>One of the many benefits of WinPE 2 is the Ram Drive.  This allows you to install applications as well as have more room for the installed applications to work with.  This is generally called the Ram Drive by most people and Microsoft calls it the Scratch Space. 

There are many ways to create or modify the amount of Scratch Space the most common of which is the following registry key.

&lt;span id="dnn_ctr423_MainView_ViewEntry_lblEntry" class="Normal"&gt;&lt;p&gt;&lt;/p&gt;&lt;/span&gt;&lt;blockquote&gt;&lt;span id="dnn_ctr423_MainView_ViewEntry_lblEntry" class="Normal"&gt;&lt;p&gt;Windows Registry Editor Version 5.00&lt;/p&gt; &lt;p&gt;[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\FBWF]
"WinPECacheThreshold"=dword:00000020&lt;/p&gt; &lt;p&gt;;dword:00000010 = 16
; 0x10 = 16Mb
; 0x18 = 24Mb
; 0x20 = 32Mb
; 0x30 = 48Mb
; 0x40 = 64Mb
; 0x48 = 72Mb
; 0x60 = 96Mb
; 0x80 = 128Mb
; 0x100 = 256Mb
&lt;/p&gt;&lt;/span&gt;&lt;/blockquote&gt;By looking at the values you can see that there are a few different sizes to choose from.  The default value for WinPE is 32 MB which you can see equates to a value of "0x20" for this key.

There is another less known way to implement this tweak and I feel for most beginners it is also the best route. 

For this we are going to assume you are using the default PE locations and settings.  The default location for the WinPE working directory is "C:\winpe_x86".  Personally I suggest you move this a directory deeper to be something along the lines of "C:\PE\winpe_x86" however this is up to personal prefrence.  We will use the default for most examples here to help keep everything syncronized with Microsofts documentation.  The reasoning for moving it a directory deeper is to have your miscellaneus files in the "C:\PE" directory along with your winpe_x86 directory.
&lt;blockquote&gt;
Step 1:  Mount your boot.wim to C:\winpe_x86

Step 2:  Open a command prompt then navigate to the following directory...  C:\Program Files\Windows AIK\Tools\PETools\

Step 3:  Type the following command: peimg.exe /scratchspace=256 /image=C:\winpe_x86\mount\Windows&lt;/blockquote&gt;

For the /scratchspace command you can specify the values of 32, 64, 128, 256, 512.  Something thats intresting to note with using this method is that the smallest you can create is 32 MB.  With the above registry tweak you can create an even smaller Scratch Space of 16 MB as well as many other more defined sizes.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4177401791947219781-1646692516850300855?l=winpe2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://winpe2.blogspot.com/feeds/1646692516850300855/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4177401791947219781&amp;postID=1646692516850300855' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4177401791947219781/posts/default/1646692516850300855'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4177401791947219781/posts/default/1646692516850300855'/><link rel='alternate' type='text/html' href='http://winpe2.blogspot.com/2008/04/scratch-space-aka-ram-drive.html' title='Scratch Space aka Ram Drive'/><author><name>Paul Mathews</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4177401791947219781.post-1782200978147965643</id><published>2008-04-08T17:51:00.000-07:00</published><updated>2008-12-09T21:44:31.269-08:00</updated><title type='text'>Welcome to All About WinPE 2</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_AoiEzZwW4PE/R_wYL_on0pI/AAAAAAAAAAQ/-DJnSSXodgw/s1600-h/WinPE_SP1.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://1.bp.blogspot.com/_AoiEzZwW4PE/R_wYL_on0pI/AAAAAAAAAAQ/-DJnSSXodgw/s320/WinPE_SP1.jpg" alt="" id="BLOGGER_PHOTO_ID_5187047465163412114" border="0" /&gt;&lt;/a&gt;
This website will be a general information website about Windows PE 2. For those that dont know what Windows Pre-installation Environment is, basically it is a minimal Windows based operating system that can be booted off of a CD-Rom. WinPE is becomming increasingly popular with the technical community due to it's usefulness.

I have been working with WinPE for about 5 years since its inception with Windows XP. Here are a few more links regarding WinPE:

&lt;a href="http://en.wikipedia.org/wiki/Windows_Preinstallation_Environment"&gt;http://en.wikipedia.org/wiki/Windows_Preinstallation_Environment&lt;/a&gt;
&lt;a href="http://www.msfn.org/board/Windows-PE-f81.html"&gt;http://www.msfn.org/board/Windows-PE-f81.html&lt;/a&gt;
&lt;a href="http://www.msfn.org/board/Windows-PE-f81.html"&gt;http://www.911cd.net/forums//index.php?showforum=19&lt;/a&gt;
&lt;span style="font-family:georgia;"&gt;&lt;/span&gt;&lt;span style="font-family:georgia;"&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4177401791947219781-1782200978147965643?l=winpe2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://winpe2.blogspot.com/feeds/1782200978147965643/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4177401791947219781&amp;postID=1782200978147965643' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4177401791947219781/posts/default/1782200978147965643'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4177401791947219781/posts/default/1782200978147965643'/><link rel='alternate' type='text/html' href='http://winpe2.blogspot.com/2008/04/welcome-to-all-about-winpe-2.html' title='Welcome to All About WinPE 2'/><author><name>Paul Mathews</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_AoiEzZwW4PE/R_wYL_on0pI/AAAAAAAAAAQ/-DJnSSXodgw/s72-c/WinPE_SP1.jpg' height='72' width='72'/><thr:total>0</thr:total></entry></feed>
