Mar 21 2022 01:04 AM
Hi,
I tried to migrate a 2012R2 fileserver to a new 2022 machine this weekend.
It wasn’t the first time I used the storage migration service, but this time it didn’t worked.
On phase 3 (cutover) it goes on 30% (“Removing the source computer from the domain...”) pretty fast, but then stucks forever.
In debug log I got the message:
“[Erro] Attempt #351 failed to unjoin machine '2012R2machine.FQDN' from the domain with credential 'domain\adminuser'. Error 0x6D1. [d:\os\src\base\dms\proxy\cutover\cutoverproxy\CutoverUtils.cs::UnjoinDomain::2216]”
I know, the message sounds like there are some problems with my credentials, but I tried different typing (without domain) and even a different account. I also tried to do this step manually, unjoined the old machine, waited for sms to notice (nothing happened) and finally rebooted the machine (now in workgroup). But still no progress (error message now changed because my domainuser couldn’t authenticate).
I rejoined the machine and tried again a dozen times (rebooted the Orchestrator service every time because there is no other abort option).
There are no information online about this error, any clue?
The windows admin center is installed and accessed on a Service-Service
The Orchestrator service (v2.6.2) is installed on the new 2022 fileserver
Windows firewall is disabled on source machine
Thank you for any help
Mar 21 2022 06:37 AM
Apr 13 2022 01:32 AM
Apr 22 2022 01:30 PM
Jun 19 2022 11:13 PM
SolutionHello again,
after three months we finally gave it a new try.
The migration succeeded.
There was quite a few maintanance things we did, I will tell you the most likely reasons:
-since March a new admin center version and SMS version released
-Also new windows updates was released which were installed on all relevant servers
-We checked the eventlog on the source server for any errors and fixed them
-> NTP, shares, ....
-we also did a winsock reset:
Reset Winsock control.
Restoring transaction logs.
fsutil resource setautoreset true C:\
Restoring TPC/IP.
netsh int ip reset
Restoring Winsock.
netsh winsock reset
Restoring default policy settings.
netsh advfirewall reset
Restoring the DNS cache.
ipconfig /flushdns
Restoring the Proxy.
netsh winhttp reset proxy
Some of these may be the solution!
Jun 28 2022 08:40 AM
Mar 22 2023 01:54 PM
This can happen if the Orchestrator server has latest updates but the source machines does not have latest updates.
If the the Orchestrator server is latest, unjoin domain operation uses remote Opnum 0x20 (NetrUnjoindomain3 ) on source.
This Opnum 0x20 (NetrUnjoindomain3 ) was added in 22.11b update, so if the source machine does not have this update, unjoin operation fails with Error 0x6D1 "The procedure is out of range". Updating the source machine to latest can resolve this issue.