Archive for the ‘Tips & Tricks’ category

How to Fix: Windows 11 Desktop Icons not Showing

February 12th, 2022 by Admin

Desktop icons disappeared after Windows 11 update? Cannot right-click anywhere on the desktop to restore the missing icons? Here are a couple of troubleshooting tips to fix the problem of Windows 11 desktop icons not showing.

Method 1: Enable Show Desktop Icons

Right-click any empty space on your desktop and navigate to the View tab at the top, then check the “Show desktop icons” option.

Make sure there is a check-mark next to the “Show desktop icons” option.

Method 2: Configure Your Desktop Icons’ Settings

Press the WIN + I keyboard shortcut to open the Settings app, then navigate to: Personalization -> Themes. On the right-hand side pane, click the “Desktop icon settings” option.

Select the icons that you want to display on the desktop, For example, Computer, Recycle Bin, User’s Files, Network, or Control Panel.

Click Apply and then OK to see if the missing desktop icons appear.

Method 3: Check Group Policy Setting

If all desktop icons disappear and you cannot right-click on the desktop, then check if this issue is caused by a improper group policy.

  1. Open Local Group Policy Editor and browse to: User Configuration -> Administrative Templates -> Desktop. On the right-side, double-click the “Hide and disable all items on the desktop” policy.

  2. If this policy is enabled, select “Not Configured” and click OK.

  3. Restart your computer to make the changes take effect. The missing desktop icons should come back and the right-click problem should also be fixed.

Method 4: Rebuild the Icon Cache

If your desktop icons are missing or appear blank or broken, you can fix the issue by rebuilding the desktop icon cache. Just open the elevated Command Prompt and execute the following command:
DEL %userprofile%\AppData\Local\IconCache.db /a

Log off your account and log in to see if the problem is fixed.

Conclusion

Desktop icons still don’t show up after trying the above methods? It’s possible that you’ve been logged in with a temporary profile, or you need to fix corrupted values for icon spacing in Registry Editor. As a last resort, you can perform a clean boot or restore your PC to an earlier restore point.

Windows 11: How to View Command History in PowerShell or Command Prompt

February 3rd, 2022 by Admin

Is there a simple way to see Command Prompt history without using arrow keys? Can I view PowerShell command history for previous sessions? In this tutorial we’ll show you how to quickly access the history of commands you recently typed in Windows Terminal (PowerShell or Command Prompt).

Part 1: View Command History in PowerShell

When you’re at the PowerShell console, just run the history command and it will display all commands you typed during the current session.

By default, PowerShell maintains the command history of all sessions and store it in a text file located in your user profile directory. Just press the Windows key + R together to launch the Run dialog, copy and paste the following path and press Enter:
%userprofile%\AppData\Roaming\Microsoft\Windows\PowerShell\PSReadline

File Explorer will open to your specified location and you can see a text file named ConsoleHost_history.txt.

Open the ConsoleHost_history.txt file with NotePad and it reveals all the commands that you have typed in each PowerShell sessions.

Part 2: View Command History in Command Prompt

When you’re at the Command Prompt, just execute the below command and the command history for your current session will appear on the screen.
doskey /history

or press F7 key to open a pop-up inside the Command Prompt, which shows a list of the commands that have been entered in this session. You can use the up and down arrow keys to select a command, and then press Enter to execute the command again.

Once you close the Command Prompt window, the history will be removed permanently. Before closing it, you can use the following command to save the command history:
doskey /history > d:\MyHistory.txt

That’s it!

How to Enable the Classic Boot Menu in Windows 11

February 2nd, 2022 by Admin

Dual-boot menu does not show up and can’t select which operating system to boot? How can I enable F8 key for accessing Safe Mode? You just need to enable the classic Windows Boot Manager screen in Windows 11, which will display OS selection menu and also let you press F8 key to access Safe Mode.

