Forum Discussion
Dolinhas
Jan 28, 2025Brass Contributor
Group Policy object did not apply because failed error code:0x80070709 The printer name is invalid
Hi Everyone,
I have a few AVD pools where we publish an app for users to access.
Users report that printers are not being mapped after login.
We use GPP user side to map printers and set as default.
Many a times we see these events logged:
VALUE>The printer name is invalid.</VALUE></PROPERTY>-</INSTANCE>
Event ID 4098 is logged in the Application Log:
Log Name: Application
Source: Group Policy Printers
Date: <DateTime>
Event ID: 4098
Task Category: (2)
Level: Warning
Keywords: Classic
User: SYSTEM
Computer: server.fabrikam.com
Description:
The user 'HP Printer' preference item in the 'Define Printers {XXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX}' Group Policy object did not apply because it failed with error code '0x80070709 The printer name is invalid.' This error was suppressed.
For this one I found this KB which is really not helpful since there is no possible solution as the client is a AVD VM and used by many users at the same time.
VALUE> No printers were found.' VALUE></PROPERTY>-</INSTANCE>
Event ID 4098 is logged in the Application Log:
Log Name: Application
Source: Group Policy Printers
Date: <DateTime>
Event ID: 4098
Task Category: (2)
Level: Warning
Keywords: Classic
User: SYSTEM
Computer: server.fabrikam.com
Description:
The user 'Accounts - Main Printer' preference item in the 'Printers - Global {zzzzzzzzzzzzzzzzzzzzz}' Group Policy Object did not apply because it failed with error code '0x80070bc4 No printers were found.' This error was suppressed.
VALUE>The specified printer has been deleted.</VALUE></PROPERTY>-</INSTANCE>
Event ID 4098 is logged in the Application Log:
Log Name: Application
Source: Group Policy Printers
Date: <DateTime>
Event ID: 4098
Task Category: (2)
Level: Warning
Keywords: Classic
User: SYSTEM
Computer: server.fabrikam.com
Description:
The user 'Sales-Printer' preference item in the 'Printers - Global {zzzzzzzzzzzzzzzzzzzzz}' Group Policy Object did not apply because it failed with error code '0x80070771 The specified printer has been deleted.' This error was suppressed.
No KB's or posts out there to help with these 2 errors.
Really need assistance and printers are not being mapped on first logon, users need to come out of AVD and go back and relaunch the app to see the printers mapped.
This is the same case with our internal app or Notepad.
Thanks, M
- L_Youtell_974Iron Contributor
Hello, in your GPP did you use the option "Replace" ?
The fact that the printer appear after disconnect - logon show us its the good printer and the printer server is good too. i would think maybe your printer took to much time to map. You know printer and map network it's the same, if the access of the resource is too long, it will work but it will took time. The user try to wait and see if the printer appear after couple of minute ?
- kyazaferrSteel Contributor
- 0x80070709 - The printer name is invalid
- This usually happens when the printer name in the GPO does not match the exact printer name on the print server.
- 0x80070bc4 - No printers were found
- The printer might not be available at the time of login, or there is a network connectivity issue.
- 0x80070771 - The specified printer has been deleted
- The printer may have been removed from the print server or renamed, and the GPO is still trying to apply the old name.
Verify Printer Names in Group Policy Preferences (GPP)
- Open Group Policy Management (GPMC) on your domain controller.
- Navigate to User Configuration > Preferences > Control Panel Settings > Printers.
- Check the exact printer name in the policy and compare it with the actual name on the print server.
- If using a network printer, ensure you are using the full UNC path:
- ✅ Correct Format: \\PrintServer\PrinterName
❌ Incorrect Format: PrinterName or \\PrintServer - If any changes are made, force a GPO update:gpupdate /force
Enable Group Policy Debug Logging for Printers
To get detailed logs on why printers are failing to apply:
- Open Registry Editor (regedit.exe) on the AVD session host.
- HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Print
- Create a new DWORD (32-bit) Value called "GPPDebugLevel" and set it to 3.
- Restart the Print Spooler Service:
- f there are connectivity issues, check:
✅ Firewall rules allowing SMB (port 445)
✅ No network latency or VPN blocking
- 0x80070709 - The printer name is invalid