Pinterest Stumbleupon Whatsapp
Ads by Google

The release of Windows 10 Windows 10 Release Day: Everything You Need to Know Windows 10 Release Day: Everything You Need to Know The final version of Windows will be released on July 29th, but a lot of things remain nebulous. We have compiled the answers to the most frequently asked questions around Windows 10 and its release. Read More is finally here! With it comes PowerShell, essentially Command Prompt on steroids. Command Prompt vs. Windows PowerShell: What's the Difference? Command Prompt vs. Windows PowerShell: What's the Difference? Windows users can get by without using either the Command Prompt or PowerShell. But with Windows 10 and new features around the corner, maybe it's about time we learned. Read More  It offers a lot of features that can make you more productive Boost Your Productivity With Windows PowerShell Scripts Boost Your Productivity With Windows PowerShell Scripts What if you could bring the productivity of Linux over to Windows? Most Linux distros come packaged with the powerful Bash shell. PowerShell is an equally powerful terminal for Windows. Read More . Consider learning it and start with these basic PowerShell commands 6 Basic PowerShell Commands to Get More out of Windows 6 Basic PowerShell Commands to Get More out of Windows PowerShell is what you get when you give steroids to the Windows Command Prompt. It grants you control of nearly every aspect of the Windows system. We help you leap up its learning curve. Read More .

Once you’re familiar with it, keep reading for a handful of PowerShell tricks that may prove helpful to you at some point or another.

Uninstall Pre-Installed Apps

One of the bigger news points (out of many) for Windows 10 was the announcement of a built-in package manager Windows Gets A Package Manager - Download Software Centrally Via OneGet Windows Gets A Package Manager - Download Software Centrally Via OneGet Microsoft is adding yet another Linux feature to Windows. Package management can seriously boost productivity, increase security, and ultimately save you a lot of headache. We show you how it will work. Read More . PackageManagement, formerly called OneGet, allows you to install or remove programs using a central collection, rather than piecemeal from the Internet.

But Windows 10 comes with a whole lot of pre-installed apps that can’t be removed through normal means because the Uninstall button is grayed out. Here’s how you can get around that using PowerShell.

Open an elevated PowerShell. An elevated PowerShell is when you run it as administrator for greater privileges and access. Press the Windows Key, search for “powershell”, right click on the result and Run as administrator.

When the UAC prompt pops up, click Yes.

Ads by Google

windows-10-powershell-get-appxpackage

Use the Get-AppxPackage command. This is a simple command that returns a list of all apps installed under your user profile (.appx files). To get a list of all apps installed across all users, run it with the -AllUsers parameter.

Note the PackageFullName field. Browse through the list and find any apps that you want to remove, then take note of the PackageFullName field for those apps. (It’s not the easiest output to read, I know. Grit your teeth and grumble if you have to.)

Be sure to note it verbatim! Highlight and copy for best results. You don’t want to make any mistakes that could end up removing an app that you didn’t mean to remove.

Use Remove-AppxPackage <PackageFullName> to uninstall. Done. It’s really as simple as that.

There’s also a shortcut you can use that combines both commands into a single command using the pipe (“|”) character. This takes the output from whatever is on the left (in this case, Get-AppxPackage) and feeds it directly as input for whatever is on the right (Remove-AppxPackage), as shown below.

Here’s a list of pre-installed Windows 10 apps that you may want to uninstall, yet can’t be uninstalled through normal means:

Get-AppxPackage -Name *WindowsCamera* | Remove-AppxPackage

Get-AppxPackage -Name *ZuneMusic* | Remove-AppxPackage

Get-AppxPackage -Name *WindowsMaps* | Remove-AppxPackage

Get-AppxPackage -Name *MicrosoftSolitaireCollection* | Remove-AppxPackage

Get-AppxPackage -Name *BingFinance* | Remove-AppxPackage

Get-AppxPackage -Name *ZuneVideo* | Remove-AppxPackage

Get-AppxPackage -Name *BingNews* | Remove-AppxPackage

Get-AppxPackage -Name *WindowsPhone* | Remove-AppxPackage

Get-AppxPackage -Name *Windows.Photos* | Remove-AppxPackage

Get-AppxPackage -Name *BingSports* | Remove-AppxPackage

Get-AppxPackage -Name *XboxApp* | Remove-AppxPackage

Get-AppxPackage -Name *BingWeather* | Remove-AppxPackage

Get-AppxPackage -Name *WindowsSoundRecorder* | Remove-AppxPackage

Get-AppxPackage -Name *3DBuilder* | Remove-AppxPackage

Get-AppxPackage -Name *SkypeApp* | Remove-AppxPackage

Get-AppxPackage -Name *MicrosoftOfficeHub* | Remove-AppxPackage

Warning: Run these commands at your own risk. We expect that these apps are safe to remove, but MakeUseOf holds no responsibility if your system is damaged in any way as a result of apps removal.

Fetch List of Installed Drivers

One big concern about Windows 10 is driver compatibility for hardware devices. A device driver is a bit of code that allows your operating system to communicate with external devices, like keyboards, mice, graphics cards, etc.

When a driver is incompatible with the operating system, the hardware it controls is rendered unusable. Nobody wants to upgrade to Windows 10 and find out that their peripherals don’t work anymore! That’s why there are several methods you can use to determine Windows 10 compatibility Is Your Computer Compatible with Windows 10 & Can You Upgrade? Is Your Computer Compatible with Windows 10 & Can You Upgrade? Windows 10 is coming, possibly as soon as July. Are you eager to upgrade and will your system be eligible? In short, if your computer runs Windows 8, it should also run Windows 10. But... Read More .

