Ошибка 4098 group policy

Description

In this article, I am going to give the solution/fix/cause for error Event 4098. Event ID 4098 is an error event that related to the Group Policy Shortcuts.

Event ID 4098 Source

I saw the Event ID 4098 with the following error.

The computer 'My Settings' preference item in the 'Default Domain Policy {31B2F340-016D-11D2-945F-00C04FB984F9}' Group Policy object did not apply because it failed with error code '0x80070002 The system cannot find the file specified.' This error was suppressed.

Event ID 4098:Fix/Solution

After I have analyzed for some time found the following things as root cause for the problem.
 1. Open the Group Policy Management Console by running the command GPMC.msc.

 2. Click the Edit option on Default Domain Policy (the above 4098 event source shows this policy as error, In your case, it may be different policy )

3. Go to the Computer Shortcuts node, Computer Configuration ->Preferences -> Windows Settings ->Shortcuts, in right side pane check the target path of the shortcut link that causes for the Event 4098.
In my case, the shortcut link is My Settings

Event ID 4098 - Group Policy Shortcut error -Fix/Solution

3. Now change file path in shortcut link settings which caused the Group Policy Shortcut error.

 Thanks,
 Morgan
Software
 Developer

Windows Server: Event ID 4098: Group Policy Preferences (Group Policy Printers)


Applies To: Windows Server 2008 & Windows Server 2008 R2

Group Policy Preferences (GPP) allow you to specify computer and user configuration settings. These settings allow granular configuration not available using regular Group Policy. GPP also provides filtering of settings using item-level targeting which allows
for granular application of settings to subset of users or computers. Group Policy Preferences contain a number of different preference extensions. The different extensions can log the same event ID, but are interpreted differently depending on the preference
extension.

Group Policy Preference events are written to the Application log. Informational events are only logged when the relevant Group Policy settings are enabled through specific Administrative Template settings. The path to the settings per preference area is:

Computer ConfigurationPoliciesAdministrative TemplatesSystemGroup PolicyLogging and tracing

When evaluating Event ID 4098 for Group Policy Printers, the specific error that is logged within the event message distinguishes among root causes for the event.

Table of Contents

  • Event Details
  • Resolve
    • Correct any issues with the printer driver.
      • Error code
        0x80070705 (The printer driver is unknown)
  • Verify
  • Related Management Information

Event Details

Product: Windows Operating System
ID: 4098
Source: Microsoft-Windows-GroupPolicyPrinters
Version: 6.1
Symbolic Name: W_CSE_POLICYAPPLYFAILED_BYPASS or E_CSE_POLICYAPPLYFAILED
Message: The [computer | user] <computer IP address> preference item in the <GPO name> Group Policy object did not apply because it failed with error code <error code>. This error was suppressed.

Resolve

Correct any issues with the printer driver.

The Printers preference extension logs the error message and the error code. This information appears on the
Details tab of the error message in Event Viewer. The error code (displayed as a hexadecimal) and error description fields further identify the reason for the failure. Evaluate the error code with the list below:

  • Error code 0x80070705

Error code
0x80070705 (The printer driver is unknown)

This error code usually indicates that the Printer is configured with a type 4  print drivers.

Group Policy Preference TCP/IP printers do not support Type 4 print drivers. The printer must be configured on the server with Type 3 drivers.

The printer driver type can be discovered as follows:

  1. Open the Print Management console by typing printmanagement.msc on the command-line.
  2. In the console tree, click Printer Servers to expand the folder.
  3. Click the Print Server that you are configuring
  4. Click Printers
  5. In the results pane, for the specific printer,  check the «Driver Type» column. This column specifies if the driver is Type 3 or Type 4.

If it is determined that the print drive is type 4, a type 3 print drive must be selected instead. This can be done within the Print Management console by selecting the type 3 driver from the drop down list, if already installed on the print server. If the
type 3 driver is not already installed on the print server, you can install the type 3 driver from the Advanced tab. Select New Driver.

Most type 3 print drivers can be downloaded from Windows Update. If the type 3 driver is not available from Windows Update, see the printer manufacturer’s website.

Verify

Group Policy applies during computer startup and user logon. Afterwards, Group Policy applies every 90 to 120 minutes. Events appearing in the event log may not reflect the most current state of Group Policy. Group Policy Printers will continue to apply
every refresh unless the «Apply once and do not reapply» option has been selected on the Common tab. Therefore, you should always refresh Group Policy to determine if Group Policy is working correctly.

