How to fix: Windows Storage Space/Storage Pool, Virtual Disk not attaching automatically on reboot

1 Launch PowerShell from start menu or “Run” window with admin privilege

2 Use following command to check “-IsManualAttach” attribute

Get-VirtualDisk | Select-Object IsManualAttach

Or use following command to show all virtual disks with “IsManualAttach” attributes

Get-VirtualDisk | Where-Object {$_.IsManualAttach –eq $True}
Windows PowerShell -  Get-VirtualDisk | Select-Object IsManualAttach
Windows PowerShell – Get-VirtualDisk | Select-Object IsManualAttach

3 Use following command to set “IsManualAttach” to false, so that it will attach on reboot

Set-VirtualDisk -FriendlyName "virtual disk name" -IsManualAttach 0

e.g.

Set-VirtualDisk -FriendlyName "my virtual disk" -IsManualAttach 0

Or to use following command to change all virtual disks to auto attach on reboot

Get-VirtualDisk | Where-Object {$_.IsManualAttach –eq $True} | Set-VirtualDisk –IsManualAttach $False

How to fix: Windows Storage Space/Storage Pool physical disk lost communication, replace dead physical disk

Keywords: Windows Server, Windows Server 2019, Windows Server Storage Space, Windows Server Storage Pool, physical disk, lost communication, Warning, Error, replace, replace disk

If you are running Windows Storage Space on USB disks, when you change disk cache settings, or accidentally disconnected one of the USB disk from Windows Storage Space (With minimum 1 disk fault tolerance, e.g. Parity, Mirror), or due to other reasons that caused one of the physical disk showing error or warning from Windows Server Manager

For simply reattaching the physical disk, check our this guide: Windows Server Storage Space/Storage Pool Reattach straightway after physical disk retired

Warning: Always backup all data on the storage pool if possible or at least important data

Replace the physical disk

1 Launch “Windows PowerShell” in admin mode

2 Use following command to list all physical disks

Get-PhysicalDisk
Windows PowerShell - Get-PhysicalDisk
Windows PowerShell – Get-PhysicalDisk

3 If you have multiple physical disks with same name, use following command to distinguish among them, you probably can find serial number on the label from hard drive

Get-PhysicalDisk | select-object serialnumber, uniqueid, friendlyname, operationstatus, healthstatus
Windows PowerShell - Get-PhysicalDisk | select-object serialnumber, uniqueid, friendlyname, operationstatus, healthstatus
Windows PowerShell – Get-PhysicalDisk | select-object serialnumber, uniqueid, friendlyname, operationstatus, healthstatus

(Before mark the physical disk as retired you might want to check which virtual disks will be affected, you can use following command to check virtual disks)

Get-Virtual-Disk

4 Mark the disk we want to remove as “retired”

  • Using Friendly Name
Set-PhysicalDisk -FriendlyName 'PhysicalDiskName' -Usage Retired

e.g.

 Set-PhysicalDisk -FriendlyName 'Contoso Disk' -Usage Retired 
  • Using Serial Number
Set-PhysicalDisk -uniqueid 'Serial Number' -Usage Retired

e.g.

Set-PhysicalDisk -uniqueid '{29e928d2-2793-11ea-a6db-000c29b85813}' -Usage Retired
Windows PowerShell - Set-PhysicalDisk -uniqueid 'Serial Number' -Usage Retired
Windows PowerShell – Set-PhysicalDisk -uniqueid ‘Serial Number’ -Usage Retired

5 Once the disk is marked to be removed.  We need to rebuild each of our virtual disks

Repair-VirtualDisk -FriendlyName 'Name of the virtual disk within the pool'

e.g.

Repair-VirtualDisk -FriendlyName 'my disk on pool'

6 We can monitor the repairing progress

Get-StorageJob
Windows PowerShell - Get-StorageJob
Windows PowerShell – Get-StorageJob

7 Once everything is done, we can remove the disk from the pool

Remove-PhysicalDisk -FriendlyName 'PhysicalDiskName'

Note: If you have many physical disks with same name we can use “Server Manager” to remove it, follow step 7.1 to

7.1 Launch “Server Manager”

Windows Server 2019 - Server Manager - Dashboard
Windows Server 2019 – Server Manager – Dashboard

7.2 Find the disk with exclamation mark and showing “Retired” as operational Status

Windows Server 2019 - Server Manager -> File and Storage Services -> Storage Pools -> Physical Disks
Windows Server 2019 – Server Manager -> File and Storage Services -> Storage Pools -> Physical Disks

7.3 Right click on the disk then click on “Remove Disk”, you will see following window

Windows Server 2019 - Server Manager -> File and Storage Services -> Storage Pools -> Physical Disks -> Remove Disk
Windows Server 2019 – Server Manager -> File and Storage Services -> Storage Pools -> Physical Disks -> Remove Disk

7.4 When it’s done, following windows will appear

Windows Server 2019 - Server Manager -> File and Storage Services -> Storage Pools -> Physical Disks -> Remove Disk
Windows Server 2019 – Server Manager -> File and Storage Services -> Storage Pools -> Physical Disks -> Remove Disk

8 Now we can attache our new physical disk then add it to the pool from “Server Manager” Window

Re-attach the physical disk

