Monday, April 20, 2020

Friday, April 03, 2020

Safely Remove Device Icon Not Showing in Windows 10

No matter what I do, it does not show up.

To remove a device:
  1. Go to Start Menu -> Settings
  2. Devices -> Other Devices.
  3. Select and click: Remove device.
How to make the icon reappear? Work in progress...

Tuesday, March 31, 2020

Record Sound from Internal Source (Windows 10)

Recording software: Audacity

WASAPI loopback has an advantage over stereo mix or similar inputs provided by the soundcard that the capture is entirely digital (rather than converting to analog for playback, then back to digital when Audacity receives it). System sounds playing through the device selected for WASAPI loopback are still captured, however.

1st Method: Stereo Mix

If it's included in the drivers' list, it's usually disabled. Enable it and select it in Audacity as the Recording Device.
Open the Sound Settings -> Sound Control Panel. Right-click and enable Show Disabled Devices. Enable the Stereo Mix.

2nd Method: WASAPI Loopback

In Audacity, choose the Windows WASAPI audio host, and then choose an appropriate loopback device, such as Speakers (loopback) or Headphones (loopback).

Note! If this doesn’t work, you may also need to select the correct number of recording channels to match your device using the dropdown box to the right of device selection box. For example, If you have a 7.1 channel headset, select 8.

References

  1. Audacity Tutorial: Recording Computer Playback on Windows, https://manual.audacityteam.org/man/tutorial_recording_computer_playback_on_windows.html
  2. https://www.howtogeek.com/217348/how-to-record-the-sound-coming-from-your-pc-even-without-stereo-mix/

Thursday, March 19, 2020

Windows 10 Network Subsystem

# Show network interfaces
> netsh interface ipv4 show subinterfaces

# Restart an interface
> Restart-NetAdapter -Name "WLAN"

Tuesday, March 17, 2020

Slow Wireless Connection on Windows 10

Those below are all nice tips but the problem on my Lenovo ThinkPad T490 with the SonicWall VPN software was that the DNE LightWeight filter was enabled (by the SonicWall VPN client).
This was limiting the wireless speed to 2Mb instead of 50Mb.
When I disabled it, the speed went back to 50Mb.
This prevents the SonicWall VPN client from working and you need to use an alternative one like a SSLVPN connection with the SonicWall NetExtender.

References

  • https://forums.lenovo.com/t5/ThinkPad-P-and-W-Series-Mobile-Workstations/P51-Very-slow-wifi/m-p/4374392 

The other tips...

Drivers

Update the Wi-Fi drivers.

Updates

Windows Update -> Advance Options -> Delivery Optimization:
Disable: Allow downloads from other PCs.

Reserved Bandwidth

By default, Windows reserves 20% of your bandwidth for Windows Update, system apps and other purposes, leaving you with 80% bandwidth of Internet connection. If you don’t use Windows Update on a daily basis and the reservation limit slows your Internet down, then you can remove the limit by setting the value to 0.

Task Manager -> File -> Run new task: gpedit.msc (ad Administrator)
Under Computer Configuration, double-click on Administrative Templates > Network > QoS Packet Scheduler. Then double-click on Limit reservable bandwidth.
Click the Enabled option and set Bandwidth limit (%) value to 0. Then click Apply > OK.

Window Auto-Tuning

It's a feature in our Windows 10 to allow for more efficient data transfers. But it can also interfere with the network and cause loss of connectivity.
 
From the Power Shell (Admin):
> netsh interface tcp show global
> netsh int tcp set global autotuninglevel=disabled

Disable Large Send Offload

Large Send Offload(LSO) is another feature in Windows designated for better network performance. Well-intended, but then the whole thing of allowing background apps to consume large amounts of network bandwidth is the reason why our Internet speed takes a hit. To disable LSO:

Double-click on Network adapters > your_network_adapter.
Click the Advanced tab, then click Large Send Offload V2 (IPv4) and set the value to Disabled.

Specific to Lenovo ThinkPad T490:

Device Manager -> Network Adapters:
Uninstall Intel Proset Driver.

Monday, February 03, 2020

Stop Automatic Redirect From HTTP to HTTPS

[Updated on June 4, 2020]

Chrome

  1. Go to chrome://net-internals/#hsts. Enter the domain under Delete domain security policies and press the Delete button.
  2. Go to chrome://settings/clearBrowserData, tick the box Cached images and files and press click the button Clear data.

Firefox

Go to Options -> Privacy and Security -> Cookies and Site Data and Clear data (Cookies and Site Data).

or

Go to Library -> History -> Show all history.
Right-click on an entry for the site and choose: Forget about this site.

References

  • https://superuser.com/questions/565409/how-to-stop-an-automatic-redirect-from-http-to-https-in-chrome
  • https://stackoverflow.com/questions/30532471/firefox-redirects-to-https