To refresh Group Policy on a specific computer:

  1. Open the Start menu. Click All Programs and then click
    Accessories.
  2. Click Command Prompt.
  3. In the command prompt window, type gpupdate and then press ENTER.
  4. When the gpupdate command completes, open the Event Viewer.

Group Policy Printers is working correctly if this event ID is no longer logged in the Application log.

Related Management Information

  • Information about Group Policy Preferences Events
  • Understand and Troubleshoot Printing in Windows Server «8» Beta
title description ms.date author ms.author manager audience ms.topic ms.prod localization_priority ms.reviewer ms.custom ms.technology

User GPP Scheduled Task item fails to apply

Provides a solution to an issue where User GPP Scheduled Task item fails to apply.

04/28/2023

Deland-Han

delhan

dcscontentpm

itpro

troubleshooting

windows-server

medium

kaushika, akhleshs

sap:problems-applying-group-policy-objects-to-users-or-computers, csstroubleshoot

windows-server-group-policy

User GPP Scheduled Task item fails to apply and logs event ID: 4098 with 0x80070005 Access is denied

This article provides a solution to an issue where User Group Policy Preference (GPP) Scheduled Task item fails to apply.

Applies to:   Windows Server 2012 R2
Original KB number:   2447414

Symptoms

You configure the following User Group Policy Preference (GPP) item in a Windows 2008/2008 R2 based Active Directory Domain.

  • User ConfigurationPreferencesControl Panel SettingsScheduled TasksNew"Scheduled Task (Windows Vista and later)"
  • Under the Common Settings tab, select option Run in logged-on user’s security context (user policy option). After the Group Policy is applied to a user, you find that the preference item doesn’t take effect.

Additionally, you see the following event log in the Application log:

Additionally if you enable Group Policy tracing for GPP Scheduled Tasks Client Side Extension, you’ll see the following messages logged in the GPP User log file:

<DateTime> [pid=0x3a0,tid=0x8c8] Starting class <TaskV2> — <GPP item name>.
<DateTime> [pid=0x3a0,tid=0x8c8] Set user security context.
<DateTime> [pid=0x3a0,tid=0x8c8] Adding child elements to RSOP.
<DateTime> [pid=0x3a0,tid=0x8c8] WorkItem.Init [hr = 0x80070005 «Access is denied.»]
<DateTime> [pid=0x3a0,tid=0x8c8] Properties handled. [hr = 0x80070005 «Access is denied.»]
<DateTime> [pid=0x3a0,tid=0x8c8] Set system security context.
<DateTime> [pid=0x3a0,tid=0x8c8] EVENT : The user ‘<GPP item name>’ preference item in the ‘<GPO name> {GPO GUID}’ Group Policy object did not apply because it failed with error code ‘0x80070005 Access is denied.’%100790273
<DateTime> [pid=0x3a0,tid=0x8c8] Error suppressed. [hr = 0x80070005 «Access is denied.»]
<DateTime> [pid=0x3a0,tid=0x8c8] Completed class <TaskV2> — <GPP item name>.
<DateTime> [pid=0x3a0,tid=0x8c8] Completed class <ScheduledTasks>.

You can enable GPP tracing through group policy:
Computer ConfigurationPoliciesAdministrative TemplatesSystemGroup PolicyLogging and TracingConfigure Schedulled Tasks preference logging and tracing

When configured, the log file will be created in:
%SystemDrive%ProgramDataGroupPolicyPreferenceTraceUser.log

Cause

The User GPP Scheduled Tasks item wasn’t designed to run under the currently logged on users security context AND must be applied in the default system security context.

Resolution

To avoid this issue, don’t enable the Run in logged-on user’s security context (user policy option) Common option when configuring user GPP Scheduled Tasks items.

The security context under which the Scheduled Task will run once it has been deployed can be specified in the General settings tab when creating the User GPP Scheduled Task item:

User ConfigurationPreferencesControl Panel SettingsScheduled TasksNew"Scheduled Task (Windows Vista and later)"
General:
Security Options -> «When running the task, use the following user account:»

By default, it’s set to: %LogonDomain%%LogonUser%

It’s where the security context under which the scheduled task will run should be configured.

Data collection

If you need assistance from Microsoft support, we recommend you collect the information by following the steps mentioned in Gather information by using TSSv2 for Group Policy issues.

Description

In this article, I am going to give the solution/fix/cause for error Event 4098. Event ID 4098 is an error event that related to the Group Policy Shortcuts.

Event ID 4098 Source

I saw the Event ID 4098 with the following error.

The computer 'My Settings' preference item in the 'Default Domain Policy {31B2F340-016D-11D2-945F-00C04FB984F9}' Group Policy object did not apply because it failed with error code '0x80070002 The system cannot find the file specified.' This error was suppressed.

