Windows 11 Cannot Set Default Printer – Printer Not Showing in PowerShell: Troubleshooting Guide
Quick Answer If Windows 11 displays a printer under Settings but clicking Set as default does nothing, the problem may involve printer registration, the Prin...
Quick Answer
If Windows 11 displays a printer under Settings but clicking Set as default does nothing, the problem may involve printer registration, the Print Spooler service, a printer driver, or Windows user-profile settings.
If the same printer is also missing from the PowerShell Get-Printer output, first check whether the PrintManagement module is available, whether Windows Management Instrumentation (WMI) can detect the printer, and whether the printer is correctly registered with the Windows printing system.
Do not immediately remove the printer, delete registry entries, or reinstall drivers. Start with non-destructive diagnostic checks, then apply the appropriate repair.
Understanding the Problem
Windows 11 allows users to select a default printer so applications can automatically use the preferred printing device. Normally, selecting Set as default changes the printer status to Default.
However, some systems exhibit one or more of these symptoms:
- The printer appears in Settings under Bluetooth & devices > Printers & scanners.
- Clicking Set as default does not change the printer status.
- The printer does not appear when running
Get-Printerin PowerShell. - Other printers, such as Microsoft Print to PDF, may appear normally.
- The printer is connected through USB and may still print from certain applications.
These symptoms do not establish a single cause. The following diagnostic process helps identify where the problem occurs.
1. Check the Automatic Default Printer Setting
Windows includes an option called Let Windows manage my default printer. When enabled, Windows can automatically select the last printer used instead of keeping a manually selected default printer.
- Press
Windows + Ito open Settings. - Navigate to Bluetooth & devices > Printers & scanners.
- Locate the Printer preferences section.
- Turn off Let Windows manage my default printer.
- Select the required printer and click Set as default.
After changing this setting, check whether the printer status changes to Default.
2. Check the Legacy Default Printer Registry Setting
Windows maintains a user-specific registry setting named LegacyDefaultPrinterMode. This setting controls legacy default-printer management behaviour.
To inspect the value:
- Press
Windows + R. - Type
regeditand press Enter. - Navigate to the following registry location:
HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows
- Look for the
LegacyDefaultPrinterModeDWORD value. - Check its current data.
A value of 1 enables legacy default-printer management behaviour. If it is already set to 1, do not repeatedly modify it or assume that the registry setting is the cause of the problem.
Safety: Before modifying registry settings, create a backup of the relevant key. Registry changes should be made only when their purpose is understood. Restart Windows after a required configuration change.
3. Check Whether PowerShell Can Access the Printer Management Module
The Get-Printer command belongs to the Windows PrintManagement PowerShell module. It retrieves information about installed printers and printer connections.
If the command returns no printer entries, first determine whether the command is available and whether the correct module is loaded.
Step 1: Open Windows PowerShell
Open Start, search for Windows PowerShell, and launch it. Administrator privileges are not normally required just to list printers.
Step 2: Check command availability
Get-Command Get-Printer -ErrorAction SilentlyContinue
If the command is found, PowerShell should display information about the command and its source module.
Step 3: Import the PrintManagement module
Import-Module PrintManagement
Now execute:
Get-Printer | Format-Table Name, Default, PortName -AutoSize
If the command is unavailable or the module cannot be imported, investigate the Windows PowerShell environment and installed Windows components before concluding that the printer itself is missing.
Important: A missing command and a command that runs successfully but returns no printer entries are two different problems. Diagnose them separately.
4. Check the Printer Through Windows Management Instrumentation
Windows Management Instrumentation (WMI) provides another way to inspect printer information. This check helps determine whether the printer is visible through a separate Windows management interface.
Open PowerShell and execute:
Get-CimInstance -ClassName Win32_Printer |
Format-Table Name, Default, PortName, DriverName -AutoSize
Review the results.
- Printer appears: WMI can detect the printer, even if the earlier Get-Printer check did not list it.
- Printer does not appear: Windows is not returning the printer through this WMI query. Further investigation of printer registration and the printing service is required.
- Only virtual printers appear: Check the USB connection, physical printer registration and driver installation.
This command is diagnostic. It does not modify printer settings.
5. Check the Printer in Devices and Printers
Windows Settings and the traditional Control Panel provide different interfaces for managing installed printers. Checking both can help identify inconsistencies.
- Press
Windows + R. - Type
control printersand press Enter. - Locate the USB printer in Devices and Printers.
- Right-click the printer and check whether Set as default printer is available.
- Check whether a green check mark or Default status appears after selecting it.
If the printer is visible in Settings but not in the traditional printer interface, record this difference before attempting driver or registration repairs.
6. Restart the Print Spooler Service
The Print Spooler is a Windows service responsible for managing print jobs and communication with installed printer drivers. A temporary service problem can affect printer availability and printing operations.
Method 1: Using Services
- Press
Windows + R. - Type
services.mscand press Enter. - Find Print Spooler.
- Right-click it and select Restart.
- Wait for the service to restart successfully.
Method 2: Using PowerShell
Open PowerShell as Administrator and execute:
Restart-Service -Name Spooler -Force
After restarting the service, return to Printers & scanners and check whether the printer can now be selected as the default.
Restarting the service can temporarily interrupt active printing jobs. Avoid doing this while important print jobs are in progress.
7. Check the USB Connection and Printer Driver
If Windows cannot consistently enumerate the printer, check the physical connection and driver configuration.
- Turn off the printer.
- Disconnect its USB cable from the computer.
- Reconnect the cable securely.
- Try another available USB port directly on the computer.
- Turn on the printer and allow Windows to detect it.
- Open Device Manager and check the Printers, Print queues and Universal Serial Bus controllers sections.
Look for warning symbols or devices with unexpected names. A yellow warning icon may indicate a device or driver problem.
Check the installed driver
- Open Settings > Bluetooth & devices > Printers & scanners.
- Select the affected printer.
- Open Printer properties, where available.
- Review the driver and port information.
- Compare the installed driver with the manufacturer's supported driver for the exact printer model and Windows version.
Do not install a driver intended for a different printer model merely because the product names appear similar.
Download driver updates from the printer manufacturer's official support website.
8. Set the Default Printer Through PowerShell
After confirming that Windows can enumerate the printer, try setting it through an alternative Windows interface.
First, identify the exact printer name:
Get-Printer | Select-Object -ExpandProperty Name
If the printer is listed, use its exact name in the following command:
(New-Object -ComObject WScript.Network).SetDefaultPrinter("HP LaserJet")
Replace HP LaserJet with the actual installed printer name.
Alternatively, if the printer is available through the Win32_Printer interface, use the following command after identifying its exact name:
$printer = Get-CimInstance Win32_Printer |
Where-Object { $_.Name -eq "HP LaserJet" }
if ($printer) {
Invoke-CimMethod -InputObject $printer -MethodName SetDefaultPrinter
}
These commands attempt to set the selected printer as the default. They should not be treated as a repair for a printer that Windows cannot enumerate. Check the result instead of assuming that the operation succeeded.
Verify the current default printer with:
Get-CimInstance Win32_Printer |
Where-Object { $_.Default -eq $true } |
Select-Object Name, Default
9. Test Whether the Problem Is Specific to the Windows User Profile
Printer settings and some printer preferences are associated with individual Windows user accounts.
If the printer appears correctly but cannot be made the default, a useful diagnostic test is to sign in using another existing Windows account or create a temporary local test account, if permitted.
- Sign in using the alternative account.
- Check whether Windows detects the same USB printer.
- Try setting it as the default printer.
- Compare the result with the original account.
If the printer works correctly in another account, the problem may be related to the original user's settings or profile. This does not automatically prove that the profile is corrupted.
Do not delete the original user profile. First investigate the account-specific printer settings and relevant configuration.
10. When to Remove and Reinstall the Printer
Removing and reinstalling the printer should be considered only after basic connection, enumeration, service and driver checks have been completed.
Before proceeding:
- Record the printer name, model, port and installed driver.
- Check whether the printer is shared or used by other applications.
- Obtain the correct driver from the manufacturer's official website.
- Confirm that you can reinstall the printer if required.
To reinstall a local USB printer:
- Open Settings > Bluetooth & devices > Printers & scanners.
- Select the affected printer.
- Choose Remove device and confirm.
- Restart the computer if necessary.
- Connect the USB printer and turn it on.
- Use Add device to install it again.
- Install the manufacturer's driver if Windows does not provide the required functionality.
- Print a test page and set the printer as default.
Warning: Removing a printer may affect application-specific settings, custom configurations and shared-printer arrangements. Do not remove a printer from a business-critical computer without checking these dependencies.
11. Clear the Print Queue Only When Necessary
If print jobs are stuck or the Print Spooler is malfunctioning, clearing the queue may help. This procedure is not necessary simply because a printer cannot be selected as the default.
To clear the queue:
- Open
services.msc. - Stop the Print Spooler service.
- Open
C:\Windows\System32\spool\PRINTERS. - Delete the pending spool files in this folder, if the queue needs to be cleared.
- Return to Services.
- Start Print Spooler and ensure its startup type is Automatic.
Warning: This operation removes pending print jobs. Confirm that no important documents are waiting to print before deleting spool files.
12. Troubleshooting Results and What They Mean
| Observation | What to investigate |
|---|---|
| Printer appears in Settings but not in Get-Printer | PrintManagement module, PowerShell environment and printer enumeration. |
| Printer appears in Get-Printer but cannot become default | Automatic default management, user settings and default-printer configuration. |
| Printer appears in WMI but not in Get-Printer | PowerShell module availability and PrintManagement command execution. |
| Printer is missing from both PowerShell and WMI | Printer registration, USB connection, driver and Print Spooler. |
| Printer works in another Windows account | Original user profile and account-specific printer configuration. |
| Microsoft Print to PDF works, but the USB printer does not | Physical printer connection, driver and device registration. |
Frequently Asked Questions
Why does Set as default do nothing in Windows 11?
Possible reasons include Windows default-printer management settings, printer registration problems, user-specific configuration issues, or problems with the Print Spooler and printer driver. The exact cause must be identified through diagnostics.
Why is my printer visible in Settings but missing from Get-Printer?
Possible explanations include an unavailable or unloaded PrintManagement module, a PowerShell environment issue, or inconsistent printer enumeration. Check the command availability and compare the results with the Win32_Printer WMI query.
Does LegacyDefaultPrinterMode need to be set to 1?
A value of 1 enables legacy default-printer management behaviour. However, this setting alone cannot repair a missing printer registration, driver problem or Print Spooler failure.
Will restarting the Print Spooler delete my printer?
Restarting the Print Spooler normally does not uninstall the printer. However, it can interrupt active print jobs and temporarily affect printing.
Should I reinstall my USB printer immediately?
No. First check the USB connection, PrintManagement module, WMI printer enumeration, Print Spooler and driver status. Reinstallation is a later troubleshooting option.
Can I set a default printer using PowerShell?
Yes. Windows provides printer-management commands and interfaces that can be used to select a default printer. The printer must be properly registered and accessible through the relevant interface.
Key Takeaways
- Turn off Let Windows manage my default printer when selecting a fixed default manually.
- Check whether the PrintManagement module is available before interpreting Get-Printer results.
- Use Win32_Printer as an additional diagnostic check.
- Restart the Print Spooler when there is evidence of a service-related issue.
- Verify USB connections and manufacturer-supported drivers.
- Avoid unnecessary registry changes, spool-file deletion and driver removal.
- Verify the default printer after every repair attempt.
Official References
- Microsoft Support: Set a default printer in Windows
- Microsoft Learn: Get-Printer PowerShell command
- Microsoft Support: Fix printer connection and printing problems
- Microsoft Support: Fix printer not found and printer not recognized errors
- Microsoft Support: Fix Print Spooler service problems
- Microsoft Support: Fix print jobs stuck in the queue
Was this guide useful?
Your answer helps us keep BISONKB accurate and practical.