Archive for the ‘Windows 10’ category

Windows 10 Command Prompt: New Console vs. Legacy Console

March 4th, 2016 by Admin

If you have upgraded to Windows 10, you may have noticed that it features an improved Command Prompt. For years, we have suffered the limitations of the Command Prompt such as not able to paste text using Ctrl+V or resize the window. Now all these features are included with the new Command Prompt.

resize-command-prompt

The new Command Prompt also allows you to switch back to use only legacy console. In this article we’ll explain in detail the differences between new console and legacy console for Windows 10 Command Prompt.

Part 1: Enable / Disable Legacy Console in Windows 10 Command Prompt

Open a Command Prompt. Right-click on the title bar and select Properties from the context menu that opens up..

cmd

Go to the Options tab and you can see a new option called “Use legacy console (requires relaunch)“. In Windows 10, the new console is enabled by default so you should see the “Use legacy console” option is unchecked.

new-cmd-console

If you want to use an old legacy Command Prompt, just uncheck the “Use legacy console (requires relaunch)” option. When legacy console is enabled, only two edit options are available: QuickEdit Mode, Insert Mode. To access other edit options such as “Enable new Ctrl-key shortcuts“, you have to enable the new console by unchecking the “Use legacy console (requires relaunch)” option.

legacy-cmd-console

Part 2: List of Windows 10 Command Prompt Features

To help you understand the differences between new console and legacy console, we’ll go over the most important features available in Windows 10 Command Prompt:

QuickEdit Mode (available in both legacy console and new console)

This option allows you to use the mouse to copy and paste text to and from the Command Prompt window. When QuickEdit Mode is disabled, you need to right-click the title bar of the Command Prompt, click Edit and then Mark, before you can drag the mouse to select the data you want to copy.

text-selection

Insert Mode (available in both legacy console and new console)

It has the same function as the Insert keyboard key: the cursor inserts a character at its current position, forcing all characters past it one position further. If Insert Mode is disabled, then when you type, what you’re typing overwrites any text that is present in your current location.

Enable Ctrl key shortcuts (available in new console only)

It lets you use a set of keyboard shortcuts like Ctrl + C or Ctrl + V inside the Command Prompt, which is something you couldn’t do in previous versions.

CTRL + A – Select all
CTRL + C – Copy
CTRL + F – Find
CTRL + M – Mark
CTRL + V – Paste
CTRL + ↑/↓ – Scroll (line) up/down
CTRL + PgUp/PgDn – Scroll (page) up/down

Filter clipboard contents on paste (available in new console only)

When you paste contents from the clipboard to the command prompt, tabs are automatically removed and smart quotes are converted to regular ones.

filter-clipboard-contents

Enable line wrapping selection (available in new console only)

Previous versions of Command Prompt only allow you to use a square selection box for selecting text in block mode. After you copied the text, you have to correct the line wrapping with a text editor. In Windows 10, if you’ve enabled the “Enable line wrapping selection” option, you can select the text just like you select text in a regular text editor like Notepad.

line-wrapping-selection

Extended text selection keys (available in new console only)

This option allows you to use a set of common keyboard shortcuts in Command Prompt. For example, you can use Shift + Arrow keys to select characters or lines of text, or Ctrl+ A to select all the text on the command line or all the text in the window.

That’s it. Now you know about all new features in Windows 10 Command Prompt, and the differences between new console and legacy console.

5 Ways to Run Powershell as Administrator in Windows 10

March 2nd, 2016 by Admin

Is there a way to run a PowerShell Prompt with elevated privileges from a command line? In this tutorial we’ll show you 5 simple ways to open PowerShell as Administrator in Windows 10.

Method 1: Run PowerShell as Administrator Using Cortana Search Bar

Windows 10 comes with a Cortana search box in the taskbar. Just type powershell in the search box.

cortana

Right click on Windows PowerShell on the results and select Run as administrator.

run-powershell-from-cortana

The UAC prompt will ask you for your consent. Click Yes, and the elevated PowerShell prompt will open.

run-powershell-as-admin

Method 2: Run PowerShell as Administrator Using the Run Window

