<?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>Jim Ratsch's Technical Ramblings</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/jratsch/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/jratsch/feed.xml</link>
    <description />
    <lastBuildDate>Wed, 17 Apr 2019 03:47:20 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>How to manually remove a “temporary template” from System Center Virtual Machine Manager</title>
      <link>https://docs.microsoft.com/archive/blogs/jratsch/how-to-manually-remove-a-temporary-template-from-system-center-virtual-machine-manager</link>
      <pubDate>Fri, 09 Aug 2013 10:39:23 GMT</pubDate>
      <dc:creator><![CDATA[Jim Ratsch]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/jratsch/2013/08/09/how-to-manually-remove-a-temporary-template-from-system-center-virtual-machine-manager/</guid>
      <description><![CDATA[You may find that when removing VM templates from System Center Virtual Machine Manager (multiple...]]></description>
      <content:encoded><![CDATA[<p>You may find that when removing VM templates from System Center Virtual Machine Manager (multiple versions, including 2012 SP1), you are unable to remove the vhd file that was part of a template. This occurs because the vhd that remains still has a dependency called Temporary Template &lt;GUID&gt;.</p>  <p>For example, you remove a template from the VM Templates section of the library. This template referenced a VM stored in the VMM Library. Next, you attempt to delete the vhd file itself&#160; from the library, and you receive an error that you cannot delete the file because it has a dependency. When you look at the Dependencies section in the file properties, you see something like this:</p>  <p>&#160;</p>  <p>&#160;</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/73/90/metablogapi/4578.image_4F01FA4B.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-73-90-metablogapi/4578.image_5F00_4F01FA4B.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/73/90/metablogapi/3010.image_thumb_2CACF583.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-73-90-metablogapi/3010.image_5F00_thumb_5F00_2CACF583.png" width="521" height="422" /></a></p>  <p>&#160;</p>  <p>If this happens, it should eventually clear up when VMM does some house cleaning. However, you may not be willing to wait for that to happen. In order to delete the template immediately, you can user PowerShell. In this example, I ran the following command to remove the temporary template:</p>  <p>&#160;</p>  <p><strong>PS C:\Windows\system32&gt; remove-scvmtemplate -vmtemplate &quot;Temporary Template1c2fe 00e-4d16-4975-b85b-8c4fad34fff5&quot;</strong></p>  <p>&#160;</p>  <p>Once completed, the template (dependency) is removed as seen below:</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/73/90/metablogapi/3022.image_1CA0B77D.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-73-90-metablogapi/3022.image_5F00_1CA0B77D.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/73/90/metablogapi/1715.image_thumb_5EA726BE.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-73-90-metablogapi/1715.image_5F00_thumb_5F00_5EA726BE.png" width="529" height="398" /></a></p>  <p>&#160;</p>  <p>You will now be able to delete the vhd file.</p>]]></content:encoded>
    </item>
    <item>
      <title>How to adjust “static memory” in Hyper-V 2012 without shutting down the virtual machine</title>
      <link>https://docs.microsoft.com/archive/blogs/jratsch/how-to-adjust-static-memory-in-hyper-v-2012-without-shutting-down-the-virtual-machine</link>
      <pubDate>Tue, 18 Jun 2013 14:35:31 GMT</pubDate>
      <dc:creator><![CDATA[Jim Ratsch]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/jratsch/2013/06/18/how-to-adjust-static-memory-in-hyper-v-2012-without-shutting-down-the-virtual-machine/</guid>
      <description><![CDATA[Dynamic Memory allows you to set a range of memory to allocate to your VMs. Hyper-V 2012 has added a...]]></description>
      <content:encoded><![CDATA[<p>Dynamic Memory allows you to set a range of memory to allocate to your VMs. Hyper-V 2012 has added a Startup RAM feature to allow you to allocate more memory at startup than you might need for normal operations, which can speed up reboots.</p>  <p>What’s really cool about dynamic memory is that you can change it while the VM is running. There are limitations, and you can’t change all of the settings, but you can change the minimum and maximum settings, as shown here:</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/73/90/metablogapi/2158.image_6F389D20.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-73-90-metablogapi/2158.image_5F00_6F389D20.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/73/90/metablogapi/8877.image_thumb_19389B49.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-73-90-metablogapi/8877.image_5F00_thumb_5F00_19389B49.png" width="360" height="440" /></a></p>  <p>&#160;</p>  <p>But what if you are running something where you don’t want to use dynamic memory, or where dynamic memory is not recommended? <strong>What if you want to set a static amount of memory, but still be able to give it more memory without shutting it down?</strong></p>  <p>Simple. Just<em> set the VM to use dynamic memory</em>, and <strong>set the minimum and maximum amounts to the same amount</strong>! If you need to increase the memory later, just change the maximum value to the new, higher amount. Note that you <em>won’t be able to increase the minimum</em> amount while it is running, but this will buy you some time until the next shutdown, where you can set the minimum and maximum amounts to the new higher amount.</p>]]></content:encoded>
    </item>
    <item>
      <title>How to Create a Test Lab from a Production Environment Using Hyper-V and GPMC Scripts</title>
      <link>https://docs.microsoft.com/archive/blogs/jratsch/how-to-create-a-test-lab-from-a-production-environment-using-hyper-v-and-gpmc-scripts</link>
      <pubDate>Fri, 17 Feb 2012 07:49:00 GMT</pubDate>
      <dc:creator><![CDATA[Jim Ratsch]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/jratsch/2012/02/17/how-to-create-a-test-lab-from-a-production-environment-using-hyper-v-and-gpmc-scripts/</guid>
      <description><![CDATA[Overview:
The steps that follow involve creating a backup of the production group policies and...]]></description>
      <content:encoded><![CDATA[<p><b>Overview:</b></p>
<p>The steps that follow involve creating a backup of the production group policies and permissions, OU structures, and user accounts. After that backup is created, it is then copied over to the lab environment and imported into the lab Active Directory environment.</p>
<p>These procedures are recommended as a safer alternative to creating a lab using actual system state, P2V, or other backups of production domain controllers. They also are a &ldquo;cleaner&rdquo; option, as large environments can contain hundreds of domain controllers, and cleanup operations when using a restore operation in the lab (i.e. metadata cleanup) can be quite extensive. Further, in order to ensure that the lab is properly differentiated from production, the restore method would normally mandate forest/domain renames and compete re-addressing of the IP addressing scheme.</p>
<p>In most cases for lab scenarios, a lab with a similar namespace and imported configurations is more appropriate, and sufficient, as it contains the key AD infrastructure information typically needed for testing.</p>
<p><b>Detailed Procedures for Creating the Lab AD Environment</b></p>
<p><b>Preparations:</b></p>
<p>1. On a production Windows XP or Windows Server 2003 machine, install the Group Policy Management Console, SP1. This utility can be downloaded here:</p>
<p><a href="https://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;FamilyID=0a6d4c24-8cbd-4b35-9272-dd3cbfc81887">https://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;FamilyID=0a6d4c24-8cbd-4b35-9272-dd3cbfc81887</a></p>
<p>This machine will be used to pull the Active Directory infrastructure information from the production environment. No changes are made to the production environment.</p>
<p>2. Next, also install the GPMC SP1 package on one of the domain controllers in the lab environment.</p>
<p>3. There are two main scripts needed to create the OU and GPO structure in the lab, one for export and the other to import. These scripts are located in the C:\Program Files\GPMC\Scripts directory after installing GPMC.</p>
<p><b>NOTE: <em>Regarding the steps that follow</em>,&nbsp;GPMC only needs to be installed if you are using Windows 2003 servers. It is available within the OS (Add Features) if you are running 2008 and later. <i>However,</i> the <i>scripts</i> are only included with the version for 2003 as referenced in the link above. If you are using 2008 and later, you&rsquo;ll need at least one 2003 or XP machine on which to install GPMC. For the source (production), you need to INSTALL the GPMC package - don't just copy the scripts over to an existing machine. Otherwise you will get an "Automation server can't create object" error. For the target (lab), you can just copy the scripts over. </b></p>
<p>4. Create a folder to accept the files, such as c:\temp\labinfo on the source machine (production side) and also in the lab (target side).</p>
<p>5. From the C:\Program Files\GPMC\Scripts directory on the production side (source), open a command prompt and run the following command which will create an xml and back up all GPO&rsquo;s:</p>
<p><b>cscript createxmlfromenvironment.wsf c:\temp\labinfo\production.xml /TemplatePath:C:\temp\labinfo /IncludeAllGroups /IncludeUsers &gt;c:\temp\labinfo\labinfo.log</b></p>
<p><b>Note: the above command should be all on one line</b></p>
<p>(This will store the xml file and the GPO backups in the labinfo folder)</p>
<p>7. Next, copy the contents of the labinfo folder over to the domain controller in the lab (target), in the same location c:\temp\labinfo.</p>
<p>8. From within the labinfo folder on the lab domain controller (target machine), copy all of the gpo backup folders (all of them have GUIDs for names) to the</p>
<p>c:\program files\gpmc\scripts directory on the same lab domain controller:</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/73/90/metablogapi/2275.clip_image0014_5137E445.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-73-90-metablogapi/2275.clip_5F00_image0014_5F00_5137E445.jpg"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="clip_image001[4]" border="0" alt="clip_image001[4]" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/73/90/metablogapi/7450.clip_image0014_thumb_4FF34B66.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-73-90-metablogapi/7450.clip_5F00_image0014_5F00_thumb_5F00_4FF34B66.jpg" width="600" height="329" /></a></p>
<p><b>9. </b><b>Optional, but highly recommended &ndash; take a snapshot of the DC&rsquo;s in the lab (using Hyper-V) in case something goes wrong, and you want to roll back. </b><b>Note that you should <span style="text-decoration: underline;">never</span> use snapshots to backup production DCs that are virtualized, due to risks such as USN rollback. For labs though, it serves as a convenient way to test changes while allowing you to roll back. If you do need to roll back the state of a lab that contains domain controllers, you need to <i>roll the whole lab back</i> to the same point in time. Otherwise, you risk USN rollback, broken secure channels, and other problems. In short, select all the virtual machines, create a snapshot at the same time, and if you need to roll them back, apply the old snapshot to all of them before starting them back up.</b></p>
<p>10. Open a command prompt and run the following command <b>from within the c:\program files\gpmc\scripts directory</b> on the lab domain controller (target side) to import and create the environment in the lab:</p>
<p><b>cscript createenvironmentfromxml.wsf /xml:c:\temp\labinfo\production.xml </b></p>
<p><b>/CreateUsersEnabled /PasswordForUsers:P@ssw0rd /ImportDefaultGpos</b></p>
<p><b>Note: the above command should be all on one line</b></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/73/90/metablogapi/8524.clip_image0061_4B67846B.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-73-90-metablogapi/8524.clip_5F00_image0061_5F00_4B67846B.jpg"><b></b></a><b><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/73/90/metablogapi/1205.clip_image0024_6816B5C1.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-73-90-metablogapi/1205.clip_5F00_image0024_5F00_6816B5C1.jpg"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="clip_image002[4]" border="0" alt="clip_image002[4]" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/73/90/metablogapi/5808.clip_image0024_thumb_152BA290.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-73-90-metablogapi/5808.clip_5F00_image0024_5F00_thumb_5F00_152BA290.jpg" width="593" height="296" /></a></b></p>
<p>11. After the script is finished, check the verbose output for errors. Verify that all OU&rsquo;s, user accounts, group policies and GPO permissions have been imported.</p>
<p><b>Additional Screen Shots</b></p>
<p>Production ADUC:</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/73/90/metablogapi/8055.clip_image0034_42408F5E.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-73-90-metablogapi/8055.clip_5F00_image0034_5F00_42408F5E.jpg"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="clip_image003[4]" border="0" alt="clip_image003[4]" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/73/90/metablogapi/0216.clip_image0034_thumb_5A63F9B9.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-73-90-metablogapi/0216.clip_5F00_image0034_5F00_thumb_5F00_5A63F9B9.jpg" width="582" height="356" /></a></p>
<p>Production GPMC:</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/73/90/metablogapi/4810.clip_image0044_12A270D2.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-73-90-metablogapi/4810.clip_5F00_image0044_5F00_12A270D2.jpg"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="clip_image004[4]" border="0" alt="clip_image004[4]" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/73/90/metablogapi/5700.clip_image0044_thumb_11CA0AE8.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-73-90-metablogapi/5700.clip_5F00_image0044_5F00_thumb_5F00_11CA0AE8.jpg" width="588" height="415" /></a></p>
<p>Lab ADUC Before Import:</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/73/90/metablogapi/0216.clip_image0054_3EDEF7B6.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-73-90-metablogapi/0216.clip_5F00_image0054_5F00_3EDEF7B6.jpg"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="clip_image005[4]" border="0" alt="clip_image005[4]" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/73/90/metablogapi/5481.clip_image0054_thumb_08FA029C.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-73-90-metablogapi/5481.clip_5F00_image0054_5F00_thumb_5F00_08FA029C.jpg" width="589" height="414" /></a></p>
<p>Lab ADUC after Running Script:</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/73/90/metablogapi/7446.clip_image0064_0102603A.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-73-90-metablogapi/7446.clip_5F00_image0064_5F00_0102603A.jpg"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="clip_image006[4]" border="0" alt="clip_image006[4]" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/73/90/metablogapi/5074.clip_image0064_thumb_5C049FC0.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-73-90-metablogapi/5074.clip_5F00_image0064_5F00_thumb_5F00_5C049FC0.jpg" width="592" height="352" /></a></p>
<p>Lab GPMC after Running Script:</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/73/90/metablogapi/6064.clip_image0074_7B474693.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-73-90-metablogapi/6064.clip_5F00_image0074_5F00_7B474693.jpg"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="clip_image007[4]" border="0" alt="clip_image007[4]" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/73/90/metablogapi/1667.clip_image0074_thumb_7A6EE0A9.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-73-90-metablogapi/1667.clip_5F00_image0074_5F00_thumb_5F00_7A6EE0A9.jpg" width="590" height="417" /></a></p>
<p>OU with explicit ACL&rsquo;s in Production:</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/73/90/metablogapi/0675.clip_image0084_12924B05.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-73-90-metablogapi/0675.clip_5F00_image0084_5F00_12924B05.jpg"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="clip_image008[4]" border="0" alt="clip_image008[4]" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/73/90/metablogapi/1665.clip_image0084_thumb_11B9E51B.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-73-90-metablogapi/1665.clip_5F00_image0084_5F00_thumb_5F00_11B9E51B.jpg" width="345" height="390" /></a></p>
<p>OU with Explicit ACL&rsquo;s in Lab after Running Script:</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/73/90/metablogapi/4401.clip_image0094_10E17F31.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-73-90-metablogapi/4401.clip_5F00_image0094_5F00_10E17F31.jpg"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="clip_image009[4]" border="0" alt="clip_image009[4]" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/73/90/metablogapi/8105.clip_image0094_thumb_7B1796D3.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-73-90-metablogapi/8105.clip_5F00_image0094_5F00_thumb_5F00_7B1796D3.jpg" width="339" height="375" /></a></p>
<p><b>Limitations</b></p>
<p><b>1. Customized ACL&rsquo;s on OU&rsquo;s will not import completely due to an API limitation with GPMC. If there are numerous OU&rsquo;s in the production environment that are using customized permissions, those permissions must be reassigned manually or through the use of additional scripts.</b></p>
<p><b>2. User accounts must be located in OU&rsquo;s on the production side in order to be brought over by the script. The script will not export/import user accounts from the default Users container in the Production environment. If user accounts exist in the default Users container, you may want to move them to an OU before the Export, so that the script will be able to pick them up.</b></p>]]></content:encoded>
    </item>
    <item>
      <title>How to reset offline files on a Windows client</title>
      <link>https://docs.microsoft.com/archive/blogs/jratsch/how-to-reset-offline-files-on-a-windows-client</link>
      <pubDate>Wed, 24 Mar 2010 13:38:00 GMT</pubDate>
      <dc:creator><![CDATA[Jim Ratsch]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/jratsch/2010/03/24/how-to-reset-offline-files-on-a-windows-client/</guid>
      <description><![CDATA[Sometimes when using Offline Files, you can run into problems where synchronization fails. If you...]]></description>
      <content:encoded><![CDATA[<p>Sometimes when using Offline Files, you can run into problems where synchronization fails. If you are getting a bunch of errors in Sync Center, you can try different steps to straighten them out.</p>
<p>You can try to turn off the Offline Files, delete temporary files, delete offline copies, etc. but sometimes it is easier just to reset the CSC database. If you do this, the result will be as if you had never enabled Offline Files on the client. Then, all you need to do is go back and reselect the folders and files you want to synchronize.</p>
<p>Keep in mind, however, that if you use this command all local copies of the files and folders will be gone (the server side files and folders remain). So, if your latest versions are on the client, you may not want to do this. If, however, you are confident that the server side versions are sufficient, then you can do the following to start fresh with Offline Files on your Windows client.</p>
<p>Run this command from an <strong>elevated</strong>&nbsp;command prompt:</p>
<p><strong>REG ADD "HKLM\System\CurrentControlSet\Services\CSC\Parameters" /v FormatDatabase /t REG_DWORD /d 1 /f</strong></p>
<p>After running the above command, reboot the client. You can now start fresh with Offline Files on the client machine.</p>]]></content:encoded>
    </item>
    <item>
      <title>How to change the password for the local administrator account on multiple machines (the easy way without scripting)</title>
      <link>https://docs.microsoft.com/archive/blogs/jratsch/how-to-change-the-password-for-the-local-administrator-account-on-multiple-machines-the-easy-way-without-scripting</link>
      <pubDate>Fri, 27 Mar 2009 18:10:58 GMT</pubDate>
      <dc:creator><![CDATA[Jim Ratsch]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/jratsch/2009/03/27/how-to-change-the-password-for-the-local-administrator-account-on-multiple-machines-the-easy-way-without-scripting/</guid>
      <description><![CDATA[Update: *** WARNING *** These procedures are no longer recommended for any production environment,...]]></description>
      <content:encoded><![CDATA[<p></p>
<p><span style="background-color:#ffff00;"><strong><span style="font-size:medium;">Update: *** WARNING *** These procedures are no longer recommended for any production environment, <em>even temporarily</em> for changing local passwords. At the time of the writing of this article, temporary use of this feature and subsequent deletion of the GPO was a common practice. However, in consideration of heightened security concerns around protecting elevated credentials (even local), this procedure is NOT RECOMMENDED, even temporarily. I left the article in place for historical reference, and I will add some alternative possibilities as another update to this article soon.</span></strong></span></p>
<p></p>
<p>With the stricter security requirements that many of my customers have been facing lately, the question about how to change the local administrator password on 10&rsquo;s, 100&rsquo;s, or even 1000&rsquo;s of windows machines has come up several times recently. With the introduction of Group Policy Preferences, this has become a very easy task. Here are some instructions on how to accomplish this with a minimum amount of work on the part of the administrator.</p>
<p><b>NOTES: These procedures involve making changes to group policies. Thorough testing should always be performed in a lab environment prior to making any changes to group policy in a production environment. Also, GPP&rsquo;s are not supported in Windows 2000, so these procedures are only useful on XP SP2 and later operating systems.</b></p>
<p>&nbsp;</p>
<p>1. Ensure that the managed clients have the update installed to support group policy preferences. These updates are on Windows Update and can also be found here: <a href="https://support.microsoft.com/?kbid=943729">https://support.microsoft.com/?kbid=943729</a></p>
<p>2. On either a Windows Server 2008 server, or on a Vista <b>SP1</b> client, enable the RSAT (Remote Server Administration) tools. On Vista SP1, they must be installed first, whereas on Server 2008 they only need to be enabled. After installing, enable them by using the Turn On Features option in the Programs and Features applet in the control panel. The RSAT tools can be downloaded here: <a href="https://support.microsoft.com/?kbid=941314">https://support.microsoft.com/?kbid=941314</a>&nbsp; <b>Note that <i>just installing the update will not add anything to the Administrative Tools menu</i>. You must also <em>turn the feature on</em></b>:</p>
<p><b><a href="/blogfiles/jratsch/WindowsLiveWriter/Howtochangethepasswordforthelocaladminis_FDE9/clip_image002_2.jpg"><img width="560" height="420" title="clip_image002" style="display:inline;border-width:0px;" alt="clip_image002" src="/blogfiles/jratsch/WindowsLiveWriter/Howtochangethepasswordforthelocaladminis_FDE9/clip_image002_thumb.jpg" border="0" /></a></b></p>
<p><strong>Tip: In most open windows in Vista and later operating systems, there is a search box in the upper right hand corner. If you&rsquo;re not sure how or where to configure a setting, type in a keyword in the search box. In Control Panel, for example, type in something like &ldquo;screensaver&rdquo; (without the quotes). You will instantly see relevant settings displayed to help you modify your screensaver. You can save yourself tons of time when looking for features and settings by using this handy search capability.</strong></p>
<p>3. Using the GPMC tool on either Windows Server 2008 or on the Vista SP1 machine with RSAT, note the new Preferences section when editing a group policy:</p>
<p><b><a href="/blogfiles/jratsch/WindowsLiveWriter/Howtochangethepasswordforthelocaladminis_FDE9/clip_image004_2.jpg"><img width="567" height="197" title="clip_image004" style="display:inline;border-width:0px;" alt="clip_image004" src="/blogfiles/jratsch/WindowsLiveWriter/Howtochangethepasswordforthelocaladminis_FDE9/clip_image004_thumb.jpg" border="0" /></a></b></p>
<p>4. Under Computer Configuration, expand Preferences, Control Panel Settings, and then right-click on Local Users and Groups. Choose New, Local User:</p>
<p><b><a href="/blogfiles/jratsch/WindowsLiveWriter/Howtochangethepasswordforthelocaladminis_FDE9/clip_image006_2.jpg"><img width="468" height="400" title="clip_image006" style="display:inline;border-width:0px;" alt="clip_image006" src="/blogfiles/jratsch/WindowsLiveWriter/Howtochangethepasswordforthelocaladminis_FDE9/clip_image006_thumb.jpg" border="0" /></a></b></p>
<p>5. Leave the Action drop-down set to Update. From the drop down box for User Name, select Administrator (built-in). Type in a password to reset the password for this account. NOTE: You MUST type in a new password for this step to work. If you do not, the changes will not be made. Optional: UNCHECK the box for Password Never Expires. The end result of these settings will be to have an expiring local password for the built-in admin account, and for the password to be changed to the new value.</p>
<p>You can also use this section to perform other changes, such as renaming the Administrator account or modifying other local accounts.</p>
<p><b><a href="/blogfiles/jratsch/WindowsLiveWriter/Howtochangethepasswordforthelocaladminis_FDE9/clip_image008_2.jpg"><img width="404" height="451" title="clip_image008" style="display:inline;border-width:0px;" alt="clip_image008" src="/blogfiles/jratsch/WindowsLiveWriter/Howtochangethepasswordforthelocaladminis_FDE9/clip_image008_thumb.jpg" border="0" /></a></b></p>
<p>6. Note the additional settings available via the Common tab:</p>
<p><b><a href="/blogfiles/jratsch/WindowsLiveWriter/Howtochangethepasswordforthelocaladminis_FDE9/clip_image010_2.jpg"><img width="408" height="451" title="clip_image010" style="display:inline;border-width:0px;" alt="clip_image010" src="/blogfiles/jratsch/WindowsLiveWriter/Howtochangethepasswordforthelocaladminis_FDE9/clip_image010_thumb.jpg" border="0" /></a></b></p>
<p></p>
<p>There is also a good whitepaper on this topic located <a href="https://www.microsoft.com/downloads/details.aspx?FamilyID=42e30e3f-6f01-4610-9d6e-f6e0fb7a0790&amp;displaylang=en">here</a>. This whitepaper covers GPP&rsquo;s in more detail, along with their many capabilities.</p>
<p><strong>NOTE: When using Group Policy Preferences, keep in mind that the stored password is obfuscated. From a security standpoint, it would be best to use this procedure to change the password using a separate group policy. Then, once finished, delete the group policy so that the stored password (although obfuscated) is also deleted.</strong></p>]]></content:encoded>
    </item>
  </channel>
</rss>