D
D
denn2022-01-18 05:02:22
Active Directory
denn, 2022-01-18 05:02:22

Why does an Access is denied error occur when trying to edit policies in Active directory. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))?

There is an Active Directory on Zentyal linux and a virtual machine on which I raised Windows 10 Pro and entered the domain. When I try to edit a policy in MRSAT, I get an error

Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))

Error log:
Detailed information on using
JIT debugging instead of this dialog
box is at the end of this post.

************** Exception text **************
System.UnauthorizedAccessException: Access denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
at Microsoft.GroupPolicy.AdmTmplEditor.IGPMAdmTmplEditorCallback.ApplyChanges()
at Microsoft.GroupPolicy.AdmTmplEditor.Editor.SaveChanges()
at Microsoft.GroupPolicy.AdmTmplEditor.Editor.buttonApply_Click( )
to System.Windows.Forms.Control.OnClick(EventArgs e)
to System.Windows.Forms.Button.OnClick(EventArgs e)
to System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System .Windows.Forms.Button.WndProc(Message& m)
to System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

**************** assemblies **************
mscorlib Assembly
version: 4.0.0.0
Win32 version: 4.8.4400.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/ v4.0
....----------------------------------------
Microsoft.GroupPolicy .AdmTmplEditor Assembly
version: 10.0.0.0
Win32 Version: 10.0.19041.1 (WinBuild.160101.0800)
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_64/M...
--------------- ------------------------
System
Assembly version: 4.0.0.0
Win32 version: 4.8.4360.0 built by: NET48REL1LAST_C
CodeBase: file:///C :/Windows/Microsoft.Net/assembly/GAC_MSIL...
------------------------------ ----
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4400.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL...
--- -------------------------------------
System.Drawing
Assembly version: 4.0.0.0
Win32 Version: 4.8.4390.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL...
------------------ ----------------------
System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4190.0 built by: NET48REL1LAST_B
CodeBase: file:///C: /Windows/Microsoft.Net/assembly/GAC_MSIL...
------------------------------------- ---
System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4390.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL...
------ ----------------------------------
System.Xml Assembly
version: 4.0.0.0
Win32 version: 4.8.4084.0 built by: NET48REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL...
------------------ ----------------------
Microsoft.GroupPolicy.AdmTmplEditor.resources
Assembly Version: 10.0.0.0
Win32 Version: 10.0.19041.1
CodeBase: file:///C: /Windows/Microsoft.Net/assembly/GAC_64/M...
-------------------------------------------------- -----
Accessibility
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4084.0 built by: NET48REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL...
------ ----------------------------------
mscorlib.resources Assembly
version: 4.0.0.0
Win32 version: 4.8.4084.0 built by: NET48REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL...
------------------ ----------------------
System.Windows.Forms.resources
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4084.0 built by: NET48REL1
CodeBase: file:/ //C:/Windows/Microsoft.Net/assembly/GAC_MSIL...
--------------------------------- -------

**************** Live Debugging (JIT) **************
To enable Live Debugging (JIT) .config file given
application or machine (machine.config) must have
jitDebugging set in the system.windows.forms section.
The application must also be compiled with
debugging enabled.

For example:





When JIT debugging is enabled, any unhandled exception is
forwarded to the JIT debugger registered on this machine
instead of being handled by this dialog box.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question