Press Windows + R keys together on the keyboard to open the Run box. Type powershell and hit Enter.

run

Windows PowerShell will launch with the rights of the current user.

If you want to switch from normal mode to administrator mode, type the following PowerShell command and press Enter.
Start-Process powershell -Verb runAs

switch-to-admin-mode

Method 3: Run PowerShell as Administrator from Command Prompt or WinX Menu

Open the Command Prompt as administrator, type powershell and press Enter.

Since Windows 10 Creators Update, you can also access PowerShell from the WinX menu. Press Windows + X keys together on the keyboard to open the WinX menu. Click on “Windows PowerShell (Admin)“.

Method 4: Run PowerShell as Administrator from Task Manager

First of all you need to access the Task Manager. This can be done by pressing Ctrl + Shift + Esc in Windows 10 / 8. By default Task Manager shows fewer details, and you need to click More Details.

Click on File menu and select New Task.

task-manager

Type powershell and select the “Create this task with administrative privileges” check box and click OK to open an elevated PowerShell prompt.

create-new-task

Method 5: Run PowerShell as Administrator from Start Menu

Click on the Start button to open the Start menu. Next click on All apps button at the bottom to expand the list of apps.

start-menu

Scroll to the Windows PowerShell folder. Expand the folder and then right-click on Windows PowerShell shortcut. Select “Run as administrator“.

run-powershell-from-start-menu

If you’re running Windows 7, Vista or XP, in order to start Windows PowerShell with administrator privileges, you need to click Start -> All Programs -> Accessories, point to Windows PowerShell, right-click Windows PowerShell, and select Run As Administrator.

2 Ways to Remove / Uninstall Built-in Apps in Windows 10

February 28th, 2016 by Admin

Windows 10 comes with many modern metro style apps installed by default. There are plenty of users who are never going to use modern apps such as Xbox, Weather, Sports, Store, OneNote, Skype, Calendar and Mail, Alarms and Clock, etc. Thankfully, there are ways to completely remove / uninstall pre-installed Windows 10 modern apps.

windows-apps

Method 1: Remove / Uninstall Windows 10 Apps from Settings Charm

  1. Press the Windows + I keys to open the Settings charm.
  2. Click System on the Settings menu.

    app-settings

  3. Select Apps & features from the left pane. A list of all installed apps appears in the right pane. Select the app you want to remove, and click on Uninstall.

    uninstall-windows-apps

    If the Uninstall button is grayed out, this is a system app you cannot remove.

While a few of the built-in apps can be simply uninstalled from Settings charm, most of them don’t offer the Uninstall option. For uninstalling these apps, you might have to use Windows PowerShell described in method two.

Method 2: Remove / Uninstall Windows 10 Apps from PowerShell

Using PowerShell cmdlet you can remove / uninstall most of the built-in apps, excluding Cortana, Contact support, Windows Feedback and Microsoft Edge. If you try to remove Microsoft Edge browse, you’ll see an error message saying they can’t be removed.

Let’s see how to uninstall the built-in apps in Windows 10:

  1. Press the Windows logo key + X to open the WinX menu. Click on “Command Prompt (Admin)“.

    command-prompt-admin

  2. At the Command Prompt, type powershell and hit Enter.

    powershell

  3. Copy and paste the following command into the PowerShell prompt. Press Enter.
    Get-AppxPackage

    list-windows-apps

  4. Once you run the above command, PowerShell will display all modern apps installed on your computer. Scroll down to find the app you want uninstalled. You can easily identify it by looking at the Names of the apps from the list. For instance, the Camera app bears the name of Microsoft.WindowsCamera.

    windows-camera

  5. Run the following PowerShell command and you can remove a universal app:
    Remove-AppxPackage [PackageFullName]

    In our example, we would like to remove the Camera app, so type the following command:
    Remove-AppxPackage Microsoft.WindowsCamera_2016.128.10.0_x64_8wekyb3d8bbwe

    remove-windows-app

    Tips: You can copy the package name by click the beginning of the name and drag your mouse to the end to highlight it then right click. Next right click to paste the package name you copied into the Command Prompt.

