Jan 03

What is Add-PrinterDriver actually used for?

As of Windows 8.1 / Server 2012 R2 there is one beautiful cmdlet -Add-PrinterDriver. It dramatically simplifies driver/printer installation.

Naturally you will be tempted to install a driver from an .inf file like this:

Add-PrinterDriver -Name "HP Universal Printing PCL 6" -InfPath "C:\Install\HP\hpcu160u.inf"

But you will be blamed:

Add-PrinterDriver: One or more specified parameters for this operation has an invalid value.

So it does not work as you/we may think. Sigh… So then what it is used for?

Continue reading

Apr 22

How to launch Settings panel on Windows 10

In Windows 10 there are two kind of management apps:

  1. Control panel – old fashion / classic app we all know
  2. Settings – the new way of configuring Windows (a XAML app)

Prior to Windows 8, running control panel applets was about pasting strange GUIDs,Control.exe with parameters in RUN dialog or via APIs. You can also use the Canonical names.

In Windows 8/8.1/10 there are more user-friendly commands. For example you can start Windows Update app via RUN dialog:


This will start Settings >Security > Windows Update XAML app.

Here is a list of most recently used items:


You can find an up-to-date list of all commands here:https://docs.microsoft.com/en-us/windows/uwp/launch-resume/launch-settings-app#ms-settings-uri-scheme-reference

Jun 03

Показване на устройства в Device Manager, които физически са премахнати от компютъра.

По подразбиране в Device Manager се показват само активните/забранените физически устройства в компютъра Ви. При нужда можете да видите и скритите такива: view->show hidden devices. Но никъде няма опция за показване на хардуера, който веднъж е бил инсталиран и след това е премахнат.

Приинсталиране на драйвери за дадено устройство Windows записва информацията за него в своята база данни. Така се избягва повторна инсталация ако сложите същото устройство в компютъра си след време.

Continue reading