Event ID 4098:Fix/Solution

After I have analyzed for some time found the following things as root cause for the problem.
 1. Open the Group Policy Management Console by running the command GPMC.msc.

 2. Click the Edit option on Default Domain Policy (the above 4098 event source shows this policy as error, In your case, it may be different policy )

3. Go to the Computer Shortcuts node, Computer Configuration ->Preferences -> Windows Settings ->Shortcuts, in right side pane check the target path of the shortcut link that causes for the Event 4098.
In my case, the shortcut link is My Settings

Event ID 4098 - Group Policy Shortcut error -Fix/Solution

3. Now change file path in shortcut link settings which caused the Group Policy Shortcut error.

 Thanks,
 Morgan
Software
 Developer

I am using Group Policy Preference item to copy a file from a network URL to a location within the users profile and keep coming up with an Evnit ID 4098 (as seen below). Here is what I have:

1. This is a Windows XP SP3 machine with the group policy client side extension installed
2. I have also confirmed that from that machine with the user logged in, I can access the location of the policy folder (as shown below) so it doesn’t appear to me to be a permission issue.
3. The permissions on that policy folder allows Authenticated user to read it.
3. User does not have admimistrative permissions on machine being logged into

Anyone have any idea what could be the causing this?

______

\domain.localSYSVOLdomain.localPolicies{B9EFD8C6-627D-4D72-A42B-E36357AC1490}

Event Type: Warning
Event Source: Group Policy Files
Event Category: (2)
Event ID: 4098
Date:  11/20/2012
Time:  11:59:30 PM
User:  NT AUTHORITYSYSTEM
Computer: Desktop-013
Description:
The user ‘NRTDDE.INI’ preference item in the ‘User Policy (XP Desktops) {B9EFD8C6-627D-4D72-A42B-E36357AC1490}’ Group Policy object did not apply because it failed with error code ‘0x80070005 Access is denied.’ This error was suppressed.

Перейти к контенту

Windows Server: Event ID 4098: Group Policy Preferences (Group Policy Printers)


Applies To: Windows Server 2008 & Windows Server 2008 R2

Group Policy Preferences (GPP) allow you to specify computer and user configuration settings. These settings allow granular configuration not available using regular Group Policy. GPP also provides filtering of settings using item-level targeting which allows
for granular application of settings to subset of users or computers. Group Policy Preferences contain a number of different preference extensions. The different extensions can log the same event ID, but are interpreted differently depending on the preference
extension.

Group Policy Preference events are written to the Application log. Informational events are only logged when the relevant Group Policy settings are enabled through specific Administrative Template settings. The path to the settings per preference area is:

Computer ConfigurationPoliciesAdministrative TemplatesSystemGroup PolicyLogging and tracing

When evaluating Event ID 4098 for Group Policy Printers, the specific error that is logged within the event message distinguishes among root causes for the event.

Table of Contents

  • Event Details
  • Resolve
    • Correct any issues with the printer driver.
      • Error code
        0x80070705 (The printer driver is unknown)
  • Verify
  • Related Management Information

Event Details

Product: Windows Operating System
ID: 4098
Source: Microsoft-Windows-GroupPolicyPrinters
Version: 6.1
Symbolic Name: W_CSE_POLICYAPPLYFAILED_BYPASS or E_CSE_POLICYAPPLYFAILED
Message: The [computer | user] <computer IP address> preference item in the <GPO name> Group Policy object did not apply because it failed with error code <error code>. This error was suppressed.

Resolve

Correct any issues with the printer driver.

The Printers preference extension logs the error message and the error code. This information appears on the
Details tab of the error message in Event Viewer. The error code (displayed as a hexadecimal) and error description fields further identify the reason for the failure. Evaluate the error code with the list below:

  • Error code 0x80070705

Error code
0x80070705 (The printer driver is unknown)

This error code usually indicates that the Printer is configured with a type 4  print drivers.

Group Policy Preference TCP/IP printers do not support Type 4 print drivers. The printer must be configured on the server with Type 3 drivers.

The printer driver type can be discovered as follows:

  1. Open the Print Management console by typing printmanagement.msc on the command-line.
  2. In the console tree, click Printer Servers to expand the folder.
  3. Click the Print Server that you are configuring
  4. Click Printers
  5. In the results pane, for the specific printer,  check the «Driver Type» column. This column specifies if the driver is Type 3 or Type 4.