Fortunately, the Remove-AppxPackage command also allows you to use the wildcard characters (such as *) to find the package. So you can simply type the keywords of the app to uninstall it. Here is a list of PowerShell commands to uninstall the universal apps that are pre-installed in Windows 10:

Remove all Modern Apps for the current account only:
Get-AppXPackage | Remove-AppxPackage

Remove all Modern Apps from all the accounts on your Windows system:
Get-AppxPackage -AllUsers | Remove-AppxPackage

Uninstall 3D Builder:
Get-AppxPackage *3dbuilder* | Remove-AppxPackage

Uninstall Alarms and Clock:
Get-AppxPackage *windowsalarms* | Remove-AppxPackage

Uninstall Calculator:
Get-AppxPackage *windowscalculator* | Remove-AppxPackage

Uninstall Calendar and Mail:
Get-AppxPackage *windowscommunicationsapps* | Remove-AppxPackage

Uninstall Camera:
Get-AppxPackage *windowscamera* | Remove-AppxPackage

Uninstall Contact Support:
This app can’t be removed.

Uninstall Cortana:
This app can’t be removed.

Uninstall Get Office:
Get-AppxPackage *officehub* | Remove-AppxPackage

Uninstall Get Skype:
Get-AppxPackage *skypeapp* | Remove-AppxPackage

Uninstall Get Started:
Get-AppxPackage *getstarted* | Remove-AppxPackage

Uninstall Groove Music:
Get-AppxPackage *zunemusic* | Remove-AppxPackage

Uninstall Maps:
Get-AppxPackage *windowsmaps* | Remove-AppxPackage

Uninstall Microsoft Edge:
This app can’t be removed.

Uninstall Microsoft Solitaire Collection:
Get-AppxPackage *solitairecollection* | Remove-AppxPackage

Uninstall Money:
Get-AppxPackage *bingfinance* | Remove-AppxPackage

Uninstall Movies & TV:
Get-AppxPackage *zunevideo* | Remove-AppxPackage

Uninstall News:
Get-AppxPackage *bingnews* | Remove-AppxPackage

Uninstall OneNote:
Get-AppxPackage *onenote* | Remove-AppxPackage

Uninstall People:
Get-AppxPackage *people* | Remove-AppxPackage

Uninstall Phone Companion:
Get-AppxPackage *windowsphone* | Remove-AppxPackage

Uninstall Photos:
Get-AppxPackage *photos* | Remove-AppxPackage

Uninstall Store:
Get-AppxPackage *windowsstore* | Remove-AppxPackage

Uninstall Sports:
Get-AppxPackage *bingsports* | Remove-AppxPackage

Uninstall Voice Recorder:
Get-AppxPackage *soundrecorder* | Remove-AppxPackage

Uninstall Weather:
Get-AppxPackage *bingweather* | Remove-AppxPackage

Uninstall Windows Feedback:
This app can’t be removed.

Uninstall Xbox:
Get-AppxPackage *xboxapp* | Remove-AppxPackage

Windows 10: Create and Use A USB Recovery Drive

February 26th, 2016 by Admin

A Recovery Drive is a bootable USB drive that can be used to repair or recover your computer, in the event it won’t start normally. Like its predecessor, Windows 10 also lets users create a bootable USB recovery drive easily. In this tutorial we’ll show you how to create and use a Windows 10 USB Recovery Drive.

If you are creating a basic Recovery Drive, you can use a 1GB USB flash drive. However, if you choose to include the system files, which allows you to use the Recovery Drive to reinstall Windows, you’ll want at least a 16GB USB flash drive. Note that a Recovery Drive prepared on a 32-bit version of Windows 10 can’t be used on 64-bit Windows 10 and vice versa.

