Archive for the ‘Windows 8’ category

How to Clear or Flush DNS Cache in Windows 10, 8, 7

October 18th, 2019 by Admin

Have you ever encountered the error DNS_PROBE_FINISHED_NXDOMAIN or ERR_NAME_NOT_RESOLVED when accessing a website? Your browser displays a 404 error or tell you “The site can’t be reached“? These problems usually happen when your DNS cache is corrupted or out of update, so Windows can’t resolve the domain name of the website you’re visiting into IP address correctly. Clearing the DNS cache is the most effective way to resolve DNS related problems. Here’s how you can view, clear / flush DNS cache in Windows 10, 8, 7.

Part 1: View DNS Cache

Open an elevated Command Prompt and run the following command:
ipconfig /displaydns >C:\dnscache.txt

The above command will export the local DNS cache to a text file: C:\dnscache.txt. Just open it with Notepad and you can see the IP addresses for the respective domains or hosts you’ve ever visited.

As you can see in the above screenshot, Windows will check the DNS cache and send my request to the IP address 172.217.11.68 when I try to visit google.com.

Part 2: Clear or Flush DNS Cache

When you need to clear or flush DNS cache, just open the Command Prompt as administrator and type this command:
ipconfig /flushdns

Once pressing Enter, the DNS Resolver cache will be cleared immediately. Windows will start creating new and up-to-date DNS records for any websites you visit thereafter.

The Easy Way to Disable or Enable Guest Browsing Mode in Chrome

October 8th, 2019 by Admin

Chrome’s guest mode is a nice feature that lets you surf the web without leaving any browsing history or cookies on the computer. You can download files as usual in guest mode, but you cannot add bookmarks or install extensions. In this tutorial we’ll show you how to disable or enable guest browsing mode in Chrome for Windows 10 / 8 / 7.

How to Disable or Enable Guest Browsing Mode in Chrome

  1. Press the Windows key + R keyboard combination to open the Run dialog box. Type in regedit and hit Enter to open Registry Editor.

  2. In the left-hand pane, navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome. By default, both the “Google” and “Chrome” keys don’t exist. You have to create them manually.
  3. While the “Chrome” key is selected, right-click on the blank area in the right-hand pane, and create a 32-bit DWORD BrowserGuestModeEnabled and leave its value data to 0.

  4. Now, you’ve successfully turned off guest mode in Chrome. Relaunch your Chrome browser and you’ll unable to open a Guest windows any longer.

  5. Whenever you need to force Chrome to always start in guest mode, just open the same registry key and change the value of BrowserGuestModeEnabled to 1.

If you don’t want to manage the guest mode settings later, just delete the DWORD BrowserGuestModeEnabled and you’re done.

Easy Ways to Enable Telnet Client in Windows 10 / 8 / 7

September 29th, 2019 by Admin

Telnet is not recognized as an internal or external command on Windows 10? Starting with Windows 7, telnet is not enabled by default and you have to install it manually. In this tutorial we’ll show you 2 simple ways to enable telnet client in Windows 10 / 8 / 7.

Method 1: Enable Telnet Client Using Control Panel

  1. Open the Control Panel with Large icons view, and click on Programs and Features.

  2. Click the “Turn Windows features on or off” option in the left pane.

  3. In the Windows Features window, check the checkbox for Telnet Client and click OK.

  4. When complete, you’ll see the “Windows completed the requested changes” message.

  5. Now, you can start using the telnet command from the Command Prompt or PowerShell.

Method 2: Enable Telnet Client Using PowerShell or Command Prompt

  1. Open Windows PowerShell (or Command Prompt) as administrator.
  2. Type the following command and hit Enter. It will take a while to install telnet on your computer.
    dism /online /Enable-Feature /FeatureName:TelnetClient

    Whenever you need to disable or uninstall telnet, run the below command:
    dism /online /Disable-Feature /FeatureName:TelnetClient

That’s it!

How to Enable Remote Desktop with Registry, PowerShell or Command Prompt

September 19th, 2019 by Admin

Is there a script to remotely enable remote desktop on Windows Server 2016? Previously we’ve covered how to turn on remote desktop protocol (RDP) using the GUI interface, but those methods don’t work in some scenarios where you do not have physical access to the computer on which you want to enable RDP. In this tutorial we’ll show you how to enable remote desktop remotely using Registry, PowerShell or Command Prompt.

Method 1: Enable Remote Desktop Using Registry Tweak

Once you are connected to the remote machine’s registry, navigate to the location: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server. In the right pane, double-click the DWORD fDenyTSConnections and change its value from 1 to 0.

Reboot your machine and remote desktop should now be accessible. If you need to disable remote desktop in future, just set the value of fDenyTSConnections to 1.

Method 2: Enable Remote Desktop Using PowerShell

Before getting started, you need to establish a session with the remote computer using PowerShell. Once connected, run the following PowerShell commands to enable remote desktop:

