in
tech
tech
Sunday, May 18, 2008 at 04:35PM $dc.TransferRoleOwnership('PdcRole') (Or 'RidRole' or 'InfrastructureRole' or 'NamingMasterRole' or 'SchemaRole', for that matter) fails with the following error, even when I've verified that the $dc object is otherwise valid:
Exception calling "TransferRoleOwnership" with "1" argument(s): "The server is unwilling to process the request. (Exception from HRESULT: 0x80072035)"
tech
Reader Comments (6)
Try this
$role = [system.directoryservices.activedirectory.activedirectoryrole]::PdcRole
$dc.TransferRoleOwnership($role)
I cannot try this because I only have one DC.
If it weren't you asking I would say it was a user right issue :P
http://www.techtalkz.com/microsoft-windows-powershell/147975-transferring-fsmo-roles.html
http://richardsiddaway.spaces.live.com/blog/cns!43CFA46A74CF3E96!831.entry
err 80072035
# as an HRESULT: Severity: SUCCESS (0), Facility: 0x4c5, Code 0xcd63
# as an HRESULT: Severity: FAILURE (1), Facility: 0x7, Code 0x2035
# for hex 0x2035 / decimal 8245 :
ERROR_DS_UNWILLING_TO_PERFORM winerror.h
# The server is unwilling to process the request.
# 1 matches found for "80072035"
Are you sure the "DC" object points to the right DC (e.g. the target not the source)?