<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="https://www.w3.org/2005/Atom" xmlns:sy="https://purl.org/rss/1.0/modules/syndication/" xmlns:dc="https://purl.org/dc/elements/1.1/" xmlns:content="https://purl.org/rss/1.0/modules/content/" xmlns:wfw="https://wellformedweb.org/CommentAPI/" xmlns:slash="https://purl.org/rss/1.0/modules/slash/"
  version="2.0">
  <channel>
    <title>Martins ConfigMgr stuff</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/mmodin/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/mmodin/feed.xml</link>
    <description>Random stuff about ConfigMgr (SCCM).</description>
    <lastBuildDate>Fri, 09 Dec 2016 10:32:10 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>Resize Azure ARM virtual machine with PowerShell</title>
      <link>https://docs.microsoft.com/archive/blogs/mmodin/resize-azure-arm-virtual-machine-with-powershell</link>
      <pubDate>Tue, 01 Dec 2015 02:35:00 GMT</pubDate>
      <dc:creator><![CDATA[]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/mmodin/2015/12/01/resize-azure-arm-virtual-machine-with-powershell/</guid>
      <description><![CDATA[I recently worked on a project where we needed to resize VMs in Azure to be able to scale up or down...]]></description>
      <content:encoded><![CDATA[<p>I recently worked on a project where we needed to resize VMs in Azure to be able to scale up or down during different periods of the month. Since these VMs where created using Azure Resource Manager (ARM) we needed to use the new AzureRM PowerShell cmdlets. So naturally I tried Set-AzureRmVMSize, but to my surprise there was no such cmdlet. It turns out that it&rsquo;s actually not supposed to work with the current version of AzureRM modules: <a href="https://social.msdn.microsoft.com/Forums/azure/en-US/0c16a10a-c4df-4d34-97c5-f0778cdef182/how-to-change-a-v2-arm-virtual-machine-size-using-powershell?forum=windowsazuremanagement">https://social.msdn.microsoft.com/Forums/azure/en-US/0c16a10a-c4df-4d34-97c5-f0778cdef182/how-to-change-a-v2-arm-virtual-machine-size-using-powershell?forum=windowsazuremanagement</a></p>
<p>But then I found the following blog post by Igor Pagliai: <a title="https://blogs.msdn.com/b/igorpag/archive/2015/11/04/azure-vm-resizing-and-sku-change-in-asm-and-arm.aspx" href="https://blogs.msdn.com/b/igorpag/archive/2015/11/04/azure-vm-resizing-and-sku-change-in-asm-and-arm.aspx">https://blogs.msdn.com/b/igorpag/archive/2015/11/04/azure-vm-resizing-and-sku-change-in-asm-and-arm.aspx</a></p>
<p>So with just a little modification of the example he provides its really quite simple to achieve.</p>
<p>Note that it&rsquo;s only necessary to stop the VM if you&#39;re also changing SKU when doing the resize, read more about that on Igor&#39;s post above. It also describes what you need to think about regarding storage etc. Note that if changing size within the same SKU the VM will still reboot.</p>
<p>So below is a simple script to resize a VM with the AzureRM modules.</p>
<hr />
<p><span><span style="color:#0000ff;">Login-AzureRmAccount</span></span></p>
<div style="list-style-type:disc;background:white;margin:2pt 0cm;line-height:normal;"><span style="font-family:Lucida Console;"><span lang="EN-US"><span style="color:#ff4500;"><span style="font-size:9pt;">$ResourceGroupName</span></span></span><span lang="EN-US"><span style="font-size:9pt;"><span style="color:#000000;"> </span><span><span style="color:#a9a9a9;">=</span></span><span style="color:#000000;"> </span></span><span><span style="color:#8b0000;font-size:9pt;">&quot;CMLAB&quot;</span></span></span></span><span lang="EN-US"></span></div>
<div style="list-style-type:disc;background:white;margin:2pt 0cm;line-height:normal;"><span style="font-family:Lucida Console;"><span lang="EN-US"><span style="color:#ff4500;"><span style="font-size:9pt;">$VMName</span></span></span><span lang="EN-US"><span style="font-size:9pt;"><span style="color:#000000;"> </span><span><span style="color:#a9a9a9;">=</span></span><span style="color:#000000;"> </span></span><span><span style="color:#8b0000;font-size:9pt;">&quot;2007CMCEN&quot;</span></span></span></span><span lang="EN-US"></span></div>
<div style="list-style-type:disc;background:white;margin:2pt 0cm;line-height:normal;"><span style="font-family:Lucida Console;"><span lang="EN-US"><span style="color:#ff4500;"><span style="font-size:9pt;">$NewVMSize</span></span></span><span lang="EN-US"><span style="font-size:9pt;"><span style="color:#000000;"> </span><span><span style="color:#a9a9a9;">=</span></span><span style="color:#000000;"> </span></span><span><span style="color:#8b0000;font-size:9pt;">&quot;Standard_A5&quot;</span></span></span></span><span lang="EN-US"></span></div>
<div style="list-style-type:disc;background:white;margin:2pt 0cm;line-height:normal;"><span style="font-family:Lucida Console;"><span lang="EN-US"><span style="color:#ff4500;"><span style="font-size:9pt;"></span></span></span></span>&nbsp;</div>
<div style="list-style-type:disc;background:white;margin:2pt 0cm;line-height:normal;"><span style="font-family:Lucida Console;"><span lang="EN-US"><span style="color:#ff4500;"><span style="font-size:9pt;">$vm</span></span></span><span lang="EN-US"><span style="font-size:9pt;"><span style="color:#000000;"> </span><span><span style="color:#a9a9a9;">=</span></span><span style="color:#000000;"> </span><span><span style="color:#0000ff;">Get-AzureRmVM</span></span><span style="color:#000000;"> </span><span><span style="color:#000080;">-ResourceGroupName</span></span><span style="color:#000000;"> </span><span><span style="color:#ff4500;">$ResourceGroupName</span></span><span style="color:#000000;"> </span><span><span style="color:#000080;">-Name</span></span><span style="color:#000000;"> </span></span><span><span style="color:#ff4500;font-size:9pt;">$VMName</span></span></span></span><span lang="EN-US"></span></div>
<div style="list-style-type:disc;background:white;margin:2pt 0cm;line-height:normal;"><span style="font-family:Lucida Console;"><span lang="EN-US"><span style="color:#ff4500;"><span style="font-size:9pt;">$vm</span></span></span><span style="font-size:9pt;"><span lang="EN-US"><span style="color:#a9a9a9;">.</span></span></span><span lang="EN-US"><span style="font-size:9pt;"><span style="color:#000000;">HardwareProfile</span><span><span style="color:#a9a9a9;">.</span></span><span style="color:#000000;">vmSize </span><span><span style="color:#a9a9a9;">=</span></span><span style="color:#000000;"> </span></span><span><span style="color:#ff4500;font-size:9pt;">$NewVMSize</span></span></span></span><span lang="EN-US"></span></div>
<p><span style="font-family:Lucida Console;"><span lang="EN-US" style="list-style-type:disc;line-height:normal;"><span style="color:#0000ff;"><span style="font-size:9pt;">Update-AzureRmVM</span></span></span><span lang="EN-US" style="list-style-type:disc;line-height:normal;"><span style="font-size:9pt;"><span style="color:#000000;"> </span><span><span style="color:#000080;">-ResourceGroupName</span></span><span style="color:#000000;"> </span><span><span style="color:#ff4500;">$ResourceGroupName</span></span><span style="color:#000000;"> </span><span><span style="color:#000080;">-VM</span></span><span style="color:#000000;"> </span></span><span><span style="color:#ff4500;font-size:9pt;">$vm</span></span></span></span></p>
<hr />]]></content:encoded>
    </item>
    <item>
      <title>Install .Net 3.5 on Server 2012 without internet connection</title>
      <link>https://docs.microsoft.com/archive/blogs/mmodin/install-net-3-5-on-server-2012-without-internet-connection</link>
      <pubDate>Wed, 07 Nov 2012 06:47:00 GMT</pubDate>
      <dc:creator><![CDATA[Martin Modin]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/mmodin/2012/11/07/install-net-3-5-on-server-2012-without-internet-connection/</guid>
      <description><![CDATA[dism.exe /online /enable-feature /featurename:NetFX3 /all /Source:D:\sources\sxs /LimitAccess
D:\...]]></description>
      <content:encoded><![CDATA[<p>dism.exe /online /enable-feature /featurename:NetFX3 /all /Source:D:\sources\sxs /LimitAccess</p>
<p>D:\ in this case is the path to the Windows Server 2012 installation media.</p>]]></content:encoded>
    </item>
    <item>
      <title>Collection membership rule to check for clients that are members of multiple AD groups</title>
      <link>https://docs.microsoft.com/archive/blogs/mmodin/collection-membership-rule-to-check-for-clients-that-are-members-of-multiple-ad-groups</link>
      <pubDate>Mon, 08 Nov 2010 07:03:00 GMT</pubDate>
      <dc:creator><![CDATA[Martin Modin]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/mmodin/2010/11/08/collection-membership-rule-to-check-for-clients-that-are-members-of-multiple-ad-groups/</guid>
      <description><![CDATA[The following collection query will list all clients that are part of the following AD groups:...]]></description>
      <content:encoded><![CDATA[<p>The following collection query will list all clients that are part of the following AD groups: "APP-1" and "APP-2".&nbsp;</p>
<pre class="scroll"><code class="mysql"><br />select SMS_R_SYSTEM.ResourceID,SMS_R_SYSTEM.ResourceType,SMS_R_SYSTEM.Name,SMS_R_SYSTEM.SMSUniqueIdentifier,SMS_R_SYSTEM.ResourceDomainORWorkgroup,SMS_R_SYSTEM.Client from SMS_R_System where SMS_R_System.ResourceId in (Select ResourceID from SMS_R_System where SMS_R_System.SystemGroupName LIKE "%\\APP-1") and SMS_R_System.ResourceId in (Select ResourceID from SMS_R_System where SMS_R_System.SystemGroupName LIKE "%\\APP-2")
<br />
<br /></code></pre>
<p>The following query does the same and also excludes all members of the "APP-1 Pilot" group.</p>
<p><code class="mysql"><code class="cplusplus">
<pre class="scroll"><code class="mysql">
<br />select SMS_R_SYSTEM.ResourceID,SMS_R_SYSTEM.ResourceType,SMS_R_SYSTEM.Name,SMS_R_SYSTEM.SMSUniqueIdentifier,SMS_R_SYSTEM.ResourceDomainORWorkgroup,SMS_R_SYSTEM.Client from SMS_R_System where SMS_R_System.ResourceId in (Select ResourceID from SMS_R_System where SMS_R_System.SystemGroupName LIKE "%\\APP-1") and SMS_R_System.ResourceId in (Select ResourceID from SMS_R_System where SMS_R_System.SystemGroupName LIKE "%\\APP-2") and SMS_R_System.ResourceId not in (select SMS_R_System.ResourceId from  SMS_R_System where SMS_R_System.SystemGroupName LIKE '%\\APP-1 Pilot')
<br />
<br /></code></pre>
<p>&nbsp;</p>
</code>
<pre class="scroll"></pre>
</code></p>
<pre class="scroll"></pre>]]></content:encoded>
    </item>
    <item>
      <title>Configure IIS Response Buffering Limit on ConfigMgr reporting points</title>
      <link>https://docs.microsoft.com/archive/blogs/mmodin/configure-iis-response-buffering-limit-on-configmgr-reporting-points</link>
      <pubDate>Mon, 01 Nov 2010 06:58:00 GMT</pubDate>
      <dc:creator><![CDATA[Martin Modin]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/mmodin/2010/11/01/configure-iis-response-buffering-limit-on-configmgr-reporting-points/</guid>
      <description><![CDATA[&nbsp;If you get a HTTP 500 error when trying to watch a report e.g "History - Specific task...]]></description>
      <content:encoded><![CDATA[<p>&nbsp;If you get a HTTP 500 error when trying to watch a report e.g "History - Specific task sequence advertisements run on a specific computer"</p>
<p><strong>With show friendly HTTP error messages enabled in IE:</strong><br />The website cannot display the page <br />&nbsp;HTTP 500&nbsp;</p>
<p>This error (HTTP 500 Internal Server Error) means that the website you are visiting had a server problem which prevented the webpage from displaying.</p>
<p><br /><strong>Show friendly HTTP error messages disabled in IE:</strong><br />An error occurred on the server when processing the URL. Please contact the system administrator. </p>
<p>You can try to solve this by increasing the ASP "Response Buffering Limit" for the site hosting the reporting point.</p>
<p>The following command sets the limit to 8 MB (<strong>8388608)</strong>, The default value is 4 MB (<strong>4194304)</strong></p>
<p>C:\Windows\System32\inetsrv&gt;appcmd.exe set config "<strong>Default Web Site</strong>" -section:system.webServer/asp /limits.bufferingLimit:"<strong>8388608</strong>" /commit:apphost</p>
<p>&nbsp;</p>]]></content:encoded>
    </item>
    <item>
      <title>Setup PXE service point on Windows Server 2008 R2</title>
      <link>https://docs.microsoft.com/archive/blogs/mmodin/setup-pxe-service-point-on-windows-server-2008-r2</link>
      <pubDate>Fri, 27 Aug 2010 07:41:00 GMT</pubDate>
      <dc:creator><![CDATA[Martin Modin]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/mmodin/2010/08/27/setup-pxe-service-point-on-windows-server-2008-r2/</guid>
      <description><![CDATA[Install Windows Deployment Services (WDS)
Start Administrative Tools \ Windows PowerShell Modules...]]></description>
      <content:encoded><![CDATA[<p>Install Windows Deployment Services (WDS)</p>
<p>Start Administrative Tools \ Windows PowerShell Modules (Run as Administrator)</p>
<p>&gt; Add-WindowsFeature WDS</p>
<p>&gt; WDSUTIL /initialize-server /reminst:&lt;X&gt;:\Remoteinstall</p>
<p>If WDS is running on the same box as DHCP:</p>
<p>&gt; WDSUTIL /set-server /DHCPoption60:yes</p>
<p>&gt; WDSUTIL /set-server /usedhcpports:no</p>
<p>Add the PXE service point</p>
<p>Distribute both x64 and x86 Boot Images to both SMSPXEIMAGES$ ditribution point and standard distribution point</p>
<p>Verify that they are distributed</p>
<p>SMSPXEIMAGES$ ditribution point = X:\Remoteinstall\SMSIMAGES\SMSPKG</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/74/64/metablogapi/8611.image_582EC86E.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-74-64-metablogapi/8611.image_5F00_582EC86E.png"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/74/64/metablogapi/5327.image_thumb_07BCC12E.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-74-64-metablogapi/5327.image_5F00_thumb_5F00_07BCC12E.png" alt="image" width="244" height="90" border="0" /></a></p>
<p>Standard distribution point = X:\SMSPKGE$</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/74/64/metablogapi/4010.image_4D614B4C.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-74-64-metablogapi/4010.image_5F00_4D614B4C.png"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/74/64/metablogapi/6866.image_thumb_3E4A6C72.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-74-64-metablogapi/6866.image_5F00_thumb_5F00_3E4A6C72.png" alt="image" width="244" height="92" border="0" /></a></p>
<h4>&nbsp;</h4>
<p>Advertise a task sequence to all unknown computers or a collection with a computer that you want to target</p>]]></content:encoded>
    </item>
    <item>
      <title>Some packages will not download from BITS enabled distribution points in ConfigMgr 2007</title>
      <link>https://docs.microsoft.com/archive/blogs/mmodin/some-packages-will-not-download-from-bits-enabled-distribution-points-in-configmgr-2007</link>
      <pubDate>Tue, 25 May 2010 00:24:00 GMT</pubDate>
      <dc:creator><![CDATA[Martin Modin]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/mmodin/2010/05/25/some-packages-will-not-download-from-bits-enabled-distribution-points-in-configmgr-2007/</guid>
      <description><![CDATA[If a package has folders that contains characters like "+" or "-" there can be problems on...]]></description>
      <content:encoded><![CDATA[<div style="margin: 0px;"><span style="font-size: x-small; font-family: Calibri,sans-serif;"><span style="font-size: 11pt;"><span style="color: #1f497d;"><span lang="sv">If a package has folders that contains characters like "+" or "-" there can be problems on BITS-enabled distribution Points. The package will not download and only the folder structure will be created in the&nbsp;client cache.&nbsp;</span></span></span></span></div>
<div style="margin: 0px;"><span style="font-size: x-small; font-family: Calibri,sans-serif;"><span style="font-size: 11pt;">&nbsp;</span></span></div>
<div style="margin: 0px;"><span style="font-size: x-small; font-family: Calibri,sans-serif;"><span style="font-size: 11pt;"><span style="color: #1f497d;"><span lang="sv">To troubleshoot on the client from a command prompt run: "bitsadmin /list /allusers"</span></span></span></span></div>
<div style="margin: 0px;"><span style="font-size: x-small; font-family: Calibri,sans-serif;"><span style="font-size: 11pt;">&nbsp;</span></span></div>
<div style="margin: 0px;"><span style="font-size: x-small; font-family: Calibri,sans-serif;"><span style="font-size: 11pt;"><span style="color: #1f497d;"><span lang="sv">{92C8E35D-7B11-4B1B-885A-350C7B2AFE32} 'CCMDTS Job' ERROR 126 / 1636 38389430 / UNKNOWN</span></span><span style="color: #1f497d;"><span lang="sv"><br />Listed 1 job(s).</span></span></span></span></div>
<div style="margin: 0px;"><span style="font-size: x-small; font-family: Calibri,sans-serif;"><span style="font-size: 11pt;">&nbsp;</span></span></div>
<div style="margin: 0px;"><span style="font-size: x-small; font-family: Calibri,sans-serif;"><span style="font-size: 11pt;"><span style="color: #1f497d;"><span lang="sv">The run: bitsadmin /info {92C8E35D-7B11-4B1B-885A-350C7B2AFE32} /verbose &gt;&gt;bits.log</span></span></span></span></div>
<div style="margin: 0px;"><span style="font-size: x-small; font-family: Calibri,sans-serif;"><span style="font-size: 11pt;">&nbsp;</span></span></div>
<div style="margin: 0px;"><span style="font-size: x-small; font-family: Calibri,sans-serif;"><span style="font-size: 11pt;"><span style="color: #1f497d;"><span lang="sv">In the&nbsp;bits.log we can see the error:</span></span></span></span></div>
<div style="margin: 0px;"><span style="font-size: x-small; font-family: Calibri,sans-serif;"><span style="font-size: 11pt;"><span style="color: #1f497d;"><span lang="sv">ERROR FILE:&nbsp;&nbsp;&nbsp; </span></span><a href="https://emea.mail.microsoft.com/OWA/redir.aspx?C=94a45f6296a84bd49523a1d6a2d6e7d8&amp;URL=http%3a%2f%2fSECOMXP001.SHBMAIN.SHB.BIZ%3a80%2fSMS_DP_SMSPKGE%24%2fP07000E3%2fProgram" target="_blank"><span lang="sv">https://SEDP001.CONTOSO.COM:80/SMS_DP_SMSPKGE$/P07000E3/Program</span></a><span style="color: #1f497d;"><span lang="sv"> Files 64/Tivoli/TSM/baclient/jvm60/jre/lib/zi/Etc/GMT+8</span></span></span></span></div>
<div style="margin: 0px;"><span style="font-size: x-small; font-family: Calibri,sans-serif;"><span style="font-size: 11pt;">&nbsp;</span></span></div>
<div style="margin: 0px;"><span style="font-size: x-small; font-family: Calibri,sans-serif;"><span style="font-size: 11pt;"><span style="color: #1f497d;"><span lang="sv">These KBs explains how we can fix it: </span></span><a href="https://support.microsoft.com/kb/942076" target="_blank"><span lang="sv">https://support.microsoft.com/kb/942076</span></a></span></span></div>
<div style="margin: 0px;"><span style="font-size: x-small; font-family: Calibri,sans-serif;"><span style="font-size: 11pt;"><strong>hiddenSegments <a href="https://support.microsoft.com/kb/942047">https://support.microsoft.com/kb/942047</a></strong></span></span></div>
<div style="margin: 0px;"><span style="font-size: x-small; font-family: Calibri,sans-serif;"><span style="font-size: 11pt;">To modify the requestFiltering section on BITS-enabled distribution point computers: <a href="https://technet.microsoft.com/en-us/library/cc431377.aspx">https://technet.microsoft.com/en-us/library/cc431377.aspx</a></span></span></div>
<div style="margin: 0px;"><br /><br />&nbsp;</div>
<div style="margin: 0px;"><span style="font-size: x-small; font-family: Calibri,sans-serif;"><span style="font-size: 11pt;">execmgr.log "Execution Request for package P07000E3 program IBM Tivoli Storage Manager Client (W2K8 R2) PSI state change from WaitingContent to WaitingContent"</span></span></div>
<div style="margin: 0px;"><span style="font-size: x-small; font-family: Calibri,sans-serif;"><span style="font-size: 11pt;">ContentTransferManager.log&nbsp;"CTM job {6380EDD1-B38B-464F-B0E4-AC4590740968} entered phase CCM_DOWNLOADSTATUS_DOWNLOADING_DATA"</span></span></div>]]></content:encoded>
    </item>
    <item>
      <title>Limitations in ConfigMgr 2007 object names</title>
      <link>https://docs.microsoft.com/archive/blogs/mmodin/limitations-in-configmgr-2007-object-names</link>
      <pubDate>Thu, 29 Apr 2010 01:34:28 GMT</pubDate>
      <dc:creator><![CDATA[Martin Modin]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/mmodin/2010/04/29/limitations-in-configmgr-2007-object-names/</guid>
      <description><![CDATA[Packages  50 characters  Programs  50 characters  Collections  127 characters  Folders  127...]]></description>
      <content:encoded><![CDATA[<blockquote> <table border="0" cellspacing="0" cellpadding="2" width="400"> <tbody> <tr> <td valign="top" width="200">Packages </td> <td valign="top" width="200">50 characters</td></tr> <tr> <td valign="top" width="200">Programs </td> <td valign="top" width="200">50 characters</td></tr> <tr> <td valign="top" width="200">Collections </td> <td valign="top" width="200">127 characters</td></tr> <tr> <td valign="top" width="200">Folders </td> <td valign="top" width="200">127 characters</td></tr></tbody></table></blockquote>]]></content:encoded>
    </item>
    <item>
      <title>Starting a CMD prompt as system in Windows 2008 R2</title>
      <link>https://docs.microsoft.com/archive/blogs/mmodin/starting-a-cmd-prompt-as-system-in-windows-2008-r2</link>
      <pubDate>Thu, 18 Feb 2010 00:23:00 GMT</pubDate>
      <dc:creator><![CDATA[Martin Modin]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/mmodin/2010/02/18/starting-a-cmd-prompt-as-system-in-windows-2008-r2/</guid>
      <description><![CDATA[PSEXEC -i -s -d CMD]]></description>
      <content:encoded><![CDATA[<p>PSEXEC -i -s -d CMD</p>]]></content:encoded>
    </item>
    <item>
      <title>Minimum permissions required to run reports in ConfigMgr console</title>
      <link>https://docs.microsoft.com/archive/blogs/mmodin/minimum-permissions-required-to-run-reports-in-configmgr-console</link>
      <pubDate>Tue, 16 Feb 2010 11:56:00 GMT</pubDate>
      <dc:creator><![CDATA[Martin Modin]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/mmodin/2010/02/16/minimum-permissions-required-to-run-reports-in-configmgr-console/</guid>
      <description><![CDATA[SMSAdmins local group to run console
Read on site instance/class
Read on reports class.]]></description>
      <content:encoded><![CDATA[<p>SMSAdmins local group to run console</p>
<p>Read on site instance/class</p>
<p>Read on reports class.</p>]]></content:encoded>
    </item>
    <item>
      <title>How to extend the MDT 2010 database with custom settings</title>
      <link>https://docs.microsoft.com/archive/blogs/mmodin/how-to-extend-the-mdt-2010-database-with-custom-settings</link>
      <pubDate>Wed, 03 Feb 2010 01:35:00 GMT</pubDate>
      <dc:creator><![CDATA[Martin Modin]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/mmodin/2010/02/03/how-to-extend-the-mdt-2010-database-with-custom-settings/</guid>
      <description><![CDATA[Add a new column to the settings table (can be done with SQL Management...]]></description>
      <content:encoded><![CDATA[<strong>Add a new column to the settings table (can be done with SQL Management Studio)</strong>

<a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_technet/mmodin/WindowsLiveWriter/HowtoextendtheMDT2010databasewithcustoms_EA59/Capture.gif"><img width="336" height="588" title="Capture" style="display: inline; border-width: 0px;" alt="Capture" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_technet/mmodin/WindowsLiveWriter/HowtoextendtheMDT2010databasewithcustoms_EA59/Capture_thumb.gif" border="0" /></a>

&nbsp;

<strong>Give it a name and specify a datatype</strong>

<a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_technet/mmodin/WindowsLiveWriter/HowtoextendtheMDT2010databasewithcustoms_EA59/Capture2.gif"><img width="476" height="236" title="Capture2" style="display: inline; border-width: 0px;" alt="Capture2" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_technet/mmodin/WindowsLiveWriter/HowtoextendtheMDT2010databasewithcustoms_EA59/Capture2_thumb.gif" border="0" /></a>

&nbsp;

<strong>Run the following stored procedure against the MDT database</strong>

EXECUTE sp_refreshview '[dbo].[ComputerSettings]'
EXECUTE sp_refreshview '[dbo].[LocationSettings]'
EXECUTE sp_refreshview '[dbo].[MakeModelSettings]'
EXECUTE sp_refreshview '[dbo].[RoleSettings]'

<a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/74/64/Temp.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/74/64/Temp.png" border="0" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-74-64/Temp.png" /></a>

<strong>Edit the customsettings.ini with the new column</strong>

Under the [Settings] section add your column name to the properties line

<a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_technet/mmodin/WindowsLiveWriter/HowtoextendtheMDT2010databasewithcustoms_EA59/Capture4.gif"><img width="589" height="103" title="Capture4" style="display: inline; border-width: 0px;" alt="Capture4" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_technet/mmodin/WindowsLiveWriter/HowtoextendtheMDT2010databasewithcustoms_EA59/Capture4_thumb.gif" border="0" /></a>

&nbsp;

Now its possible to add a value to the column you added.

<a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_technet/mmodin/WindowsLiveWriter/HowtoextendtheMDT2010databasewithcustoms_EA59/Capture3.gif"><img width="467" height="547" title="Capture3" style="display: inline; border-width: 0px;" alt="Capture3" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_technet/mmodin/WindowsLiveWriter/HowtoextendtheMDT2010databasewithcustoms_EA59/Capture3_thumb.gif" border="0" /></a>

&nbsp;

To test this run: cscript ZTIGather.wsf /inifile:E:\deployshare\CustomSettings.ini from the scripts directory and point to the customsettings.ini file that is configured with the settings to query the MDT database.

&nbsp;

<a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_technet/mmodin/WindowsLiveWriter/HowtoextendtheMDT2010databasewithcustoms_EA59/Capture5.gif"><img width="404" height="49" title="Capture5" style="display: inline; border-width: 0px;" alt="Capture5" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_technet/mmodin/WindowsLiveWriter/HowtoextendtheMDT2010databasewithcustoms_EA59/Capture5_thumb.gif" border="0" /></a>

&nbsp;

<a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_technet/mmodin/WindowsLiveWriter/HowtoextendtheMDT2010databasewithcustoms_EA59/Capture6.gif"><img width="629" height="37" title="Capture6" style="display: inline; border-width: 0px;" alt="Capture6" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_technet/mmodin/WindowsLiveWriter/HowtoextendtheMDT2010databasewithcustoms_EA59/Capture6_thumb.gif" border="0" /></a>

Now we can see that the property CustomCollection002 is set to C0010000

&nbsp;

To reference the new value you would use the variable %CustomCollection002%

&nbsp;

For more information see the section “Extending the Schema of the MDT DB” in “Using the Microsoft Deployment Toolkit.docx” that can be downloaded here: <a target="_blank" href="https://www.microsoft.com/downloads/details.aspx?FamilyId=3BD8561F-77AC-4400-A0C1-FE871C461A89&amp;displaylang=en">Optional - MDT 2010 Print-Ready Documentation</a>]]></content:encoded>
    </item>
  </channel>
</rss>