Category: Windows OS-Level Issues

Run Linux on Windows 10
article #1175, updated 1 day ago

From the extraordinary Mike Hunsinger:

Today I learned something fascinating. You can run linux as a Windows Subsystem w/o using a vm or dual-boot. All you have to do is run PS as admin, execute this:

Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux

reboot when prompted and then you can use the windows store to install just about any Linux distro you want.

This article describes folks running Linux GUI apps talking to Windows-native X Windows. Ponderworthy hasn’t tested this yet, but the following X server looks like a very worthy candidate:

sourceforge.net/projects/vcxsrv/

Categories:   Windows OS-Level Issues   Linux OS-level Issues

==============

When Internet Explorer crashes and nothing else works
article #1172, updated 7 days ago

Get the portable version here:

http://www.tweaking.com/content/page/windows_repair_all_in_one.html

  1. Unpack it
  2. Run Repair_Windows.exe as administrator
  3. Click “Jump to Repairs”
  4. Click “Open Repairs”
  5. Uncheck all of the fixes except “Repair Internet Explorer”
  6. Do it, and reboot.

Works very nicely.

Categories:   Windows OS-Level Issues   

==============

Install All Microsoft Redistributable VC++ Runtimes
article #643, updated 18 days ago

Here is the only complete method known to this writer:

https://www.powershellgallery.com/packages/VcRedist

Steps:

  1. You’ll need the PowerShell Gallery. Windows 10 and WMF 5.0 come with it.
  1. VcRedist is the tool. In administrative PowerShell (the -Force takes in any new updates):
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned
Install-Module -Name VcRedist -Force
Import-Module -Name VcRedist
New-Item C:\VcRedist -ItemType Directory
Get-VcList | Get-VcRedist -Path C:\VcRedist
Get-VcList | Install-VcRedist -Path C:\VcRedist
  1. And optionally last,
rmdir /s /q C:\VcRedist

The above installs all of the redistributables which Microsoft currently supports. Some older ones (going back to 2005 at this writing) can be had using this:

Get-VcList -Export All

instead of this:

Get-VcList

Categories:   Windows OS-Level Issues   Windows Installer and Updates

==============

XP Mode helps
article #1165, updated 32 days ago

  1. There are three ways to reset the password if you need to do so:

https://www.mydigitallife.net/reset-and-fix-incorrect-or-wrong-password-for-windows-xp-mode-xpmuser/

  1. If you need to transfer an XP mode virtual from one user profile to another, create a blank XP mode on the new user, then copy all of the old files replacing the new. Use the default filenames, don’t change anything. It will work, but you will need to change the password, above.

Categories:   Virtual Machines & Environments   Windows OS-Level Issues

==============

Open Windows Explorer window in new process
article #1164, updated 34 days ago

A registry entry:

reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v SeparateProcess /t REG_DWORD /d 1 /f

which can be set up in group policy, under Computer Configuration, Preferences, Windows Settings, Registry.

Categories:   Performance   Windows OS-Level Issues

==============

Registry merges to enable and disable Cortana and Windows Defender
article #1162, updated 40 days ago

Very nice:

https://gist.github.com/Zenexer/ae98c2b80d60fffcc588

Categories:   Windows OS-Level Issues   

==============

Disable Cortana altogether
article #1161, updated 40 days ago

This will make any Windows 10 machine run much faster, at the cost of the fancy Cortana query and search component.

  1. In REGEDIT, browse to HKEY_LOCAL_MACHINE, Software, Policies, Microsoft, Windows.
  2. Create key “Windows Search” no quotes.
  3. Create DWORD32 “AllowCortana” no quotes. Make sure the value is zero (0).
  4. Create DWORD32 “AllowCortanaAboveLock” no quotes. Make sure the value is zero (0).
  5. Create DWORD32 “DisableWebSearch” no quotes. Make sure the value is one (1).
  6. Create DWORD32 “ConnectedSearchUseWeb” no quotes. Make sure the value is zero (0).
  7. Create DWORD32 “ConnectedSearchUseWebOverMeteredConnections” no quotes. Make sure the value is zero (0).
  8. Reboot.

Categories:   Windows OS-Level Issues   Performance

==============

DISM cleanup
article #1158, updated 46 days ago

DISM is great for system image repair in 2012/8.0 and later. But from 2008R2/7 there are lots of things DISM can do to clean up a system. Here’s one:

dism /online /Cleanup-Image /StartComponentCleanup

This does much cleaning up of redundant items in WinSxS. There is also:

dism /online /Cleanup-Image /StartComponentCleanup /ResetBase

but /ResetBase eliminates removal of all patches and updates etcetera, so not necessarily best to use. And we have:

dism /online /Cleanup-Image /SPSuperseded

/SPSuperseded eliminates removal of service packs only.

Categories:   Windows Installer and Updates   Windows OS-Level Issues

==============

The Windows Update Troubleshooter by Microsoft
article #1155, updated 62 days ago

Here it is:

http://go.microsoft.com/?linkid=9830262

Categories:   Windows Installer and Updates   Windows OS-Level Issues

==============

DISM fixes Windows issues and performs cleanup
article #980, updated 68 days ago

Do this:

DISM /Online /Cleanup-Image /RestoreHealth

This handles a lot of SFC errors and others too.

Categories:   Windows OS-Level Issues   Cleanup