How to Enable the Classic Boot Menu in Windows 11

  1. Press the Windows key + R together to launch the Run command box, type cmd and press CTRL + SHIFT + ENTER keyboard shortcut to open the Command Prompt as administrator.

  2. Run the following command to enable the legacy boot menu:
    bcdedit /set {bootmgr} displaybootmenu yes

  3. Close Command Prompt and reboot your PC. You’ll see the Windows Boot Manager screen at startup, which shows a list of installed operating systems.

    If you press F8 key as the screen indicates, it will let you access Advanced Boot Options, including Safe Mode.

    Whenever you need to disable the classic boot menu, just open an elevated Command Prompt and execute this command:
    bcdedit /set {bootmgr} displaybootmenu no

That’s it!

Fast Ways to Open Command Prompt in Windows 11

January 28th, 2022 by Admin

Windows 11 brings Windows Terminal to the forefront and you may find that it’s not easy to access the classic Command Prompt. If you get accustomed to using Command Prompt, here are the fastest ways to open Command Prompt in Windows 11.

Method 1: Open Command Prompt in Windows 11 via Run

Press the Windows key + R together on your keyboard to open the Run dialog box. Type cmd and press ENTER to launch a regular Command Prompt window.

or type cmd, and then press CTRL + SHIFT + ENTER keyboard shortcut to open an elevated Command Prompt.

Method 2: Open Command Prompt in Windows 11 via Search

Click the Search button in the taskbar. Type cmd in the search box at the top. The Command Prompt app will appear under Best Match section.

You can click Open or “Run as administrator” to launch a Command Prompt window, or pin it to the Start menu or taskbar for quick access.

Method 3: Open Command Prompt in Windows 11 via Start

Right-click the Start button in the taskbar and choose Windows Terminal. If you’re going to open Command Prompt as administrator, click the “Windows Terminal (Admin)” option instead.

When the Terminal app opens, click on the down-facing arrow in the title bar and select “Command Prompt“.

It will open the Command Prompt immediately.

Method 4: Open Command Prompt in Windows 11 via Task Manager

Open Task Manager. Click the File menu and select “Run new task“.

Type cmd in the Open box, tick the “Create this task with administrative privileges” option if you want to open an elevated Command Prompt.

Once you click OK, the Command Prompt will immediately open up.

Step-by-Step Tutorial to Enable DNS over HTTPS in Windows 11

January 25th, 2022 by Admin

Windows 11 comes with built-in support for DNS over HTTPS (DoH), which lets you encrypt all DNS requests between your PC and the DNS server to improve your online privacy and security. In this tutorial we’ll walk you through the steps to enable DNS over HTTPS for all programs (including browsers) on your Windows 11 computer.

How to Enable DNS over HTTPS in Windows 11

  1. Press the Windows key + I to open the Settings app. Choose “Network & internet” from the sidebar. On the right side, click on “Advanced network settings“.

  2. You’ll see a list of installed network adapters. Click on Wi-Fi or Ethernet to expand the settings, depending on your active internet connection.

  3. Click on the “View additional properties” link.

  4. click on Edit next to “DNS server assignment”.

  5. In the window that pops up, make sure the “Edit DNS settings” drop-down list is set to Manual. Turn on IPv4 and enter the primary and secondary DNS server addresses which support DoH. Select the “Encrypted only (DNS over HTTPS)” option for both DNS servers.

    Here are the public DNS servers which support DoH:

    Google
    IPv4: 8.8.8.8, 8.8.4.4      
    IPv6: 2001:4860:4860::8888, 2001:4860:4860::8844
    
    Cloudflare
    IPv4: 1.1.1.1, 1.0.0.1      
    IPv6: 2606:4700:4700::1111, 2606:4700:4700::1001
    
    Quad9
    IPv4: 9.9.9.9, 149.112.112.112     
    IPv6: 2620:fe::fe, 2620:fe::fe:9
  6. After clicking Save, Windows 11 will automatically start encrypting DNS requests for all your programs and web browsers.

2 Methods to Hide “Pin to taskbar” from Context Menu in Windows 11

