title: Change the default view in Explorer. Windows 8 / Registry / VBS
body: <p><strong>Base:</strong> I have a short piece of a registry changing vb script. </p>
  
  <pre><code>key = "Software\Microsoft\Windows\CurrentVersion\Explorer\Streams"
  result = wmireg.CreateKey(HKCU, key)
  
  binaer = Array(8,0,0,0,6,0,0,0,0,0,0,0,229,37,241,101,225,123,16,72,186,157,210,113,200,67,44,227,4,0,0,0,3,0,0,0,67,0,0,0)
  
  result = wmireg.SetBinaryValue(HKCU, key,"Settings",binaer)
  
  key ="Software\Microsoft\Windows\CurrentVersion\Explorer\Streams\Defaults"
  result = wmireg.CreateKey(HKCU, key)
  binaer = Array(28,0,0,0,5,0,0,0,0,0,3,0,0,0,144,0,0,0,0,0,1,0,0,0,255,255,255,255,240,240,240,240,20,0,3,0,144,0,0,0,0,0,0,0,48,0,0,0,253,223,223,253,15,0,4,0,32,0,16,0,40,0,60,0,0,0,0,0,1,0,0,0,2,0,0,0,3,0,0,0,42,1,96,0,120,0,120,0,0,0,0,0,1,0,0,0,2,0,0,0,3,0,0,0,255,255,255,255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0)
  result = wmireg.SetBinaryValue(HKCU,key,"{F3364BA0-65B9-11CE-A9BA-00AA004AE837}", binaer)
  </code></pre>
  
  <p><strong>Problem:</strong> In this snippet the default view of the explorer will be set to tile-view. Everything works fine in <strong>Windows XP</strong>. Now I am going to translate this to <strong>Windows 8</strong>, but with <strong>no</strong> success.</p>
  
  <p>I used the <a href="http://technet.microsoft.com/de-de/sysinternals/bb896645.aspx" rel="nofollow">Process Monitor</a> to figure out the registry key values which will be set if I do this step manually using the UI.</p>
  
  <p><strong>In Windows 8, the key:</strong></p>
  
  <pre><code>HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Streams\Settings
  </code></pre>
  
  <p><strong>Will be set to:</strong></p>
  
  <pre><code>08 00 00 00 06 00 00 00 01 00 00 00 E5 25 F1 65
  </code></pre>
  
  <p><strong>And the key:</strong> </p>
  
  <pre><code>HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Streams\Defaults\{5C4F28B5-F869-4E84-8E60-F11DB97C5CC7}
  </code></pre>
  
  <p><strong>Will be set to</strong></p>
  
  <pre><code>1C 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  </code></pre>
  
  <p>In Windows XP I can change this values by the script, restart (or logout-login) and the default view is the tiles view. But in Windows 8 nothing happens. </p>
  
  <p>I changed the vbs with the Windows 8 values, now if the script is complete the value in the registry will be successfully modified. But if I open my explorer there is no other view applied.</p>