In case of human error caused the physical to be recognised as faulty but you are sure that the physical disk is in prefect condition, we need to re-attach the physical disk

(You might get “suspended 0” from “Get-StorageJob” just continue with the guide, usually the “suspended” will not resolve itself if we don’t do anything…)

2.1 Try to follow step 1 to 8, ignore errors if there is any

2.2 Try to “Reset Disk” if the exclamation mark is gone, try to repair the virtual disk, if it is still there after Reset, continue with step 2.3

Windows Server 2019 - Server Manager -> File and Storage Services -> Storage Pools -> Physical Disks -> Remove Disk
Windows Server 2019 – Server Manager -> File and Storage Services -> Storage Pools -> Physical Disks -> Remove Disk

2.3 Try to follow step 1 – 3 to find out the “serial number” or “friendly name” of the disk which we want to re-attach, then using following command to change the disk state from “Retired” to “Auto”

Set-PhysicalDisk -UniqueID "{3b3bbdf4-cc77-13bd-a8ba-429c9ce9957a}" -Usage AutoSelect

2.4 Now we can follow step 5 to repair the virtual disk in degraded mode (We can right click the virtual disk from “Server Manager” then select “Repair Virtual Disk” as well)

Bonus

Other useful commands

# Optimise the Storage Pool 
Get-StoragePool "pool name" | Optimize-StoragePool
# Update Storage Pool to latest version
Update-StoragePool -FriendlyName "pool name"

Quick steps from Microsoft technet (Not suitable for systems with physical disks with same names)

  1. Open PowerShell in admin mode (PowerShell ISE is better)
  2. To get the names of the disks, type the following command:
    Get-PhysicalDisk
  3. To get the names of the virtual disks, type the following command:
    Get-Virtual-Disk
  4. First mark the disk you want to remove as “retired” by the following command:
    Set-PhysicalDisk -FriendlyName ‘PhysicalDiskXX’ -Usage Retired
  5. Now your disk is mark to be removed.  You need to rebuild each of your virtual disks with the following command:
    Repair-VirtualDisk -FriendlyName ‘My Virtual Disk’
  6. You can monitor the progression of the process by typing the following command:
    Get-StorageJob
  7. Once everything is done, just remove the disk from the pool with this command:
    Remove-PhysicalDisk -FriendlyName ‘PhysicalDiskXX’
  8. That’s it!

How to resolve: Windows – “Destination Path Too Long” Error

Keywords: Microsoft Windows, Destination path too long, long file name, long path, Error, cmd, command prompt, run

When we are trying to rename, delete a folder or file which has very long length “Folder names + file name” or “Folder names” we will encounter following error

“The file name(s) would be too long for the destination folder. You can shorten the file name and try again, or try a location that has a shorter path.”

Microsoft Windows - Destinatoin Path Too Long
Microsoft Windows – Destinatoin Path Too Long

Try following methods

To Delete

1.1 Use Win + R launch “Run” window

Microsoft Windows - Run window
Microsoft Windows – Run window

1.2 Enter “cmd” in “Run” window, press Enter key to launch “Command Prompt” window

1.3 We use following command to delete the folder, including subfolders

rd /s /q "D:\FolderName"

e.g.

rd /s /q "D:\New Folder"

(The root folder “D:\New Folder” will be deleted too)

To Rename

2.1 Follow 1.1 to 1.2 to launch ” Command Prompt” window

2.2 Use following command to rename folder and file with long name which we can’t using windows file explorer

ren "D:\Folder Name" "D:\folder"

e.g.

ren "D:\my folder with very long name" "D:\newname"
ren "D:\folder\file with long name.txt" "D:\folder\file.txt"

e.g.

ren "D:\picture\my text file.txt" "D:\picture\my file.txt" 

How to change Windows proxy settings using cmd/command prompt/registry/.cmd/.bat

Keywords: Microsoft Windows proxy, proxy settings, Registry, regedit, Registry Editor, wildcard

Method 1: Using Registry directly

Warning: Changing other parameters from registry might cause damage to operating system, please modify carefully.

1 Use Win + R key combination open “Run” window

Microsoft Windows - Run window
Microsoft Windows – Run window

2 Enter “regedit” then press “OK” button

3 Find following path

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings
Microsoft Windows - Registry Editor
Microsoft Windows – Registry Editor

4 Change/Create “DWORD” Key “ProxyEnable”, Set value to “0” to disable proxy, “1” to enable proxy

Registry Editor - ProxyEnable
Registry Editor – ProxyEnable

If you have enabled proxy from Step 4, follow below steps to continue configuration process

5 Change/Create “String Value” Key “ProxyServer”, Set value to <proxy address>:<port>. e.g.

127.0.0.1:1234 OR myproxyname.com:5678
Registry Editor - ProxyServer
Registry Editor – ProxyServer

Extra: If you need to exclude some addresses from proxy follow Step 6

6 Change/Create “String Value” Key “ProxyOverride”, Set value to include desired addresses which you want to exclude

10.0.0.1;google.com;localhost;*.bing.com;<local>;192.168.100.*
Registry Editor - ProxyOverride
Registry Editor – ProxyOverride

*.bing.com: Any domain under bing.com e.g. ads.bing.com, cdn.bing.com