Set-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Control\Terminal Server'-name "fDenyTSConnections" -Value 0
Enable-NetFirewallRule -DisplayGroup "Remote Desktop"

The first command will turn on remote desktop, while the second command will activate the firewall rules that allow remote desktop connections.

When you need to disable remote desktop later, run the following commands instead:

Set-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Control\Terminal Server'-name "fDenyTSConnections" -Value 1
Disable-NetFirewallRule -DisplayGroup "Remote Desktop"

Method 3: Enable Remote Desktop Using Command Prompt

If you can open a remote Command Prompt window via SSH, PsExec or WinRS, run the following commands to enable remote desktop and configure Windows Firewall to allow remote desktop connections:

reg add "HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server" /v fDenyTSConnections /t REG_DWORD /d 0 /f
netsh advfirewall firewall set rule group="remote desktop" new enable=yes

To disable remote desktop, execute the below commands:

reg add "HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server" /v fDenyTSConnections /t REG_DWORD /d 1 /f
netsh advfirewall firewall set rule group="remote desktop" new enable=No

That’s all!

How to Unlock the Keyboard on Windows 10 / 8 / 7 Computer

May 28th, 2019 by Admin

Keyboard is locked and you can’t type anything? If you’ve locked the keyboard unintentionally and couldn’t recall how you did it, just follow this troubleshooting tutorial and you should be able to unlock the keyboard on your Windows 10 / 8 / 7 computer.

Before getting started, you have to find if certain keys or the entire keyboard has broken physically. For external USB / PS2 keyboard, you can connect it to a different computer. If the issue still exists, it is possible that your keyboard is physically damaged. Otherwise, it should be a software issue and you can fix it with the steps below.

Step 1: Turn Off Filter Keys

If your entire keyboard is locked, it’s possible that you’ve turned on the Filter Keys feature accidentally. When you hold down the right SHIFT key for 8 seconds, you should hear a tone and the “Filter Keys” icon appears in the system tray. Just then, you’ll find that the keyboard is locked and you can’t type anything.

To unlock the keyboard, you have to hold down the right SHIFT key for 8 seconds again to turn off Filter Keys, or disable Filter Keys from the Control Panel.

Step 2: Turn Off NumLock

If your keyboard doesn’t type the correct characters, it’s possible that you’ve turned on NumLock or you’re using a incorrect keyboard layout. To fix such issue, you have to disable NumLock or change your keyboard layout by following these tutorials:

Step 3: Reinstall or Update Keyboard Driver

The keyboard may become locked due to a faulty or outdated driver. To get your keyboard back to work, you may need to reinstall or update the keyboard driver. Follow these steps:

Open Device Manager and expand the Keyboards category. Right-click on your computer’s keyboard and select either Update driver or Uninstall device.

If you’ve chosen the “Uninstall device” option, restart your PC. Windows will automatically install the default keyboard driver.

Conclusion

With these troubleshooting tips you should be able to unlock your keyboard most of the time. If you problem still persists, try to contact your computer’s manufacturer or seek help from their forums. For HP Pavilion laptop, you might unlock the keyboard by pressing the Ctrl + PrntScr keyboard shortcut.

How to Disable Early Launch Anti-Malware Protection in Windows 10 / 8

May 20th, 2019 by Admin

In Windows 10 / 8, Microsoft has implemented Early Launch Anti-Malware (ELAM) protection which can check the integrity of system files and prevent malicious drivers or programs from starting very early in the boot process. The well documented sticky keys exploit lets you escalate privilege from Windows login screen, but it is no longer working because of ELAM.

However, if a driver is classified as malware by ELAM because it is malicious or a false positive, it may prevent your system from booting. To solve this issue, you may need to temporarily turn off ELAM so that you can either update your antivirus software or remove the problematic malware driver. In this tutorial we’ll show you a simple way to temporarily disable Early Launch Anti-Malware protection in Windows 10 / 8.

How to Disable Early Launch Anti-Malware Protection in Windows 10 / 8

  1. When you are on Windows login screen, click the Power button, hold down Shift key and choose the Restart option to access the Advanced Boot Options screen.

    If you don’t even get to the Windows login screen, just boot your PC with Windows installation media and click on “Repair your computer“.

  2. Next, click on the Troubleshoot option.

  3. Click on Advanced options.

  4. If you couldn’t see the Startup Settings option, click on See more recovery options.

  5. Click on Startup Settings.

  6. Click on the Restart button.

  7. Your computer should automatically reboot into the Startup Settings menu as shown below. Now, you can press the 8 or F8 key on your keyboard to disable early-launch anti-malware protection.

  8. This will launch Windows, but with the early launch anti-malware protection disabled temporarily. Note that the next time you restart the computer, early-launch anti-malware protection will automatically be enabled again.

2 Ways to Export and Import Local Security Policy in Windows 10 / 8 / 7

May 13th, 2019 by Admin