Part 1: Create A Windows 10 USB Recovery Drive?

  1. Press the Windows key + X to open the WinX menu. Click Control Panel.
  2. Select the View by option at the top right of the Control Panel. Set it to Large icons. Next click Recovery.

    control-panel

  3. Select “Create a recovery drive“.

    recovery

    Click Yes when you see the User Account Control prompt.

  4. The Recovery Drive Creation Wizard should open. Make sure the “Back up system files to the recovery drive” option is checked if you want to use the Recovery Drive for reinstalling Windows. Click Next.

    create-recovery-drive

  5. Select the connected USB drive before clicking Next. Once again, we want to remind you that the selected drive will be completely erased.

    select-usb-flash-drive

  6. When you see the confirmation screen, click Create button and it will format the drive and begin copying files to the drive.

    erase-usb-drive

  7. If you’re creating a basic Recovery Drive, the process will take just a few minutes. If you create a dedicated Recovery Drive including the system files, it could take as long as an hour.

    creating-the-recovery-drive

  8. When the process is complete, click Finish to close the Recovery Drive wizard.

    recovery-drive-ready

Part 2: Use A Windows 10 USB Recovery Drive

If your computer fails to boot, stuck on automatic repair loop, unable to restore or reset your PC to factory defaults due to forgotten password, you will need your Recovery Drive to fix it.

Insert your previously-created USB Recovery Drive into your computer and restart. Your computer should boot from the Recovery Drive automatically. (If it doesn’t, you may need to change its boot order.)

Once booted to the Recovery Drive, you can access to the Advanced Startup Tools. From here, you can do several things to help troubleshoot your computer, such as perform a factory reset, reset / refresh Windows, restore from a system image, launch a command line tool to repair your losing system files or fix the boot issues, etc.

Reset / Remove Forgotten Password on Surface RT Tablet

February 24th, 2016 by Admin

Lost your Surface password? Locked out of your Surface RT tablet? At present, there is no any password recovery utility available to Windows RT system, so you might have to reset your tablet to factory defaults. This tutorial explains how to remove or reset Surface RT password by performing a factory reset.

Reset / Remove Forgotten Password on Surface RT Tablet

Windows RT integrates a built-in rescue method that allows you to reset the OS from the login screen. Here’s how to restore Surface RT tablet to factory default condition, without knowing your password:

  1. From the Windows login screen, click the Power icon at the bottom right of the screen. Holding down the SHIFT key on your keyboard and then click Restart.

    restart-from-login

    If your tablet doesn’t have a physical keyboard, you need to open the on-screen keyboard in order to access the SHIFT key. In the lower-left corner of your screen, you should see the Ease of Access icon. Click on that icon and then select the “On-Screen Keyboard” option. The on-screen keyboard will open. From there tap / click the Shift key once, then click on the Power icon and select Restart.

    on-screen-keyboard

  2. The tablet will reboot and take you to the troubleshooting option screen. Click Troubleshoot.

  3. Click on “Reset your PC” and then click Next.

    reset-this-pc

  4. You’ll now be prompted with two options. “Keep my files” and “Remove everything“. In this case, I click “Keep my files” as I want to keep the personal files intact. No matter whichever option you pick, all of your system settings will return to their defaults and apps will be uninstalled.

    keep-my-files

  5. Click Reset. Now, you can sit back and relax. Windows will now start the long process of resetting your entire PC, all files, software, users, and apps you have installed will be gone, and the PC will be like the first day it was purchased.

After resetting, you’ll be presented with a nice clean install of Windows RT with the best performance. Perform a factory reset is always a good move if you’re locked out of your Windows admin account, or plan to sale or donate your tablet.

Set Up Remote Desktop Connection in Windows 10

February 22nd, 2016 by Admin

Do you need remote access to your home or work computer? Remote Desktop Connection is a nice feature included with every Windows installation, which makes it easy to access your computer remotely from another computer. By default, Remote Desktop is disabled for security reasons. In this tutorial we’ll show you how to set up and use Remote Desktop Connection in Windows 10.

Part 1: Turn On Remote Desktop Connection in Windows 10