If it is determined that the print drive is type 4, a type 3 print drive must be selected instead. This can be done within the Print Management console by selecting the type 3 driver from the drop down list, if already installed on the print server. If the
type 3 driver is not already installed on the print server, you can install the type 3 driver from the Advanced tab. Select New Driver.

Most type 3 print drivers can be downloaded from Windows Update. If the type 3 driver is not available from Windows Update, see the printer manufacturer’s website.

Verify

Group Policy applies during computer startup and user logon. Afterwards, Group Policy applies every 90 to 120 minutes. Events appearing in the event log may not reflect the most current state of Group Policy. Group Policy Printers will continue to apply
every refresh unless the «Apply once and do not reapply» option has been selected on the Common tab. Therefore, you should always refresh Group Policy to determine if Group Policy is working correctly.

To refresh Group Policy on a specific computer:

  1. Open the Start menu. Click All Programs and then click
    Accessories.
  2. Click Command Prompt.
  3. In the command prompt window, type gpupdate and then press ENTER.
  4. When the gpupdate command completes, open the Event Viewer.

Group Policy Printers is working correctly if this event ID is no longer logged in the Application log.

Related Management Information

  • Information about Group Policy Preferences Events
  • Understand and Troubleshoot Printing in Windows Server «8» Beta

Description

In this article, I am going to give the solution/fix/cause for error Event 4098. Event ID 4098 is an error event that related to the Group Policy Shortcuts.

Event ID 4098 Source

I saw the Event ID 4098 with the following error.

The computer 'My Settings' preference item in the 'Default Domain Policy {31B2F340-016D-11D2-945F-00C04FB984F9}' Group Policy object did not apply because it failed with error code '0x80070002 The system cannot find the file specified.' This error was suppressed.

Event ID 4098:Fix/Solution

After I have analyzed for some time found the following things as root cause for the problem.
 1. Open the Group Policy Management Console by running the command GPMC.msc.

 2. Click the Edit option on Default Domain Policy (the above 4098 event source shows this policy as error, In your case, it may be different policy )

3. Go to the Computer Shortcuts node, Computer Configuration ->Preferences -> Windows Settings ->Shortcuts, in right side pane check the target path of the shortcut link that causes for the Event 4098.
In my case, the shortcut link is My Settings

Event ID 4098 - Group Policy Shortcut error -Fix/Solution

3. Now change file path in shortcut link settings which caused the Group Policy Shortcut error.

 Thanks,
 Morgan
Software
 Developer

I am using Group Policy Preference item to copy a file from a network URL to a location within the users profile and keep coming up with an Evnit ID 4098 (as seen below). Here is what I have:

1. This is a Windows XP SP3 machine with the group policy client side extension installed
2. I have also confirmed that from that machine with the user logged in, I can access the location of the policy folder (as shown below) so it doesn’t appear to me to be a permission issue.
3. The permissions on that policy folder allows Authenticated user to read it.
3. User does not have admimistrative permissions on machine being logged into

Anyone have any idea what could be the causing this?

______

domain.localSYSVOLdomain.localPolicies{B9EFD8C6-627D-4D72-A42B-E36357AC1490}

Event Type: Warning
Event Source: Group Policy Files
Event Category: (2)
Event ID: 4098
Date:  11/20/2012
Time:  11:59:30 PM
User:  NT AUTHORITYSYSTEM
Computer: Desktop-013
Description:
The user ‘NRTDDE.INI’ preference item in the ‘User Policy (XP Desktops) {B9EFD8C6-627D-4D72-A42B-E36357AC1490}’ Group Policy object did not apply because it failed with error code ‘0x80070005 Access is denied.’ This error was suppressed.

KnowledgeBase: Group Policy Preferences for Local Users and Groups fails with Event ID 4098 on Windows 8 and Windows Server 2012

Last week, Microsoft released KnowledgeBase article 2890259. It describes an issue in Windows 8 and Windows Server 2012 with Group Policy Preferences for Local Users and Groups.

In some circumstances, these Group Policy Preferences would not apply, resulting in events with EventId 4098 in the Windows Event Viewer (eventvwr.exe) on your domain-joined Windows 8-based device(s) and/or Windows Server 2012-based member server(s). 

The situation

In many organizations, Group Policy Preferences (GPPs) are used to manage local users and groups. However, when you apply a Group Policy Preference for Local Users and Groups to rename the built-in Administrator account on a domain-joined Windows 8-based device and/or Windows Server 2012-based member server the group policy preference for Local Users and Groups fails to apply and an event similar to the below is logged on domain-joined Windows 8-based devices and/or Windows Server 2012-based member servers:

Log Name: Application Source: Group Policy Local Users and Groups Event ID: 4098 Task Category: (2) Level: Warning Keywords: Classic User: SYSTEM Description: The computer'Administrator (built-in)' preference item in the'Policy_Name {GUID}' Group Policy Object did not apply because it failed with error code'0x8007052a This operation is disallowed as it could result in an administration account being disabled, deleted or unable to logon.' This error was suppressed.

The issue

This issue can occur if the User cannot change password checkbox is checked when you configured the Group Policy Preference. Do not configure this option for the built-in administrator account. This may lead to the inability of the administrator account being able to logon to the Windows 8-based device(s) and/or Windows Server 2012-based member server(s).

The solution

To resolve this issue, follow the steps mentioned below to edit the Group Policy Preference, Local Users and Groups and uncheck the option of «User cannot change password»

  1. Log on to a domani-joined Windows 8-based device(s) and/or Windows Server 2012-based member server(s) with Group Policy Management installed, with an account which has permissions to modify the Group Policy Object.
  2. Start Group Policy Mangement (gpmc.msc)
  3. Locate the Group Policy Object (GPO), responsible for the Group Policy Preference settings for Local Users and Groups on the Windows 8-based device(s) and/or Windows Server 2012-based member server(s) where you receive the events.Tip!
         Use Resultant Set of Policies (rsop.msc) on the Windows 8-based device(s)
    and/or Windows Server 2012-based member server(s) to locate the Group Policy
    Object (GPO) responsible for the settings, if needed.
  4. Right-click the Group Policy Object (GPO), right-click it and select Edit… from the context menu.
  5. In the Group Poliy Object (GPO) in the left pane, navigate to Computer Configuration, then Preferences, Control Panel Settings and finally Local Users and Groups.
  6. Right-click the Local Users and Groups policy for the built-in account and click Properties from the context menu.
  7. Uncheck User cannot change password option.Group Policy Preferences to change the password for the built-in administrator
  8. Click Apply and then OK.If you have multiple Domain Controllers, wait for Active Directory Replication to finish.
  9. Run gpupdate /force on the Windows 8-based device(s) and/or Windows Server 2012-based member server(s) or force a remote Group Policy update on the Organizational Unit(s) containing the affected Windows 8-based device(s) and/or Windows Server 2012-based member server(s) from within Group Policy Management.

Related KnowledgeBase articles

2890259 GPP Local Users and Groups fails with Event ID 4098 on Windows 8 and Windows Server 2012
2616766 Group Policy Preferences Local Users & Groups do not accept long names

Further reading

Local Users and Groups Extension
Configure a Local User Item
How to use Group Policy Preferences to Secure Local Administrator Groups
Local admin with Group Policy Preferences

Consider the following:

  • You have a computer that is running Windows 8 or Windows Server 2012
  • You join the computer to a Domain
  • You apply a Group Policy Preference Local Users and Groups to rename the built-in Administrator account.

In this scenario, the group policy preference Local Users and Groups fails to apply and an event similar to the below is logged on the Windows 8 clients or Windows Server 2012 computers:

Log Name:      Application
Source:        Group Policy Local Users and Groups
Event ID:      4098
Task Category: (2)
Level:         Warning
Keywords:      Classic
User:          SYSTEM
Computer:      Computer.Contoso.com
Description:
The computer ‘Administrator (built-in)’ preference item in the ‘Policy_Name {GUID}’ Group Policy Object did not apply because it failed with error code ‘0x8007052a This operation is disallowed as it could result in an administration account being disabled, deleted or unable to logon.’ This error was suppressed.

Cause:

   This issue can occur if the checkbox «User cannot change password» is checked when you configured the Group Policy Preference. Do not configure this option for the built-in administrator account. This may lead to the inability of the administrator account being able to logon to the computers. 

Resolution:

 To resolve this issue, follow the steps mentioned below to edit the Group Policy Preference, Local Users and Groups and uncheck the option of «User cannot change password» 

  1. Open GPMC with an account which has permissions to modify the Group Policy Object.
  2. Browse to the following Group Policy Object
    Computer ConfigurationPreferencesControl Panel SettingsLocal Users and Groups
  3. Right click the Local Users and Groups policy for the built-in account and click Properties
  4. Uncheck User cannot change password option
  5. Click Apply and then OK.
    If you have multiple Domain Controllers, wait for Active Directory Replication to finish.
  6. Run gpupdate /force on the client computers

Soure:
www.technet.microsoft.com

