Archive for the ‘Windows 7’ category

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.

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.

How to Change Local / Domain Admin Password Using Windows PowerShell

April 25th, 2019 by Admin

Need to write a PowerShell script for changing a local account’s password? We’ve covered various ways of resetting Windows password in the past, but this tutorial will teach you how to change the password of either local account or domain account using Windows PowerShell.

How to Change Local / Domain Admin Password Using PowerShell

  1. Open Windows PowerShell as Administrator.

  2. First, you have to convert your new password to encrypted string by running the following command. Be sure to replace P@ssw0rd with the new password you want to set for your account.

    $NewPassword = ConvertTo-SecureString "P@ssw0rd" -AsPlainText -Force

  3. Next, type the following command to change your local account password. Substitute Tom in the command below with the actual user name of the local account that you want to change the password of.
    Set-LocalUser -Name Tom -Password $NewPassword

    If you need to change domain user password, run the following command instead:
    Set-ADAccountPassword Tom -NewPassword $NewPassword –Reset

  4. After completing the above steps, reboot your computer and you can log in to your local / domain account with the new password.

How to Make Windows Clear Pagefile at Shutdown for Added Security

April 24th, 2019 by Admin

Pagefile is a hidden system file used by Windows to swap data back and forth between RAM and physical drive. When your RAM is insufficient to hold every running program, some of the program’s memory (including sensitive data and passwords) will be moved to the pagefile.

Pagefile is well protected while Windows is running, but the data within it persists after a shutdown. A malicious user who has physical access to your PC can extract sensitive data from the pagefile by booting a Live CD. To prevent such potential security risk, you can configure Windows to automatically clear the paging file on every shutdown.

Method 1: Make Windows Clear Pagefile at Shutdown Using GPO

  1. Press the Windows logo key and the R key simultaneously. Once the Run dialog box is opened, type secpol.msc into it and click OK.

  2. Navigate to Security Settings -> Local Policies -> Security Options. On the right pane, double-click on the “Shutdown: Clear virtual memory pagefile” policy.

  3. Select the Enabled radio option, and then click on Apply and then OK.

  4. Restart your computer to make sure the changes take effect.

Method 2: Make Windows Clear Pagefile at Shutdown Using Registry Editor

  1. Open the Registry Editor and browse to the following key:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management

    Next, double-click on a 32-bit DWORD value named ClearPageFileAtShutdown in the right pane.

  2. Change the current default value from 0 to 1. Click OK to save the changes.

  3. Restart Windows to apply your changes. Whenever you shut down your PC, Windows will automatically clear the pagefile for added security.