In any operating system, you may want to uninstall or remove a device like a network card for example that may be causing issues.

Launching Device Manager does not show the device and as an example you cannot rename you network card because it says the device already exists.

You can run the command below from PowerShell or CMD to show hidden devices:

  • set devmgr_show_nonpresent_devices=1
Powershell:- list missing windows updates in windows 10(20h2)

I showed both windows above so you can see.

What I did find on 1 server was running this command from either place did not show the devices.

If this is the case, they you can launch system properties and then click the Advanced Tab, you will have an environmental variables button which you can click on:

Powershell:- list missing windows updates in windows 10(20h2)

Once you click on it then it will open a new window. Under System Variables click New and then add the same line with the set word in front and then the variable value as 1 as shown below:

Powershell:- list missing windows updates in windows 10(20h2)

Once you click OK and OK and then refresh Device manager, you will see the hidden devices.

Hope it helps.

    wpChatIcon

    Discover more from Everything-PowerShell

    Subscribe now to keep reading and get access to the full archive.

    Continue reading