Published By
S.G.Godwin Dinesh.MCA
Sr.System Administrator

  • Remove From My Forums
  • General discussion

  • Hi We are getting multiples events on production servers of Event 4098:-

    Group policy 4098 The computer ‘Administrators’ preference item in the  Baseline Policy {CF03F75-F0′ Group Policy object did not apply because it failed with error code ‘0x80070534 No mapping between account names and security IDs was done.’ This error
    was suppressed.
    Plese let us know removed the entry form XML file which located SYSVOLPolicies is good approach to fix that issue

    • Edited by

      Thursday, July 3, 2014 2:04 PM

    • Changed type
      H.Vats
      Friday, July 4, 2014 3:04 PM
  • Remove From My Forums
  • General discussion

  • Hi We are getting multiples events on production servers of Event 4098:-

    Group policy 4098 The computer ‘Administrators’ preference item in the  Baseline Policy {CF03F75-F0′ Group Policy object did not apply because it failed with error code ‘0x80070534 No mapping between account names and security IDs was done.’ This error
    was suppressed.
    Plese let us know removed the entry form XML file which located SYSVOLPolicies is good approach to fix that issue

    • Edited by

      Thursday, July 3, 2014 2:04 PM

    • Changed type
      H.Vats
      Friday, July 4, 2014 3:04 PM

Windows Server: Event ID 4098: Group Policy Preferences (Group Policy Printers)


Applies To: Windows Server 2008 & Windows Server 2008 R2

Group Policy Preferences (GPP) allow you to specify computer and user configuration settings. These settings allow granular configuration not available using regular Group Policy. GPP also provides filtering of settings using item-level targeting which allows
for granular application of settings to subset of users or computers. Group Policy Preferences contain a number of different preference extensions. The different extensions can log the same event ID, but are interpreted differently depending on the preference
extension.

Group Policy Preference events are written to the Application log. Informational events are only logged when the relevant Group Policy settings are enabled through specific Administrative Template settings. The path to the settings per preference area is:

Computer Configuration\Policies\Administrative Templates\System\Group Policy\Logging and tracing

When evaluating Event ID 4098 for Group Policy Printers, the specific error that is logged within the event message distinguishes among root causes for the event.

Table of Contents

  • Event Details
  • Resolve
    • Correct any issues with the printer driver.
      • Error code
        0x80070705 (The printer driver is unknown)
  • Verify
  • Related Management Information

Event Details

Product: Windows Operating System
ID: 4098
Source: Microsoft-Windows-GroupPolicyPrinters
Version: 6.1
Symbolic Name: W_CSE_POLICYAPPLYFAILED_BYPASS or E_CSE_POLICYAPPLYFAILED
Message: The [computer | user] <computer IP address> preference item in the <GPO name> Group Policy object did not apply because it failed with error code <error code>. This error was suppressed.

Resolve

Correct any issues with the printer driver.

The Printers preference extension logs the error message and the error code. This information appears on the
Details tab of the error message in Event Viewer. The error code (displayed as a hexadecimal) and error description fields further identify the reason for the failure. Evaluate the error code with the list below:

  • Error code 0x80070705

Error code
0x80070705 (The printer driver is unknown)

This error code usually indicates that the Printer is configured with a type 4  print drivers.

Group Policy Preference TCP/IP printers do not support Type 4 print drivers. The printer must be configured on the server with Type 3 drivers.

The printer driver type can be discovered as follows:

  1. Open the Print Management console by typing printmanagement.msc on the command-line.
  2. In the console tree, click Printer Servers to expand the folder.
  3. Click the Print Server that you are configuring
  4. Click Printers
  5. In the results pane, for the specific printer,  check the «Driver Type» column. This column specifies if the driver is Type 3 or Type 4.

If it is determined that the print drive is type 4, a type 3 print drive must be selected instead. This can be done within the Print Management console by selecting the type 3 driver from the drop down list, if already installed on the print server. If the
type 3 driver is not already installed on the print server, you can install the type 3 driver from the Advanced tab. Select New Driver.

Most type 3 print drivers can be downloaded from Windows Update. If the type 3 driver is not available from Windows Update, see the printer manufacturer’s website.

Verify

Group Policy applies during computer startup and user logon. Afterwards, Group Policy applies every 90 to 120 minutes. Events appearing in the event log may not reflect the most current state of Group Policy. Group Policy Printers will continue to apply
every refresh unless the «Apply once and do not reapply» option has been selected on the Common tab. Therefore, you should always refresh Group Policy to determine if Group Policy is working correctly.

To refresh Group Policy on a specific computer:

  1. Open the Start menu. Click All Programs and then click
    Accessories.
  2. Click Command Prompt.
  3. In the command prompt window, type gpupdate and then press ENTER.
  4. When the gpupdate command completes, open the Event Viewer.

Group Policy Printers is working correctly if this event ID is no longer logged in the Application log.

Related Management Information

  • Information about Group Policy Preferences Events
  • Understand and Troubleshoot Printing in Windows Server «8» Beta

I am using Group Policy Preference item to copy a file from a network URL to a location within the users profile and keep coming up with an Evnit ID 4098 (as seen below). Here is what I have:

1. This is a Windows XP SP3 machine with the group policy client side extension installed
2. I have also confirmed that from that machine with the user logged in, I can access the location of the policy folder (as shown below) so it doesn’t appear to me to be a permission issue.
3. The permissions on that policy folder allows Authenticated user to read it.
3. User does not have admimistrative permissions on machine being logged into

Anyone have any idea what could be the causing this?

______

\\domain.local\SYSVOL\domain.local\Policies\{B9EFD8C6-627D-4D72-A42B-E36357AC1490}

Event Type: Warning
Event Source: Group Policy Files
Event Category: (2)
Event ID: 4098
Date:  11/20/2012
Time:  11:59:30 PM
User:  NT AUTHORITY\SYSTEM
Computer: Desktop-013
Description:
The user ‘NRTDDE.INI’ preference item in the ‘User Policy (XP Desktops) {B9EFD8C6-627D-4D72-A42B-E36357AC1490}’ Group Policy object did not apply because it failed with error code ‘0x80070005 Access is denied.’ This error was suppressed.

Introduction

What is A 404 Error Page?

As you know, the HTTP 404 status code shows that visitors’ browsers can communicate with the server, but they can’t find the requested content. So, when your visitors try to open a page that doesn’t exist on your site, a 404 error page will be showcased. Some popular reasons that cause a 404 error message include:

  • The URL/ its content is removed.
  • The visitors typed the URL incorrectly.
  • The URL/ its content is moved without customizing the internal links.
  • The domain no longer exists.
  • The website hosting server faces trouble.

Hence, if you want to build a 404 error, what content you should add? A good and useful 404 page should have clear navigation. That means you should display:

  • Your homepage.
  • Some hottest blog pages.
  • Some popular or trending product or service pages.
  • An HTML sitemap.

Why do you need to create A Custom 404 Error Page in Joomla 4?

If you are using Joomla 4, there are many compelling reasons you should consider creating a custom 404 error page for your site:

  • Navigating visitors to the homepage or any page you want them to access.
  • Helping your site become more professional.
  • Decreasing the bounce rate.
  • Giving the visitors a great experience when they surf your site.

After taking a look at some fundamental information about the 404 error page, it’s time for you to explore how to generate it.

Let’s create A Custom 404 Error Page in Joomla 4

In the blog, we would like to provide you with two ways to build a custom 404 page. So, you can read and select the most suitable one for your site.

Generating a custom 404 error page manually

First of all, you need to create a new menu item for your 404 page. In order to do that, you just need to go to Menus -> Main Menu Blog -> New.

Create A Custom 404 Error Page In Joomla 4-1

Now, simply fill out the title, then click on the Select button in the Menu Item Type option.

Create A Custom 404 Error Page In Joomla 4-2

A Menu Item Type popup will appear for you to select. Thus, let’s choose Articles -> Single Article, then close the popup.

Create A Custom 404 Error Page In Joomla 4-3

In the Select Article option, press the Create button to generate a new article.

Create A Custom 404 Error Page In Joomla 4-4

Next, let’s enter the title of the article. After that, in the Article Text, you need to fill out the content you want to display on the 404 error page. You can add text, images, links, and much more.

After finishing, simply click on the Save & Close button.

Create A Custom 404 Error Page In Joomla 4-5

Now, you need to move on to the Link Type tab and disable the Display in Menu option.

Create A Custom 404 Error Page In Joomla 4-6

Once turning off the Display in Menu option, let’s save the menu. Moreover, you need to remember the ID number of the article in the Link box.

Create A Custom 404 Error Page In Joomla 4-7

Close the menu, you will see a menu ID. So, all you need to do is remember the ID number of the 404 error page menu.

Create A Custom 404 Error Page In Joomla 4-8

In the next step, let’s open System -> Site Templates, then click to edit the template you are using in Joomla 4. In our example, we are using Cassiopeia, so we will open and customize it.

Create A Custom 404 Error Page In Joomla 4-9

Now, let’s find and edit the error.php file in the /templates/cassiopeia folder.

After the code
defined('_JEXEC') or die;
in line 10, you just need to add the following code:

if (($this->error->getCode()) == '404') {
header('Location: ' . Jroute::_("index.php?option=com_content&view=article&id=XXItemid=YY", false));
exit;
}

Don’t forget to replace XX with the ID of the article, and YY with the ID of the menu item you created before.

Eventually, simply save it.

Create A Custom 404 Error Page In Joomla 4-10

Now, you can freely check the result on your site. After the URL, simply add anything you want to view the 404 error page.

Create A Custom 404 Error Page In Joomla 4-11

Using SP Page Builder to build a custom 404 error page

If you feel the first method is quite complicated and time-consuming, you can try the second one.

We will start the second way by downloading SP Page Builder and installing the extension on your Joomla site.

Once successful installation, you just need to go ahead Components -> SP Page Builder -> Pages -> New. After that, simply add the title for a new page and save it. It will allow you to customize from the front-end editor.

Create A Custom 404 Error Page In Joomla 4-12

SP Page Builder will support you to edit the page with the drag-drop feature. Therefore, it’s easy and simple for you to edit the page in your own way.

You need to add the row, then choose the add-on you want to use. In the next step, simply enter the title as well as add the image you want to showcase on the 404 error page. Besides, you can edit the text and image with some useful options. If you desire to add a button link to navigate the visitors to go back to your homepage, you need to use the premium version with many outstanding add-ons.

Don’t forget to save the page after completely designing it.

Create A Custom 404 Error Page In Joomla 4-13

Now, let’s go back to your admin dashboard and create a new menu item. Simply open Menus -> Main Menu Blog -> New.

Enter the title first, then click on the Select button in the Menu Item Type.

Create A Custom 404 Error Page In Joomla 4-14

You need to select SP Page Builder -> Page.

Create A Custom 404 Error Page In Joomla 4-15

In the Select Page section, let’s choose the 404 page you created in the previous steps. After that, simply save the menu item and remember the page ID in the Link box.

Create A Custom 404 Error Page In Joomla 4-16

Next, go to the Link Type tab and turn off the Display in Menu option. Save it again.

Create A Custom 404 Error Page In Joomla 4-17

Finally, all you need to do is open System -> Site Templates (in the Templates tab), then click to edit the template you are utilizing.

Let’s find the error.php and customize it. After that, simply add the code below:
// custom 404 redirect
$config = JFactory::getConfig();
$sef = $config->get('sef');
$sef_rewrite = $config->get('sef_rewrite');
$sef_suffix = $config->get('sef_suffix');
$redirect_url = JURI::base();
if(!$sef_rewrite) {
$redirect_url .= 'index.php/';
}
$redirect_url .= '404'; // menu alias
if($sef_suffix) {
$redirect_url .= '.html';
}
// if sef is turned off
if(!$sef) {
$redirect_url = 'index.php?option=com_sppagebuilder&view=page&id=XX';
}
if (($this->error->getCode()) == '404') {
header('Location: ' . $redirect_url, true, 301);
exit;
}

Change the XX into the ID number of the page you have already generated before and save it.

Create A Custom 404 Error Page In Joomla 4-18

Everything is done. So, why don’t you take a look at the result on your site now?

Create A Custom 404 Error Page In Joomla 4-19

Closing thoughts

In conclusion, we are happy to show you the way how to Create A Custom 404 Error Page in Joomla 4. Therefore, we hope that the blog will be helpful for you. If you have any relevant questions, then let’s leave your comment below. Furthermore, in case you have an intention to use another template for your site, don’t hesitate to visit our Joomla 4 Templates. Since the collection includes many templates on many different topics, you can freely select the one you love.

  • Author
  • Recent Posts

Lt Digital Team (Content &Amp; Marketing)

Welcome to LT Digital Team, we’re small team with 5 digital content marketers. We make daily blogs for Joomla! and WordPress CMS, support customers and everyone who has issues with these CMSs and solve any issues with blog instruction posts, trusted by over 1.5 million readers worldwide.

Lt Digital Team (Content &Amp; Marketing)

Понравилась статья? Поделить с друзьями:

Интересное по теме:

  • Ошибка 4129 на терминале
  • Ошибка 4128 эвотор 5i
  • Ошибка 4125 на терминале сбербанка
  • Ошибка 4080 сбербанк
  • Ошибка 4128 терминал сбербанка что делать

  • Добавить комментарий

    ;-) :| :x :twisted: :smile: :shock: :sad: :roll: :razz: :oops: :o :mrgreen: :lol: :idea: :grin: :evil: :cry: :cool: :arrow: :???: :?: :!: