<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--[if IE 6]>
<html id="ie6" xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en-US">
<![endif]-->
<!--[if IE 7]>
<html id="ie7" xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en-US">
<![endif]-->
<!--[if IE 8]>
<html id="ie8" xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en-US">
<![endif]-->
<!--[if !(IE 6) | !(IE 7) | !(IE 8)  ]><!-->
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en-US"><!--<![endif]--><head profile="http://gmpg.org/xfn/11">
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <link rel="pingback" href="http://www.gregorystrike.com/xmlrpc.php">

        <title>WinPE v3.0 and Microsoft iSCSI Initiator | Gregory Strike</title>
<link rel="shortcut icon" href="http://beta.gregorystrike.com/wp-content/uploads/2011/07/yn0t_avatar_64x64.png">
<link rel="alternate" type="application/rss+xml" title="Gregory Strike » Feed" href="http://www.gregorystrike.com/feed/">
<link rel="alternate" type="application/rss+xml" title="Gregory Strike » Comments Feed" href="http://www.gregorystrike.com/comments/feed/">
<link rel="alternate" type="application/rss+xml" title="Gregory Strike » WinPE v3.0 and Microsoft iSCSI Initiator Comments Feed" href="http://www.gregorystrike.com/2010/01/08/winpe-v3-0-and-microsoft-iscsi-initiator/feed/">
<link rel="stylesheet" id="suffusion-theme-css" href="WinPE%20v3.0%20and%20Microsoft%20iSCSI%20Initiator%20_%20Gregory%20Strike_pliki/style.css" type="text/css" media="all">
<link rel="stylesheet" id="suffusion-theme-skin-1-css" href="WinPE%20v3.0%20and%20Microsoft%20iSCSI%20Initiator%20_%20Gregory%20Strike_pliki/skin.css" type="text/css" media="all">
<!--[if !IE]>--><link rel="stylesheet" id="suffusion-rounded-css" href="WinPE%20v3.0%20and%20Microsoft%20iSCSI%20Initiator%20_%20Gregory%20Strike_pliki/rounded-corners.css" type="text/css" media="all">
<!--<![endif]-->
<!--[if gt IE 8]><link rel='stylesheet' id='suffusion-rounded-css'  href='http://www.gregorystrike.com/wp-content/themes/suffusion/rounded-corners.css?ver=4.0.4' type='text/css' media='all' />
<![endif]-->
<!--[if lt IE 8]><link rel='stylesheet' id='suffusion-ie-css'  href='http://www.gregorystrike.com/wp-content/themes/suffusion/ie-fix.css?ver=4.0.4' type='text/css' media='all' />
<![endif]-->
<link rel="stylesheet" id="suffusion-generated-css" href="WinPE%20v3.0%20and%20Microsoft%20iSCSI%20Initiator%20_%20Gregory%20Strike_pliki/a.css" type="text/css" media="all">
<link rel="stylesheet" id="really_simple_share_style-css" href="WinPE%20v3.0%20and%20Microsoft%20iSCSI%20Initiator%20_%20Gregory%20Strike_pliki/style_002.css" type="text/css" media="all">
<script type="text/javascript" src="WinPE%20v3.0%20and%20Microsoft%20iSCSI%20Initiator%20_%20Gregory%20Strike_pliki/widgets.js"></script>
<script type="text/javascript" src="WinPE%20v3.0%20and%20Microsoft%20iSCSI%20Initiator%20_%20Gregory%20Strike_pliki/comment-reply.js"></script>
<script type="text/javascript" src="WinPE%20v3.0%20and%20Microsoft%20iSCSI%20Initiator%20_%20Gregory%20Strike_pliki/jquery.js"></script>
<script type="text/javascript">
/* <![CDATA[ */
var Suffusion_JS = {"wrapper_width_type_page_template_1l_sidebar_php":"fixed","wrapper_max_width_page_template_1l_sidebar_php":"1200","wrapper_min_width_page_template_1l_sidebar_php":"600","wrapper_orig_width_page_template_1l_sidebar_php":"75","wrapper_width_type_page_template_1r_sidebar_php":"fixed","wrapper_max_width_page_template_1r_sidebar_php":"1200","wrapper_min_width_page_template_1r_sidebar_php":"600","wrapper_orig_width_page_template_1r_sidebar_php":"75","wrapper_width_type_page_template_1l1r_sidebar_php":"fixed","wrapper_max_width_page_template_1l1r_sidebar_php":"1200","wrapper_min_width_page_template_1l1r_sidebar_php":"600","wrapper_orig_width_page_template_1l1r_sidebar_php":"75","wrapper_width_type_page_template_2l_sidebars_php":"fixed","wrapper_max_width_page_template_2l_sidebars_php":"1200","wrapper_min_width_page_template_2l_sidebars_php":"600","wrapper_orig_width_page_template_2l_sidebars_php":"75","wrapper_width_type_page_template_2r_sidebars_php":"fixed","wrapper_max_width_page_template_2r_sidebars_php":"1200","wrapper_min_width_page_template_2r_sidebars_php":"600","wrapper_orig_width_page_template_2r_sidebars_php":"75","wrapper_width_type":"fluid","wrapper_max_width":"1200","wrapper_min_width":"600","wrapper_orig_width":"80","wrapper_width_type_page_template_no_sidebars_php":"fluid","wrapper_max_width_page_template_no_sidebars_php":"1200","wrapper_min_width_page_template_no_sidebars_php":"600","wrapper_orig_width_page_template_no_sidebars_php":"80","suf_featured_interval":"6000","suf_featured_transition_speed":"2000","suf_featured_fx":"fade","suf_featured_pause":"Pause","suf_featured_resume":"Resume","suf_featured_sync":"0","suf_featured_pager_style":"numbers","suf_nav_delay":"500","suf_nav_effect":"fade","suf_navt_delay":"500","suf_navt_effect":"fade","suf_jq_masonry_enabled":"disabled","suf_fix_aspect_ratio":"preserve","suf_show_drop_caps":""};
/* ]]> */
</script>
<script type="text/javascript" src="WinPE%20v3.0%20and%20Microsoft%20iSCSI%20Initiator%20_%20Gregory%20Strike_pliki/suffusion.js"></script>
<link rel="EditURI" type="application/rsd+xml" title="RSD" href="http://www.gregorystrike.com/xmlrpc.php?rsd">
<link rel="wlwmanifest" type="application/wlwmanifest+xml" href="http://www.gregorystrike.com/wp-includes/wlwmanifest.xml"> 
<link rel="prev" title="My Binoculars" href="http://www.gregorystrike.com/2009/03/15/my-ocular-binoculars/">
<link rel="next" title="Change Drive Letters With PowerShell (and DiskPart)" href="http://www.gregorystrike.com/2010/01/26/change-drive-letters-with-powershell-and-diskpart/">
<link rel="shortlink" href="http://wp.me/p1jCfP-8">

<!-- All in One SEO Pack 1.6.13.8 by Michael Torbert of Semper Fi Web Design[767,823] -->
<meta name="description" content="You may also be interested in my PowerShell Script to Build a Custom WinPE v3.0 ISO posting.  It makes what can be a difficult process much easier! I have">
<meta name="keywords" content="iscsi,windows 7,winpe">
<link rel="canonical" href="http://www.gregorystrike.com/2010/01/08/winpe-v3-0-and-microsoft-iscsi-initiator/">
<!-- /all in one seo pack -->
<style type="text/css">.widget_google_plus a{color:#000;}.author-box{padding:10px;}.widget_google_plus{-moz-box-shadow:inset 0 0 15px #ccc;-webkit-box-shadow:inset 0 0 15px #ccc;box-shadow:inset 0 0 15px #ccc;font-family:arial, hevetica;border:solid 1px #ccc;background-color:#fff;padding:0; text-align:center;margin-bottom:15px;}a.plus_person, a.plus_person:hover, a.plus_person:visited{color:#000; font-size:16px;font-weight:normal;height:52px;}img.plus{vertical-align:middle;}.updates{font-weight:normal;color:#777;text-align:left;padding:8px 5px 10px 5px;border-top:solid 1px #E5E5E5;margin:0px 10px;}.updates:hover{color:#000;}.timesince a{font-weight:normal;color:#000;}.credit{margin:0;padding:0;text-align:right;display:block;height:18px;}a.cre:hover, a.c{-moz-border-radius-topleft:8px;border-top-left-radius: 8px;font-size:12px;font-weight:normal;text-decoration:none;padding:3px 10px 3px 10px;color:#fff;background: #000;}a.cre{-moz-border-radius-topleft:8px;border-top-left-radius: 8px;font-size:12px;font-weight:normal;text-decoration:none;padding:3px 10px 3px 10px;color:#fff;background:none;}</style>
<script type="text/javascript">
                  window.___gcfg = {lang: ""};
                  (function() {
                    var po = document.createElement("script"); po.type = "text/javascript"; po.async = true;
                    po.src = "https://apis.google.com/js/plusone.js";
                    var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(po, s);
                  })();
                </script>
<link rel="stylesheet" href="WinPE%20v3.0%20and%20Microsoft%20iSCSI%20Initiator%20_%20Gregory%20Strike_pliki/wp-syntax.css" type="text/css" media="screen">
<!-- Start Additional Feeds -->
<!-- End Additional Feeds -->
<style type="text/css">.broken_link, a.broken_link {
        text-decoration: line-through;
}</style>         <!-- Custom CSS styles defined in options -->
                <style type="text/css">
                        <!--/*--><![CDATA[/*><!--*/
td {
  border: 1px solid #c0c0c0;
  padding: 5px 5px 5px 5px;
}                       /*]]>*/-->
                </style>
                <!-- /Custom CSS styles defined in options -->
<!-- location header -->
<!-- Start Google Analytics -->
<script type="text/javascript">

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-24483864-1']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();

</script>
<!-- End Google Analytics -->
</head>

<body class="single single-post postid-8 single-format-standard light-theme-royal-blue">
                                <div id="wrapper" class="fix">
                                        <div id="header-container" class="fix">
                                        <div id="header" class="fix">
                        <h2 class="blogtitle left"><a href="http://www.gregorystrike.com/">Gregory Strike</a></h2>
                <div class="description right">Buzzed-up Scripting and More!</div>
    </div><!-- /header -->
        <div id="nav" class="tab fix">
                <div class="col-control left">
        <!-- right-header-widgets -->
        <div id="right-header-widgets" class="warea">
        
<form method="get" class="searchform " action="http://www.gregorystrike.com/">
        <input name="s" class="searchfield" value="Search" onfocus="if (this.value == 'Search') {this.value = '';}" onblur="if (this.value == '') {this.value = 'Search';}" type="text">
        <input class="searchsubmit" value="" name="searchsubmit" type="submit">
</form>
        </div>
        <!-- /right-header-widgets -->
<ul class="sf-menu">
<li id="menu-item-945" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-945 dd-tab"><a rel="author" href="http://www.gregorystrike.com/">Home</a></li>
<li id="menu-item-283" class="menu-item menu-item-type-taxonomy menu-item-object-category current-post-ancestor current-menu-parent current-post-parent menu-item-283 dd-tab"><a href="http://www.gregorystrike.com/category/computing/">Computing</a></li>
<li id="menu-item-284" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-284 dd-tab"><a href="http://www.gregorystrike.com/category/projects/">Projects</a></li>
<li id="menu-item-285" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-285 dd-tab"><a href="http://www.gregorystrike.com/category/general/">General</a></li>
<li id="menu-item-1038" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-1038 dd-tab"><a href="http://www.gregorystrike.com/category/youtube-series/">YouTube Series</a>
<ul class="sub-menu">
        <li id="menu-item-1039" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-1039"><a href="http://www.gregorystrike.com/category/youtube-series/microscopic-exploration/">Microscopic Exploration</a></li>
</ul>
</li>
<li id="menu-item-289" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-289 dd-tab"><a href="http://www.gregorystrike.com/contact/">Contact</a></li>

</ul>
                </div><!-- /col-control -->
        </div><!-- /nav -->
                        </div><!-- //#header-container -->
                        <div id="container" class="fix">
                                    <div id="main-col">
                        <div id="content">
        <div class="post-8 post type-post status-publish format-standard hentry category-computing tag-iscsi tag-windows-7 tag-winpe category-5-id full-content" id="post-8">
<div class="title-container fix">
        <div class="title">
                <h1 class="posttitle"><a href="http://www.gregorystrike.com/2010/01/08/winpe-v3-0-and-microsoft-iscsi-initiator/" class="entry-title" rel="bookmark" title="WinPE v3.0 and Microsoft iSCSI Initiator">WinPE v3.0 and Microsoft iSCSI Initiator</a></h1>
                <div class="postdata fix">
                                        <span class="category"><span class="icon"> </span><a href="http://www.gregorystrike.com/category/computing/" title="View all posts in Computing" rel="category tag">Computing</a></span>
                                                        <span class="comments"><span class="icon"> </span><a href="#respond">Add comments</a></span>
                                        </div><!-- /.postdata -->
                </div><!-- /.title -->
                <div class="date"><span class="month">Jan</span> <span class="day">08</span><span class="year">2010</span></div>
        </div><!-- /.title-container -->
        <span class="post-format-icon"> </span><span class="updated" title="2010-01-08T12:00:29+00:00"></span>               <div class="entry-container fix">
                        <div class="entry fix">
<div style="height:66px;" class="really_simple_share robots-nocontent snap_nopreview"><div class="really_simple_share_facebook_like" style="width:100px;"><iframe src="WinPE%20v3.0%20and%20Microsoft%20iSCSI%20Initiator%20_%20Gregory%20Strike_pliki/like_002.htm" style="border: medium none; overflow: hidden; width: 100px; height: 60px;" allowtransparency="true" frameborder="0" scrolling="no"></iframe></div><div class="really_simple_share_google1" style="width:90px;"><div class="g-plusone" data-size="tall" data-href="http://www.gregorystrike.com/2010/01/08/winpe-v3-0-and-microsoft-iscsi-initiator/"></div></div><div class="really_simple_share_twitter" style="width:110px;"><a href="http://twitter.com/share" class="twitter-share-button" data-count="vertical" data-text="WinPE v3.0 and Microsoft iSCSI Initiator via @yn0t" data-url="http://www.gregorystrike.com/2010/01/08/winpe-v3-0-and-microsoft-iscsi-initiator/" data-via=""></a></div></div>
                <div style="clear:both;"></div><!--Ad Injection:top-->
<div style="padding-bottom:20px;"><center><script type="text/javascript"><!--
google_ad_client = "ca-pub-8639701995087660";
/* 728 x 90 - Banner */
google_ad_slot = "4805223453";
google_ad_width = 728;
google_ad_height = 90;
//-->
</script>
<script type="text/javascript" src="WinPE%20v3.0%20and%20Microsoft%20iSCSI%20Initiator%20_%20Gregory%20Strike_pliki/show_ads.js">
</script></center></div><p><em>You may also be interested in my <a href="http://www.gregorystrike.com/?p=269">PowerShell Script to Build a Custom WinPE v3.0 ISO</a> posting.  It makes what can be a difficult process much easier!<br>
</em></p>
<p>I have a lot of data migration to do at work to move everything to 
our new iSCSI based SAN (LeftHand P4000).  This week I have dedicated my
 time to figuring out a way to mount iSCSI targets under our custom 
WinPE v3.0 (Windows 7 Based) environment.  I have not found any 
resources referring to WinPE v3.0 and only a handful of resources 
referring to WinPE v2.0 & v2.1.  So I’ll post it here to hopefully 
help others find it.</p>
<p>I was able to adapt information from <a href="http://www.google.com/url?sa=t&source=web&ct=res&cd=1&ved=0CAoQFjAA&url=http%3A%2F%2Fdownload.microsoft.com%2Fdownload%2FA%2FE%2F9%2FAE91DEA1-66D9-417C-ADE4-92D824B871AF%2FuGuide.doc&ei=NJxHS4qjOMKelAft0vQC&usg=AFQjCNGMQVaKB1fox1yveTHFBslkIekrgg&sig2=Iaxz9DqYR8nD_jdnuDPJIw">Microsoft’s iSCSI User Guide</a> and <a href="http://www.codeguru.com/csharp/.net/net_general/toolsand3rdparty/article.php/c15255__3/">a post here</a> to create the WinPE v3.0 steps below.</p>
<p>Here are the steps I took to get the iSCSI Initiator working.  I am 
assuming you have some sort of experience with customizing WinPE.</p>
<p>1.  Setup a VM with Windows 7 32-bit running because we need the files to be compatible with WinPE 3.0 which is Win7 based.</p>
<p>2.  You need to install WAIK (The Windows 7 version).  After 
installing WAIK and running copype.cmd mount the WinPE boot.wim file 
using ImageX (or DISM, which I’ve had problems with).  The boot.wim file
 is located in the sources directory.  (<span style="font-style: italic;">Note: Installing WAIK and the copype command are not within the scope of this post.)</span></p>
<p>3.  Copy the following files from Windows 7 to the mounted image 
while keeping their paths relative.  (ie. C:\Windows\System32 = 
MountLocation\Windows\System32)</p>

<div class="wp_syntax"><div class="code"><pre class="dos" style="font-family:monospace;">Windows\System32\iscsicli.exe
Windows\System32\iscsicpl.exe
Windows\System32\iscsicpl.dll
Windows\System32\iscsidsc.dll
Windows\System32\iscsied.dll
Windows\System32\iscsiexe.dll
Windows\System32\iscsilog.dll
Windows\System32\iscsium.dll
Windows\System32\iscsiwmi.dll
Windows\System32\Drivers\msiscsi.sys
Windows\System32\en-us\iscsicli.exe.mui
Windows\System32\en-us\iscsicpl.dll.mui
Windows\System32\en-us\iscsicpl.exe.mui
Windows\System32\en-us\iscsidsc.dll.mui
Windows\System32\en-us\iscsiexe.dll.mui
Windows\System32\en-us\iscsilog.dll.mui</pre></div></div>

<p>4.  Using Regedit load the WinPE registry hives directly under 
HKEY_LOCAL_MACHINE using the names below.  This is important in order to
 import the registry files in the next step.  The registry hives can be 
found at MountLocation\Windows\System32\config.</p>
<p>SYSTEM -> HKLM\PE_Sys<br>
SOFTARE -> HLKM\PE_Soft</p>
<p>The REG.EXE commands to do this would be:</p>

<div class="wp_syntax"><div class="code"><pre class="dos" style="font-family:monospace;">REG LOAD HKLM\PE_Sys MountLocation\Windows\System32\config\SYSTEM
REG LOAD HKLM\PE_Soft MountLocation\Windows\System32\config\SOFTWARE</pre></div></div>

<p>5.  Copy and paste the information below into a .REG file using notepad.  Save it.  Then import the registry file.</p>

<div class="wp_syntax"><div class="code"><pre class="reg" style="font-family:monospace;"><span style="color: #0000FF;">Windows Registry Editor Version 5.00</span>
 
<span style="color: #000000;">[</span><span style="color: #800000;">HKEY_LOCAL_MACHINE</span>\PE_Soft\Microsoft\Windows NT\CurrentVersion\Svchost<span style="color: #000000;">]</span>
<span style="color: #0000FF;">"Godzilla"</span><span style="color: #000000;">=</span>hex<span style="color: #000000;">(</span>7<span style="color: #000000;">)</span>:4d,00,53,00,69,00,53,00,43,00,53,00,49,00,00,00,00,00
 
<span style="color: #000000;">[</span><span style="color: #800000;">HKEY_LOCAL_MACHINE</span>\PE_Soft\Microsoft\Windows NT\CurrentVersion\iSCSI<span style="color: #000000;">]</span>
 
<span style="color: #000000;">[</span><span style="color: #800000;">HKEY_LOCAL_MACHINE</span>\PE_Soft\Microsoft\Windows NT\CurrentVersion\iSCSI\Discovery<span style="color: #000000;">]</span>
<span style="color: #0000FF;">"AllowiSNSFirewallException"</span><span style="color: #000000;">=</span><span style="color: #0000FF;">dword:00000001</span>
 
<span style="color: #000000;">[</span><span style="color: #800000;">HKEY_LOCAL_MACHINE</span>\PE_Soft\Microsoft\Windows NT\CurrentVersion\iSCSI\Discovery\Authentication Cache<span style="color: #000000;">]</span>
 
<span style="color: #000000;">[</span><span style="color: #800000;">HKEY_LOCAL_MACHINE</span>\PE_Soft\Microsoft\Windows NT\CurrentVersion\iSCSI\Discovery\Send Targets<span style="color: #000000;">]</span>
 
<span style="color: #000000;">[</span><span style="color: #800000;">HKEY_LOCAL_MACHINE</span>\PE_Soft\Microsoft\Windows NT\CurrentVersion\iSCSI\Discovery\Static Targets<span style="color: #000000;">]</span>
 
<span style="color: #000000;">[</span><span style="color: #800000;">HKEY_LOCAL_MACHINE</span>\PE_Soft\Microsoft\Windows NT\CurrentVersion\iSCSI\Discovery\Tunnel Address<span style="color: #000000;">]</span>
<span style="color: #000000;">[</span><span style="color: #800000;">HKEY_LOCAL_MACHINE</span>\PE_Sys\ControlSet001\Enum\Root\LEGACY_MSISCSI<span style="color: #000000;">]</span>
<span style="color: #0000FF;">"NextInstance"</span><span style="color: #000000;">=</span><span style="color: #0000FF;">dword:00000001</span>
 
<span style="color: #000000;">[</span><span style="color: #800000;">HKEY_LOCAL_MACHINE</span>\PE_Sys\ControlSet001\Enum\Root\LEGACY_MSISCSI\0000<span style="color: #000000;">]</span>
<span style="color: #0000FF;">"Service"</span><span style="color: #000000;">=</span><span style="">"MSiSCSI"</span>
<span style="color: #0000FF;">"Legacy"</span><span style="color: #000000;">=</span><span style="color: #0000FF;">dword:00000001</span>
<span style="color: #0000FF;">"ConfigFlags"</span><span style="color: #000000;">=</span><span style="color: #0000FF;">dword:00000000</span>
<span style="color: #0000FF;">"Class"</span><span style="color: #000000;">=</span><span style="">"LegacyDriver"</span>
<span style="color: #0000FF;">"ClassGUID"</span><span style="color: #000000;">=</span><span style="">"<span style="color: #FF6600;"><span style="color: #000000;">{</span>8ECC055D-047F-11D1-A537-0000F8753ED1<span style="color: #000000;">}</span></span>"</span>
<span style="color: #0000FF;">"DeviceDesc"</span><span style="color: #000000;">=</span><span style="">"@%SystemRoot%\\system32\\iscsidsc.dll,-5000"</span>
 
<span style="color: #000000;">[</span><span style="color: #800000;">HKEY_LOCAL_MACHINE</span>\PE_Sys\ControlSet001\Enum\Root\ISCSIPRT<span style="color: #000000;">]</span>
 
<span style="color: #000000;">[</span><span style="color: #800000;">HKEY_LOCAL_MACHINE</span>\PE_Sys\ControlSet001\Enum\Root\ISCSIPRT\0000<span style="color: #000000;">]</span>
<span style="color: #0000FF;">"ClassGUID"</span><span style="color: #000000;">=</span><span style="">"<span style="color: #FF6600;"><span style="color: #000000;">{</span>4d36e97b-e325-11ce-bfc1-08002be10318<span style="color: #000000;">}</span></span>"</span>
<span style="color: #0000FF;">"Class"</span><span style="color: #000000;">=</span><span style="">"SCSIAdapter"</span>
<span style="color: #0000FF;">"HardwareID"</span><span style="color: #000000;">=</span>hex<span style="color: #000000;">(</span>7<span style="color: #000000;">)</span>:52,00,4f,00,4f,00,54,00,5c,00,69,00,53,00,43,00,53,00,49,\
  00,50,00,72,00,74,00,00,00,00,00
<span style="color: #0000FF;">"ConfigFlags"</span><span style="color: #000000;">=</span><span style="color: #0000FF;">dword:00000000</span>
<span style="color: #0000FF;">"Driver"</span><span style="color: #000000;">=</span><span style="">"<span style="color: #FF6600;"><span style="color: #000000;">{</span>4d36e97b-e325-11ce-bfc1-08002be10318<span style="color: #000000;">}</span></span>\\0000"</span>
<span style="color: #0000FF;">"Mfg"</span><span style="color: #000000;">=</span>"@iscsi.inf,%msft%<span style="color: #009900;">;Microsoft"</span>
<span style="color: #0000FF;">"Service"</span><span style="color: #000000;">=</span><span style="">"iScsiPrt"</span>
<span style="color: #0000FF;">"DeviceDesc"</span><span style="color: #000000;">=</span>"@iscsi.inf,%iscsiprt%<span style="color: #009900;">;Microsoft iSCSI Initiator"</span>
<span style="color: #0000FF;">"Capabilities"</span><span style="color: #000000;">=</span><span style="color: #0000FF;">dword:00000000</span>
 
<span style="color: #000000;">[</span><span style="color: #800000;">HKEY_LOCAL_MACHINE</span>\PE_Sys\ControlSet001\Enum\Root\ISCSIPRT\0000\Device Parameters<span style="color: #000000;">]</span>
 
<span style="color: #000000;">[</span><span style="color: #800000;">HKEY_LOCAL_MACHINE</span>\PE_Sys\ControlSet001\Enum\Root\ISCSIPRT\0000\Device Parameters\StorPort<span style="color: #000000;">]</span>
 
<span style="color: #000000;">[</span><span style="color: #800000;">HKEY_LOCAL_MACHINE</span>\PE_Sys\ControlSet001\Enum\Root\ISCSIPRT\0000\LogConf<span style="color: #000000;">]</span>
 
<span style="color: #000000;">[</span><span style="color: #800000;">HKEY_LOCAL_MACHINE</span>\PE_Sys\ControlSet001\Enum\Root\ISCSIPRT\0000\Control<span style="color: #000000;">]</span>
<span style="color: #0000FF;">"ActiveService"</span><span style="color: #000000;">=</span><span style="">"iScsiPrt"</span>
 
<span style="color: #000000;">[</span><span style="color: #800000;">HKEY_LOCAL_MACHINE</span>\PE_Sys\ControlSet001\Services\iScsiPrt<span style="color: #000000;">]</span>
<span style="color: #0000FF;">"DisplayName"</span><span style="color: #000000;">=</span><span style="">"iScsiPort Driver"</span>
<span style="color: #0000FF;">"ImagePath"</span><span style="color: #000000;">=</span>hex<span style="color: #000000;">(</span>2<span style="color: #000000;">)</span>:73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,44,00,\
  52,00,49,00,56,00,45,00,52,00,53,00,5c,00,6d,00,73,00,69,00,73,00,63,00,73,\
  00,69,00,2e,00,73,00,79,00,73,00,00,00
<span style="color: #0000FF;">"ErrorControl"</span><span style="color: #000000;">=</span><span style="color: #0000FF;">dword:00000001</span>
<span style="color: #0000FF;">"Start"</span><span style="color: #000000;">=</span><span style="color: #0000FF;">dword:00000000</span>
<span style="color: #0000FF;">"Type"</span><span style="color: #000000;">=</span><span style="color: #0000FF;">dword:00000001</span>
 
<span style="color: #000000;">[</span><span style="color: #800000;">HKEY_LOCAL_MACHINE</span>\PE_Sys\ControlSet001\Services\iScsiPrt\Parameters<span style="color: #000000;">]</span>
<span style="color: #0000FF;">"BusType"</span><span style="color: #000000;">=</span><span style="color: #0000FF;">dword:00000009</span>
 
<span style="color: #000000;">[</span><span style="color: #800000;">HKEY_LOCAL_MACHINE</span>\PE_Sys\ControlSet001\Services\iScsiPrt\Enum<span style="color: #000000;">]</span>
<span style="color: #0000FF;">"0"</span><span style="color: #000000;">=</span><span style="">"Root\\ISCSIPRT\\0000"</span>
<span style="color: #0000FF;">"Count"</span><span style="color: #000000;">=</span><span style="color: #0000FF;">dword:00000001</span>
<span style="color: #0000FF;">"NextInstance"</span><span style="color: #000000;">=</span><span style="color: #0000FF;">dword:00000001</span>
 
<span style="color: #000000;">[</span><span style="color: #800000;">HKEY_LOCAL_MACHINE</span>\PE_Sys\ControlSet001\Services\MSiSCSI<span style="color: #000000;">]</span>
<span style="color: #0000FF;">"DisplayName"</span><span style="color: #000000;">=</span><span style="">"@%SystemRoot%\\system32\\iscsidsc.dll,-5000"</span>
<span style="color: #0000FF;">"Group"</span><span style="color: #000000;">=</span><span style="">"iSCSI"</span>
<span style="color: #0000FF;">"ImagePath"</span><span style="color: #000000;">=</span>hex<span style="color: #000000;">(</span>2<span style="color: #000000;">)</span>: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,73,\
  00,76,00,63,00,68,00,6f,00,73,00,74,00,2e,00,65,00,78,00,65,00,20,00,2d,00,\
  6b,00,20,00,6e,00,65,00,74,00,73,00,76,00,63,00,73,00,00,00
<span style="color: #0000FF;">"Description"</span><span style="color: #000000;">=</span><span style="">"@%SystemRoot%\\system32\\iscsidsc.dll,-5001"</span>
<span style="color: #0000FF;">"ObjectName"</span><span style="color: #000000;">=</span><span style="">"LocalSystem"</span>
<span style="color: #0000FF;">"ErrorControl"</span><span style="color: #000000;">=</span><span style="color: #0000FF;">dword:00000001</span>
<span style="color: #0000FF;">"Start"</span><span style="color: #000000;">=</span><span style="color: #0000FF;">dword:00000002</span>
<span style="color: #0000FF;">"Type"</span><span style="color: #000000;">=</span><span style="color: #0000FF;">dword:00000020</span>
<span style="color: #0000FF;">"ServiceSidType"</span><span style="color: #000000;">=</span><span style="color: #0000FF;">dword:00000001</span>
<span style="color: #0000FF;">"RequiredPrivileges"</span><span style="color: #000000;">=</span>hex<span style="color: #000000;">(</span>7<span style="color: #000000;">)</span>:53,00,65,00,41,00,75,00,64,00,69,00,74,00,50,00,72,\
  00,69,00,76,00,69,00,6c,00,65,00,67,00,65,00,00,00,53,00,65,00,43,00,68,00,\
  61,00,6e,00,67,00,65,00,4e,00,6f,00,74,00,69,00,66,00,79,00,50,00,72,00,69,\
  00,76,00,69,00,6c,00,65,00,67,00,65,00,00,00,53,00,65,00,43,00,72,00,65,00,\
  61,00,74,00,65,00,47,00,6c,00,6f,00,62,00,61,00,6c,00,50,00,72,00,69,00,76,\
  00,69,00,6c,00,65,00,67,00,65,00,00,00,53,00,65,00,43,00,72,00,65,00,61,00,\
  74,00,65,00,50,00,65,00,72,00,6d,00,61,00,6e,00,65,00,6e,00,74,00,50,00,72,\
  00,69,00,76,00,69,00,6c,00,65,00,67,00,65,00,00,00,53,00,65,00,49,00,6d,00,\
  70,00,65,00,72,00,73,00,6f,00,6e,00,61,00,74,00,65,00,50,00,72,00,69,00,76,\
  00,69,00,6c,00,65,00,67,00,65,00,00,00,53,00,65,00,54,00,63,00,62,00,50,00,\
  72,00,69,00,76,00,69,00,6c,00,65,00,67,00,65,00,00,00,00,00
<span style="color: #0000FF;">"FailureActionsOnNonCrashFailures"</span><span style="color: #000000;">=</span><span style="color: #0000FF;">dword:00000001</span>
<span style="color: #0000FF;">"FailureActions"</span><span style="color: #000000;">=</span><span style="">hex:50,46,00,00,01,00,00,00,01,00,00,00,03,00,00,00,14,00,00,\
  00,01,00,00,00,c0,d4,01,00,01,00,00,00,e0,93,04,00,00,00,00,00,00,00,00,00</span>
<span style="color: #0000FF;">"RebootMessage"</span><span style="color: #000000;">=</span><span style="">"See Note 3 below"</span>
<span style="color: #0000FF;">"FailureCommand"</span><span style="color: #000000;">=</span><span style="">"customScript.cmd"</span>
 
<span style="color: #000000;">[</span><span style="color: #800000;">HKEY_LOCAL_MACHINE</span>\PE_Sys\ControlSet001\Services\MSiSCSI\Parameters<span style="color: #000000;">]</span>
<span style="color: #0000FF;">"ServiceDll"</span><span style="color: #000000;">=</span>hex<span style="color: #000000;">(</span>2<span style="color: #000000;">)</span>: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,\
  69,00,73,00,63,00,73,00,69,00,65,00,78,00,65,00,2e,00,64,00,6c,00,6c,00,00,\
  00
<span style="color: #0000FF;">"ServiceDllUnloadOnStop"</span><span style="color: #000000;">=</span><span style="color: #0000FF;">dword:00000001</span>
 
<span style="color: #000000;">[</span><span style="color: #800000;">HKEY_LOCAL_MACHINE</span>\PE_Sys\ControlSet001\Services\MSiSCSI\Enum<span style="color: #000000;">]</span>
<span style="color: #0000FF;">"0"</span><span style="color: #000000;">=</span><span style="">"Root\\LEGACY_MSISCSI\\0000"</span>
<span style="color: #0000FF;">"Count"</span><span style="color: #000000;">=</span><span style="color: #0000FF;">dword:00000001</span>
<span style="color: #0000FF;">"NextInstance"</span><span style="color: #000000;">=</span><span style="color: #0000FF;">dword:00000001</span>
 
<span style="color: #000000;">[</span><span style="color: #800000;">HKEY_LOCAL_MACHINE</span>\PE_Sys\ControlSet001\Services\netbt<span style="color: #000000;">]</span>
<span style="color: #0000FF;">"Start"</span><span style="color: #000000;">=</span><span style="color: #0000FF;">dword:00000000</span>
 
<span style="color: #000000;">[</span><span style="color: #800000;">HKEY_LOCAL_MACHINE</span>\PE_Sys\ControlSet001\Services\AFD<span style="color: #000000;">]</span>
<span style="color: #0000FF;">"Start"</span><span style="color: #000000;">=</span><span style="color: #0000FF;">dword:00000000</span>
 
<span style="color: #000000;">[</span><span style="color: #800000;">HKEY_LOCAL_MACHINE</span>\PE_Sys\ControlSet001\Services\Tcpip<span style="color: #000000;">]</span>
<span style="color: #0000FF;">"Start"</span><span style="color: #000000;">=</span><span style="color: #0000FF;">dword:00000001</span>
 
<span style="color: #000000;">[</span><span style="color: #800000;">HKEY_LOCAL_MACHINE</span>\PE_Sys\ControlSet001\Services\MSiSCSI<span style="color: #000000;">]</span>
<span style="color: #0000FF;">"ImagePath"</span><span style="color: #000000;">=</span>hex<span style="color: #000000;">(</span>2<span style="color: #000000;">)</span>: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,73,\
  00,76,00,63,00,68,00,6f,00,73,00,74,00,2e,00,65,00,78,00,65,00,20,00,2d,00,\
  6b,00,20,00,47,00,6f,00,64,00,7a,00,69,00,6c,00,6c,00,61,00,00,00
 
<span style="color: #0000FF;">Windows Registry Editor Version 5.00</span>
 
<span style="color: #000000;">[</span><span style="color: #800000;">HKEY_LOCAL_MACHINE</span>\PE_Sys\ControlSet001\Control\Class\<span style="color: #FF6600;"><span style="color: #000000;">{</span>4D36E97B-E325-11CE-BFC1-08002BE10318<span style="color: #000000;">}</span></span><span style="color: #000000;">]</span>
<span style="color: #0000FF;">"LegacyAdapterDetection"</span><span style="color: #000000;">=</span><span style="color: #0000FF;">dword:00000000</span>
<span style="color: #0000FF;">"Class"</span><span style="color: #000000;">=</span><span style="">"SCSIAdapter"</span>
<span style="color: #0000FF;">"ClassDesc"</span><span style="color: #000000;">=</span><span style="">"@%SystemRoot%\\System32\\SysClass.Dll,-3005"</span>
<span style="">@</span><span style="color: #000000;">=</span><span style="">"@%SystemRoot%\\System32\\SysClass.Dll,-3005"</span>
<span style="color: #0000FF;">"IconPath"</span><span style="color: #000000;">=</span>hex<span style="color: #000000;">(</span>7<span style="color: #000000;">)</span>:25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,\
  74,00,25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,73,\
  00,65,00,74,00,75,00,70,00,61,00,70,00,69,00,2e,00,64,00,6c,00,6c,00,2c,00,\
  2d,00,31,00,30,00,00,00,00,00
<span style="color: #0000FF;">"Installer32"</span><span style="color: #000000;">=</span><span style="">"SysClass.Dll,ScsiClassInstaller"</span>
 
<span style="color: #000000;">[</span><span style="color: #800000;">HKEY_LOCAL_MACHINE</span>\PE_Sys\ControlSet001\Control\Class\<span style="color: #FF6600;"><span style="color: #000000;">{</span>4D36E97B-E325-11CE-BFC1-08002BE10318<span style="color: #000000;">}</span></span>\0000<span style="color: #000000;">]</span>
<span style="color: #0000FF;">"InfPath"</span><span style="color: #000000;">=</span><span style="">"iscsi.inf"</span>
<span style="color: #0000FF;">"InfSection"</span><span style="color: #000000;">=</span><span style="">"iScsiPort_Install_Control"</span>
<span style="color: #0000FF;">"ProviderName"</span><span style="color: #000000;">=</span><span style="">"Microsoft"</span>
<span style="color: #0000FF;">"DriverDateData"</span><span style="color: #000000;">=</span><span style="">hex:00,80,8c,a3,c5,94,c6,01</span>
<span style="color: #0000FF;">"DriverDate"</span><span style="color: #000000;">=</span><span style="">"6-21-2006"</span>
<span style="color: #0000FF;">"DriverVersion"</span><span style="color: #000000;">=</span><span style="">"6.0.6000.16386"</span>
<span style="color: #0000FF;">"MatchingDeviceId"</span><span style="color: #000000;">=</span><span style="">"root\\iscsiprt"</span>
<span style="color: #0000FF;">"DriverDesc"</span><span style="color: #000000;">=</span><span style="">"Microsoft iSCSI Initiator"</span>
<span style="color: #0000FF;">"EnumPropPages32"</span><span style="color: #000000;">=</span><span style="">"iscsipp.dll,iSCSIPropPageProvider"</span>
 
<span style="color: #000000;">[</span><span style="color: #800000;">HKEY_LOCAL_MACHINE</span>\PE_Sys\ControlSet001\Control\Class\<span style="color: #FF6600;"><span style="color: #000000;">{</span>4D36E97B-E325-11CE-BFC1-08002BE10318<span style="color: #000000;">}</span></span>\0000\Parameters<span style="color: #000000;">]</span>
<span style="color: #0000FF;">"TCPConnectTime"</span><span style="color: #000000;">=</span><span style="color: #0000FF;">dword:0000000f</span>
<span style="color: #0000FF;">"TCPDisconnectTime"</span><span style="color: #000000;">=</span><span style="color: #0000FF;">dword:0000000f</span>
<span style="color: #0000FF;">"WMIRequestTimeout"</span><span style="color: #000000;">=</span><span style="color: #0000FF;">dword:0000001e</span>
<span style="color: #0000FF;">"DelayBetweenReconnect"</span><span style="color: #000000;">=</span><span style="color: #0000FF;">dword:00000005</span>
<span style="color: #0000FF;">"MaxPendingRequests"</span><span style="color: #000000;">=</span><span style="color: #0000FF;">dword:000000ff</span>
<span style="color: #0000FF;">"EnableNOPOut"</span><span style="color: #000000;">=</span><span style="color: #0000FF;">dword:00000000</span>
<span style="color: #0000FF;">"MaxTransferLength"</span><span style="color: #000000;">=</span><span style="color: #0000FF;">dword:00040000</span>
<span style="color: #0000FF;">"MaxBurstLength"</span><span style="color: #000000;">=</span><span style="color: #0000FF;">dword:00040000</span>
<span style="color: #0000FF;">"FirstBurstLength"</span><span style="color: #000000;">=</span><span style="color: #0000FF;">dword:00010000</span>
<span style="color: #0000FF;">"MaxRecvDataSegmentLength"</span><span style="color: #000000;">=</span><span style="color: #0000FF;">dword:00010000</span>
<span style="color: #0000FF;">"MaxConnectionRetries"</span><span style="color: #000000;">=</span><span style="color: #0000FF;">dword:ffffffff</span>
<span style="color: #0000FF;">"MaxRequestHoldTime"</span><span style="color: #000000;">=</span><span style="color: #0000FF;">dword:0000003c</span>
<span style="color: #0000FF;">"LinkDownTime"</span><span style="color: #000000;">=</span><span style="color: #0000FF;">dword:0000000f</span>
<span style="color: #0000FF;">"IPSecConfigTimeout"</span><span style="color: #000000;">=</span><span style="color: #0000FF;">dword:0000003c</span>
<span style="color: #0000FF;">"InitialR2T"</span><span style="color: #000000;">=</span><span style="color: #0000FF;">dword:00000000</span>
<span style="color: #0000FF;">"ImmediateData"</span><span style="color: #000000;">=</span><span style="color: #0000FF;">dword:00000001</span>
<span style="color: #0000FF;">"ErrorRecoveryLevel"</span><span style="color: #000000;">=</span><span style="color: #0000FF;">dword:00000002</span>
<span style="color: #0000FF;">"PortalRetryCount"</span><span style="color: #000000;">=</span><span style="color: #0000FF;">dword:00000005</span>
<span style="color: #0000FF;">"NetworkReadyRetryCount"</span><span style="color: #000000;">=</span><span style="color: #0000FF;">dword:0000000a</span>
<span style="color: #0000FF;">"SrbTimeoutDelta"</span><span style="color: #000000;">=</span><span style="color: #0000FF;">dword:0000000f</span>
 
<span style="color: #000000;">[</span><span style="color: #800000;">HKEY_LOCAL_MACHINE</span>\PE_Sys\ControlSet001\Control\Class\<span style="color: #FF6600;"><span style="color: #000000;">{</span>4D36E97B-E325-11CE-BFC1-08002BE10318<span style="color: #000000;">}</span></span>\0000\PersistentTargets<span style="color: #000000;">]</span>
<span style="">@</span><span style="color: #000000;">=</span><span style="">""</span>
 
<span style="color: #000000;">[</span><span style="color: #800000;">HKEY_LOCAL_MACHINE</span>\PE_Sys\ControlSet001\Control\Class\<span style="color: #FF6600;"><span style="color: #000000;">{</span>4D36E97B-E325-11CE-BFC1-08002BE10318<span style="color: #000000;">}</span></span>\Properties<span style="color: #000000;">]</span>
<span style="color: #0000FF;">"DeviceType"</span><span style="color: #000000;">=</span><span style="color: #0000FF;">dword:00000004</span>
<span style="color: #0000FF;">"DeviceCharacteristics"</span><span style="color: #000000;">=</span><span style="color: #0000FF;">dword:00000100</span>
<span style="color: #0000FF;">"Security"</span><span style="color: #000000;">=</span><span style="">hex:01,00,04,90,00,00,00,00,00,00,00,00,00,00,00,00,14,00,00,00,02,\
  00,34,00,02,00,00,00,00,00,14,00,ff,01,1f,10,01,01,00,00,00,00,00,05,12,00,\
  00,00,00,00,18,00,ff,01,1f,10,01,02,00,00,00,00,00,05,20,00,00,00,20,02,00,\
  00</span></pre></div></div>

<p>6.  Using Regedit, find the PE_Soft and PE_Sys hives under HKEY_LOCAL_MACHINE and unload them.</p>
<p>7.  Unmount the WIM (Don’t forget to /commit)</p>
<p>8.  It’s now modified and you can use OSCDIMG to make your CD image or copy the ISO folder to your bootable USB drive.</p>
<p>9.  Once you have booted into your custom WinPE 3.0 environment you need to start the msiscsi service:</p>

<div class="wp_syntax"><div class="code"><pre class="dos" style="font-family:monospace;">net start msiscsi</pre></div></div>

<div id="attachment_136" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.gregorystrike.com/wp-content/uploads/2010/01/iSCSIStart.png"><img class="size-medium wp-image-136" title="iSCSIStart" src="WinPE%20v3.0%20and%20Microsoft%20iSCSI%20Initiator%20_%20Gregory%20Strike_pliki/iSCSIStart-300x149.png" alt="Starting the iSCSI Service" height="149" width="300"></a><p class="wp-caption-text">Starting the iSCSI Service</p></div>
<p>10.  Now run the iSCSI Initiator tool:</p>

<div class="wp_syntax"><div class="code"><pre class="dos" style="font-family:monospace;">iscsicpl</pre></div></div>

<p>You’re all set.  You can now use iSCSI just as you can in an actual 
Windows installation.  Since Disk Manager is not in WinPE you can use 
Diskpart to setup your disks after you’ve connected to them via. iSCSI.</p>
<!--Ad Injection:bottom-->
<div style="padding-bottom:20px;"><center><script type="text/javascript"><!--
google_ad_client = "ca-pub-8639701995087660";
/* 728 x 90 - Banner */
google_ad_slot = "4805223453";
google_ad_width = 728;
google_ad_height = 90;
//-->
</script>
<script type="text/javascript" src="WinPE%20v3.0%20and%20Microsoft%20iSCSI%20Initiator%20_%20Gregory%20Strike_pliki/show_ads.js">
</script></center></div><div style="height:66px;" class="really_simple_share robots-nocontent snap_nopreview"><div class="really_simple_share_facebook_like" style="width:100px;"><iframe src="WinPE%20v3.0%20and%20Microsoft%20iSCSI%20Initiator%20_%20Gregory%20Strike_pliki/like_002.htm" style="border: medium none; overflow: hidden; width: 100px; height: 60px;" allowtransparency="true" frameborder="0" scrolling="no"></iframe></div><div class="really_simple_share_google1" style="width:90px;"><div class="g-plusone" data-size="tall" data-href="http://www.gregorystrike.com/2010/01/08/winpe-v3-0-and-microsoft-iscsi-initiator/"></div></div><div class="really_simple_share_twitter" style="width:110px;"><a href="http://twitter.com/share" class="twitter-share-button" data-count="vertical" data-text="WinPE v3.0 and Microsoft iSCSI Initiator via @yn0t" data-url="http://www.gregorystrike.com/2010/01/08/winpe-v3-0-and-microsoft-iscsi-initiator/" data-via=""></a></div></div>
                <div style="clear:both;"></div><!--<p style="text-align: center;" _mce_style="text-align: center;"><em>If you found this post interesting, helpful, or undeniably repulsive please take a moment to <strong>share it</strong> or <strong>leave a comment</strong> below!</em></p>-->                  </div><!--/entry -->
                </div><!-- .entry-container -->
<div class="post-footer postdata fix">
<span class="author"><span class="icon"> </span>Posted by <span class="vcard"><a href="http://www.gregorystrike.com/author/orionid/" class="url fn" rel="author">Gregory Strike</a></span> at 12:00 pm</span>          <span class="tags"><span class="icon"> </span>Tagged with: <a href="http://www.gregorystrike.com/tag/iscsi/" rel="tag">iSCSI</a>, <a href="http://www.gregorystrike.com/tag/windows-7/" rel="tag">Windows 7</a>, <a href="http://www.gregorystrike.com/tag/winpe/" rel="tag">WinPE</a><br></span>
        </div><!-- .post-footer -->

<div id="disqus_thread">
                    <div id="dsq-content">


            <ul id="dsq-comments">
                    <li class="comment even thread-even depth-1" id="dsq-comment-5">
        <div id="dsq-comment-header-5" class="dsq-comment-header">
            <cite id="dsq-cite-5">
                <span id="dsq-author-user-5">Christine</span>
            </cite>
        </div>
        <div id="dsq-comment-body-5" class="dsq-comment-body">
            <div id="dsq-comment-message-5" class="dsq-comment-message"><p>Thank you so much!</p>
</div>
        </div>
    </li>

    
    <li class="comment odd alt thread-odd thread-alt depth-1" id="dsq-comment-264">
        <div id="dsq-comment-header-264" class="dsq-comment-header">
            <cite id="dsq-cite-264">
                <span id="dsq-author-user-264">Eric Wheeler</span>
            </cite>
        </div>
        <div id="dsq-comment-body-264" class="dsq-comment-body">
            <div id="dsq-comment-message-264" class="dsq-comment-message"><p>Great writeup!  Would you be willing to post your WIM publicly?  </p>
<p>-Eric</p>
</div>
        </div>
    </li>

    <ul class="children">
    <li class="comment byuser comment-author-orionid bypostauthor even depth-2" id="dsq-comment-265">
        <div id="dsq-comment-header-265" class="dsq-comment-header">
            <cite id="dsq-cite-265">
http://www.gregorystrike.com/                <span id="dsq-author-user-265">Gregory Strike</span>
            </cite>
        </div>
        <div id="dsq-comment-body-265" class="dsq-comment-body">
            <div id="dsq-comment-message-265" class="dsq-comment-message"><p>Thanks for the feedback.  Would love to… Unfortunately, I’ve included some commercial software in my WIM so I’m unable to.</p>
</div>
        </div>
    </li>

    
</ul>

    <li class="comment odd alt thread-even depth-1" id="dsq-comment-285">
        <div id="dsq-comment-header-285" class="dsq-comment-header">
            <cite id="dsq-cite-285">
                <span id="dsq-author-user-285">Andrew Bobulsky</span>
            </cite>
        </div>
        <div id="dsq-comment-body-285" class="dsq-comment-body">
            <div id="dsq-comment-message-285" class="dsq-comment-message"><p>Very
 nice guide.  I wrote all your steps into a short prompt/robocopy batch 
script because it seemed faster than manually copying all that <img src="WinPE%20v3.0%20and%20Microsoft%20iSCSI%20Initiator%20_%20Gregory%20Strike_pliki/icon_biggrin.gif" alt=":D" class="wp-smiley"> .  I’d be happy to email them to you if you like!</p>
<p>Nice having iscsicli in the PE whereas before it would just mount iBFT volumes <img src="WinPE%20v3.0%20and%20Microsoft%20iSCSI%20Initiator%20_%20Gregory%20Strike_pliki/icon_razz.gif" alt=":P" class="wp-smiley"> </p>
</div>
        </div>
    </li>

    
    <li class="comment even thread-odd thread-alt depth-1" id="dsq-comment-895">
        <div id="dsq-comment-header-895" class="dsq-comment-header">
            <cite id="dsq-cite-895">
                <span id="dsq-author-user-895">Chris</span>
            </cite>
        </div>
        <div id="dsq-comment-body-895" class="dsq-comment-body">
            <div id="dsq-comment-message-895" class="dsq-comment-message"><p>This
 is the best guide I’ve seen so far. It works with Windows 7 x86, but 
not with 2008R2. I am currently loading up the Windows x64 version. 
Hopefully this works!</p>
</div>
        </div>
    </li>

    
    <li class="comment odd alt thread-even depth-1" id="dsq-comment-896">
        <div id="dsq-comment-header-896" class="dsq-comment-header">
            <cite id="dsq-cite-896">
                <span id="dsq-author-user-896">Chris</span>
            </cite>
        </div>
        <div id="dsq-comment-body-896" class="dsq-comment-body">
            <div id="dsq-comment-message-896" class="dsq-comment-message"><p>So it doesn’t work when I try the x64 version of Windows. When I type in “wpeutil initializenetwork”,<br>
 I receive the error message: 0x8007042c. What could it be that I 
need to change to get it to work in x64? I feel like I’m so close as 
this actually works in x86 mode. I’ve been referencing this guide: <a href="http://glennmatthys.wordpress.com/2012/01/07/add-iscsi-initiator-to-the-windows-server-20082008r2sbs-2008sbs-2011-installation-dvd/#comment-11" rel="nofollow">http://glennmatthys.wordpress.com/2012/01/07/add-iscsi-initiator-to-the-windows-server-20082008r2sbs-2008sbs-2011-installation-dvd/#comment-11</a>
 . With the registry hacks in this guide the network works but nothing 
appears in the iscsicpl. So I feel a mixture of these two would overcome
 the problem.</p>
</div>
        </div>
    </li>

    
    <li class="comment even thread-odd thread-alt depth-1" id="dsq-comment-906">
        <div id="dsq-comment-header-906" class="dsq-comment-header">
            <cite id="dsq-cite-906">
                <span id="dsq-author-user-906">spooch</span>
            </cite>
        </div>
        <div id="dsq-comment-body-906" class="dsq-comment-body">
            <div id="dsq-comment-message-906" class="dsq-comment-message"><p>Fine powershell-code! Maybe you feel convenient to correct a little bug in your script:</p>
<p>The line<br>
  REG IMPORT $file<br>
should be replaced by<br>
  REG IMPORT $RegistryDir/$fileElse your script works only if it starts 
in the directory, where the *.reg file are put in, which probably 
happens, if you follow the instructions on your site, but not mandatory.</p>
</div>
        </div>
    </li>

    
            </ul>


        </div>

    </div>

<script type="text/javascript">
/* <![CDATA[ */
    var disqus_url = 'http://www.gregorystrike.com/2010/01/08/winpe-v3-0-and-microsoft-iscsi-initiator/';
    var disqus_identifier = '8 http://www.gregorystrike.com/?p=8';
    var disqus_container_id = 'disqus_thread';
    var disqus_domain = 'disqus.com';
    var disqus_shortname = 'gregorystrike';
    var disqus_title = "WinPE v3.0 and Microsoft iSCSI Initiator";
        var disqus_config = function () {
        var config = this; // Access to the config object

        /*
           All currently supported events:
            * preData — fires just before we request for initial data
            * preInit - fires after we get initial data but before we load any dependencies
            * onInit  - fires when all dependencies are resolved but before dtpl template is rendered
            * afterRender - fires when template is rendered but before we show it
            * onReady - everything is done
         */

        config.callbacks.preData.push(function() {
            // clear out the container (its filled for SEO/legacy purposes)
            document.getElementById(disqus_container_id).innerHTML = '';
        });
                config.callbacks.onReady.push(function() {
            // sync comments in the background so we don't block the page
            DISQUS.request.get('?cf_action=sync_comments&post_id=8');
        });
                    };
    var facebookXdReceiverPath = 'http://www.gregorystrike.com/wp-content/plugins/disqus-comment-system/xd_receiver.htm';
/* ]]> */
</script>

<script type="text/javascript">
/* <![CDATA[ */
    var DsqLocal = {
        'trackbacks': [
        ],
        'trackback_url': "http:\/\/www.gregorystrike.com\/2010\/01\/08\/winpe-v3-0-and-microsoft-iscsi-initiator\/trackback\/"    };
/* ]]> */
</script>

<script type="text/javascript">
/* <![CDATA[ */
(function() {
    var dsq = document.createElement('script'); dsq.type = 'text/javascript';
    dsq.async = true;
        dsq.src = 'http' + '://' + disqus_shortname + '.' + disqus_domain + '/embed.js?pname=wordpress&pver=2.72';
    (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
})();
/* ]]> */
</script>
        </div><!--/post -->
<div class="post-nav">
<table>
<tbody><tr>
        <td class="previous"><span class="icon"> </span> <a href="http://www.gregorystrike.com/2007/07/13/i-hate-thumbs-db-how-to-get-rid-of-it/" rel="prev">How to Get Rid of Thumbs.db!</a></td>
        <td class="next"><span class="icon"> </span> <a href="http://www.gregorystrike.com/2010/01/26/change-drive-letters-with-powershell-and-diskpart/" rel="next">Change Drive Letters With PowerShell (and DiskPart)</a></td>
</tr>
</tbody></table>
</div>
      </div><!-- content -->
    </div><!-- main col -->
<div id="sidebar-shell-1" class="sidebar-shell sidebar-shell-right">
<div class="dbx-group right boxed warea" id="sidebar">
                <!--widget start --><div id="recent-posts-3" class="dbx-box suf-widget widget_recent_entries"><div class="dbx-content">         <h3 class="dbx-handle plain">Recent Posts</h3>            <ul>
                                <li><a href="http://www.gregorystrike.com/2012/03/12/homemade-mcdonalds-big-mac-copycat-recipe/" title="Homemade McDonald’s Big Mac Copycat Recipe">Homemade McDonald’s Big Mac Copycat Recipe</a></li>
                                <li><a href="http://www.gregorystrike.com/2012/03/05/how-to-get-file-details-in-command-prompt-batch-script/" title="How to Get File Details In Command Prompt / Batch Script">How to Get File Details In Command Prompt / Batch Script</a></li>
                                <li><a href="http://www.gregorystrike.com/2012/02/29/script-to-uninstallremove-vnc-passively/" title="Script to Uninstall/Remove VNC Passively">Script to Uninstall/Remove VNC Passively</a></li>
                                <li><a href="http://www.gregorystrike.com/2011/11/16/my-first-compile-of-android-v4-0-1-ics-running-in-virtual-box/" title="VM of Android v4.0.1 ICS for VirtualBox – Download">VM of Android v4.0.1 ICS for VirtualBox – Download</a></li>
                                <li><a href="http://www.gregorystrike.com/2011/11/16/cant-access-hp-compaq-6200-pro-bios/" title="Can’t Access HP Compaq 6200 Pro BIOS">Can’t Access HP Compaq 6200 Pro BIOS</a></li>
                                </ul>
                </div></div><!--widget end --><!--widget start --><div id="text-3" class="dbx-box suf-widget widget_text"><div class="dbx-content"><h3 class="dbx-handle plain">Follow Me</h3>                  <div class="textwidget"><center>
    <div class="fix">
                <a href="http://www.youtube.com/user/yn0t7" class="follow-icon-and-tag"><img src="WinPE%20v3.0%20and%20Microsoft%20iSCSI%20Initiator%20_%20Gregory%20Strike_pliki/YouTube_Logo.png" style="width: 48px; height: 48px;"></a>
<a rel="author" href="https://plus.google.com/108465997005759579712/" class="follow-icon-and-tag">
  <img src="WinPE%20v3.0%20and%20Microsoft%20iSCSI%20Initiator%20_%20Gregory%20Strike_pliki/gprofile_button-64.png" height="45" width="45">
</a>      
        <a href="http://feeds.feedburner.com/GregoryStrike" class="follow-icon-and-tag" title="RSS">
            <img src="WinPE%20v3.0%20and%20Microsoft%20iSCSI%20Initiator%20_%20Gregory%20Strike_pliki/RSS-02.png" alt="RSS" style="width: 48px; height: 48px;">
        </a>
        <a href="http://twitter.com/yn0t" class="follow-icon-and-tag" title="Twitter">
            <img src="WinPE%20v3.0%20and%20Microsoft%20iSCSI%20Initiator%20_%20Gregory%20Strike_pliki/Twitter-08.png" alt="Twitter" style="width: 48px; height: 48px;">
        </a>
    </div>
<br>
<div class="fix">
<b>Grateful?</b> Consider purchasing something off my Amazon Wishlist.<br>
<a href="http://www.amazon.com/registry/wishlist/23L4DL9IYCGWX/ref=cm_sw_r_tw_ws_Y7a0ob082ADWK"><img src="WinPE%20v3.0%20and%20Microsoft%20iSCSI%20Initiator%20_%20Gregory%20Strike_pliki/amazon-icon.png" style="width: 48px; height: 48px;"></a>
</div>

</center></div>
                </div></div><!--widget end --><div class="widget_google_plus"><div class="author-box"><a rel="author" class="plus_person" target="_blank" title="Add to circles" href="https://plus.google.com/108465997005759579712?rel=author">+<strong>Gregory Strike</strong></a> on    <a href="https://plus.google.com/108465997005759579712" onmouseover="document.plus_avatar.src='https://lh5.googleusercontent.com/-4MWzo0yNGP4/AAAAAAAAAAI/AAAAAAAAAAA/tTT155jaryc/photo.jpg?sz=32'" onmouseout="document.plus_avatar.src='https://ssl.gstatic.com/images/icons/gplus-32.png'">
           <img title="Gregory Strike" name="plus_avatar" class="plus" src="WinPE%20v3.0%20and%20Microsoft%20iSCSI%20Initiator%20_%20Gregory%20Strike_pliki/gplus-32.png" alt="google" height="32" width="32"></a></div><a href="https://plus.google.com/108465997005759579712" onmouseover="document.plus_avatar.src='https://lh5.googleusercontent.com/-4MWzo0yNGP4/AAAAAAAAAAI/AAAAAAAAAAA/tTT155jaryc/photo.jpg?sz=32'" onmouseout="document.plus_avatar.src='https://ssl.gstatic.com/images/icons/gplus-32.png'">      </a><div class="updates"><a href="https://plus.google.com/108465997005759579712" onmouseover="document.plus_avatar.src='https://lh5.googleusercontent.com/-4MWzo0yNGP4/AAAAAAAAAAI/AAAAAAAAAAA/tTT155jaryc/photo.jpg?sz=32'" onmouseout="document.plus_avatar.src='https://ssl.gstatic.com/images/icons/gplus-32.png'"></a><a title="March 12, 2012" href="https://plus.google.com/108465997005759579712/posts/borMy5oeBbB" class="timesince">2 days ago</a> A followup on my posting yesterday. Here's the story and recipes I used with some of my own minor...<br>March 12, 2012</div>
        <div class="updates"><a title="March 12, 2012" href="https://plus.google.com/108465997005759579712/posts/LfbeTQg68Et" class="timesince">2 days ago</a> First attempt at my homemade Big Macs. Complete success even got the "secret sauce" nailed!<br>March 12, 2012</div>
        <div class="updates"><a title="March 11, 2012" href="https://plus.google.com/108465997005759579712/posts/inUahwJ39NS" class="timesince">3 days ago</a> I forgot we set the clocks forward and thought I slept in... ironic isn't it?<br>March 11, 2012</div>
<div class="credit"><a class="cre" href="http://patrick.bloggles.info/2011/08/01/google-plus-wordpress/">Google+ Widgets</a></div></div><!--widget start --><div id="adinj-3" class="dbx-box suf-widget adinjwidget"><div class="dbx-content"><h3 class="dbx-handle plain">Related Links</h3><!--Ad Injection:widget_3--><script type="text/javascript"><!--
google_ad_client = "ca-pub-8639701995087660";
/* GregoryStrike.com - Sidebar */
google_ad_slot = "2367266877";
google_ad_width = 250;
google_ad_height = 250;
//-->
</script>
<script type="text/javascript" src="WinPE%20v3.0%20and%20Microsoft%20iSCSI%20Initiator%20_%20Gregory%20Strike_pliki/show_ads.js">
</script></div></div><!--widget end --></div><!--/sidebar -->
</div>
        </div><!-- /container -->

        <div id="cred">
                <table>
                        <tbody><tr>
                                <td class="cred-left">© 2011 <a href="http://beta.gregorystrike.com/">Gregory Strike (BETA)</a></td>
                                <td class="cred-center"></td>
                                <td class="cred-right"><a href="http://www.aquoid.com/news/themes/suffusion/">Suffusion theme by Sayontan Sinha</a></td>
                        </tr>
                </tbody></table>
        </div>
<!-- 46 queries, 38MB in 9.801 seconds. -->
</div><!--/wrapper -->
<!-- location footer -->

        <script src="WinPE%20v3.0%20and%20Microsoft%20iSCSI%20Initiator%20_%20Gregory%20Strike_pliki/e-201211.js" type="text/javascript"></script>
        <script type="text/javascript">
        st_go({v:'ext',j:'1:1.2.2',blog:'19451621',post:'8'});
        var load_cmc = function(){linktracker_init(19451621,8,2);};
        if ( typeof addLoadEvent != 'undefined' ) addLoadEvent(load_cmc);
        else load_cmc();
        </script>


</body></html>