In order to set up Remote Desktop Connection, follow these step-by-step instructions:

  1. Press the Windows key + X to open the Quick Access menu. Click System from the menu that pops up.

    quick-access-menu

  2. The next window will show you all of the basic specifications of your computer such as model number, CPU configuration, installed memory, etc. Click on the “Remote settings” link on the left pane.

    remote-settings

  3. Tick the “Allow remote connections to this computer” checkbox.

    allow-remote-desktop

    If you’ll be connecting to this computer from a system that’s running any version of Windows older than Windows 7, then do not check the “Allow connections only from computers running Remote Desktop with Network Level Authentication” checkbox.

  4. To grant Remote Desktop access permissions to a user account, click on “Select Users” on the bottom right of the window. This opens the Remote Desktop Users dialog box. Click on Add button to add your user account to the list.

    remote-desktop-users

    Note: Remote desktop does not allow a user with a blank password to logon, so make sure your user account is password protected.

  5. Once this is done, you will now be able to connect to this computer using the Remote Desktop Connection.

Part 2: Connect to Your PC Remotely

Now you can connect to your computer from another Windows PC, by following these steps:

  1. Press the Windows key + R to open the Run box. Type mstsc and hit Enter.

    mstsc

  2. A Remote Desktop Connection dialog box will pop up now. In this box type your computer’s IP address and click Connect.

    remote-desktop

  3. You will be prompted to enter the login credentials of the Windows account you’ve granted Remote Desktop access to. Click OK and Windows Firewall may give you a warning. Just ignore it and click Yes and your remote connection session will start.

2 Ways to Repair Corrupt or Missing System Files in Windows 10 / 8

February 22nd, 2016 by Admin

Did you accidentally deleted a vital system file? Windows failed to load because of missing or corrupt system files? In this tutorial we’ll show you how to repair corrupt or missing system files using the Windows built-in command line utility – SFC (System File Checker). SFC is built into Windows 10/8/7/Vista that can scan your system files for corruption or modification. If a file is missing or modified, it will automatically replace that file with the correct version.

When your Windows system won’t load normally, start it in Safe Mode or boot off Windows Setup DVD, and you can also use the SFC command to repair corrupt or missing system files, without having to reinstall the whole OS.

Note: Though these guides are written for Windows 10 and Windows 8, a very similar process will work for Windows 7, Vista or XP.

Method 1: Repair System Files After Logging into Windows

  1. Open an elevated Command Prompt. To do this, press the Windows key + X to open the Quick Access menu and then select “Command Prompt (Admin)“.
  2. In the Command Prompt, run the following command:
    sfc /scannow

    sfc

  3. Just keep waiting & be patient because running this command will take quite a bit of time. The scan results will be shown after this process is finished. If you see a “Windows Resource Protection found corrupt files but was unable to fix some of them” message, try reboot into Safe Mode and run the SFC command again, or try the method below.

Method 2: Repair System Files Offline When Windows Won’t Boot

If Windows cannot start because some of system files are corrupted or missing, just boot your computer from Windows Installation DVD and you can repair the system files offline. If you don’t have a Windows Installation DVD, you can borrow one from a friend or use a Recovery Drive created in any computer running Windows 10/8.

  1. Insert the Windows Installation DVD and set up your computer to boot from optical drive (You might need to change the boot priority in the UEFI / BIOS). Press a key when prompted to boot from DVD.
  2. Once booted to the DVD, you’ll see the familiar Windows installation language-selection screen. Click Next.

    windows-10-setup

  3. Click on “Repair your computer“.

    repair-your-computer

  4. When you are asked to choose an option for how you want to continue. Click Troubleshoot.

    toubleshoot

  5. Next click “Advanced options“.

    advanced-options

  6. On the next screen, click “Command Prompt“.

    command-prompt

  7. In the Command Prompt, use the dir command to find the drive letter of your Windows partition. In my example, C:\ is the System Reserved partition and D:\ is my actual Windows partition.

    find-os-partition

  8. Now run the SFC command to repair your Windows installation. It will scan all your system files, identify those that are corrupt or missing and try to fix the problems it find.
    sfc /scannow /offbootdir=D:\ /offwindir=D:\windows

    repair-damaged-files

    Remember to replace D:\ with the actual drive letter of your Windows partition.

When the scan is complete, remove the installation DVD and restart your computer to check if your problem is fixed. To perform the recovery experiment, I intentionally deleted a system file c:\windows\system32\sechc.exe, and the file can be restored successfully by running the SFC command.