EdgeRouter X VPN Windows 10 Fix

I had issues connecting to my EdgeRouter X L2TP/IPSec VPN. My Android phone could connect fine but my Windows 10 laptop wouldn’t. Thanks to chewychewbacca for these instructions:

  1. Log on to the Windows client computer as a user who is a member of the Administrators group.
  2. Click Start, point to All Programs, click Accessories, click Run, type regedit, and then click OK. If the User Account Control dialog box is displayed on the screen and prompts you to elevate your administrator token, click Continue.
  3. Locate and then click the following registry subkey:HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\PolicyAgent
  4. On the Edit menu, point to New, and then click DWORD (32-bit) Value.
  5. Type AssumeUDPEncapsulationContextOnSendRule, and then press ENTER.
  6. Right-click AssumeUDPEncapsulationContextOnSendRule, and then click Modify.
  7. In the Value Data box, type ‘2’
  8. Click OK, and then exit Registry Editor.
  9. Restart the computer.

Reference UniFi Forum post

EdgeRouter X VPN Windows 10 Fix

Redirect all IE versions in Apache 2.4

The following Apache conf (tested in 2.4.x) will redirect all versions of IE to the specified page. It can be used in .htaccess or in Apache’s conf and requires mod_rewrite is enabled.

(To notify rather than redirect, see browser-update.org. If you don’t want to host or maintain a notification page, try https://bestvpn.org/outdatedbrowser or http://browser-update.org/update-browser.html; note that both are ad supported.)

RewriteEngine On
RewriteCond %{HTTP_USER_AGENT} ^.*Trident.*$ [NC]
RewriteCond %{REQUEST_URI} !^/ie-unsupported.html.*
RewriteRule .* /ie-unsupported.html [L,R=302]

What are we doing here? Line 1 turns the rewrite engine on so the subsequent rules will be enforced.

RewriteCond %{HTTP_USER_AGENT} ^.*Trident.*$ [NC]

Line 2 looks for the string ‘Trident’ in the requesting browser’s user agent. Trident is the rendering engine IE has used since version 4, so this rule will catch all versions of ie from 4-11 (the final version).

RewriteCond %{REQUEST_URI} !^/ie-unsupported.html.*

Line 3 looks for a file path that does not start with ‘/ie-unsupported.html. This ensures that all URLs are redirected except the page we are redirecting to. Without this rule, IE would be thrown into an infinite loop, redirecting continuously to the advisory page.

If the conditions on line 2 (browser is IE) and line 3 (not already on the page we are redirecting to) then line 4 will enact the rule: redirect the browser to ‘/ie-unsupported.html’

RewriteRule .* /ie-unsupported.html [L,R=302]

Note: if you name your advisory page something other than ‘ie-unsupported.html’ make sure to replace it on both lines 3 and 4, or this could cause an infinite redirect loop.

Redirect all IE versions in Apache 2.4

Fast way to network adapters

Still remember in Win95 when changing an IP or DNS server was as easy as going to the Control Panel, opening the network folder then choosing the adapter? Rember in WinXP when you get there without even leaving the start menu? Driven insane by Win10's constantly changing settings interfaces from every previous OS with zero cohesion? Well now you can get to your beloved adapters quicker with three easy steps:

  1. Win+R (Run)
  2. Type: ncpa.cpl
  3. <ENTER>
Fast way to network adapters

Permanently disable Firefox and Chrome web notifications

Are you horrified that any website would even ask to send notifications to your desktop? Would you like this pop-up to never appear again? Then:

  1. In Firefox, visit the URL about:config and if promted, say you do want to void your warranty
  2. Filter using webno
  3. Double click dom.webnotifications.enabled (changing the value from the default true to false)

Thanks to this guy for the Firefox info.

  1. In Chrome, in the top-right, click the 3 vertical dots (the More menu) and select Settings
  2. At the top, search notifications
  3. Expand Content settings, then Notifications
  4. Toggle Ask before sending to Blocked

Chrome info from the Google Support article.

Permanently disable Firefox and Chrome web notifications

Remove 3D Objects folder from Windows 10

Run the following commands:

reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{0DB7E03F-FC29-4DC6-9020-FF41B59E513A}" /f

reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{0DB7E03F-FC29-4DC6-9020-FF41B59E513A}" /f

Alternatively in Regedit, open the following locations (only the first is needed for 32-bit systems) and delete the key

{0DB7E03F-FC29-4DC6-9020-FF41B59E513A}
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace

References

Remove 3D Objects folder under This PC in Windows 10, The Windows Club

Delete Registry key from command line

Remove 3D Objects folder from Windows 10