But even if deemed compatible, there’s always a chance that you may have to upgrade outdated drivers or install new drivers altogether. For that, it’d be useful to see the state of your current drivers, wouldn’t it?

Open an elevated PowerShell as described above.

When the UAC prompt pops up, click Yes.

windows-10-powershell-get-windowsdriver

Use the Get-WindowsDriver command. This command outputs a list of information regarding the driver packages installed on the system. By default, only third-party drivers are included.

For the most part, you’ll need to include the -Online parameter (this specifies that you want drivers for the currently running system). If you want more than just third-party drivers, include the -All parameter as well.

Scan for Malware Threats

Microsoft Security Essentials was discontinued starting with Windows 8 in favor of its spiritual successor, Windows Defender Windows Defender: 7 Things You Must Know About Microsoft's Antivirus Solution Windows Defender: 7 Things You Must Know About Microsoft's Antivirus Solution Is Microsoft's built-in security good enough? Microsoft continuously improves its security tools. We'll show you the upsides and downsides of Windows Defender in Windows 8, Read More . And as far as everyday protection is concerned, Windows Defender isn’t that bad. Not the best, of course, but it gets the job done.

But let’s say you’re in a situation where Windows Defender isn’t working (e.g. a third-party program rendered it unusable) and an alternative isn’t available (maybe you don’t have Internet access), but you need to scan your system for threats. What can you do?

Strangely enough, PowerShell can help! Using a simple command, you can run a Windows Defender scan without actually launching Windows Defender.

Open an elevated PowerShell, see instructions above.

When the UAC prompt pops up, click Yes.

windows-10-powershell-start-mpscan

Run the Start-MpScan command. The base command will start a scan using default parameters. You can signify which drive or directory to scan using a parameter like -ScanPath “C:”. You can also indicate a scan type using -ScanType [QuickScan/FullScan/CustomScan].

Update threat signatures. Malware scans with Windows Defender are only as good as the threat definitions that Windows Defender knows about. Keeping those definitions up-to-date is crucial. You can use the Update-MpSignature command for this.

Learn More About PowerShell

PowerShell is only going to get stronger and more useful as Windows 10 evolves and matures. If you use your computer for more than just Facebook browsing and Solitaire games, you should consider looking into how PowerShell can make your life easier.

Everything above is just the tip of the iceberg.

What do you use PowerShell for? Got any tips that might help out a PowerShell newbie? Share your thoughts with us in the comments below!

  1. commercepk
    May 10, 2016 at 8:05 am

    go to google chrome property , go to compatibility Tab and check "run this program in compatibility mode" select win 8 .... Enjoy

  2. Harmish Patel
    April 17, 2016 at 10:21 am

    hey guys this power shell work as same as ubntu linux??
    means all the command is same in power shell ??

  3. Mark
    December 22, 2015 at 7:23 pm

    Nice information & great input from the comments too, hopefully this will become something that windows will apply as an option, users are given the choice at first setup when buying a new PC or upgrading. Eg. - to not include certain Apps obviously any intention would be once its no longer offered as a free upgrade or from certain Windows OS. And that its simply removed including all linked files registry keys and Crypto like IObit aims too. As an Beta/Insider of Windows I have already given feedback on many a bug.

  4. Ricardo
    December 12, 2015 at 12:46 am

    Gary, I had a go at the command there, however it rendered all the pre-installed apps useless. They don't have icons and they crash after the splash. Any advice?

  5. Gordon Steeves
    November 26, 2015 at 1:49 am

    Is there a work-around for setting up winhlp32.exe or does this still have to be done in a .bat file? By the way, I just found this site and was wondering what I might be able to do with powershell, thanks

    Gordon Steeves

  6. Kevin C
    August 7, 2015 at 7:27 pm

    It's such a shame that they chose such an awkward syntax compared to BASH on UNIX. For example on Ubuntu to remove an app I just:

    apt-get remote name

    In the powershell it's

    Get-AppxPackage -Name *3DBuilder* | Remove-AppxPackage

    BASH:

    To get a file from a website:

    wget url

    Powershell:

    $source = "http://yoursite.com/file.xml"
    $destination = "c:\application\data\newdata.xml"

    Invoke-WebRequest $source -OutFile $destination

    Its all just awkward.

  7. Mayuresh Kadu
    August 7, 2015 at 11:45 am

    To start with, I've recently taken to Powershell. So thank you for these #Windows10 specific tips.

    I have IOBit Uninstaller installed and I executed on the powershell

    Get-AppxPackage -Name *ZuneMusic* | Remove-AppxPackage

    After it was done, IOBit uninstaller stepped in and pointed out it had missed exactly 34 items in the registry. A quick skim through the identified items revealed it was spot on.

    There are somethings that never change. And one of them is Microsoft Windows :-) Score for iobit uninstaller though :)

  8. Gary Beaty
    August 7, 2015 at 4:03 am

    Try this workaround for problems where apps are not starting or are stuck at the splash screen:

    1.Open an Elevated Powershell prompt by pressing the Windows Key, typing Powershell, then pressing Ctrl+Shift+Enter
    2.Paste the following command into Powershell and execute it:
    Get-AppXPackage -AllUsers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}

    • Tina Sieber
      August 27, 2015 at 7:16 pm

      Thank you for sharing this workaround, Gary!

Leave a Reply

Your email address will not be published. Required fields are marked *