January 21st, 2022 by Admin

Is it possible to hide “Pin to taskbar” or “Unpin from taskbar” context menu for programs or apps? If you don’t allow users to remove pinned apps from the taskbar or pin new programs to the taskbar, here are 2 simple methods to disable or hide “Pin to taskbar” option from right-click context menu in Windows 11.

Method 1: Hide “Pin to taskbar” from Context Menu Using Group Policy

  1. Open Local Group Policy Editor and expand to: User Configuration -> Administrative Templates -> and Start Menu and Taskbar. Double-click the “Do not allow pinning programs to the Taskbar” policy on the right pane.

  2. Select the Enabled option. Click Apply and then OK.

  3. Sign out of your account or restart your computer. You’ll find the “Pin to taskbar” option is already removed from right-click context menu. When you right-click any pinned apps on the taskbar, the “Unpin from taskbar” option will not show up any more.

Method 2: Hide “Pin to taskbar” from Context Menu Using Group Policy

  1. Open Registry Editor and browse to HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows in the left pane. Right-click the Windows key and select New -> Key.

  2. Name the new key as Explorer, and click to select it. On the right pane, right-click any blank area and choose New -> DWORD (32-bit) Value.

  3. Name the new DWORD as NoPinningToTaskbar. Next, double-click it and change its value data to 1. Click OK. This will hide “Pin to taskbar” and “Unpin from taskbar” context menu for apps in Windows 11.

    Whenever you need to restore the missing “Pin to taskbar” option or revert back to the previous settings, just delete the DWORD “NoPinningToTaskbar” and you’re done.

  4. Close Registry Editor. Log out and log back in again to make these changes take effect.

How to Disable or Enable Memory Compression in Windows 11 / 10

January 18th, 2022 by Admin

Memory compression is a new feature introduced in Windows 10, which can store more data in your RAM than it otherwise could, by storing part of the memory pages in RAM in a compressed form. For example, if your applications need to store 4 GB of data in the RAM at the same time, Windows might have 3 GB of uncompressed data and 0.5 GB of compressed data that actually takes up 1 GB in RAM.

With memory compression, Windows can compress a fraction of the memory in order to reduce page swap out. This is very useful when your PC doesn’t have enough physical memory. In this tutorial we’ll show you how to disable or enable memory compression in Windows 11 / 10.

Part 1: Check if Memory Compression is Enabled

Open up Task Manager. Go to the Performance tab and select Memory on the left sidebar. You will see how much memory is compressed under the “In use (Compressed)” section. As you can see in the following screenshot, 2.3 GB of memory is in use, and of that 80.9 MB is compressed.

If the compressed memory is shown as 0 MB, it’s likely that the memory compression feature is disabled on your system.

Part 2: Disable or Enable Memory Compression

  1. Right-click on the Start button in the taskbar and select Windows Terminal (Admin). If you’re running Windows 10, open Windows PowerShell as administrator.

  2. Then run the Disable-MMAgent -mc command to disable memory compression, and afterwards execute the command Get-MMagent to check if memory compression is disabled successfully.

  3. If you need to turn on or enable memory compression, enter this command and press Enter.
    Enable-MMAgent -mc

  4. Reboot your computer to apply the changes. The next time you log in to your system, you can launch Task Manager and check if memory compression is running or not.

2 Methods to Disable Windows Insider Program Settings in Windows 11

January 16th, 2022 by Admin

How can I prevent other users from joining or leaving the Windows Insider Program? As a system administrator, you may need to prevent users from getting Insider Preview builds on a shared computer. In this tutorial we’ll show you 2 methods to disable Windows Insider Program settings in Windows 11.

Method 1: Disable Windows Insider Program Settings Using Group Policy

  1. Open the Local Group Policy Editor and browse to: Computer Configuration -> Administrative Templates -> Windows Components -> Data Collection and Preview Builds. On the right pane, find a policy named “Toggle user control over Insider builds” and then double-click it to modify.

  2. Select the Disabled option, click Apply and then OK.

  3. Restart your computer. The next time you open the Settings app and navigate to: Windows Update -> Windows Insider Program, you’ll find that most settings are no longer available to users.

