<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>1 2 3</title>
	<atom:link href="http://www.ravnda.net/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://www.ravnda.net</link>
	<description>Nice To Know</description>
	<lastBuildDate>Tue, 20 Jul 2010 22:18:11 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Bitlocker .tpm file</title>
		<link>http://www.ravnda.net/?p=76</link>
		<comments>http://www.ravnda.net/?p=76#comments</comments>
		<pubDate>Tue, 20 Jul 2010 22:16:58 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Misc]]></category>

		<guid isPermaLink="false">http://www.ravnda.net/?p=76</guid>
		<description><![CDATA[This text can be used to create a recoveryfile for TPM. Recovery password is in most cases backuped to Active directory.
The password hash is what you should change.
Save it as &#8220;filname.tpm&#8221;.
&#60;?xml version="1.0" encoding="UTF-8"?&#62;
&#60;!--
File for TPM recovery.
--&#62;
&#60;tpmOwnerData version="1.0" softwareAuthor="Microsoft Windows [Version 6.1.7600]" creationDate="" creationUser="domain\user" machineName="MachineName"&#62;
&#60;tpmInfo manufacturerId="1229346816"/&#62;
&#60;ownerAuth&#62;PasswordHash&#60;/ownerAuth&#62;
&#60;/tpmOwnerData&#62;
]]></description>
			<content:encoded><![CDATA[<p>This text can be used to create a recoveryfile for TPM. Recovery password is in most cases backuped to Active directory.</p>
<p>The password hash is what you should change.</p>
<p>Save it as &#8220;filname.tpm&#8221;.</p>
<p><code class="xml">&lt;?xml version="1.0" encoding="UTF-8"?&gt;<br />
&lt;!--<br />
File for TPM recovery.<br />
--&gt;<br />
&lt;tpmOwnerData version="1.0" softwareAuthor="Microsoft Windows [Version 6.1.7600]" creationDate="" creationUser="domain\user" machineName="MachineName"&gt;<br />
&lt;tpmInfo manufacturerId="1229346816"/&gt;<br />
&lt;ownerAuth&gt;PasswordHash&lt;/ownerAuth&gt;<br />
&lt;/tpmOwnerData&gt;</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ravnda.net/?feed=rss2&amp;p=76</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>List ComObjects Powershell.</title>
		<link>http://www.ravnda.net/?p=74</link>
		<comments>http://www.ravnda.net/?p=74#comments</comments>
		<pubDate>Thu, 24 Jun 2010 20:14:05 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Misc]]></category>

		<guid isPermaLink="false">http://www.ravnda.net/?p=74</guid>
		<description><![CDATA[Dir registry::HKEY_CLASSES_ROOT\CLSID -include ProgID -recurse &#124; Foreach-Object { $_.GetValue("")}
]]></description>
			<content:encoded><![CDATA[<pre>Dir registry::HKEY_CLASSES_ROOT\CLSID -include ProgID -recurse | Foreach-Object { $_.GetValue("")}</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.ravnda.net/?feed=rss2&amp;p=74</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Adobe FTP</title>
		<link>http://www.ravnda.net/?p=71</link>
		<comments>http://www.ravnda.net/?p=71#comments</comments>
		<pubDate>Sun, 20 Jun 2010 22:15:56 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Misc]]></category>

		<guid isPermaLink="false">http://www.ravnda.net/?p=71</guid>
		<description><![CDATA[ftp://ftp.adobe.com/pub/adobe/
FTP for Adobe Software.
]]></description>
			<content:encoded><![CDATA[<p>ftp://ftp.adobe.com/pub/adobe/</p>
<p>FTP for Adobe Software.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ravnda.net/?feed=rss2&amp;p=71</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Start a advertised program from a &#8220;link&#8221;.</title>
		<link>http://www.ravnda.net/?p=62</link>
		<comments>http://www.ravnda.net/?p=62#comments</comments>
		<pubDate>Sun, 13 Jun 2010 21:23:38 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[ConfigMgr 2007]]></category>

		<guid isPermaLink="false">http://www.ravnda.net/?p=62</guid>
		<description><![CDATA[I have created a little program for starting advertised programs with a link on the desktop or the start menu.
HowTo use it:
Create a Registry key with two string values. Like this:
HKCU:\Software\ravnda.net\RunApp\0\
ProgramID = &#8220;InstallAdobe&#8221;
PackageID = &#8220;C01002d&#8221;
You then create a link to runapp.exe with the parameter &#8220;0&#8243;.
NB:
You can call the registry key under RunApp what you want. [...]]]></description>
			<content:encoded><![CDATA[<p>I have created a little program for starting advertised programs with a link on the desktop or the start menu.</p>
<p>HowTo use it:</p>
<p>Create a Registry key with two string values. Like this:</p>
<p>HKCU:\Software\ravnda.net\RunApp\0\</p>
<p style="padding-left: 30px;">ProgramID = &#8220;InstallAdobe&#8221;<br />
PackageID = &#8220;C01002d&#8221;</p>
<p>You then create a link to runapp.exe with the parameter &#8220;0&#8243;.</p>
<p>NB:</p>
<p>You can call the registry key under RunApp what you want. This is used for the link.</p>
<p>Download:<br />
<a href="http://www.ravnda.net/wp-content/uploads/2010/06/setup.msi">Setup.msi</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ravnda.net/?feed=rss2&amp;p=62</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Run Program from VBS!</title>
		<link>http://www.ravnda.net/?p=58</link>
		<comments>http://www.ravnda.net/?p=58#comments</comments>
		<pubDate>Sat, 05 Jun 2010 15:25:35 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[ConfigMgr 2007]]></category>

		<guid isPermaLink="false">http://www.ravnda.net/?p=58</guid>
		<description><![CDATA[The code for the VBS on the MSDN site was wrong.
Here is the working code:
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;
Call RunProgram (&#8220;ProgramID&#8221;,&#8221;PackageID&#8221;)
Sub RunProgram(programId, packageId)
    On Error Resume Next
    Dim oUIResource
    Dim oPrograms
    Dim oProgram
    Set oUIResource = CreateObject (&#8220;UIResource.UIResourceMgr&#8221;)
     If oUIResource [...]]]></description>
			<content:encoded><![CDATA[<p>The code for the VBS on the MSDN site was wrong.</p>
<p>Here is the working code:</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p>
<p>Call RunProgram (&#8220;ProgramID&#8221;,&#8221;PackageID&#8221;)</p>
<p>Sub RunProgram(programId, packageId)<br />
    On Error Resume Next<br />
    Dim oUIResource<br />
    Dim oPrograms<br />
    Dim oProgram</p>
<p>    Set oUIResource = CreateObject (&#8220;UIResource.UIResourceMgr&#8221;)<br />
     If oUIResource Is Nothing Then<br />
        wscript.echo &#8220;Could not create Resource Object &#8211; quitting&#8221;<br />
        Exit Sub<br />
    End If<br />
    if oUIResource.IsMandatoryProgramPending = 1 Then<br />
        Wscript.Echo &#8220;Mandatory program pending. Try again later.&#8221;<br />
        Set oUIResource=Nothing<br />
        Exit Sub<br />
    End If<br />
    Set oProgram = oUIResource.GetProgram(programId,packageId)<br />
    if oProgram is Nothing Then<br />
        WScript.Echo &#8220;Couldn&#8217;t get the program&#8221;<br />
        Set oUIResource=Nothing<br />
        Exit Sub<br />
    End If<br />
    Wscript.Echo &#8220;Running program: &#8221; &#038; oProgram.FullName<br />
    oUIResource.ExecuteProgram programId, packageID, true<br />
    Set oProgram=Nothing<br />
    Set oUIResource=Nothing<br />
End Sub<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
The ProgramID is the name of the program that should run (ie: the name you give to the program in the package). You can easily get it by running that query in SQL Manager on your database: select * from pkgprograms where pkgID = &#8216;nn&#8217;  where nn is your PackageID.</p>
<p>The script is now running fine on my side and Microsoft will correct the script posted on the MSDN website as soon as they can.</p>
<p>From:</p>
<p>http://social.technet.microsoft.com/Forums/en/configmgrswdist/thread/e30694ec-cceb-40d2-a370-1dd2aed87a92</p>
<p>Good To Know: http://msdn.microsoft.com/en-us/library/cc143667.aspx</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ravnda.net/?feed=rss2&amp;p=58</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ConfigMgr 2007 &#8211; Task Sequence, Join Domain</title>
		<link>http://www.ravnda.net/?p=54</link>
		<comments>http://www.ravnda.net/?p=54#comments</comments>
		<pubDate>Wed, 26 May 2010 14:47:51 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[ConfigMgr 2007]]></category>

		<guid isPermaLink="false">http://www.ravnda.net/?p=54</guid>
		<description><![CDATA[When adding a machine to a domain, with ConfigMgr 2007 there can be a problem to assign them to the default &#8220;Computer&#8221; OU.
If you want the computer to be in &#8220;Computer&#8221; OU, you should leave the field blank.
]]></description>
			<content:encoded><![CDATA[<p>When adding a machine to a domain, with ConfigMgr 2007 there can be a problem to assign them to the default &#8220;Computer&#8221; OU.<br />
If you want the computer to be in &#8220;Computer&#8221; OU, you should leave the field blank.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ravnda.net/?feed=rss2&amp;p=54</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ConfigMgr 2007 &#8211; WinPe with PXE</title>
		<link>http://www.ravnda.net/?p=52</link>
		<comments>http://www.ravnda.net/?p=52#comments</comments>
		<pubDate>Tue, 18 May 2010 21:26:23 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[ConfigMgr 2007]]></category>

		<guid isPermaLink="false">http://www.ravnda.net/?p=52</guid>
		<description><![CDATA[It&#8217;s important that you distribute both x86 and x64-bit versions of WinPe to PXE share. For all new computers are x64, and need files from that.
And as a good practise I would recommend to only use x86 WinPe to distribute 32- and 64-bit Operating System.
]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s important that you distribute both x86 and x64-bit versions of WinPe to PXE share. For all new computers are x64, and need files from that.<br />
And as a good practise I would recommend to only use x86 WinPe to distribute 32- and 64-bit Operating System.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ravnda.net/?feed=rss2&amp;p=52</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PowerShell: Download file from internet</title>
		<link>http://www.ravnda.net/?p=46</link>
		<comments>http://www.ravnda.net/?p=46#comments</comments>
		<pubDate>Tue, 11 May 2010 19:29:23 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Scripts]]></category>

		<guid isPermaLink="false">http://www.ravnda.net/?p=46</guid>
		<description><![CDATA[Download file from internet:
$client = new-object  System.Net.WebClient
$client.DownloadFile( $url, $path )
]]></description>
			<content:encoded><![CDATA[<p>Download file from internet:</p>
<p>$client = new-object  System.Net.WebClient<br />
$client.DownloadFile( $url, $path )</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ravnda.net/?feed=rss2&amp;p=46</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Check if KMS is set in DNS</title>
		<link>http://www.ravnda.net/?p=42</link>
		<comments>http://www.ravnda.net/?p=42#comments</comments>
		<pubDate>Tue, 11 May 2010 10:55:28 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Misc]]></category>

		<guid isPermaLink="false">http://www.ravnda.net/?p=42</guid>
		<description><![CDATA[nslookup -type=all _vlmcs._tcp
]]></description>
			<content:encoded><![CDATA[<p>nslookup -type=all _vlmcs._tcp</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ravnda.net/?feed=rss2&amp;p=42</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows 7 Bitlocker with Command Line</title>
		<link>http://www.ravnda.net/?p=18</link>
		<comments>http://www.ravnda.net/?p=18#comments</comments>
		<pubDate>Mon, 10 May 2010 19:20:57 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Windows 7]]></category>

		<guid isPermaLink="false">http://www.ravnda.net/?p=18</guid>
		<description><![CDATA[Create Bitlocker Partition:
- If the machine allready has a partition with 100 -300 mb, this command will not be necessary.
Bdehdcfg.exe -target default -quiet
Turn on the TPM:
- Enable the TPM Chip on the machine.
manage-bde.exe -tpm -turnon
- Takes OwnerShip of the TPM and sets the password to what you want.
manage-bde.exe -tpm -takeownersip &#8220;Password&#8221;
Turn on Bitlocker:
- This command [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Create Bitlocker Partition:</strong><br />
- If the machine allready has a partition with 100 -300 mb, this command will not be necessary.</p>
<p style="padding-left: 30px;">Bdehdcfg.exe -target default -quiet</p>
<p><strong>Turn on the TPM:</strong><br />
- Enable the TPM Chip on the machine.</p>
<p style="padding-left: 30px;">manage-bde.exe -tpm -turnon</p>
<p>- Takes OwnerShip of the TPM and sets the password to what you want.</p>
<p style="padding-left: 30px;">manage-bde.exe -tpm -takeownersip &#8220;Password&#8221;</p>
<p><strong>Turn on Bitlocker:</strong><br />
- This command line will enable Bitlocker, and set the recovery password to &#8220;123456-123456-123456-123456-123456-123456-123456-123456&#8243;. Keep it safe for this command will not take backup of the key. It will also set the PIN code to 1234. The PIN code will be used every time the machine starts.</p>
<p style="padding-left: 30px;">manage-bde –on C: -RecoveryPassword 123456-123456-123456-123456-123456-123456-123456-123456 -TPMandPIN 1234﻿</p>
<p><strong>NB:</strong> To enable the TPM with PIN you have to change a POLICY in GPO (AD), Local<br />
GPO or with a registry file(Easy fix if you enable Bitlocker with SCCM).</p>
<hr /><strong>GPO (AD and Local Computer Policy):</strong><br />
Computer Configuration -&gt; Administrative Templates -&gt; Windows Components -&gt; BitLocker Drive Encryption -&gt; Operating System Drives -&gt;  <strong>Reguire additional authentication at startup</strong> = Enable<br />
<strong>Registry:</strong><br />
Windows Registry Editor Version 5.00</p>
<p>[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\FVE]<br />
&#8220;UseAdvancedStartup&#8221;=dword:00000001<br />
&#8220;EnableBDEWithNoTPM&#8221;=dword:00000001<br />
&#8220;UseTPM&#8221;=dword:00000002<br />
&#8220;USETPMPIN&#8221;=dword:00000002<br />
&#8220;UseTPMKey&#8221;=dword:00000002<br />
&#8220;UseTPMKeyPIN&#8221;=dword:00000002</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ravnda.net/?feed=rss2&amp;p=18</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