192.168.100.*: Including the whole subnet (192.168.100.1-192.168.100.254)

<local>: Check the “Don’t use the proxy server for local (intranet) addresses” from Windows Settings

Windows Settings - Proxy
Windows Settings – Proxy

Method 2: Using command prompt

1 Use Win + R key combination open “Run” window

  • Enter following command and hit Enter key to disable proxy
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyEnable /t REG_DWORD /d 0 /f
  • Enable proxy
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyEnable /t REG_DWORD /d 1 /f
  • Set proxy IP address and port
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyServer /t REG_SZ /d 10.0.1.1:1234 /f
  • Bypass for selected addresses
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyOverride /t REG_SZ /d "10.0.0.1;google.com;localhost;*.bing.com;192.168.100.*;<local>" /f
  • Clean proxy settings
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyEnable /t REG_DWORD /d 0 /f
reg delete "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyServer /f
reg delete "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyOverride /f

Method 3: Import proxy settings by using Registry file

1 Save desired proxy settings to a text file then change file extension from “.txt” to “.reg”

e.g. Save following text to “proxy.reg”

Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings]
"ProxyEnable"=dword:00000001
"ProxyServer"="10.0.1.0:1234"
"ProxyOverride"="10.0.0.1;google.com;localhost;*.bing.com;192.168.100.*"

2 Double click on “proxy.reg”

proxy.reg
proxy.reg

3 Click on “Yes” if you see this Window

User Account Control (UAC) Window - Registry Editor
User Account Control (UAC) Window – Registry Editor

4 Click on “Yes” to continue

Registry Editor - "Adding information can unintentionally change of delete values and cause components to stop working correctly. If you do not trust the source of this information in .... .reg, do not add it to the registry." "Are you sure you want to continue?"
Registry Editor – “Adding information can unintentionally change of delete values and cause components to stop working correctly. If you do not trust the source of this information in …. .reg, do not add it to the registry.” “Are you sure you want to continue?”

5 Now the proxy settings is imported, click on “OK”.

Registry Editor - "The keys and values contained in .. .reg have been successfully added to the registry."
Registry Editor – “The keys and values contained in .. .reg have been successfully added to the registry.”

Method 4: Using “.cmd” “.bat” file

1 Create a text file

2 Add following content to the text file

reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyEnable /t REG_DWORD /d 1 /f
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyServer /t REG_SZ /d 10.0.1.0:1234 /f
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyOverride /t REG_SZ /d "10.0.0.1;google.com;localhost;*.bing.com;192.168.100.*" /f

3 Rename it to “enable-proxy.cmd” or “enable-proxy.bat”

4 Double click on enable-proxy.cmd” or “enable-proxy.bat”, now the proxy is configured (If not, run with administrator account)

To Disable proxy

1 Add following content to “disable-proxy.cmd” or “disable-proxy.bat”

reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyEnable /t REG_DWORD /d 0 /f

2 Double click on “disable-proxy.cmd” or “disable-proxy.bat” to run the commands

To Clean proxy settings (Doesn’t matter enabled or disabled)

1 Add following content to “clean-proxy.cmd” or “clean-proxy.bat”

reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyEnable /t REG_DWORD /d 0 /f
reg delete "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyServer /f
reg delete "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyOverride /f

2 Double click on “clean-proxy.cmd” or “clean-proxy.bat” to run the commands

Note: Using unknown proxy servers can be danger, especially when browsing websites or using apps which requires to login.

Fix Microsoft Windows USB Not Working Error Code 39

If you have encountered this Error for USB ports.

Method 1: Update USB Drivers

Try Update USB Drivers with Device Manager (devmgmt.msc)

1.1 Use Win + R to open Run window, then input devmgmt.msc to open Device Manager

Microsoft Windows - Run window
Microsoft Windows – Run window

1.2 Right click on the USB controller with issue, click on Update driver

Microsoft Windows - Device Manager - Update driver
Microsoft Windows – Device Manager – Update driver

Method 2: Reinstall USB Ccontrollers

Try to Uninstall USB controllers’ drivers then reinstall them using Device Manager (devmgmt.msc)

2.1 Follow step 1.1

2.2 Right click on the USB controller with issue, click on Uninstall device

Microsoft Windows - Device Manager
Microsoft Windows – Device Manager – Uninstall device

2.3 Click on Scan for hardware changes

Microsoft Windows - Device Manager -  Scan for hardware changes
Microsoft Windows – Device Manager – Scan for hardware changes

Method 3: Delete UpperFilters and LowerFilters from registry

3.1 Follow step 1.1 to open Run window

3.2 Enter regedit to open Registry Editor Window.

Microsoft Windows - Registry Editor Window
Microsoft Windows – Registry Editor Window

3.3 Go to following registry key

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{36FC9E60-C465-11CF-8056-444553540000}
Microsoft Windows - Registry Editor
Microsoft Windows – Registry Editor

3.4 Delete UppFilter and LowerFilter keys. (Do not delete UpperFilter.bak and LowerFilter.bak)

3.5 Restart your computer.

3.6 It should be fixed now.

How to fix Microsoft Hyper-V Error: The application encountered an error while attempting to change the state of ‘New Virtual Machine’.

The Error:

The application encountered an error while attempting to change the state of ‘New Virtual Machine’.

‘New Virtual Machine’ failed to start.

Synthetic SCSI Controller (Instance ID xxxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx): Failed to Power on with Error ‘General access denied error’.

Hyper-V Virtual Machine Management service Account does not have permission to open attachment ‘D:\vm.vhdx’. Error ‘General access denied error’.

Hyper-V Error: Virtual Machine Connection - 'New Virtual Machine' failed to start
Hyper-V Error: Virtual Machine Connection – ‘New Virtual Machine’ failed to start

Note: Other similar errors which is related to virtual hard drive (vhd, vhdx) permission issue when starting the Hyper-V virtual might also be fix by using following method.

The Fix:

Method 1:

Remove the virtual hard drive from virtual machine via Hyper-V Manager then reattach the hard drive

Method 2:

1 We need to get the SID of the virtual machine, usually it will be displayed in the error dialogue. If you have the SID continue with step 2, If not, follow the steps below:

1.1 Open the Run window by using Win + R key combination.

Microsoft Windows - Run window
Microsoft Windows – Run window

1.2 Type virtmgmt.msc and hit “OK” button

1.3 Write down the name of the virtual machine which is having perimssion issue.

1.4 Use key combination Win + X, click on Windows PowerShell (Admin) to open PowerShell window. Type following command and hit Enter key (Replace Name of Virtual Machine to your virtual machine’s name)

Get-VM 'Name of Virtual Machine' | Select-Object VMID
Windows PowerShell -  Get-VM 'Name of Virtual Machine' | Select-Object VMID
Windows PowerShell – Get-VM ‘Name of Virtual Machine’ | Select-Object VMID

2 Enter following command in PowerShell to grant permission for this virtual machine to attach the virtual herd drive. ()

icacls "<Path of .vhd or .avhd file>" /grant "NT VIRTUAL MACHINE\<Virtual Machine ID from step 1>":F

or

icacls "<Path of .vhd or .avhd file>" /grant "<Virtual Machine ID from step 1>":F

Tip: By default Hyper-V store virtual machine configuration files in “C:\ProgramData\Microsoft\Windows\Hyper-V”, hard drives in “C:\Users\Public\Documents\Hyper-V\Virtual Hard Disks”

Windows 10, Convert Legacy BIOS to UEFI without reinstalling Windows or losing data

Warning: You must confirm that your computer supports UEFI mode, otherwise you will not be able to boot into the system after the conversion. It’s always good to do a backup before starting to convert.

1 Open an elevated command prompt (Win + X, Select “Command prompt (Admin)” or “Windows PowerShell (Admin)”)

2 Type following command and hit Enter key. (If the current MBR disk has four partitions, the following command will fail and return this error “Disk layout validation failed for disk 0”, you can try to delete one if not required and convert again)

mbr2gpt /convert /allowfullOS

3 Reboot, start into BIOS, change BIOS mode from legacy or CSM to UEFI (You might need to check which key to press to enter BIOS, different motherboard has different keys)

How to fix *Something settings are hidden or managed by your organization.

“Some settings are managed by your organization.”

“*Something settings are hidden or managed by your organization.”

Windows 10 Settings - Windows Update - *Something settings are hidden or managed by your organization.
Windows 10 Settings – Windows Update – *Something settings are hidden or managed by your organization.
Windows 10 Settings – Windows Update – Some settings are managed by your organization.

If you have encountered these messages, try following methods to fix it:

1 Use key combination Win + R to open then Run window

Microsoft Windows - Run window
Microsoft Windows – Run window

2 Type cmd.exe then hit Enterkey

Microsoft Windows - Run window - cmd.exe
Microsoft Windows – Run window – cmd.exe
Microsoft Windows - Command Prompt Window (cmd.exe)
Microsoft Windows – Command Prompt Window (cmd.exe)

3 Type or copy and paste following command to the command prompt window and hit Enter Key to run the command. (NOTE: If failed due to permission issue, Instead of Step 2, Use key combination Win + X, then Click on Command Prompt (Admin) or Windows Powershell (Admin), then continue from step 3)

reg delete HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU /f

If on 64bit system or if you are not sure it’s 32bit or 64bit system, run following command as well.

reg delete HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Policies\Microsoft\Windows\WindowsUpdate\AU /f

4 Restart the computer.

6 Open Windows Update

5 Try Windows Update again, it should start to download updates now if there is any.

The Ultimate Windows Run Commands with screenshots

Keywords: Windows Administration, Windows Administration, run command, shortcuts, The Ultimate Windows Run Commands

These command should work directly from Run window (Win+R), if not, use Run command to open an Command line window (Win+R, cmd, enter ) then type commands within the command line window.