Method 2: Disable Windows Insider Program Settings Using Registry Editor

  1. Open Registry Editor and navigate to: HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows. Right-click on the Windows key in the left pane, and select New -> Key.

  2. Name the new key as PreviewBuilds, and then right-click it and select New -> DWORD (32-bit) Value.

  3. Name the DWORD as AllowBuildPreview. Leave its value data as 0.

    Whenever you need to enable Windows Insider Program settings again, just set the value data of AllowBuildPreview to 1 or delete AllowBuildPreview.

  4. Close Registry Editor and reboot your system to apply the changes.

How to Use the Microsoft Remote Desktop App to Access Remote PC

January 11th, 2022 by Admin

When you need to access a remote Windows computer, the first tool that comes to mind should be the built-in Terminal Services Client (mstsc.exe).

Starting with Windows 10, you can download a modern app called “Microsoft Remote Desktop” which allows you to connect to a remote Windows PC from Mac, PC, your iPhone or Android device. In this tutorial we’ll walk you through the steps of using the Microsoft Remote Desktop app to access your remote Windows PC.

How to Use the Microsoft Remote Desktop App to Access Remote PC

Before getting started, make sure you’ve turned on the Remote Desktop feature on your remote computer. So you can then start a remote connection from your local PC using the Microsoft Remote Desktop app.

  1. Download the Microsoft Remote Desktop app from Microsoft Store, Apple’s App Store or Microsoft’s official website, and then install it on your local device.
  2. Open the Remote Desktop app, click the Add button in the top-right corner, and then choose the “PCs” option from the pop-up menu.

  3. Enter the IP address of the remote computer you want to connect to, and click on Save.

    If you would like to save the login credentials, click the plus (+) icon next to the “User account” field. It will let you enter the username and password that you use to connect to the remote computer.

  4. Under the “Saved Desktops” section, click the icon for the remote PC to start a remote desktop connection.

  5. You’ll be prompted to enter your username and password if your login credentials are not saved by the Remote Desktop app.

  6. Tick the “Don’t ask about this certificate again” checkbox and click on “Connect anyway“.

  7. You’re now connected to the remote PC. The magnifier icon at the top-middle toolbar lets you zoom in and out, while the three-dotted button allows you to terminate the session, or switch between full screen and window mode.

That’s it!

How to Enable Remote Desktop on Windows 11

January 10th, 2022 by Admin

Remote Desktop Connection is a built-in feature that comes with Windows 11 Professional and Windows 11 Enterprise, which lets you remotely connect to your PC from another device. In this tutorial we’ll walk you through the steps of turning on Remote Desktop on Windows 11.

How to Enable Remote Desktop on Windows 11

  1. To begin, press the Windows key + I on your keyboard to launch the Settings app. Choose System on the left and click Remote Desktop on the right-hand pane.

  2. Turn on the Remote Desktop toggle switch.

  3. You will then receive a confirmation pop-up. Click Confirm to proceed.

  4. Next, click the arrow icon next to the toggle switch. Tick the checkbox “Require devices to use Network Level Authentication Connect (Recommended)” which adds security to remote desktop connection. However, if you need to connect to this PC from an older version of Windows which doesn’t support Network Level Authentication, like Windows XP or Vista, you have to uncheck this option.

  5. By default, all user accounts in the Administrators group can remotely access this PC. If you want to grant remote access to non-administrative users, click the “Remote Desktop users” option. When the Remote Desktop Users dialog box appears, you can click the Add button to add other user accounts.

  6. Now you’ve successfully turned on Remote Desktop. Windows 11 will automatically open the RDP port and allow Remote Desktop through firewall. Additionally, you can also enable Remote Desktop using Command Prompt, PowerShell or a registry tweak.