<?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>windows server | KC's Blog</title>
	<atom:link href="https://www.kjctech.net/tag/windows-server/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.kjctech.net</link>
	<description></description>
	<lastBuildDate>Wed, 05 Jun 2024 05:00:44 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	

<image>
	<url>https://i0.wp.com/www.kjctech.net/wp-content/uploads/2016/12/cropped-KC-Logo.png?fit=32%2C32&#038;ssl=1</url>
	<title>windows server | KC's Blog</title>
	<link>https://www.kjctech.net</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">24634607</site>	<item>
		<title>Adding Multiple Server Names to A Windows Server</title>
		<link>https://www.kjctech.net/adding-multiple-server-names-to-a-windows-server/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=adding-multiple-server-names-to-a-windows-server</link>
					<comments>https://www.kjctech.net/adding-multiple-server-names-to-a-windows-server/#respond</comments>
		
		<dc:creator><![CDATA[Kent Chen]]></dc:creator>
		<pubDate>Wed, 05 Jun 2024 05:00:41 +0000</pubDate>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[windows server]]></category>
		<guid isPermaLink="false">https://www.kjctech.net/?p=5183</guid>

					<description><![CDATA[<p>When it comes to moving data between different servers, being able to assign a second server name to the same server could be very useful. It&#8217;s not only possible but fairly easy to do as well. Adding alternate DNS name to a Server If DNS name resolution is the only thing you need, you can either manually add an A [&#8230;]</p>
The post <a href="https://www.kjctech.net/adding-multiple-server-names-to-a-windows-server/">Adding Multiple Server Names to A Windows Server</a> first appeared on <a href="https://www.kjctech.net">KC's Blog</a>.]]></description>
										<content:encoded><![CDATA[<p>When it comes to moving data between different servers, being able to assign a second server name to the same server could be very useful. It&#8217;s not only possible but fairly easy to do as well.</p>



<h3 class="wp-block-heading">Adding alternate DNS name to a Server</h3>



<p>If DNS name resolution is the only thing you need, you can either manually add an A record in the DNS server to point the old server name to the same IP address of the new server or add a REG_Multi_SZ registry key to the following location:</p>



<pre class="wp-block-preformatted">HKLM\System\CurrentControlSet\Services\DNSCache\Parameters\AlternateComputerNames</pre>



<p>One FQDN per line and run <em><strong>ipconfig /registerdns</strong></em> for the change to take place.</p>



<h3 class="wp-block-heading">Adding alternate NetBIOS name to a Server</h3>



<p>Add a REG_Multi_SZ registry key to the following location:</p>



<pre class="wp-block-preformatted">HKLM\System\CurrentControlSet\Services\LanManServer\Parameters\OptionalNames</pre>



<p>One NetBIOS name per line and restart the server once done.</p>



<p>If you are adding an additional NetBIOS name to the same server, you most likely will need to access a shared network resource through that name. If that&#8217;s the case, you might need one more step to run the following command in an elevated Command Prompt to allow NTLM authentication for the new alias.</p>



<pre class="wp-block-preformatted">setspn -A host/host_servername alias_name</pre>



<p>Just in case, if you encounter an error saying that the Target account name is incorrect when trying to access a shared file server after adding the name, you may need to use the <strong><em>setspn</em></strong> command line to check and remove the old NetBIOS name from another server.</p>



<h3 class="wp-block-heading">A few resources</h3>



<ul class="wp-block-list">
<li><a href="http://dimitri.janczak.net/2016/09/26/multiple-server-names-on-windows/" target="_blank" rel="noopener" title="">Multiple server names on Windows</a></li>



<li><a href="https://4sysops.com/archives/disable-strict-name-checking-with-powershell/" target="_blank" rel="noopener" title="">Disable Strict Name Checking</a></li>



<li><a href="https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2012-r2-and-2012/cc731241(v=ws.11)#adding-spns" target="_blank" rel="noopener" title="">Setspn command</a></li>
</ul>The post <a href="https://www.kjctech.net/adding-multiple-server-names-to-a-windows-server/">Adding Multiple Server Names to A Windows Server</a> first appeared on <a href="https://www.kjctech.net">KC's Blog</a>.]]></content:encoded>
					
					<wfw:commentRss>https://www.kjctech.net/adding-multiple-server-names-to-a-windows-server/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">5183</post-id>	</item>
		<item>
		<title>How To Create a RAM DISK in Windows Server</title>
		<link>https://www.kjctech.net/how-to-create-a-ram-disk-in-windows-server/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-create-a-ram-disk-in-windows-server</link>
					<comments>https://www.kjctech.net/how-to-create-a-ram-disk-in-windows-server/#comments</comments>
		
		<dc:creator><![CDATA[Kent Chen]]></dc:creator>
		<pubDate>Tue, 29 Aug 2017 00:15:40 +0000</pubDate>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[iSCSI]]></category>
		<category><![CDATA[RAMDisk]]></category>
		<category><![CDATA[windows server]]></category>
		<guid isPermaLink="false">https://www.kjctech.net/?p=3613</guid>

					<description><![CDATA[<p>I love RAM DISK and have been using it for quite some time on my Windows 10. But I didn&#8217;t know that I can set it up as well on Windows Server, thanks to Mounia Rachidi for sharing. Would definitely try some day. Here is a step-by-step Walkthrough: Add iSCSI Target Server role on Windows Server. Adjust the firewall rules [&#8230;]</p>
The post <a href="https://www.kjctech.net/how-to-create-a-ram-disk-in-windows-server/">How To Create a RAM DISK in Windows Server</a> first appeared on <a href="https://www.kjctech.net">KC's Blog</a>.]]></description>
										<content:encoded><![CDATA[<p>I love <a href="https://www.nextofwindows.com/speeding-up-your-windows-with-a-ram-disk" target="_blank" rel="noopener">RAM DISK</a> and have been using it for quite some time on my Windows 10. But I didn&#8217;t know that I can set it up as well on Windows Server, thanks to Mounia Rachidi for <a href="https://blogs.technet.microsoft.com/windowsinternals/2017/08/25/how-to-create-a-ram-disk-in-windows-server/" target="_blank" rel="noopener">sharing</a>. Would definitely try some day.</p>
<p><a href="https://i0.wp.com/www.kjctech.net/wp-content/uploads/2017/08/RAM-Splash.png?ssl=1" data-rel="lightbox-image-0" data-rl_title="" data-rl_caption="" title=""><img data-recalc-dims="1" fetchpriority="high" decoding="async" class="alignnone size-large wp-image-3616" src="https://i0.wp.com/www.kjctech.net/wp-content/uploads/2017/08/RAM-Splash.png?resize=600%2C253&#038;ssl=1" alt="RAM Splash" width="600" height="253" srcset="https://i0.wp.com/www.kjctech.net/wp-content/uploads/2017/08/RAM-Splash.png?resize=600%2C253&amp;ssl=1 600w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2017/08/RAM-Splash.png?resize=250%2C105&amp;ssl=1 250w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2017/08/RAM-Splash.png?resize=450%2C190&amp;ssl=1 450w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2017/08/RAM-Splash.png?resize=768%2C323&amp;ssl=1 768w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2017/08/RAM-Splash.png?resize=700%2C295&amp;ssl=1 700w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2017/08/RAM-Splash.png?resize=520%2C219&amp;ssl=1 520w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2017/08/RAM-Splash.png?resize=360%2C152&amp;ssl=1 360w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2017/08/RAM-Splash.png?resize=100%2C42&amp;ssl=1 100w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2017/08/RAM-Splash.png?w=990&amp;ssl=1 990w" sizes="(max-width: 600px) 100vw, 600px" /></a></p>
<h2>Here is a step-by-step Walkthrough:</h2>
<ol>
<li>Add <strong>iSCSI Target Server</strong> role on Windows Server.</li>
<li>Adjust the firewall rules to allow <strong>iSCSI service</strong> to go through.</li>
<li>Add a registry value <strong>AllowLoopBack = 1</strong> to <strong>HKLM\Software\Microsoft\iSCSI Target </strong>to make sure the iSCSI Target allows the LoopBack mode</li>
<li>Create a virtual disk as a RAMDisk
<ol>
<li><code>New-IscsiVirtualDisk -Path "ramdisk:testRAM.vhdx" -Size 1GB</code></li>
</ol>
</li>
<li>Create a target iSCSI
<ol>
<li><code>New-IscsiServerTarget -TargetName targetRAM -InitiatorIds @("IPAddress:X.X.X.")</code></li>
</ol>
</li>
<li>Launch the iSCSI Initiator for the Server Manager console.</li>
<li>Connect to the iSCSI target created in Step 5.</li>
</ol>
<p>
<a href='https://i0.wp.com/www.kjctech.net/wp-content/uploads/2017/08/Windows-Server-add-iSCSI-Target-Server.png?fit=800%2C567&ssl=1' title="" data-rl_title="" class="rl-gallery-link" data-rl_caption="" data-rel="lightbox-gallery-1"><img decoding="async" width="250" height="177" src="https://i0.wp.com/www.kjctech.net/wp-content/uploads/2017/08/Windows-Server-add-iSCSI-Target-Server.png?resize=250%2C177&amp;ssl=1" class="attachment-thumbnail size-thumbnail" alt="Windows Server - add iSCSI Target Server" srcset="https://i0.wp.com/www.kjctech.net/wp-content/uploads/2017/08/Windows-Server-add-iSCSI-Target-Server.png?w=800&amp;ssl=1 800w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2017/08/Windows-Server-add-iSCSI-Target-Server.png?resize=250%2C177&amp;ssl=1 250w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2017/08/Windows-Server-add-iSCSI-Target-Server.png?resize=450%2C319&amp;ssl=1 450w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2017/08/Windows-Server-add-iSCSI-Target-Server.png?resize=768%2C544&amp;ssl=1 768w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2017/08/Windows-Server-add-iSCSI-Target-Server.png?resize=600%2C425&amp;ssl=1 600w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2017/08/Windows-Server-add-iSCSI-Target-Server.png?resize=700%2C496&amp;ssl=1 700w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2017/08/Windows-Server-add-iSCSI-Target-Server.png?resize=520%2C369&amp;ssl=1 520w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2017/08/Windows-Server-add-iSCSI-Target-Server.png?resize=360%2C255&amp;ssl=1 360w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2017/08/Windows-Server-add-iSCSI-Target-Server.png?resize=100%2C71&amp;ssl=1 100w" sizes="(max-width: 250px) 100vw, 250px" /></a>
<a href='https://i0.wp.com/www.kjctech.net/wp-content/uploads/2017/08/Windows-Server-launch-iSCSI-initiator.png?fit=491%2C336&ssl=1' title="" data-rl_title="" class="rl-gallery-link" data-rl_caption="" data-rel="lightbox-gallery-1"><img decoding="async" width="250" height="171" src="https://i0.wp.com/www.kjctech.net/wp-content/uploads/2017/08/Windows-Server-launch-iSCSI-initiator.png?resize=250%2C171&amp;ssl=1" class="attachment-thumbnail size-thumbnail" alt="Windows Server - launch iSCSI initiator" srcset="https://i0.wp.com/www.kjctech.net/wp-content/uploads/2017/08/Windows-Server-launch-iSCSI-initiator.png?w=491&amp;ssl=1 491w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2017/08/Windows-Server-launch-iSCSI-initiator.png?resize=250%2C171&amp;ssl=1 250w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2017/08/Windows-Server-launch-iSCSI-initiator.png?resize=450%2C308&amp;ssl=1 450w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2017/08/Windows-Server-launch-iSCSI-initiator.png?resize=360%2C246&amp;ssl=1 360w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2017/08/Windows-Server-launch-iSCSI-initiator.png?resize=100%2C68&amp;ssl=1 100w" sizes="(max-width: 250px) 100vw, 250px" /></a>
<a href='https://i0.wp.com/www.kjctech.net/wp-content/uploads/2017/08/082517_1510_Howtocreate1.png?fit=643%2C105&ssl=1' title="" data-rl_title="" class="rl-gallery-link" data-rl_caption="" data-rel="lightbox-gallery-1"><img loading="lazy" decoding="async" width="250" height="41" src="https://i0.wp.com/www.kjctech.net/wp-content/uploads/2017/08/082517_1510_Howtocreate1.png?resize=250%2C41&amp;ssl=1" class="attachment-thumbnail size-thumbnail" alt="" srcset="https://i0.wp.com/www.kjctech.net/wp-content/uploads/2017/08/082517_1510_Howtocreate1.png?w=643&amp;ssl=1 643w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2017/08/082517_1510_Howtocreate1.png?resize=250%2C41&amp;ssl=1 250w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2017/08/082517_1510_Howtocreate1.png?resize=450%2C73&amp;ssl=1 450w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2017/08/082517_1510_Howtocreate1.png?resize=600%2C98&amp;ssl=1 600w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2017/08/082517_1510_Howtocreate1.png?resize=520%2C85&amp;ssl=1 520w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2017/08/082517_1510_Howtocreate1.png?resize=360%2C59&amp;ssl=1 360w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2017/08/082517_1510_Howtocreate1.png?resize=100%2C16&amp;ssl=1 100w" sizes="auto, (max-width: 250px) 100vw, 250px" /></a>
</p>
<p>Sounds like a very interesting idea to set up a RAMDisk through iSCSI target.</p>The post <a href="https://www.kjctech.net/how-to-create-a-ram-disk-in-windows-server/">How To Create a RAM DISK in Windows Server</a> first appeared on <a href="https://www.kjctech.net">KC's Blog</a>.]]></content:encoded>
					
					<wfw:commentRss>https://www.kjctech.net/how-to-create-a-ram-disk-in-windows-server/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">3613</post-id>	</item>
		<item>
		<title>How To Set Multiple Names for One Computer in Windows Server</title>
		<link>https://www.kjctech.net/how-to-set-multiple-names-for-one-computer-in-windows-server/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-set-multiple-names-for-one-computer-in-windows-server</link>
					<comments>https://www.kjctech.net/how-to-set-multiple-names-for-one-computer-in-windows-server/#comments</comments>
		
		<dc:creator><![CDATA[Kent Chen]]></dc:creator>
		<pubDate>Mon, 29 Feb 2016 05:29:07 +0000</pubDate>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[windows server]]></category>
		<guid isPermaLink="false">http://www.kjctech.net/?p=2837</guid>

					<description><![CDATA[<p>I had gone through a project that migrates a file/printer server from Windows Server 2003 to Server 2008 R2. Because we have an application licensed on a specific UNC path I had to keep that same share after the migration. Setting up multiple names on the new server seems to be the easiest way to go. The old file/printer server [&#8230;]</p>
The post <a href="https://www.kjctech.net/how-to-set-multiple-names-for-one-computer-in-windows-server/">How To Set Multiple Names for One Computer in Windows Server</a> first appeared on <a href="https://www.kjctech.net">KC's Blog</a>.]]></description>
										<content:encoded><![CDATA[<p>I had gone through a project that migrates a file/printer server from Windows Server 2003 to Server 2008 R2. Because we have an application licensed on a specific UNC path I had to keep that same share after the migration. Setting up multiple names on the new server seems to be the easiest way to go.</p>
<p>The old file/printer server was also a VM with the data storage on a separate virtual disk so that I can easily detach the disk and attach it to the new server. That&#8217;s the beauty why all servers should be running in a virtual environment.</p>
<p>So here are the steps I took to finish the migration.</p>
<ol>
<li>Install Windows 2008 R2 on a new virtual machine, and have it ready.</li>
<li>Disjoin the old File/Printer from the domain, and shut down the server.</li>
<li>Detach the data storage virtual disk and attach it to the new Server 2008 R2 server.</li>
<li>On the new server, take the new data storage online and create the share with the same share name as the old server.</li>
<li>Add an alternative computer name to the new server.
<ol>
<li><strong><a href="https://technet.microsoft.com/en-us/library/cc772217.aspx" target="_blank" rel="noopener">Netdom ComputerName newserver /ADD oldservername</a></strong></li>
<li>IPConfig /RegisterDNS</li>
</ol>
</li>
</ol>
<p>It&#8217;s important to run IPconfig to register the new computer name to the DNS server.</p>
<p><a href="https://i0.wp.com/www.kjctech.net/wp-content/uploads/2016/02/8168.Names2_.png" rel="attachment wp-att-2838" data-rel="lightbox-image-0" data-rl_title="" data-rl_caption="" title=""><img data-recalc-dims="1" loading="lazy" decoding="async" class="alignnone size-large wp-image-2838" src="https://i0.wp.com/www.kjctech.net/wp-content/uploads/2016/02/8168.Names2_-600x468.png?resize=600%2C468" alt="8168.Names2" width="600" height="468" srcset="https://i0.wp.com/www.kjctech.net/wp-content/uploads/2016/02/8168.Names2_.png?resize=600%2C468&amp;ssl=1 600w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2016/02/8168.Names2_.png?resize=250%2C195&amp;ssl=1 250w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2016/02/8168.Names2_.png?resize=450%2C351&amp;ssl=1 450w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2016/02/8168.Names2_.png?resize=520%2C406&amp;ssl=1 520w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2016/02/8168.Names2_.png?resize=360%2C281&amp;ssl=1 360w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2016/02/8168.Names2_.png?resize=100%2C78&amp;ssl=1 100w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2016/02/8168.Names2_.png?w=666&amp;ssl=1 666w" sizes="auto, (max-width: 600px) 100vw, 600px" /></a></p>
<p>On the client side, the easiest way is to restart the computer. The new DNS entries will take place after the reboot. Or, if rebooting the computer is not an option to certain computers, restarting the Workstation service will also do the trick as well.</p>
<p>Thanks to this <a href="https://blogs.technet.microsoft.com/josebda/2010/06/04/multiple-names-for-one-computer-consolidate-your-smb-file-servers-without-breaking-unc-paths/" target="_blank" rel="noopener">Technet blog post</a> for inspiration.</p>The post <a href="https://www.kjctech.net/how-to-set-multiple-names-for-one-computer-in-windows-server/">How To Set Multiple Names for One Computer in Windows Server</a> first appeared on <a href="https://www.kjctech.net">KC's Blog</a>.]]></content:encoded>
					
					<wfw:commentRss>https://www.kjctech.net/how-to-set-multiple-names-for-one-computer-in-windows-server/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">2837</post-id>	</item>
	</channel>
</rss>