ScreenshotOpen WindowRun Command
Microsoft Windows - About Windows
Microsoft Windows – About Windows
About Windows/Version Reporter Appletwinver
Microsoft Windows - Add a Device
Microsoft Windows – Add a Device
Add a Devicedevicepairingwizard
Microsofr Windows - Add Hardware
Microsofr Windows – Add Hardware
Add Hardware Wizard/Device Managerhdwwiz
or
devmgmt.msc
Microsoft Windows - User Accounts
Microsoft Windows – User Accounts
Advanced User Accountsnetplwiz
Microsoft Windows - Authorization Manager
Microsoft Windows – Authorization Manager
Authorization Managerazman.msc
Microsoft Windows -  Backup and Restore
Microsoft Windows – Backup and Restore
Backup and Restoresdclt
Microsoft Windows - Bluetooth File Transfer
Microsoft Windows – Bluetooth File Transfer
Bluetooth File Transferfsquirt
Microsoft Windows - Calculator
Microsoft Windows – Calculator
Calculatorcalc
Microsoft Windows -  Certificates, Certificate Manager
Microsoft Windows – Certificates, Certificate Manager
Certificatescertmgr.msc
Microsoft Windows - Change Computer Performance Settings/Performance Options
Microsoft Windows – Change Computer Performance Settings/Performance Options
Change Computer Performance Settings/Performance Optionssystempropertiesperformance
Microsoft Windows - Change Data Execution Prevention Settings
Microsoft Windows – Change Data Execution Prevention Settings
Change Data Execution Prevention Settingssystempropertiesdataexecutionprevention
Microsoft Windows - Change Printer Settings/Printer User Interface
Microsoft Windows – Change Printer Settings/Printer User Interface
Change Printer Settings/Printer User Interfaceprintui
Microsoft Windows - Character Map
Microsoft Windows – Character Map
Character Mapcharmap
Microsoft Windows - ClearType Tuner
Microsoft Windows – ClearType Tuner
ClearType Tunercttune
Microsoft Windows - Color Management
Microsoft Windows – Color Management
Color Managementcolorcpl
Microsoft Windows - Command Prompt
Microsoft Windows – Command Prompt
Command Promptcmd
Microsoft Windows - Component Services
Microsoft Windows – Component Services
Component Servicesdcomcnfg
or
comexp.msc
Microsoft Windows - Computer Management
Microsoft Windows – Computer Management
Computer Managementcompmgmt.msc
or
CompMgmtLauncher.exe
Microsoft Windows - Connect to a Projector/External Screen/Display Switch
Microsoft Windows – Connect to a Projector/External Screen/Display Switch
Connect to a Projector/External Screen/Display Switchdisplayswitch
Microsoft Windows - Control Panel
Microsoft Windows – Control Panel
Control Panelcontrol
Microsoft Windows - Create A Shared Folder Wizard/Share Creation Wizard
Microsoft Windows – Create A Shared Folder Wizard/Share Creation Wizard
Create A Shared Folder Wizard/Share Creation Wizardshrpubw
Microsoft Windows - Create a System Repair Disc
Microsoft Windows – Create a System Repair Disc
Create a System Repair Discrecdisc
Microsoft Windows - Credential Backup and Restore Wizard/Stored User Names and Passwords
Microsoft Windows – Credential Backup and Restore Wizard/Stored User Names and Passwords
Credential Backup and Restore Wizard/Stored User Names and Passwordscredwiz
Microsoft Windows - Device Manager
Microsoft Windows – Device Manager
Device Managerdevmgmt.msc
Microsoft Windows - Diagnostics Troubleshooting Wizard/Microsoft Support Diagnostic Tool
Microsoft Windows – Diagnostics Troubleshooting Wizard/Microsoft Support Diagnostic Tool
Diagnostics Troubleshooting Wizard/Microsoft Support Diagnostic Toolmsdt
Digitizer Calibration Tool (Tablets/Touch screens)tabcal
Microsoft Windows - DirectX Diagnostic Tool
Microsoft Windows – DirectX Diagnostic Tool
DirectX Diagnostic Tooldxdiag
Microsoft Windows - Disk Cleanup
Microsoft Windows – Disk Cleanup
Disk Cleanupcleanmgr
Microsoft Windows - Disk Defragmenter/Optimizer
Microsoft Windows – Disk Defragmenter/Optimizer
Disk Defragmenter/Optimizerdfrgui
Microsoft Windows - Disk Management
Microsoft Windows – Disk Management
Disk Managementdiskmgmt.msc
Microsoft Windows - Display DPI / Text size
Microsoft Windows – Display DPI / Text size
Display DPI / Text sizedpiscaling
Microsoft Windows - Display Color Calibration
Microsoft Windows – Display Color Calibration
Display Color Calibrationdccw
Microsoft Windows - DPAPI Key Migration Wizard/Protected Content Migration
Microsoft Windows – DPAPI Key Migration Wizard/Protected Content Migration
DPAPI Key Migration Wizard/Protected Content Migrationdpapimig
Microsoft Windows - Driver Verifier Manager
Microsoft Windows – Driver Verifier Manager
Driver Verifier Managerverifier
Microsoft Windows - Ease of Access Center/Utility Manager
Microsoft Windows – Ease of Access Center/Utility Manager
Microsoft Windows - Ease of Access Center/Utility Manager
Microsoft Windows – Ease of Access Center/Utility Manager
Ease of Access Center/Utility Managerutilman
or
control access.cpl
Microsoft Windows - Encrypting File System Wizard/Manage Your File Encryption Certificates
Microsoft Windows – Encrypting File System Wizard/Manage Your File Encryption Certificates
Encrypting File System Wizard/Manage Your File Encryption Certificatesrekeywiz
Microsoft Windows - Event Viewer
Microsoft Windows – Event Viewer
Event Viewereventvwr
Microsoft Windows - Fax Cover Page Editor
Microsoft Windows – Fax Cover Page Editor
Fax Cover Page Editorfxscover
Microsoft Windows - File Signature Verification
Microsoft Windows – File Signature Verification
File Signature Verificationsigverif
Microsoft Windows - IExpress Wizard
Microsoft Windows – IExpress Wizard
IExpress Wizardiexpress
Microsoft Windows - iSCSI Initiator Configuration Tool
Microsoft Windows – iSCSI Initiator Configuration Tool
iSCSI Initiator Configuration Tooliscsicpl
Microsoft Windows - Language Pack Installer
Microsoft Windows – Language Pack Installer
Language Pack Installerlpksetup
Microsoft Winodws - Local Group Policy Editor
Microsoft Winodws – Local Group Policy Editor
Local Group Policy Editorgpedit.msc
Microsoft Windows - Local Security Policy
Microsoft Windows – Local Security Policy
Local Security Policysecpol.msc
Microsoft Windows - Local Users and Groups
Microsoft Windows – Local Users and Groups
Local Users and Groupslusrmgr.msc
Magnifiermagnify
Malicious Software Removal Toolmrt
Microsoft Windows - Microsoft Management Console
Microsoft Windows – Microsoft Management Console
Microsoft Management Consolemmc
Microsoft Windows - Narrator
Microsoft Windows – Narrator
Narratornarrator
New Scan Wizard/Windows Picture Acquisition Wizardwiaacmgr
Microsoft Windows - Notepad
Microsoft Windows – Notepad
Notepadnotepad
Microsoft Windows – ODBC Data Source Administrator
ODBC Data Source Administratorodbcad32
ODBC Driver Configurationodbcconf
Microsoft Windows - On-Screen Keyboard
Microsoft Windows – On-Screen Keyboard
On-Screen Keyboardosk
Microsoft Winodws - Paint
Microsoft Winodws – Paint
Paintmspaint
Microsoft Windows - Performance Monitor
Microsoft Windows – Performance Monitor
Performance Monitorperfmon
Microsoft Windows - Phone Dialer
Microsoft Windows – Phone Dialer
Phone Dialerdialer
Microsoft Windows - Presentation Settings
Microsoft Windows – Presentation Settings
Presentation Settingspresentationsettings
Microsoft Windows - Print Management
Microsoft Windows – Print Management
Print Managementprintmanagement.msc
Windows - Printer Migration
Windows – Printer Migration
Printer Migrationprintbrmui
Microsoft Windows - Private Character Editor
Microsoft Windows – Private Character Editor
Private Character Editoreudcedit
Microsoft Windows - Problem Steps Recorder
Microsoft Windows – Problem Steps Recorder
Problem Steps Recorderpsr
Microsoft Windows - Registry Editor
Microsoft Windows – Registry Editor
Registry Editorregedit
Microsoft Windows - Remote Access Phonebook (Network connection, VPN connection)
Microsoft Windows – Remote Access Phonebook (Network connection, VPN connection)
Remote Access Phonebook (Network connection, VPN connection)rasphone
Microsoft Windows - Remote Desktop Connection
Microsoft Windows – Remote Desktop Connection
Remote Desktop Connectionmstsc
Microsoft Windows - Resource Monitor
Microsoft Windows – Resource Monitor
Resource Monitorresmon
Microsoft Winodws - Resultant Set of Policy
Microsoft Winodws – Resultant Set of Policy
Resultant Set of Policyrsop.msc
Microsoft Windows - Services
Microsoft Windows – Services
Servicesservices.msc
Microsoft Windows - Set Program Access and Computer Defaults - browser / email / media
Microsoft Windows – Set Program Access and Computer Defaults – browser / email / media
Set Program Access and Computer Defaults – browser / email / mediacomputerdefaults
Microsoft Windows - Shared Folders
Microsoft Windows – Shared Folders
Shared Foldersfsmgmt.msc
Microsoft Windows - Snipping Tool
Microsoft Windows – Snipping Tool
Snipping Toolsnippingtool
Microsoft Windows -  Sounds and Audio
Microsoft Windows – Sounds and Audio
Sounds and Audiommsys.cpl
Microsoft Windows - SQL Server Client Network Utility
Microsoft Windows – SQL Server Client Network Utility
SQL Server Client Network Utilitycliconfg
Microsoft Windows - Sync Center
Microsoft Windows – Sync Center
Sync Centermobsync
Microsoft Windows - System Configuration
Microsoft Windows – System Configuration
System Configurationmsconfig
Microsoft Windows - System Information
Microsoft Windows – System Information
System Informationmsinfo32
Microsoft Windows - System Properties (Advanced Tab)
Microsoft Windows – System Properties (Advanced Tab)
System Properties (Advanced Tab)systempropertiesadvanced
Microsoft Windows - System Properties (Computer Name Tab)
Microsoft Windows – System Properties (Computer Name Tab)
System Properties (Computer Name Tab)systempropertiescomputername
Microsoft Windows - System Properties (Hardware Tab)
Microsoft Windows – System Properties (Hardware Tab)
System Properties (Hardware Tab)systempropertieshardware
Microsoft Windows - System Properties (Remote Tab)
Microsoft Windows – System Properties (Remote Tab)
System Properties (Remote Tab)systempropertiesremote
Microsoft Windows - System Properties (System Protection Tab)
Microsoft Windows – System Properties (System Protection Tab)
System Properties (System Protection Tab)systempropertiesprotection
Microsoft Windows - System Restore
Microsoft Windows – System Restore
System Restorerstrui
Microsoft Windows - Task Manager
Microsoft Windows – Task Manager
Task Managertaskmgr
Microsoft Windows - Task Scheduler
Microsoft Windows – Task Scheduler
Task Schedulertaskschd.msc
or
control schedtasks
Microsoft Windows - Trusted Platform Module (TPM) Management
Microsoft Windows – Trusted Platform Module (TPM) Management
Trusted Platform Module (TPM) Managementtpm.msc
Microsoft Windows - User Account Control (UAC) Settings
Microsoft Windows – User Account Control (UAC) Settings
User Account Control (UAC) Settingsuseraccountcontrolsettings
Microsoft Windows - Volume Mixer
Microsoft Windows – Volume Mixer
Volume Mixersndvol
Windows Activation Client/Software Licensing/Activationslui
Microsoft Windows - Windows Contacts
Microsoft Windows – Windows Contacts
Windows Contactswab
Windows Disc Image Burning Toolisoburn C:\music\band.iso
Microsoft Windows - Windows Explorer
Microsoft Windows – Windows Explorer
Windows Explorerexplorer.exe
or
explorer.exe . Will open at the current directory
Microsoft Windows - Windows Fax and Scan
Microsoft Windows – Windows Fax and Scan
Windows Fax and Scanwfs
Microsoft Windows - Windows Features
Microsoft Windows – Windows Features
Windows Featuresoptionalfeatures
Microsoft Windows - Windows Firewall
Microsoft Windows – Windows Firewall
Microsoft Windows - Windows Firewall with Advanced Security
Microsoft Windows – Windows Firewall with Advanced Security

