<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Windows-Server on oasysadmin</title>
    <link>https://oasysadmin.com/tags/windows-server/</link>
    <description>Recent content in Windows-Server on oasysadmin</description>
    <generator>Hugo</generator>
    <language>en-gb</language>
    <lastBuildDate>Wed, 03 Feb 2016 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://oasysadmin.com/tags/windows-server/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Find out if an update, hotfix or KB is installed with PowerShell</title>
      <link>https://oasysadmin.com/blog/find-out-if-an-update-hotfix-or-kb-is-installed-on-a-windows-server-using-powershell/</link>
      <pubDate>Wed, 03 Feb 2016 00:00:00 +0000</pubDate>
      <guid>https://oasysadmin.com/blog/find-out-if-an-update-hotfix-or-kb-is-installed-on-a-windows-server-using-powershell/</guid>
      <description>&lt;blockquote&gt;&#xA;&lt;p&gt;&lt;strong&gt;Updated November 2026.&lt;/strong&gt; &lt;code&gt;Get-HotFix&lt;/code&gt; still does the job. I&amp;rsquo;ve added checking several servers at once, its limitations, and a short tip from a separate old post on finding the PowerShell version.&lt;/p&gt;&lt;/blockquote&gt;&#xA;&lt;h2 id=&#34;one-machine&#34;&gt;One machine&lt;/h2&gt;&#xA;&lt;pre&gt;&lt;code class=&#34;language-powershell&#34;&gt;Get-HotFix -Id KB5048667&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;If it&amp;rsquo;s installed, you&amp;rsquo;ll see the KB, its description and install date. If not, you&amp;rsquo;ll get an error saying it can&amp;rsquo;t be found.&lt;/p&gt;&#xA;&lt;h2 id=&#34;several-servers-at-once&#34;&gt;Several servers at once&lt;/h2&gt;&#xA;&lt;pre&gt;&lt;code class=&#34;language-powershell&#34;&gt;$servers = &amp;quot;SRV01&amp;quot;, &amp;quot;SRV02&amp;quot;, &amp;quot;SRV03&amp;quot;&#xA;foreach ($s in $servers) {&#xA;    [pscustomobject]@{&#xA;        Server    = $s&#xA;        Installed = [bool](Get-HotFix -Id KB5048667 -ComputerName $s -ErrorAction SilentlyContinue)&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;h2 id=&#34;latest-updates-installed&#34;&gt;Latest updates installed&lt;/h2&gt;&#xA;&lt;pre&gt;&lt;code class=&#34;language-powershell&#34;&gt;Get-HotFix | Sort-Object InstalledOn -Descending | Select-Object -First 10&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;h2 id=&#34;limitations&#34;&gt;Limitations&lt;/h2&gt;&#xA;&lt;p&gt;&lt;code&gt;Get-HotFix&lt;/code&gt; reads &lt;code&gt;Win32_QuickFixEngineering&lt;/code&gt;, which lists Windows component updates. It doesn&amp;rsquo;t show everything: Defender definition updates, Microsoft Store apps and some .NET or Office updates don&amp;rsquo;t appear. For those, check &lt;strong&gt;Settings → Windows Update → Update history&lt;/strong&gt;, or your patch management tool (WSUS, Intune, Azure Update Manager).&lt;/p&gt;</description>
    </item>
    <item>
      <title>Windows Server Backup: &#34;There is not enough space on the disk&#34;</title>
      <link>https://oasysadmin.com/blog/windows-backup-encountered-an-error-there-is-not-enough-space-on-the-disk/</link>
      <pubDate>Mon, 01 Feb 2016 00:00:00 +0000</pubDate>
      <guid>https://oasysadmin.com/blog/windows-backup-encountered-an-error-there-is-not-enough-space-on-the-disk/</guid>
      <description>&lt;blockquote&gt;&#xA;&lt;p&gt;&lt;strong&gt;Updated November 2026.&lt;/strong&gt; Still applies to Windows Server Backup on current Windows Server versions. I&amp;rsquo;ve added how to check what&amp;rsquo;s on the disk first, and the system state equivalent.&lt;/p&gt;&lt;/blockquote&gt;&#xA;&lt;h2 id=&#34;the-problem&#34;&gt;The problem&lt;/h2&gt;&#xA;&lt;p&gt;Windows Server Backup is supposed to manage its own disk space, deleting the oldest backups when the target fills up. Usually it does, but I found a server that had quietly stopped backing up, with this error:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;Windows Backup encountered an error while writing to the backup target. Detailed Error: There is not enough space on the disk.&lt;/p&gt;</description>
    </item>
    <item>
      <title>DFSR not replicating certain files (the temporary attribute)</title>
      <link>https://oasysadmin.com/blog/frs-or-dfsr-not-replicating-certain-files/</link>
      <pubDate>Mon, 05 Mar 2012 00:00:00 +0000</pubDate>
      <guid>https://oasysadmin.com/blog/frs-or-dfsr-not-replicating-certain-files/</guid>
      <description>&lt;blockquote&gt;&#xA;&lt;p&gt;&lt;strong&gt;Updated November 2026.&lt;/strong&gt; The original issue was with FRS, which is long deprecated: newer Windows Server versions can&amp;rsquo;t use it for SYSVOL, so domains should have migrated to DFSR. The same behaviour applies to DFSR, so the fix is unchanged.&lt;/p&gt;&lt;/blockquote&gt;&#xA;&lt;h2 id=&#34;the-problem&#34;&gt;The problem&lt;/h2&gt;&#xA;&lt;p&gt;I added a JPEG to the SYSVOL share for a Group Policy Preferences file copy. A week later, clients still weren&amp;rsquo;t getting it. The file was only on the domain controller I&amp;rsquo;d copied it to; the replication logs showed no errors, and a test text file replicated straight away.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Force reboot of a remote server that has hung shutting down</title>
      <link>https://oasysadmin.com/blog/force-reboot-of-a-remote-server-that-has-hung-shutting-down/</link>
      <pubDate>Fri, 02 Mar 2012 00:00:00 +0000</pubDate>
      <guid>https://oasysadmin.com/blog/force-reboot-of-a-remote-server-that-has-hung-shutting-down/</guid>
      <description>&lt;blockquote&gt;&#xA;&lt;p&gt;&lt;strong&gt;Updated November 2026.&lt;/strong&gt; I first wrote this in 2012 about a Windows Server 2008 R2 box. The story still stands, but I&amp;rsquo;ve added the approach I&amp;rsquo;d take today.&lt;/p&gt;&lt;/blockquote&gt;&#xA;&lt;h2 id=&#34;the-problem&#34;&gt;The problem&lt;/h2&gt;&#xA;&lt;p&gt;I was patching a remote server late one night when it hung while shutting down. I could still ping it and reach its file shares, but RDP was gone. I was facing a long drive the next day just to press a reset button, so I looked for a way to force a reboot remotely first.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Back up a Certificate Authority</title>
      <link>https://oasysadmin.com/blog/back-up-a-certificate-authority-in-windows-server-2008/</link>
      <pubDate>Thu, 09 Feb 2012 00:00:00 +0000</pubDate>
      <guid>https://oasysadmin.com/blog/back-up-a-certificate-authority-in-windows-server-2008/</guid>
      <description>&lt;blockquote&gt;&#xA;&lt;p&gt;&lt;strong&gt;Updated November 2026.&lt;/strong&gt; Originally written for Windows Server 2008. The tools still work on current versions; I&amp;rsquo;ve added the PowerShell method and the parts a CA backup usually misses.&lt;/p&gt;&lt;/blockquote&gt;&#xA;&lt;p&gt;A certificate authority backup has to include the CA&amp;rsquo;s &lt;strong&gt;private key&lt;/strong&gt;. Treat the backup files like the keys to your network: anyone holding them can issue certificates your organisation trusts.&lt;/p&gt;&#xA;&lt;h2 id=&#34;method-1-certutil&#34;&gt;Method 1: certutil&lt;/h2&gt;&#xA;&lt;p&gt;From an elevated command prompt on the CA:&lt;/p&gt;</description>
    </item>
    <item>
      <title>Force the KCC (Knowledge Consistency Checker) to run on a domain controller</title>
      <link>https://oasysadmin.com/blog/force-kcc-knowledge-consistency-checker-to-run-on-a-domain-controller/</link>
      <pubDate>Thu, 05 Jan 2012 00:00:00 +0000</pubDate>
      <guid>https://oasysadmin.com/blog/force-kcc-knowledge-consistency-checker-to-run-on-a-domain-controller/</guid>
      <description>&lt;blockquote&gt;&#xA;&lt;p&gt;&lt;strong&gt;Updated November 2026.&lt;/strong&gt; Originally written for Windows Server 2008. The commands are unchanged on current Windows Server versions, and I&amp;rsquo;ve added a few extras.&lt;/p&gt;&lt;/blockquote&gt;&#xA;&lt;h2 id=&#34;the-problem&#34;&gt;The problem&lt;/h2&gt;&#xA;&lt;p&gt;After demoting domain controllers, you can be left with stale NTDS connection objects in Active Directory. In my case, a DC at our central site still had a connection object pointing at a remote-site DC that had just been demoted. It needed to point at the new DC at that site instead.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Move a file share to a new server with Robocopy</title>
      <link>https://oasysadmin.com/blog/move-file-share-a-new-server-using-robocopy/</link>
      <pubDate>Mon, 26 Sep 2011 00:00:00 +0000</pubDate>
      <guid>https://oasysadmin.com/blog/move-file-share-a-new-server-using-robocopy/</guid>
      <description>&lt;blockquote&gt;&#xA;&lt;p&gt;&lt;strong&gt;Updated November 2026.&lt;/strong&gt; Robocopy is now built into Windows (it used to need the Resource Kit). I&amp;rsquo;ve updated the command with the switches I&amp;rsquo;d use today, and mentioned the alternatives.&lt;/p&gt;&lt;/blockquote&gt;&#xA;&lt;p&gt;Robocopy is still one of the best ways to move a file share. Compared with a normal copy, it can:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;copy NTFS permissions, owners and auditing settings&lt;/li&gt;&#xA;&lt;li&gt;skip files that haven&amp;rsquo;t changed, so repeat runs are fast&lt;/li&gt;&#xA;&lt;li&gt;retry, log and run multi-threaded&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;1-prepare-the-new-share&#34;&gt;1. Prepare the new share&lt;/h2&gt;&#xA;&lt;p&gt;Create the folder and share on the new server, with share permissions matching the old one. NTFS permissions come across with the copy.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Event 12 Time-Service and the PDC Emulator role</title>
      <link>https://oasysadmin.com/blog/event-12-time-service-and-the-pdc-emulator-role/</link>
      <pubDate>Thu, 22 Sep 2011 00:00:00 +0000</pubDate>
      <guid>https://oasysadmin.com/blog/event-12-time-service-and-the-pdc-emulator-role/</guid>
      <description>&lt;blockquote&gt;&#xA;&lt;p&gt;&lt;strong&gt;Updated November 2026.&lt;/strong&gt; The fix is unchanged on current Windows Server versions. I&amp;rsquo;ve corrected the NTP pool address, switched to PowerShell where it&amp;rsquo;s simpler, and added a note on virtualised domain controllers.&lt;/p&gt;&lt;/blockquote&gt;&#xA;&lt;h2 id=&#34;the-problem&#34;&gt;The problem&lt;/h2&gt;&#xA;&lt;p&gt;After moving the PDC Emulator FSMO role to a new domain controller, you&amp;rsquo;ll see this in the System event log:&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Event ID 12, Source: Time-Service&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;Time Provider NtpClient: This machine is configured to use the domain hierarchy to determine its time source, but it is the AD PDC emulator for the domain at the root of the forest, so there is no machine above it in the domain hierarchy to use as a time source.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
