<?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>Administration | DXSdata</title>
	<atom:link href="https://www.dxsdata.com/category/administration/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.dxsdata.com</link>
	<description>Software &#124; Network &#124; Administration</description>
	<lastBuildDate>Mon, 02 Oct 2023 20:57:10 +0000</lastBuildDate>
	<language>en-GB</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.1</generator>

<image>
	<url>https://www.dxsdata.com/wp-content/uploads/2023/08/cropped-logo-32x32.jpg</url>
	<title>Administration | DXSdata</title>
	<link>https://www.dxsdata.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Microsoft Hyper-V: Solving Live Migration issues</title>
		<link>https://www.dxsdata.com/2023/10/microsoft-hyper-v-solving-live-migration-issues/</link>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Mon, 02 Oct 2023 20:57:05 +0000</pubDate>
				<category><![CDATA[Administration]]></category>
		<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[hyper-v]]></category>
		<category><![CDATA[hyperv]]></category>
		<guid isPermaLink="false">https://www.dxsdata.com/?p=2223</guid>

					<description><![CDATA[Moving a VM to another server might end in unexpected errors, e.g. event log might show ID 21024, 21026 or 32784 without any further detail informations. Some steps you can try if you encounter issues:]]></description>
										<content:encoded><![CDATA[
<p>Moving a VM to another server might end in unexpected errors, e.g. event log might show ID  21024, 21026 or 32784 without any further detail informations.</p>



<p>Some steps you can try if you encounter issues:</p>



<ul class="wp-block-list">
<li>Delete all VM snapshots and check if they are fully merged (so that no .avhd file exists)</li>



<li>Check free disk space on all affected drives</li>



<li>Check if the VM has set any special CPU settings</li>



<li><strong>Turn off the VM</strong> before moving (seems to help especially when moving from Windows Server 2019 to 2022)</li>



<li>Do not write destination server name manually (use the dialog/assistant instead)</li>
</ul>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>[:de]Windows Remote Shutdown via RPC aktivieren[:en]Enabling Windows Remote Shutdown via RPC[:]</title>
		<link>https://www.dxsdata.com/2021/09/enabling-windows-remote-shutdown-via-rpc/</link>
					<comments>https://www.dxsdata.com/2021/09/enabling-windows-remote-shutdown-via-rpc/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Thu, 09 Sep 2021 18:51:24 +0000</pubDate>
				<category><![CDATA[Administration]]></category>
		<guid isPermaLink="false">https://www.dxsdata.com/?p=2185</guid>

					<description><![CDATA[[:en]Home automation tools like Home Assistant offer convenient integrations for remotely shutting down computers with Windows OS (and also re-powering on via WOL, triggering a power switch etc). To get the shutdown feature running, you need to prepare some simple steps on the Windows client. Issues Trying the first time you might encounter one of [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>[:en]Home automation tools like <a href="https://www.home-assistant.io/">Home Assistant</a> offer convenient integrations for <a href="https://github.com/home-assistant/addons/blob/master/rpc_shutdown/DOCS.md">remotely shutting down computers with Windows OS</a> (and also re-powering on via WOL, triggering a power switch etc).</p>
<p>To get the shutdown feature running, you need to prepare some simple steps on the Windows client.</p>
<h2>Issues</h2>
<p>Trying the first time you might encounter one of these error messages:</p>
<blockquote><p>Could not initialise pipe winreg. Error was NT_STATUS_OBJECT_NAME_NOT_FOUND</p></blockquote>
<blockquote><p>WERR_CALL_NOT_IMPLEMENTED</p></blockquote>
<h2>Solution</h2>
<ul>
<li>Create a separate local Windows user which is used only for this purpose (shutting down the machine), like &#8220;remoteShutdown&#8221; with the same password (not your usual one, as this might be stored on the calling system).</li>
<li>(Optional) Assign user to the local Administrators group</li>
<li>Run &#8220;secpol.msc&#8221; and assign the user to the <a href="https://docs.microsoft.com/en-us/windows/security/threat-protection/security-policy-settings/force-shutdown-from-a-remote-system">object which allows Remote Shutdown</a>
<ul>
<li>Note that even if the user Administrator is already listed there, it might not work with it. This is why we created the new user.</li>
</ul>
</li>
<li>Configure Windows Firewall to allow <strong>Remote Shutdown</strong> and <strong>WMI</strong>, you find both properties in &#8220;Allowed apps&#8221;.</li>
<li>Make sure &#8220;Remote Registry&#8221; service is enabled (automatic) and running.</li>
</ul>
<p>[:]</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.dxsdata.com/2021/09/enabling-windows-remote-shutdown-via-rpc/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>[:de]PowerShell / NSClient / Nagios: Existenz bestimmter USB-Geräte ermitteln[:en]PowerShell / NSClient / Nagios: Check existence of certain USB devices[:]</title>
		<link>https://www.dxsdata.com/2021/08/powershell-nsclient-nagios-check-existence-of-certain-usb-devices/</link>
					<comments>https://www.dxsdata.com/2021/08/powershell-nsclient-nagios-check-existence-of-certain-usb-devices/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Mon, 16 Aug 2021 11:19:53 +0000</pubDate>
				<category><![CDATA[Administration]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[Software]]></category>
		<guid isPermaLink="false">https://www.dxsdata.com/?p=2178</guid>

					<description><![CDATA[[:en] Scenario USB server devices, e.g. used for virtual appliances, can be error-prone when it comes to auto-reconnect USB client devices on startup. In addition, if you have to redirect USB license dongles to some virtual server, some devices might get &#8220;lost&#8221; from time to time for whatever reason. Solution / Help Using the following [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>[:en]</p>
<h3>Scenario</h3>
<p>USB server devices, e.g. used for virtual appliances, can be error-prone when it comes to auto-reconnect USB client devices on startup. In addition, if you have to redirect USB license dongles to some virtual server, some devices might get &#8220;lost&#8221; from time to time for whatever reason.</p>
<h3>Solution / Help</h3>
<p>Using the following PowerShell script you can add some checks to your NSClient / Nagios or similar monitoring.</p>
<pre class="lang:ps decode:true " title="C:\Program Files\NSClient++\scripts\check_usb.ps1">#2021-08 www.dxsdata.com
#Checking existence of certain USB devices
#To get the IDs, execute this script with -Debug option, or execute below Get-... command

param(
[switch] $Debug
)

#adjust to your needs
$neededUsbDevices = @(
    [pscustomobject]@{NameFriendly='Dongle1';Id='USB\HASP\2&amp;1234'}
    [pscustomobject]@{NameFriendly='Dongle2'; Id='USB\HASP\2&amp;2345'}
    [pscustomobject]@{NameFriendly='Dongle3'; Id='USB\VID_0529&amp;PID_0001\1&amp;3456'}
    [pscustomobject]@{NameFriendly='Dongle4'; Id='USB\VID_0529&amp;PID_0001\1&amp;4567'}
)


#$existingUsbDevices = Get-WmiObject Win32_USBControllerDevice | ForEach-Object { [wmi]$_.dependent } | select-Object description,deviceid
$existingUsbDevices = Get-PnpDevice -PresentOnly -Class "USB" | Select-Object FriendlyName,DeviceID

if ($Debug) 
{
    "Debug output enabled. "
    "These devices will be checked: "
    $neededUsbDevices | fl
    "These devices are connected: "
    $existingUsbDevices
    ""
    ""
    "Comparing:"
}

$err = $False;

$output = "";
foreach($device in $neededUsbDevices)
{
    $result = $existingUsbDevices.Where({$_.DeviceID -eq $device.Id})
    $exists = $result.Count -gt 0
    $existsFriendly = If ($exists) {"OK"} Else {"MISSING"}
    $output += $device.NameFriendly + " " + $existsFriendly + ". " #cosmetics for nagios

    if (!$exists) { $err = $True; }
}
$output

$exitcode = if ($err) { 1 } Else { 0 }

if ($Debug) { "Exit code (Nagios Warning = 1, OK = 0) -&gt; " + $exitcode }

exit($exitcode);</pre>
<p>Save it into your NSClient&#8217;s scripts folder.</p>
<p>Modify nsclient.ini:</p>
<pre class="lang:sh decode:true ">; Below [/settings/external scripts/scripts]
check_usb = cmd /c echo scripts\check_usb.ps1; exit($lastexitcode) | powershell.exe -command -</pre>
<p>I assume you have several options already enabled, like CheckExternalScripts = 1, allow arguments etc.</p>
<p>Don&#8217;t forget to restart your NSClient service.</p>
<p>You might also want to check the result on your Nagios server like:</p>
<pre class="lang:sh decode:true ">./check_nrpe -H myserver -c check_usb</pre>
<p>&nbsp;</p>
<p>&nbsp;</p>
<h3>References</h3>
<p>https://docs.microsoft.com/en-us/powershell/module/pnpdevice/get-pnpdevice?view=windowsserver2019-ps</p>
<p>https://docs.nsclient.org/howto/external_scripts/[:]</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.dxsdata.com/2021/08/powershell-nsclient-nagios-check-existence-of-certain-usb-devices/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>[:de]GPO, GPP: Lokale Druckberechtigungen / -einschränkungen für Drucker verteilen[:en]GPO, GPP: Distributing local printing restrictions for certain printers in AD[:]</title>
		<link>https://www.dxsdata.com/2019/08/gpo-gpp-distributing-local-printing-restrictions-for-certain-printers-in-ad/</link>
					<comments>https://www.dxsdata.com/2019/08/gpo-gpp-distributing-local-printing-restrictions-for-certain-printers-in-ad/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Sat, 03 Aug 2019 10:25:15 +0000</pubDate>
				<category><![CDATA[Administration]]></category>
		<guid isPermaLink="false">https://www.dxsdata.com/?p=2121</guid>

					<description><![CDATA[[:en] Scenario Local printers are deployed via central GPP to your domain&#8217;s workstations. Some printers should not be used by certain users, but users should be able to switch workstations quickly, Solution Open Windows Print Management on a local workstation where the certain printer is installed. Modify the permissions according to your needs. &#160; &#160; [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>[:en]</p>
<h2>Scenario</h2>
<p>Local printers are deployed via central GPP to your domain&#8217;s workstations.</p>
<p>Some printers should not be used by certain users, but users should be able to switch workstations quickly,</p>
<h2>Solution</h2>
<p>Open Windows Print Management on a local workstation where the certain printer is installed.</p>
<p>Modify the permissions according to your needs.</p>
<p><a href="https://www.dxsdata.com/wp-content/uploads/2019/08/printer-permissions.jpg" rel="attachment wp-att-2122"><img decoding="async" class="size-medium wp-image-2122 alignleft" src="https://www.dxsdata.com/wp-content/uploads/2019/08/printer-permissions-287x300.jpg" alt="" width="287" height="300" /></a></p>
<ol>
<li></li>
</ol>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>The both special permissions should stay there. E.g. only delete the &#8220;everyone&#8221; permission and replace it with a stricter one.</p>
<p>Open RegEdit with administrative permissions and open this key item:</p>
<pre class="lang:reg decode:true ">HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Print\Printers\&lt;PRINTER NAME&gt;\Security</pre>
<p>The &#8220;security&#8221; item contains binary information about the printer&#8217;s permission.</p>
<p>You can either export it via RegEdit into a .reg file which you can distribute manually, or you import it into your central GPO, e.g. via the registry item assistant to avoid issues with the binary data (the wizard allows to import the item from your remote station).</p>
<p>&nbsp;</p>
<p><a href="https://social.technet.microsoft.com/Forums/windowsserver/en-US/382d35ab-041b-499e-8e87-21a6f22d2d2a/managing-local-printer-user-permissions-via-gp?forum=winserverGP">Reference</a>[:]</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.dxsdata.com/2019/08/gpo-gpp-distributing-local-printing-restrictions-for-certain-printers-in-ad/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>explorerFilePreview</title>
		<link>https://www.dxsdata.com/2019/04/explorerfilepreview/</link>
					<comments>https://www.dxsdata.com/2019/04/explorerfilepreview/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Tue, 16 Apr 2019 12:41:30 +0000</pubDate>
				<category><![CDATA[Administration]]></category>
		<category><![CDATA[C# .Net]]></category>
		<guid isPermaLink="false">https://www.dxsdata.com/?p=2106</guid>

					<description><![CDATA[[:en]Released a tool which can be used for non-Outlook PCs to be able to see email files (.msg, .eml) as preview in Windows Explorer. Get it via GitHub. [github-commits username=&#8221;DXSdata&#8221; repository=&#8221;explorerFilePreview&#8221; limit=&#8221;10&#8243;][:]]]></description>
										<content:encoded><![CDATA[<p>[:en]Released a tool which can be used for non-Outlook PCs to be able to see email files (.msg, .eml) as preview in Windows Explorer.</p>
<p>Get it via <a href="https://github.com/DXSdata/explorerFilePreview">GitHub</a>.</p>
<p>[github-commits username=&#8221;DXSdata&#8221; repository=&#8221;explorerFilePreview&#8221; limit=&#8221;10&#8243;][:]</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.dxsdata.com/2019/04/explorerfilepreview/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>[:de]Dell PowerEdge R340 Lüfter ersetzen[:en]Replacing Dell PowerEdge R340 Fans[:]</title>
		<link>https://www.dxsdata.com/2019/02/replacing-dell-poweredge-r340-fans/</link>
					<comments>https://www.dxsdata.com/2019/02/replacing-dell-poweredge-r340-fans/#comments</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Sun, 03 Feb 2019 15:10:23 +0000</pubDate>
				<category><![CDATA[Administration]]></category>
		<category><![CDATA[Hardware]]></category>
		<guid isPermaLink="false">https://www.dxsdata.com/?p=2070</guid>

					<description><![CDATA[[:en]As I described in a previous post, Dell&#8217;s 1U server fans are made to be efficient and definitely not to be silent. You can try to decrease the RPM to 1%, but they remain to be quite loud. Because I use the R340 in a quiet office and did not get useful support regarding this [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>[:en]As I described in a <a href="https://www.dxsdata.com/2019/01/silencing-dell-poweredge-rack-server-fans/">previous post</a>, Dell&#8217;s 1U server fans are made to be efficient and definitely not to be silent. You can try to decrease the RPM to 1%, but they remain to be quite loud.</p>
<p>Because I use the R340 in a quiet office and did not get useful support regarding this topic, I decided to replace the fans which quieter ones.</p>
<p>My recommendation: Replace all 8 fans with model <a href="https://noctua.at/de/nf-a4x20-pwm">Noctua NF-A4x20 PWM</a>.</p>
<p>Dell&#8217;s 6-Pin fan connector is a proprietary solution. You can either use modified breadboard wires to create an adaption, or you cut off the connector of the Noctua fans, and solder breadboard female connectors. Remove the plastics of the connectors and replace it with shrinking tubes, as you see on the photos below, otherwise it won&#8217;t fit into the mainboard&#8217;s connector.</p>
<p>I used a combination of breadboard wire connectors and direct soldering, because especially for the CPU fans you would experience space problems.</p>
<p>Dell 6-pin fan wire colors (for 2 fans each):</p>
<ul>
<li><span style="color: #000000;">Black</span>: GND
<ul>
<li>2 pins are black and as you see on the original fans, these 2 pins have also to be connected to each other. Otherwise, the fan won&#8217;t spin up.</li>
</ul>
</li>
<li><span style="color: #ff0000;">Red</span>: +12V</li>
<li><span style="color: #0000ff;">Blue</span>: PWM signal from mainboard</li>
<li><span style="color: #ffff00;">Yellow:</span> PWM sensor signal from fan (one for each fan)</li>
</ul>
<p>Noctua / default PWM pins:</p>
<ul>
<li><span style="color: #000000;">Black </span>and <span style="color: #0000ff;">Blue</span>: Like above</li>
<li><span style="color: #ffff00;">Yellow</span>: +12V</li>
<li><span style="color: #339966;">Green</span>: PWM sensor signal from fan</li>
</ul>
<p>So you have to connect black/black, red/yellow, blue/blue, yellow/green.</p>
<p>Use e.g. double-sided tape to fix the fans in the server chassis.</p>
<p><a href="https://www.dxsdata.com/wp-content/uploads/2019/02/IMG_20190201_1648412.jpg" rel="attachment wp-att-2071"><img loading="lazy" decoding="async" class="size-medium wp-image-2071 alignnone" src="https://www.dxsdata.com/wp-content/uploads/2019/02/IMG_20190201_1648412-300x200.jpg" alt="" width="300" height="200" /></a></p>
<p><a href="https://www.dxsdata.com/wp-content/uploads/2019/02/IMG_20190201_1651204.jpg" rel="attachment wp-att-2072"><img loading="lazy" decoding="async" class="size-medium wp-image-2072 alignnone" src="https://www.dxsdata.com/wp-content/uploads/2019/02/IMG_20190201_1651204-300x200.jpg" alt="" width="300" height="200" /></a></p>
<p><a href="https://www.dxsdata.com/wp-content/uploads/2019/02/IMG_20190201_1856197.jpg" rel="attachment wp-att-2073"><img loading="lazy" decoding="async" class="size-medium wp-image-2073 alignnone" src="https://www.dxsdata.com/wp-content/uploads/2019/02/IMG_20190201_1856197-300x200.jpg" alt="" width="300" height="200" /></a></p>
<p><a href="https://www.dxsdata.com/wp-content/uploads/2019/02/IMG_20190201_2003570.jpg" rel="attachment wp-att-2074"><img loading="lazy" decoding="async" class="size-medium wp-image-2074 alignnone" src="https://www.dxsdata.com/wp-content/uploads/2019/02/IMG_20190201_2003570-200x300.jpg" alt="" width="200" height="300" /></a></p>
<p>&nbsp;</p>
<p><a href="https://www.dxsdata.com/wp-content/uploads/2019/02/IMG_20190201_2019113.jpg" rel="attachment wp-att-2075"><img loading="lazy" decoding="async" class="size-medium wp-image-2075 alignnone" src="https://www.dxsdata.com/wp-content/uploads/2019/02/IMG_20190201_2019113-300x200.jpg" alt="" width="300" height="200" /></a></p>
<p><a href="https://www.dxsdata.com/wp-content/uploads/2019/02/IMG_20190201_2023378.jpg" rel="attachment wp-att-2076"><img loading="lazy" decoding="async" class="size-medium wp-image-2076 alignnone" src="https://www.dxsdata.com/wp-content/uploads/2019/02/IMG_20190201_2023378-200x300.jpg" alt="" width="200" height="300" /></a></p>
<p><a href="https://www.dxsdata.com/wp-content/uploads/2019/02/IMG_20190202_0729100.jpg" rel="attachment wp-att-2077"><img loading="lazy" decoding="async" class="size-medium wp-image-2077 alignnone" src="https://www.dxsdata.com/wp-content/uploads/2019/02/IMG_20190202_0729100-200x300.jpg" alt="" width="200" height="300" /></a></p>
<p><a href="https://www.dxsdata.com/wp-content/uploads/2019/02/IMG_20190202_0742084.jpg" rel="attachment wp-att-2078"><img loading="lazy" decoding="async" class="size-medium wp-image-2078 alignnone" src="https://www.dxsdata.com/wp-content/uploads/2019/02/IMG_20190202_0742084-300x200.jpg" alt="" width="300" height="200" /></a></p>
<p><a href="https://www.dxsdata.com/wp-content/uploads/2019/02/IMG_20190202_0807172.jpg" rel="attachment wp-att-2079"><img loading="lazy" decoding="async" class="size-medium wp-image-2079 alignnone" src="https://www.dxsdata.com/wp-content/uploads/2019/02/IMG_20190202_0807172-300x200.jpg" alt="" width="300" height="200" /></a></p>
<p><a href="https://www.dxsdata.com/wp-content/uploads/2019/02/IMG_20190202_0810263.jpg" rel="attachment wp-att-2080"><img loading="lazy" decoding="async" class="size-medium wp-image-2080 alignnone" src="https://www.dxsdata.com/wp-content/uploads/2019/02/IMG_20190202_0810263-300x200.jpg" alt="" width="300" height="200" /></a></p>
<p><a href="https://www.dxsdata.com/wp-content/uploads/2019/02/IMG_20190201_1615578.jpg" rel="attachment wp-att-2081"><img loading="lazy" decoding="async" class="size-medium wp-image-2081 alignnone" src="https://www.dxsdata.com/wp-content/uploads/2019/02/IMG_20190201_1615578-300x200.jpg" alt="" width="300" height="200" /></a></p>
<p><a href="https://www.dxsdata.com/wp-content/uploads/2019/02/IMG_20190201_1616136.jpg" rel="attachment wp-att-2082"><img loading="lazy" decoding="async" class="size-medium wp-image-2082 alignnone" src="https://www.dxsdata.com/wp-content/uploads/2019/02/IMG_20190201_1616136-300x200.jpg" alt="" width="300" height="200" /></a></p>
<p><a href="https://www.dxsdata.com/wp-content/uploads/2019/02/IMG_20190201_1623157.jpg" rel="attachment wp-att-2083"><img loading="lazy" decoding="async" class="size-medium wp-image-2083 alignnone" src="https://www.dxsdata.com/wp-content/uploads/2019/02/IMG_20190201_1623157-300x200.jpg" alt="" width="300" height="200" /></a></p>
<p><a href="https://www.dxsdata.com/wp-content/uploads/2019/02/IMG_20190201_1628307.jpg" rel="attachment wp-att-2084"><img loading="lazy" decoding="async" class="size-medium wp-image-2084 alignnone" src="https://www.dxsdata.com/wp-content/uploads/2019/02/IMG_20190201_1628307-300x200.jpg" alt="" width="300" height="200" /></a></p>
<p><a href="https://www.dxsdata.com/wp-content/uploads/2019/02/IMG_20190201_1640441.jpg" rel="attachment wp-att-2085"><img loading="lazy" decoding="async" class="size-medium wp-image-2085 alignnone" src="https://www.dxsdata.com/wp-content/uploads/2019/02/IMG_20190201_1640441-200x300.jpg" alt="" width="200" height="300" /></a></p>
<p><a href="https://www.dxsdata.com/wp-content/uploads/2019/02/IMG_20190201_1648249.jpg" rel="attachment wp-att-2086"><img loading="lazy" decoding="async" class="size-medium wp-image-2086 alignnone" src="https://www.dxsdata.com/wp-content/uploads/2019/02/IMG_20190201_1648249-300x200.jpg" alt="" width="300" height="200" /></a></p>
<p>&nbsp;</p>
<p>Finally, you can try again to use Dell&#8217;s recommended thermal profiles.</p>
<p>In my case however, the fans spin too high, so at the moment I use a manual setting of 32 % RPM which is about 1900 RPM with the Noctua model. The temperature outlet sensor stays at about 33 °C, and the fans are as silent as other 120mm fans spinning with ~500 RPM.</p>
<p>You may have to experiment with the default fan RPMs for your needs.</p>
<p>&nbsp;</p>
<p>&nbsp;[:]</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.dxsdata.com/2019/02/replacing-dell-poweredge-r340-fans/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>[:de]Dell PowerEdge Rackserver Lüftergeräusche verringern[:en]Silencing Dell PowerEdge Rack Server Fans[:]</title>
		<link>https://www.dxsdata.com/2019/01/silencing-dell-poweredge-rack-server-fans/</link>
					<comments>https://www.dxsdata.com/2019/01/silencing-dell-poweredge-rack-server-fans/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Thu, 17 Jan 2019 10:01:10 +0000</pubDate>
				<category><![CDATA[Administration]]></category>
		<guid isPermaLink="false">https://www.dxsdata.com/?p=2065</guid>

					<description><![CDATA[[:en]Dell servers in general are optimized for high performance and not to be quiet. However, in silent office environments, the fan noise can be annoying, especially the ones in 1U cases. Even if you do not need the server&#8217;s full power all the time, the fans run way too fast in my opinion. Possible Solutions [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>[:en]Dell servers in general are optimized for high performance and not to be quiet.</p>
<p>However, in silent office environments, the fan noise can be annoying, especially the ones in 1U cases.</p>
<p>Even if you do not need the server&#8217;s full power all the time, the fans run way too fast in my opinion.</p>
<h3>Possible Solutions</h3>
<p>Replacing or even removing the OEM fan hardware is not recommended. The current fans, e.g. in an R430, must have 6 pins, so cannot be replaced by other fans in a simple way, and the server logs and dashboards would be full of critical errors. In many cases you would also lose warranty etc.</p>
<p>A safer way would be to optimize the fans via software.</p>
<p>The official recommended steps would be to connect to your iDRAC controller&#8217;s web interface and set a temperature profile which reduces the fan&#8217;s RPM.</p>
<p>Unfortunately, the minimum % RPM via web interface is limited to 11 % upwards, which might still be too high.</p>
<p>&nbsp;</p>
<h3>&#8220;Raw&#8221; solution</h3>
<p>We want to set the fan RPM to 1 %, which can only be done via IPMI.</p>
<p>The setting is not saved permanently and has to be re-set after restarting iDRAC.</p>
<ol>
<li>Download <a href="https://www.dell.com/support/home/at/de/atbsdt1/drivers/driversdetails?driverid=9ngfj">Dell OM BMC Utility (Windows)</a> which contains IPMITool.</li>
<li>Extract it to e.g. c:\OpenManage, then run BMC setup from there. Note: You do not have to install it on your server, you can also use any server which is connected to your LAN (same LAN where your server&#8217;s LAN port and iDRAC port reside)</li>
<li>Open an Admin CMD window and change to ipmitool.exe folder, e.g. c:\program files (x86)\dell\sysmgmt.</li>
<li>First, activate manual fan control:
<ol>
<li>
<pre class="lang:sh decode:true ">ipmitool -I lanplus -H yourIdracIp -U root -P yourIdracPw raw 0x30 0x30 0x01 0x00</pre>
<p>&nbsp;</li>
</ol>
</li>
<li>Then reduce the fan&#8217;s RPM value to e.g. 1 %:
<ol>
<li>
<pre class="lang:sh decode:true ">ipmitool -I lanplus -H yourIdracIp -U root -P yourIdracPw raw 0x30 0x30 0x02 0xff 0x01</pre>
<p>The last value is a hexadecimal value for the RPM in percent. E.g. if you use 0x0f, you will hear the fan noise increase.</li>
</ol>
</li>
</ol>
<p>If you encounter error messages:</p>
<ul>
<li>Make sure you have enabled IPMI remote management within your iDRAC config.</li>
<li>Make sure you can ping your iDRAC IP.</li>
<li>Check your iDRAC login credentials, especially special characters can be error-prone.</li>
</ul>
<p>Note: <strong>Always check the temperature</strong> behavior after manually controlling the fans!</p>
<p>There are also some <a href="https://www.reddit.com/r/homelab/comments/7xqb11/dell_fan_noise_control_silence_your_poweredge/">scripts</a> available to simplify this.</p>
<p>Update: Added a simple PowerShell script which can be run via Task Scheduler to check temperature and fans:</p>
<pre class="lang:ps decode:true " title="fans.ps1">$sensorName="Exhaust Temp"
$tempThreshold="34"
$ipmiExe = 'C:\Program Files (x86)\Dell\SysMgt\bmc\ipmitool.exe'
$ipmiParams = @("-Ilanplus", "-H10.1.2.34", "-UfanControl", "-PpwFanControl")

$ipmiGet = @("sdr", "type", "temperature")

$ipmiSet = @("raw", "0x30", "0x30")
$ipmiSetManual = @("0x01", "0x00")
$ipmiSetLow = @("0x02", "0xff", "0x26"); 
$ipmiSetHigh = @("0x02", "0xff", "0x64");
#https://www.hexadecimaldictionary.com/
#20% = 0x14
#30% = 0x1e
#32% = 0x20
#37% = 0x25
#100% = 0x64

"Checking server temperature..."

$val = &amp; $ipmiExe $ipmiParams $ipmiGet
$val =  $val | Select-String $sensorName
$val = "" + $val #tostring
$val = $val.Split('|')[4]
$val = $val.Trim().Split(' ')[0]
"Current degrees: " + $val

&amp; $ipmiExe $ipmiParams $ipmiSet $ipmiSetManual

if ($val -gt $tempThreshold)
{
    "too high -&gt; increasing fan rpm";
    &amp; $ipmiExe $ipmiParams $ipmiSet $ipmiSetHigh
}
else
{
    "OK -&gt; using low fan rpm"
    &amp; $ipmiExe $ipmiParams $ipmiSet $ipmiSetLow
}</pre>
<p>To create a scheduled Windows task for the script, use &#8220;powershell&#8221; as command and e.g. &#8220;-f c:\fans.ps1&#8221; as argument, and run it every 5 &#8211; 15 minutes.</p>
<h3>Other matters</h3>
<p>In my case, one of the ~6 server fans (FAN1 port) indeed had to be replaced, it just made a more annoying noise than the other fans like CPU/RAM fans, even with same RPM. For testing, you can simply swap the identically constructed fans within the unit to see which one is faulty.</p>
<h3>Replacement</h3>
<p>In my case, the fans still were too loud, so I <a href="https://www.dxsdata.com/2019/02/replacing-dell-poweredge-r340-fans/">replaced them</a>.[:]</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.dxsdata.com/2019/01/silencing-dell-poweredge-rack-server-fans/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>[:de]Gelöst: Firefox öffnet beim Öffnen von Links aus anderen Programmen 2 Fenster[:en]Solved: Firefox opens 2 windows when opening links from other software[:]</title>
		<link>https://www.dxsdata.com/2018/10/solved-firefox-opens-2-windows-when-opening-links-from-other-software/</link>
					<comments>https://www.dxsdata.com/2018/10/solved-firefox-opens-2-windows-when-opening-links-from-other-software/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Sat, 13 Oct 2018 10:09:31 +0000</pubDate>
				<category><![CDATA[Administration]]></category>
		<guid isPermaLink="false">https://www.dxsdata.com/?p=2030</guid>

					<description><![CDATA[[:en]In some special cases it might happen that HTTP(s) links open as duplicates in separate Firefox browser windows, if they are contained in an Outlook email, Explorer shortcut (.lnk) etc. This behavior does not happen having another browser set as default, like IE. Solution Open regedit and delete HKLM\SOFTWARE\Classes\FirefoxURL\shell\open\ddeexec\topic (or delete the default value of [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>[:en]In some special cases it might happen that HTTP(s) links open as duplicates in separate Firefox browser windows, if they are contained in an Outlook email, Explorer shortcut (.lnk) etc. This behavior does not happen having another browser set as default, like IE.</p>
<h3>Solution</h3>
<p>Open regedit and delete</p>
<pre class="lang:reg decode:true">HKLM\SOFTWARE\Classes\FirefoxURL\shell\open\ddeexec\topic</pre>
<p>(or delete the default value of this key).</p>
<p><a href="https://www.dxsdata.com/wp-content/uploads/2018/10/firefox-opens-links-twice.png" rel="attachment wp-att-2032"><img loading="lazy" decoding="async" class="alignright size-medium wp-image-2032" src="https://www.dxsdata.com/wp-content/uploads/2018/10/firefox-opens-links-twice-300x140.png" alt="" width="300" height="140" /></a></p>
<h3>Background</h3>
<p>Some Firefox setup procedures seem to set this key for whatever reason. E.g. v61 does not set it, v55 <strong>does</strong> set it.</p>
<p>Even if you upgrade to a newer version, this key is not removed automatically! (But at least it is not re-set in newer versions)[:]</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.dxsdata.com/2018/10/solved-firefox-opens-2-windows-when-opening-links-from-other-software/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>[:de]Node.js und Windows Ordnerumleitung, Benutzerberechtigungen[:en]Node.js and Windows Folder Redirection, User Permissions[:]</title>
		<link>https://www.dxsdata.com/2018/08/node-js-and-windows-folder-redirection-user-permissions/</link>
					<comments>https://www.dxsdata.com/2018/08/node-js-and-windows-folder-redirection-user-permissions/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Tue, 14 Aug 2018 08:13:33 +0000</pubDate>
				<category><![CDATA[Administration]]></category>
		<category><![CDATA[C# .Net]]></category>
		<guid isPermaLink="false">https://www.dxsdata.com/?p=2024</guid>

					<description><![CDATA[[:en]Starting e.g.an Angular project using Visual Studio and Node.js, NPM will fill the user&#8217;s AppData directory with thousands of files. Depending on your Windows domain network structure, the AppData folder might have been configured to be redirected to a central server using group policies and the folder redirection feature (and/or server-sided user profiles). So because [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>[:en]Starting e.g.an Angular project using Visual Studio and Node.js, NPM will fill the user&#8217;s AppData directory with thousands of files.</p>
<p>Depending on your Windows domain network structure, the AppData folder might have been configured to be redirected to a central server using group policies and the folder redirection feature (and/or server-sided user profiles). So because of the permanent r/w network access to those directories, every Node.js processing becomes very slow and buggy.</p>
<p>In addition, you might run into troubles if the user works with default (non-admin) permissions. Global packages have to be installed with admin rights by default, which leads to several issues because of the different user names, profile directories etc.</p>
<h3>Workaround</h3>
<p>My basic suggestions for a working Node.js system in a multi-user domain environment:</p>
<ul>
<li>Do not ever install NPM packages as admin user!</li>
<li>Instead, create a separate nodejs folder where the global packages can be installed with user permissions</li>
<li>Move and redirect all Node.js&#8217; user folders to a local directory.</li>
</ul>
<h4>Steps</h4>
<p>You might want to start uninstalling Node.js in general and also remove existing folders manually:</p>
<ul>
<li>%programfiles%\nodejs</li>
<li>%programfiles(x86)%\nodejs</li>
<li>%appdata%\npm</li>
<li>%appdata%\npm-cache</li>
</ul>
<p>Then install the current LTS version of <a href="https://nodejs.org">Node.js</a> using the .exe or .msi package.</p>
<p>For Node&#8217;s global files which should be able to be installed with user permissions, I use a separate folder f:\nodejs in this example. Of course, you can also place this folder e.g. on c:\nodejs.</p>
<p>Open CMD window with <strong>elevated permissions</strong> and enter:</p>
<pre class="lang:sh decode:true ">npm config set prefix f:\nodejs --global
npm config set cache f:\nodejs\npm-cache --global</pre>
<p>Then do <strong>the same</strong> in a CMD window with <strong>default permissions</strong>.</p>
<p>To be safe, add some folder redirections (NPM&#8217;s config is not always considered for unknown reason):</p>
<pre class="lang:sh decode:true ">mklink /d "c:\program files\npm\etc" f:\nodejs\etc
mklink /d "%appdata%\npm-cache" f:\nodejs\npm-cache</pre>
<p>Edit the user&#8217;s PATH environment variable to also match the new nodejs directory:</p>
<p><img loading="lazy" decoding="async" class="alignnone  wp-image-2027 " src="https://www.dxsdata.com/wp-content/uploads/2018/08/img_5b729105d4e6a.png" alt="" width="510" height="212" /></p>
<p>Re-check if the paths really changed to f:\nodejs:</p>
<pre class="lang:sh decode:true ">npm config list</pre>
<p>You can also check Node&#8217;s config files, like %appdata%\npm\etc\npmrc and %programfiles%\nodejs\etc</p>
<p>Then try to install a test package using &#8220;npm install&#8221;. If you add the &#8220;-g&#8221; parameter, it should be installed in f:\nodejs\node_modules; otherwise in your project&#8217;s folder as usual.</p>
<p>Optional: If you use Visual Studio, you might want to change the setting to use the Node.js version you installed separately, and not the one included in VS, as it could maybe use other versions and config files. Open VS settings -&gt; Web Package Management -&gt; External Web Tools. It could look like this (German):</p>
<p><img loading="lazy" decoding="async" class="alignnone wp-image-2025 " src="https://www.dxsdata.com/wp-content/uploads/2018/08/img_5b728e0b9f3fc.png" alt="" width="595" height="218" /></p>
<p>&nbsp;[:]</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.dxsdata.com/2018/08/node-js-and-windows-folder-redirection-user-permissions/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>[:de]Wechsel von HTTP auf HTTPS bei Websites, Apache als Reverse Proxy für Exchange Server verwenden[:en]Changing websites from HTTP to HTTPS, using Apache as Reverse Proxy for Exchange Server[:]</title>
		<link>https://www.dxsdata.com/2018/06/changing-websites-from-http-to-https-using-apache-as-reverse-proxy-for-exchange-server/</link>
					<comments>https://www.dxsdata.com/2018/06/changing-websites-from-http-to-https-using-apache-as-reverse-proxy-for-exchange-server/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Fri, 08 Jun 2018 21:27:28 +0000</pubDate>
				<category><![CDATA[Administration]]></category>
		<category><![CDATA[Linux]]></category>
		<guid isPermaLink="false">http://www.dxsdata.com/?p=1999</guid>

					<description><![CDATA[[:en]Because of the EU GDPR / DSGVO regulations it is recommended to run websites secured with SSL certificates, therefore using port 443 instead of 80. But especially in small organizations the port 443 has already been used, in most cases for the various tools of MS Exchange Server. Changing to alternative ports for certain services globally often [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>[:en]Because of the EU GDPR / DSGVO regulations it is recommended to run websites secured with SSL certificates, therefore using port 443 instead of 80.</p>
<p>But especially in small organizations the port 443 has already been used, in most cases for the various tools of MS Exchange Server.</p>
<p>Changing to alternative ports for certain services globally often is de facto not realizable, so one solution can be a webserver&#8217;s reverse proxy feature which I will explain here.</p>
<p>This tutorial is tested with and should work with Ubuntu/Apache2 as public webserver, Windows 2016 Server for Exchange Server 2016 and Outlook 2016, using SSL certificates from <a href="https://letsencrypt.org/">Let&#8217;s Encrypt</a>.</p>
<p>&nbsp;</p>
<h2>Preparation</h2>
<p>Basically, our webserver will be our new public port 443 access point. It will handle all HTTPS web requests and will also forward data to Exchange if necessary.</p>
<p>So in the end, we need to have valid SSL certificates on the webserver and on the Exchange server. For Exchange, we copy the certificate from the webserver and import it (creating it &#8220;live&#8221; on Exchange is hardly possible in this case due to the webserver&#8217;s needed proxy settings).</p>
<h3>Router / Firewall</h3>
<p>In your router config, create a new NAT rule which allows you to quickly switch incoming port 443 forwarding from mailserver to webserver. Do not enable it at this point, we will need that later.</p>
<h3>DNS</h3>
<p>If you use external DNS providers with automatic HTTP(S) proxies to speed up your website like Cloudflare, you might want to disable it (at least the proxy features) for the time of the configuration process, as it can produces some unpredictable behaviour in combination with the browser cache, tests etc.</p>
<h3>Webserver / WordPress</h3>
<p>You might also want to temporarily disable plugins for first tests like WP Super Cache, Minify etc. to get immediate results of the changes.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<h2>New configurations</h2>
<h3>Webserver</h3>
<p>First we install <a href="https://certbot.eff.org/">Let&#8217;s Encrypt&#8217;s Certbot </a>. Make a snapshot or backup before, then run it without any parameters. It shows a user friendly wizard which assists you in converting your existing Apache Virtual Hosts to SSL enabled websites. If everything runs fine, you have your websites easily prepared for HTTPS and Apache is configured automatically.</p>
<p><strong>Note for Cloudflare</strong></p>
<p>If you are using web cache/proxy services, certbot/letsencrypt might end with TLS handshake errors.</p>
<p>Workaround:</p>
<blockquote><p>certbot &#8211;preferred-challenges http</p></blockquote>
<p>&nbsp;</p>
<h4>Reverse Proxy for Exchange</h4>
<p>Create a new Apache configuration file for Exchange&#8217;s new reverse proxy:</p>
<pre title="/etc/apache2/sites-available/exchange-le-ssl.conf" class="lang:sh decode:true ">&lt;VirtualHost *:443&gt;

ServerName mail.example.com
ServerAlias autodiscover.example.com
ServerAdmin webmaster@example.com

ErrorLog /var/log/apache2/error.log
CustomLog /var/log/apache2/access.log combined

Header always set X-Frame-Options SAMEORIGIN
Header set Server Apache
Header unset X-AspNet-Version
Header unset X-OWA-Version
Header unset X-Powered-By
RequestHeader unset Expect early

SetEnvIf User-Agent ".*MSIE.*" value BrowserMSIE
Header unset WWW-Authenticate
Header add WWW-Authenticate "Basic realm=mail.example.com"

ProxyRequests Off
ProxyPreserveHost On

SSLProxyEngine on
SSLProxyVerify none
SSLProxyCheckPeerCN off
SSLProxyCheckPeerName off
SSLProxyCheckPeerExpire off

#longer connection timeout to prevent activesync errors
ProxyPass / https://exchange2016.example.local/ connectiontimeout=600
ProxyPassReverse / https://exchange2016.example.local/

&lt;Directory /Microsoft-Server-ActiveSync&gt;
#attachment/activesync bugfix
SSLRenegBufferSize 31457280
&lt;/Directory&gt;

#charset e.g. for german special chars
AddDefaultCharset ISO-8859-1

DocumentRoot /var/www/html

&lt;Directory /&gt;
    Order deny,allow
    Deny from all
&lt;/Directory&gt;

&lt;Directory /var/www/html&gt;
    DirectoryIndex index.php index.html
    Options -Indexes +FollowSymLinks
    Order allow,deny
    Allow from all
&lt;/Directory&gt;

&lt;Proxy *&gt;
        SetEnv proxy-nokeepalive 1
        SetEnv force-proxy-request-1.0 1
        Order deny,allow
        Allow from all
&lt;/Proxy&gt;

  SSLEngine on

    BrowserMatch "MSIE [2-6]" nokeepalive ssl-unclean-shutdown downgrade-1.0 force-response-1.0
  # MSIE 7 and newer should be able to use keepalive
    BrowserMatch "MSIE [17-9]" ssl-unclean-shutdown
&lt;/VirtualHost&gt;</pre>
<p>We only need this reverse proxy on port 443, not 80.</p>
<p>Make sure you really use local server names (e.g. for ProxyPass) which are always resolved to the server&#8217;s local IP (not the firewall ot public IP)! If not sure, you can also use IP addresses, SSL certs are not checked at this point. Otherwise you might experience senseless loopbacks.</p>
<p>Enable the necessary Apache modules:</p>
<pre class="lang:sh decode:true ">a2enmod headers
a2enmod rewrite
a2enmod proxy_http
a2enmod ssl</pre>
<p>&nbsp;</p>
<p>Enable the new virtual host (<em>a2ensite exchange</em>).</p>
<p>Re-run <em>certbot</em>, it should append lines to the file, e.g. &#8220;SSLCertificateFile&#8221;, keyfile, chainfile etc.</p>
<p>Run &#8220;service apache2 reload&#8221; and check for errors.</p>
<h4>WordPress</h4>
<p>Change your site&#8217;s URLs to http<strong>s</strong>://www.example.com within the admin area.</p>
<h3>Mailserver</h3>
<p>In Exchange&#8217;s virtual directories, make sure you have basic authentification enabled (for OWA, EWS, &#8230;). Apache is <strong>not able to use NTLM mechanism</strong>, so we need this workaround. You can enable it either via Exchange Administrative Center -&gt; Server -&gt; Virtual Directories, or IIS, or Exchange Management Shell.</p>
<h3>Firewall</h3>
<p>Activate the new rule you created before, so port 443 is forwarded to your webserver instead of Exchange directly.</p>
<p>&nbsp;</p>
<h2>Tests</h2>
<p>Use Microsoft&#8217;s Analyzer to test Exchange connectivity features you need, e.g. Autodiscover, ActiveSync (e.g. mobile phones), Exchange Web Services (EWS) etc.</p>
<p>Check your Apache logfiles for connection errors (500, timeouts, &#8230;).</p>
<p>Check if your websites are loading fine via HTTPS URL in every browser. Parts of your sites might still contain HTTP links to scripts or graphics; in this case change the link to the more generic &#8220;//&#8221; to avoid browser warnings.</p>
<p>&nbsp;</p>
<h2>Refreshing certificates</h2>
<h3>Webserver</h3>
<p>Create a cronjob similar to this one:</p>
<pre class="lang:sh decode:true ">0 0 1 * * /usr/bin/certbot renew --preferred-challenges http &gt;&gt; /var/log/letsencrypt-renew.log
#(HTTP option only for e.g. Cloudflare)</pre>
<p>Because your Exchange Server also needs the certificate, but cannot request it itself any more, publish it on your webserver. Exchange will it download later for further processing.</p>
<pre title="/scripts/createExchangeCert.sh" class="lang:sh decode:true ">#!/bin/bash

PW=mypw
SHARE=/var/www/html/other
CERTPATH=/etc/letsencrypt/live
MAINDOMAIN=example.com #the first domain name letsencrypt uses (main CN)

#conversion for exchange
openssl pkcs12 -export -in $CERTPATH/$MAINDOMAIN/cert.pem -inkey $CERTPATH/$MAINDOMAIN/privkey.pem -out  $SHARE/exch.p12 -password pass:$PW</pre>
<p>Also create a cronjob for it, which runs a few minutes after <em>certbot</em>.</p>
<h3>Mailserver</h3>
<p>Create a PowerShell script which downloads the certificate from your webserver and imports it into Exchange Server:</p>
<pre title="c:\letsencrypt\import.ps1" class="lang:ps decode:true ">$CertPath="c:\letsencrypt\exch.p12"
$ImportPassword="mypw"

Add-PSSnapin *exchange* -ea 0

wget http://www/other/exch.p12 -OutFile $CertPath

$ImportPassword = ConvertTo-SecureString $ImportPassword -AsPlainText -Force

Import-ExchangeCertificate -FileName $CertPath -FriendlyName "example.com" -Password $ImportPassword -PrivateKeyExportable:$true | Enable-ExchangeCertificate -Services "SMTP, IMAP, POP, IIS" –force</pre>
<p>Also create a scheduled task for it to make it run e.g. twice a week.</p>
<p>Finally, you should have all your websites accessible via HTTP and HTTPS, and Exchange Server including OWA, ActiveSync etc. should work besides.</p>
<h2></h2>
<h2>References</h2>
<p>https://serverfault.com/questions/113026/apache-2-2-disable-reverse-proxy-on-location</p>
<p>https://znil.net/index.php?title=Apache2_als_Reverse_Proxy_f%C3%BCr_Exchange_2010_2013_inklusive_Outlook_Anywhere_RPC_over_http</p>
<p>https://testconnectivity.microsoft.com</p>
<p>https://www.msxfaq.de/internet/apache.htm</p>
<p>https://stackoverflow.com/questions/14814419/how-do-i-make-urls-case-insensitive-in-linux-server</p>
<p>https://github.com/phr0gz/Apache-reverse-proxy-for-Exchange-2010-2013-2016/blob/master/webmail.conf[:]</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.dxsdata.com/2018/06/changing-websites-from-http-to-https-using-apache-as-reverse-proxy-for-exchange-server/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