Windows Firewall
Windows Firewall with Advanced Security
firewall.cpl
wf.msc
Windows Help and Supportwinhlp32
Windows Media Playerwmplayer
Microsoft Windows - Windows Memory Diagnostic Scheduler
Microsoft Windows – Windows Memory Diagnostic Scheduler
Windows Memory Diagnostic Schedulermdsched
Microsoft Windows - Windows Mobility Center
Microsoft Windows – Windows Mobility Center
Windows Mobility Centermblctr
Microsoft Windows - Windows PowerShell
Microsoft Windows – Windows PowerShell
Windows PowerShellpowershell
Microsoft Windows - Windows PowerShell ISE
Microsoft Windows – Windows PowerShell ISE
Windows PowerShell ISEpowershell_ise
Microsoft Windows - Windows Remote Assistance
Microsoft Windows – Windows Remote Assistance
Windows Remote Assistancemsra
Windows Script Host (VBScript)wscript script.vbs
Microsoft Windows - Windows Update Standalone Installer
Microsoft Windows – Windows Update Standalone Installer
Windows Update Standalone Installerwusa
Microsoft Windows - Windows Management Infrastructure
Microsoft Windows – Windows Management Infrastructure
Windows Management Infrastructurewmimgmt.msc
Microsoft Windows - WMI Tester
Microsoft Windows – WMI Tester
WMI Testerwbemtest
Microsoft Windows - WordPad
Microsoft Windows – WordPad
WordPadwrite
XPS Viewerxpsrchvw
Microsoft Windows - Display Properties (Resolution, Orientation)
Microsoft Windows – Display Properties (Resolution, Orientation)
Display Properties (Resolution, Orientation)desk.cpl
Microsoft Windows - Access Mouse properties
Microsoft Windows – Access Mouse properties
Access Mouse propertiesmain.cpl
or
control mouse
Microsoft Windows - Access Windows Action Center/Security Center
Microsoft Windows – Access Windows Action Center/Security Center
Access Windows Action Center/Security Centerwscui.cpl
Microsoft Windows - Access Network Adapters
Microsoft Windows – Access Network Adapters
Access Network Adaptersncpa.cpl
or
control netconnections
Microsoft Windows - Access Power Option/Power Configuration
Microsoft Windows – Access Power Option/Power Configuration
Access Power Option/Power Configurationpowercfg.cpl
and
powercfg.exe
Microsoft Windows - Access the Programs and Features Window
Microsoft Windows – Access the Programs and Features Window