How can I backup local security policy or transfer all policy settings from one system to another? In this tutorial we’ll show 2 simple ways to export and import local security policy in Windows 10 / 8 / 7.

Method 1: Export and Import Local Security Policy with GUI

The Local Security Policy Editor comes with the import / export feature, making it much easier to migrate or replicate the same local security policy settings across multiple computers.

Export:

  1. Press the Windows key + R together. When the Run dialog box shows up, type secpol.msc into it and hit Enter to open the Local Security Policy Editor.

  2. Right-click on Security Settings in the left-side pane, and you can then select “Export policy” from the context menu.

  3. Browse to the location where you want to save the security settings file (.INF), give it a name and click on Save.

  4. Open the .inf file with your text editor. As you can see, it contains all your local security policy, including your account lockout and password policy.

Import:

  1. Open the Local Security Policy Editor as before, right-click on Security Settings in the left pane and this time choose “Import policy“.

  2. Browse to the location where you saved the security settings file, select the INF file and click on Open.

  3. Reboot your computer to apply the new local security policy.

Method 2: Export and Import Local Security Policy with Command Prompt

To export the local security policy settings to a file (for example, security-policy.inf), open the Command Prompt as administrator and type the following:
secedit.exe /export /cfg D:\security-policy.inf

When you need to import the local security policy settings from the .INF file, simply run this command:
secedit.exe /configure /db %windir%\security\local.sdb /cfg D:\security-policy.inf

This method is very useful especially when you’re using the Home edition of Windows which has no Local Security Policy Editor.

3 Ways to Change Screen Buffer Size in Windows Command Prompt

May 6th, 2019 by Admin

How can I increase the screen buffer size of Command Prompt? The screen buffer size of Command Prompt is expressed in terms of a coordinate grid based on character cells:

  • The width is the number of characters that are displayed on a line in the Command Prompt window. The larger the width size, the more characters will show in the same row before wrapping.
  • The height is the number of lines that are stored in the memory.

In this tutorial we’ll show you 3 simple ways to permanently or temporarily change screen buffer size of Command Prompt in Windows 10 / 8 / 7.

Note: Screen buffer size set using Method 2 and Method 3 will only be temporary and as soon as you close the Command Prompt the changes will be lost.

Method 1: Permanently Change Screen Buffer Size of CMD in Properties

  1. Right-click on the title bar of the Command Prompt window, and then select Properties from the context menu.

  2. Go to the Layout tab. Under the “Screen Buffer Size” section you can set the desired width and height. If the screen buffer size is greater than the Window Size, then scroll bars will be displayed as required.

  3. Click OK to apply.

Method 2: Temporarily Change Screen Buffer Size of CMD Using Mode Command

  1. When the Command Prompt window is open, you can temporarily change the screen buffer size by typing this command:
    mode con:cols=Width_Size lines=Height_Size

    Substitute “Width_Size” with the value you want for the screen buffer width size and “Height_Size” with the value you want for the screen buffer height size.

  2. As soon as you hit Enter, the current Command Prompt window will resize to apply your new screen buffer size.

Method 3: Temporarily Change Screen Buffer Size of CMD Using Batch / Script

If you need to change screen buffer size from a Windows batch script, just add the following lines:

@echo off
cmd.exe /k "mode con:cols=100 lines=3000"

This will change screen buffer width to 100, and set the height size to 3000. You can make any adjustment you like for the width and height value.

How to Enable Quick Removal Policy for USB Drives in Windows 10 / 8 / 7

April 28th, 2019 by Admin

Do you really need to safely eject a USB drive before pulling it out of your computer? Windows has two different policies you can select for each individual USB drive:

  • Quick removal – This will disable write caching on the USB device, and your data will be written to physical drive in real-time. So you will be able to disconnect your USB drive even without using the “Safely Remove Hardware” option.
  • Better performance – This will cache the write operations to optimize performance and your data will be written to physical drive at a later time. Before unplugging your USB drive, you have to click the “Safely Remove Hardware” icon appears in the system tray to tell Windows to write all the cached data to disk.

If you don’t bother with safely removing USB devices before unplugging them, follow this tutorial to enable Quick Removal policy for USB drives in Windows 10 / 8 / 7.

How to Change Removal Policy for USB Drives in Windows

  1. To get started, you need to open the Disk Management tool. If you’re running Windows 10, just hit the Windows key + X together and you can then select “Disk Management” from the menu.

  2. Find your USB drive in the lower section of the Disk Management window, right-click its name and choose Properties from the pop-up menu.

  3. Switch to the Policies tab and you can change the removal policy to Quick removal. Click OK to save your change. Note that This change only applies to this specific USB device.

  4. That’s it! Whenever the activity light on your USB drive is no longer blinking, you can directly remove the device without bothering to click the Safely Remove Hardware notification icon.

Updates: In earlier versions of Windows the default removal policy applied to USB drives was Better Performance. With the release of Windows 10 version 1809, Microsoft has changed its default policy to Quick Removal.