Move-ADObject return Access Denied
-
Sunday, January 27, 2013 7:47 AM
Hi,
I want to move specific AD objects based on a few particular criteria s, When I run Move-ADObject command at powershell it returns an error which contains : Access Denied.
However I managed to fix the problem with a temporary solution which is disabling protecting object from accidental deletion. Is there any other solution to achieve this process without disabling the following check-box? It is quite risky to disable the accidental deletion.
Regard.
- Moved by Bill_StewartMicrosoft Community Contributor Sunday, January 27, 2013 4:02 PM Moving to more appropriate forum
All Replies
-
Sunday, January 27, 2013 8:56 AM
This is a scripting forum. It is no a place to ask questions about how to use AD. Please post in AD forum.
¯\_(ツ)_/¯
- Proposed As Answer by Richard MuellerMVP Sunday, January 27, 2013 1:54 PM
-
Monday, January 28, 2013 7:04 AMModerator
Hi,
If the Protect from Accidental Deletion option is enabled on the OU to be moved, you will get “Access denied” message when you attempt to perform Move-ADObject operation. That is by design.
You can just disable the "protect from accidental deletion" option temporarily, before you perform the operation, if you really need to do this.
Reference: http://technet.microsoft.com/en-us/library/dd391940(v=WS.10).aspx
Regards,
Cicely- Marked As Answer by Cicely FengMicrosoft Contingent Staff, Moderator Tuesday, February 05, 2013 6:09 AM