Microsoft Windows - Control Panel (Add New Programs/Get Programs)
Microsoft Windows – Control Panel (Add New Programs/Get Programs)

Microsoft Windows - Control Panel (Add Remove Windows Components, Windows Features)
Microsoft Windows – Control Panel (Add Remove Windows Components, Windows Features)

Microsoft Windows - Settings (Set Program Access & Defaults )
Microsoft Windows – Settings (Set Program Access & Defaults )
Access the Programs and Features Window

(Add New Programs)

(Add Remove Windows Components)

(Set Program Access & Defaults )
appwiz.cpl
control appwiz.cpl,,1
control appwiz.cpl,,2
control appwiz.cpl,,3
Microsoft Windows - Access the System Properties
Microsoft Windows – Access the System Properties
Access the System Propertiessysdm.cpl
or
sysdm.cpl SystemProperties
or
sysdm.cpl DisplaySYSDMCPL
Microsoft Windows - Administrative Tools
Microsoft Windows – Administrative Tools
Administrative Toolscontrol admintools
Automatic Updatecontrol wuaucpl.cpl
Check Disk Utilitychkdsk
Microsoft Windows - Date and Time Properties
Microsoft Windows – Date and Time Properties
Date and Time Propertiestimedate.cpl
Microsoft Windows - Disk Partition Manager
Microsoft Windows – Disk Partition Manager
Disk Partition Managerdiskpart
Microsoft Windows - Display Properties (Themes, Desktop, Screensaver)
Microsoft Windows – Display Properties (Themes, Desktop, Screensaver)
Display Properties (Themes, Desktop, Screensaver)control desktop
Microsoft Windows - Documents (open 'My Documents' folder)
Microsoft Windows – Documents (open ‘My Documents’ folder)
Documents (open ‘My Documents’ folder)documents
Microsoft Windows - Downloads (open 'Downloads' folder)
Microsoft Windows – Downloads (open ‘Downloads’ folder)
Downloads (open ‘Downloads’ folder)downloads
Microsoft Windows - DVD Player
Microsoft Windows – DVD Player
DVD Playerdvdplay
Microsoft Windows - Edit Environment Variables
Microsoft Windows – Edit Environment Variables
Edit Environment Variablesrundll32.exe sysdm.cpl,EditEnvironmentVariables
Microsoft Windows - Folders Properties
Microsoft Windows – Folders Properties
Folders Propertiescontrol folders
Microsoft Windows - Fonts list
Microsoft Windows – Fonts list
Fonts listcontrol fonts
Microsoft Windows - Font preview
Microsoft Windows – Font preview
Font previewfontview arial.ttf
Microsoft Windows - Game Controllers
Microsoft Windows – Game Controllers
Game Controllersjoy.cpl
Microsoft Windows - Internet Properties
Microsoft Windows – Internet Properties
Internet Propertiesinetcpl.cpl
Microsoft Windows - IP Configuration
Microsoft Windows – IP Configuration
IP Configurationipconfig
Microsoft Windows - Keyboard Properties
Microsoft Windows – Keyboard Properties
Keyboard Propertiescontrol keyboard
Log outlogoff
Access (Microsoft Office)msaccess
Excel (Microsoft Office)excel
Powerpoint (Microsoft Office)powerpnt
Word (Microsoft Office)winword
Microsoft Windows - ODBC Data Source Admin
Default ODBC driver,
32-bit ODBC driver under 64-bit platform
Microsoft Windows – ODBC Data Source Admin
Default ODBC driver,
32-bit ODBC driver under 64-bit platform
ODBC Data Source Admin
Default ODBC driver,
32-bit ODBC driver under 64-bit platform
C:\windows\system32\odbcad32.exe
C:\windows\sysWOW64\odbcad32.exe
Password – Create a Windows Password Reset Disk (USB)“C:\Windows\system32\rundll32.exe” keymgr.dll,PRShowSaveWizardExW
Pen and Touch (Tablet/Pen input configuration)tabletpc.cpl
Microsoft Windows - Phone and Modem Options
Microsoft Windows – Phone and Modem Options
Phone and Modem Optionstelephon.cpl
Microsoft Windows - Regional Settings - Language, Date/Time format, keyboard locale
Microsoft Windows – Regional Settings – Language, Date/Time format, keyboard locale
Regional Settings – Language, Date/Time format, keyboard localeintl.cpl
Microsoft Windows - Settings (Windows 10)
Microsoft Windows – Settings (Windows 10)
Settings (Windows 10)ms-settings:
Shut Down Windowsshutdown
System File Checker Utility (Scan/Purge)sfc
Telnet Clienttelnet
Microsoft Windows - Trusted Platform Module Initialization Wizard
Microsoft Windows – Trusted Platform Module Initialization Wizard
Trusted Platform Module Initialization WizardtpmInit
Microsoft Windows - User Accounts (Autologon)
Microsoft Windows – User Accounts (Autologon)
User Accounts (Autologon)control userpasswords2

Computer can only access Google, YouTube, microsoft.com etc. or Nothing at all

Keywords: Internet connection, Limited internet access, netsh, winsock, ipconfig, Microsoft Windows, WiFi, WiFi Router, Modem

Sometimes, you will find that your computer can only access Google, or microsoft.com etc.

For Mirosoft Windows there are many tricks you can try:

1 Win + R

2 Type cmd and hit Enter key.

Try each of these and hit enter at the end of each line

(If use netsh int ip reset, ignore netsh int ipv4 reset and netsh int ipv6 reset)

netsh winsock reset
netsh int ip reset
netsh int ipv4 reset
netsh int ipv6 reset

3 Restart your computer

4 Follow step 1-3 and type following commands, hit enter at the end of each line

ipconfig /release
ipconfig /renew

5 Wait 3 minutes

If you still can not get online.

Try to power cycle/restart your WiFi/Router/Modem. (Normally the box at home or small office you use to access WiFi and internet.)