Symptoms
Consider the following scenarios.
Scenario 1
-
You have a Windows Server 2012 or Windows Server 2008 R2-based domain controller that has User Account Control (UAC) enabled.
-
You log on to the domain controller by using a Domain Admins user account.
-
You make sure that no Windows PowerShell window is running.
-
You start Active Directory Module for Windows PowerShell directly without promoting it by using administrator privilege.
-
You run the Move-ADObject cmdlet to move one Active Directory object to a different container or domain. For example, you run the following cmdlet to move computer A from organizational unit 1 (ou1) to organizational unit 2 (ou2):
Move-ADObject "cn=computerA,ou=ou1,dc=test,dc=com" -targetpath "ou=u2,dc=test,dc=com"
-
The cmdlet fails as expected, and you receive an "Access is denied" error message.
-
You keep the PowerShell window open, and then you start Active Directory Module for Windows PowerShell as an administrator to open another PowerShell window.
-
You run the Move-ADObject cmdlet again.
In this scenario, the cmdlet fails incorrectly. Additionally, you receive an "Access is denied" error message.
Scenario 2
-
You have a Windows Server 2012 or Windows Server 2008 R2-based domain controller that has User Account Control (UAC) enabled.
-
You log on to the domain controller by using a Domain Admins user account.
-
You make sure that no Windows PowerShell window is running.
-
You start Active Directory Module for Windows PowerShell as an administrator.
-
You run the Move-ADObject cmdlet to move one Active Directory object to a different container or domain. For example, you run the following cmdlet to move computerA from ou1 to ou2:
Move-ADObject "cn=computerA,ou=ou1,dc=test,dc=com" -targetpath "ou=u2,dc=test,dc=com"
-
The cmdlet finishes as expected.
-
You keep the PowerShell window open, and then you start Active Directory Module for Windows PowerShell as an administrator to open another PowerShell window.
-
You run the Move-ADObject cmdlet again.
In this scenario, the cmdlet unexpectedly finishes successfully.
Resolution
Windows Server 2012
To resolve this issue in Windows Server 2012, install update rollup 2836988. For more information about how to obtain this update rollup package, click the following article number to view the article in the Microsoft Knowledge Base:
2836988 Windows 8 and Windows Server 2012 update rollup: May 2013
Windows Server 2008 R2
To resolve this issue in Windows Server 2008 R2, install update 2806748.
How to obtain this update
Microsoft Update
This update is available from the following Microsoft Update website:
Microsoft Download Center
The following files are available for download from the Microsoft Download Center:
Operating system |
Update |
---|---|
All supported x64-based versions of Windows Server 2008 R2 |
For more information about how to download Microsoft support files, click the following article number to view the article in the Microsoft Knowledge Base:
119591 How to obtain Microsoft support files from online services Microsoft scanned this file for viruses. Microsoft used the most current virus-detection software that was available on the date that the file was posted. The file is stored on security-enhanced servers that help prevent any unauthorized changes to the file.
Prerequisites
To apply this update, you must be running Windows Server 2008 R2 or Windows Server 2008 R2 Service Pack 1 (SP1). For more information about how to obtain a Windows Server 2008 R2 service pack, click the following article number to view the article in the Microsoft Knowledge Base:
976932 Information about Service Pack 1 for Windows 7 and for Windows Server 2008 R2
Registry information
To use the update, you do not have to change the registry.
Restart requirement
You must restart the computer after you apply this update.
Update replacement information
This update does not replace a previously released update.
The global version of this update installs files that have the attributes that are listed in the following tables. The dates and the times for these files are listed in Coordinated Universal Time (UTC). The dates and the times for these files on your local computer are displayed in your local time together with your current daylight saving time (DST) bias. Additionally, the dates and the times may change when you perform certain operations on the files.
Windows Server 2008 R2 file information notes
-
The files that apply to a specific product, milestone (RTM,SPn), and service branch (LDR, GDR) can be identified by examining the file version numbers as shown in the following table:
Version
Product
Milestone
Service branch
6.1.760
0.17xxxWindows Server 2008 R2
RTM
GDR
6.1.760
1.18xxxWindows Server 2008 R2
SP1
GDR
6.1.760
1.22xxxWindows Server 2008 R2
SP1
LDR
-
GDR service branches contain only those fixes that are widely released to address widespread, critical issues. LDR service branches contain hotfixes in addition to widely released fixes.
-
The MANIFEST files (.manifest) that are installed for each environment are listed separately in the "Additional file information for Windows Server 2008 R2" section. MANIFEST files and the associated security catalog (.cat) files, are extremely important to maintain the state of the updated components. The security catalog files, for which the attributes are not listed, are signed with a Microsoft digital signature.
For all supported x64-based versions of Windows Server 2008 R2
File name |
File version |
File size |
Date |
Time |
Platform |
---|---|---|---|---|---|
Adwsres.dll |
6.1.7600.16385 |
2,048 |
14-Jul-2009 |
01:24 |
x64 |
Microsoft.activedirectory.webservices.exe |
6.1.7600.17222 |
487,424 |
25-Jan-2013 |
05:47 |
x86 |
Microsoft.activedirectory.webservices.exe.config |
Not applicable |
7,431 |
17-Mar-2010 |
05:10 |
Not applicable |
Adwsres.dll |
6.1.7600.16385 |
2,048 |
14-Jul-2009 |
01:24 |
x64 |
Microsoft.activedirectory.webservices.exe |
6.1.7600.21433 |
487,424 |
25-Jan-2013 |
05:49 |
x86 |
Microsoft.activedirectory.webservices.exe.config |
Not applicable |
7,431 |
17-Mar-2010 |
05:14 |
Not applicable |
Adwsres.dll |
6.1.7600.16385 |
2,048 |
14-Jul-2009 |
01:24 |
x64 |
Microsoft.activedirectory.webservices.exe |
6.1.7601.18063 |
487,424 |
25-Jan-2013 |
06:15 |
x86 |
Microsoft.activedirectory.webservices.exe.config |
Not applicable |
7,431 |
05-Nov-2010 |
01:52 |
Not applicable |
Adwsres.dll |
6.1.7600.16385 |
2,048 |
14-Jul-2009 |
01:24 |
x64 |
Microsoft.activedirectory.webservices.exe |
6.1.7601.22231 |
487,424 |
25-Jan-2013 |
05:27 |
x86 |
Microsoft.activedirectory.webservices.exe.config |
Not applicable |
7,431 |
05-Nov-2010 |
01:52 |
Not applicable |
Status
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
More Information
For more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:
824684 Description of the standard terminology that is used to describe Microsoft software updates
Additional files for all supported x64-based versions of Windows Server 2008 R2
File name |
Amd64_microsoft.activedirectory.webservices_31bf3856ad364e35_6.1.7600.17222_none_f79a5965cab5115c.manifest |
File version |
Not applicable |
File size |
9,352 |
Date (UTC) |
25-Jan-2013 |
Time (UTC) |
13:01 |
Platform |
Not applicable |
File name |
Amd64_microsoft.activedirectory.webservices_31bf3856ad364e35_6.1.7600.21433_none_f81a2874e3d9e395.manifest |
File version |
Not applicable |
File size |
9,352 |
Date (UTC) |
25-Jan-2013 |
Time (UTC) |
13:01 |
Platform |
Not applicable |
File name |
Amd64_microsoft.activedirectory.webservices_31bf3856ad364e35_6.1.7601.18063_none_f9567705c7fb0663.manifest |
File version |
Not applicable |
File size |
9,352 |
Date (UTC) |
25-Jan-2013 |
Time (UTC) |
13:01 |
Platform |
Not applicable |
File name |
Amd64_microsoft.activedirectory.webservices_31bf3856ad364e35_6.1.7601.22231_none_f9fe84e6e1021cd3.manifest |
File version |
Not applicable |
File size |
9,352 |
Date (UTC) |
25-Jan-2013 |
Time (UTC) |
13:01 |
Platform |
Not applicable |