S
Silent Knight
Hi,
I have searched everywhere and I haven't been able to find an answer to this one yet. I am in the process of trying to migrate DHCP scopes from a Windows 2008 R2 host to a Windows 2012 Core host.
I'm using PS to migrate and I've run the below to backup and restore the scopes:
Export-DhcpServer –ComputerName %sourceserverfqdn% -Leases -File C:\DHCP\dhcpexport.xml -verbose
Import-DhcpServer –ComputerName %destinationserverfqdn% -Leases –File C:\DHCP\dhcpexport.xml -BackupPath C:\DHCP\Backup\ -Verbose
Both of these commands are run on the same server. After the initial backup I stopped the DHCP service on the source server and authorized the new DHCP server. Then I ran the import.
These are the errors that I get for every scope it is trying to import:
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~
+ CategoryInfo : NotSpecified: (%destinationserverfqdn%:root/Microsoft/...cpServerv4Scope) [Import-DhcpServer], CimException
+ FullyQualifiedErrorId : WIN32 1753,Import-DhcpServer
VERBOSE: Importing scope 10.255.254.0 on server
%destinationserverfqdn%...
Import-DhcpServer : Failed to get version of the DHCP server
%destinationserverfqdn%. : There are no more endpoints available
from the endpoint mapper. (1753)
At line:1 char:1
+ Import-DhcpServer -ComputerName %destinationserverfqdn%
-Leases -F ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~
+ CategoryInfo : NotSpecified: (%destinationserverfqdn%:root/Microsoft/...cpServerv4Scope) [Import-DhcpServer], CimException
+ FullyQualifiedErrorId : WIN32 1753,Import-DhcpServer
VERBOSE: Importing scope 10.255.255.0 on server
%destinationserverfqdn%...
Import-DhcpServer : Failed to get version of the DHCP server
%destinationserverfqdn%. : There are no more endpoints available
from the endpoint mapper. (1753)
At line:1 char:1
+ Import-DhcpServer -ComputerName %destinationserverfqdn%
-Leases -F ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~
+ CategoryInfo : NotSpecified: (%destinationserverfqdn%:root/Microsoft/...cpServerv4Scope) [Import-DhcpServer], CimException
+ FullyQualifiedErrorId : WIN32 1753,Import-DhcpServer
VERBOSE: Importing scope 172.27.24.0 on server
%destinationserverfqdn%...
Import-DhcpServer : Failed to get version of the DHCP server
%destinationserverfqdn%. : There are no more endpoints available
from the endpoint mapper. (1753)
At line:1 char:1
+ Import-DhcpServer -ComputerName %destinationserverfqdn%
-Leases -F ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~
+ CategoryInfo : NotSpecified: (%destinationserverfqdn%:root/Microsoft/...cpServerv4Scope) [Import-DhcpServer], CimException
+ FullyQualifiedErrorId : WIN32 1753,Import-DhcpServer
VERBOSE: Importing scope 172.27.70.0 on server
%destinationserverfqdn%...
Import-DhcpServer : Failed to get version of the DHCP server
%destinationserverfqdn%. : There are no more endpoints available
from the endpoint mapper. (1753)
At line:1 char:1
+ Import-DhcpServer -ComputerName %destinationserverfqdn%
-Leases -F ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~
+ CategoryInfo : NotSpecified: (%destinationserverfqdn%:root/Microsoft/...cpServerv4Scope) [Import-DhcpServer], CimException
+ FullyQualifiedErrorId : WIN32 1753,Import-DhcpServer
VERBOSE: Importing scope 172.27.125.0 on server
%destinationserverfqdn%...
Import-DhcpServer : Failed to get version of the DHCP server
%destinationserverfqdn%. : There are no more endpoints available
from the endpoint mapper. (1753)
At line:1 char:1
+ Import-DhcpServer -ComputerName %destinationserverfqdn%
-Leases -F ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~
+ CategoryInfo : NotSpecified: (%destinationserverfqdn%:root/Microsoft/...cpServerv4Scope) [Import-DhcpServer], CimException
+ FullyQualifiedErrorId : WIN32 1753,Import-DhcpServer
VERBOSE: Importing scope 172.27.127.0 on server
%destinationserverfqdn%...
Import-DhcpServer : Failed to get version of the DHCP server
%destinationserverfqdn%. : There are no more endpoints available
from the endpoint mapper. (1753)
At line:1 char:1
+ Import-DhcpServer -ComputerName %destinationserverfqdn%
-Leases -F ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~
+ CategoryInfo : NotSpecified: (%destinationserverfqdn%:root/Microsoft/...cpServerv4Scope) [Import-DhcpServer], CimException
+ FullyQualifiedErrorId : WIN32 1753,Import-DhcpServer
VERBOSE: Importing scope 172.27.131.0 on server
%destinationserverfqdn%...
Import-DhcpServer : Failed to get version of the DHCP server
%destinationserverfqdn%. : There are no more endpoints available
from the endpoint mapper. (1753)
At line:1 char:1
+ Import-DhcpServer -ComputerName %destinationserverfqdn%
-Leases -F ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~
+ CategoryInfo : NotSpecified: (%destinationserverfqdn%:root/Microsoft/...cpServerv4Scope) [Import-DhcpServer], CimException
+ FullyQualifiedErrorId : WIN32 1753,Import-DhcpServer
VERBOSE: Importing scope 172.27.132.0 on server
%destinationserverfqdn%...
Import-DhcpServer : Failed to get version of the DHCP server
%destinationserverfqdn%. : There are no more endpoints available
from the endpoint mapper. (1753)
At line:1 char:1
+ Import-DhcpServer -ComputerName %destinationserverfqdn%
-Leases -F ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~
+ CategoryInfo : NotSpecified: (%destinationserverfqdn%:root/Microsoft/...cpServerv4Scope) [Import-DhcpServer], CimException
+ FullyQualifiedErrorId : WIN32 1753,Import-DhcpServer
VERBOSE: Importing scope 172.27.214.0 on server
%destinationserverfqdn%...
Import-DhcpServer : Failed to get version of the DHCP server
%destinationserverfqdn%. : There are no more endpoints available
from the endpoint mapper. (1753)
At line:1 char:1
+ Import-DhcpServer -ComputerName %destinationserverfqdn%
-Leases -F ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Can anyone give me some pointers on what is going on here? I have tried just backing up the DHCP config and then restoring using the DHCP snap-in but that errors out as well.
Cheers,
Hanré
Continue reading...
I have searched everywhere and I haven't been able to find an answer to this one yet. I am in the process of trying to migrate DHCP scopes from a Windows 2008 R2 host to a Windows 2012 Core host.
I'm using PS to migrate and I've run the below to backup and restore the scopes:
Export-DhcpServer –ComputerName %sourceserverfqdn% -Leases -File C:\DHCP\dhcpexport.xml -verbose
Import-DhcpServer –ComputerName %destinationserverfqdn% -Leases –File C:\DHCP\dhcpexport.xml -BackupPath C:\DHCP\Backup\ -Verbose
Both of these commands are run on the same server. After the initial backup I stopped the DHCP service on the source server and authorized the new DHCP server. Then I ran the import.
These are the errors that I get for every scope it is trying to import:
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~
+ CategoryInfo : NotSpecified: (%destinationserverfqdn%:root/Microsoft/...cpServerv4Scope) [Import-DhcpServer], CimException
+ FullyQualifiedErrorId : WIN32 1753,Import-DhcpServer
VERBOSE: Importing scope 10.255.254.0 on server
%destinationserverfqdn%...
Import-DhcpServer : Failed to get version of the DHCP server
%destinationserverfqdn%. : There are no more endpoints available
from the endpoint mapper. (1753)
At line:1 char:1
+ Import-DhcpServer -ComputerName %destinationserverfqdn%
-Leases -F ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~
+ CategoryInfo : NotSpecified: (%destinationserverfqdn%:root/Microsoft/...cpServerv4Scope) [Import-DhcpServer], CimException
+ FullyQualifiedErrorId : WIN32 1753,Import-DhcpServer
VERBOSE: Importing scope 10.255.255.0 on server
%destinationserverfqdn%...
Import-DhcpServer : Failed to get version of the DHCP server
%destinationserverfqdn%. : There are no more endpoints available
from the endpoint mapper. (1753)
At line:1 char:1
+ Import-DhcpServer -ComputerName %destinationserverfqdn%
-Leases -F ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~
+ CategoryInfo : NotSpecified: (%destinationserverfqdn%:root/Microsoft/...cpServerv4Scope) [Import-DhcpServer], CimException
+ FullyQualifiedErrorId : WIN32 1753,Import-DhcpServer
VERBOSE: Importing scope 172.27.24.0 on server
%destinationserverfqdn%...
Import-DhcpServer : Failed to get version of the DHCP server
%destinationserverfqdn%. : There are no more endpoints available
from the endpoint mapper. (1753)
At line:1 char:1
+ Import-DhcpServer -ComputerName %destinationserverfqdn%
-Leases -F ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~
+ CategoryInfo : NotSpecified: (%destinationserverfqdn%:root/Microsoft/...cpServerv4Scope) [Import-DhcpServer], CimException
+ FullyQualifiedErrorId : WIN32 1753,Import-DhcpServer
VERBOSE: Importing scope 172.27.70.0 on server
%destinationserverfqdn%...
Import-DhcpServer : Failed to get version of the DHCP server
%destinationserverfqdn%. : There are no more endpoints available
from the endpoint mapper. (1753)
At line:1 char:1
+ Import-DhcpServer -ComputerName %destinationserverfqdn%
-Leases -F ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~
+ CategoryInfo : NotSpecified: (%destinationserverfqdn%:root/Microsoft/...cpServerv4Scope) [Import-DhcpServer], CimException
+ FullyQualifiedErrorId : WIN32 1753,Import-DhcpServer
VERBOSE: Importing scope 172.27.125.0 on server
%destinationserverfqdn%...
Import-DhcpServer : Failed to get version of the DHCP server
%destinationserverfqdn%. : There are no more endpoints available
from the endpoint mapper. (1753)
At line:1 char:1
+ Import-DhcpServer -ComputerName %destinationserverfqdn%
-Leases -F ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~
+ CategoryInfo : NotSpecified: (%destinationserverfqdn%:root/Microsoft/...cpServerv4Scope) [Import-DhcpServer], CimException
+ FullyQualifiedErrorId : WIN32 1753,Import-DhcpServer
VERBOSE: Importing scope 172.27.127.0 on server
%destinationserverfqdn%...
Import-DhcpServer : Failed to get version of the DHCP server
%destinationserverfqdn%. : There are no more endpoints available
from the endpoint mapper. (1753)
At line:1 char:1
+ Import-DhcpServer -ComputerName %destinationserverfqdn%
-Leases -F ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~
+ CategoryInfo : NotSpecified: (%destinationserverfqdn%:root/Microsoft/...cpServerv4Scope) [Import-DhcpServer], CimException
+ FullyQualifiedErrorId : WIN32 1753,Import-DhcpServer
VERBOSE: Importing scope 172.27.131.0 on server
%destinationserverfqdn%...
Import-DhcpServer : Failed to get version of the DHCP server
%destinationserverfqdn%. : There are no more endpoints available
from the endpoint mapper. (1753)
At line:1 char:1
+ Import-DhcpServer -ComputerName %destinationserverfqdn%
-Leases -F ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~
+ CategoryInfo : NotSpecified: (%destinationserverfqdn%:root/Microsoft/...cpServerv4Scope) [Import-DhcpServer], CimException
+ FullyQualifiedErrorId : WIN32 1753,Import-DhcpServer
VERBOSE: Importing scope 172.27.132.0 on server
%destinationserverfqdn%...
Import-DhcpServer : Failed to get version of the DHCP server
%destinationserverfqdn%. : There are no more endpoints available
from the endpoint mapper. (1753)
At line:1 char:1
+ Import-DhcpServer -ComputerName %destinationserverfqdn%
-Leases -F ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~
+ CategoryInfo : NotSpecified: (%destinationserverfqdn%:root/Microsoft/...cpServerv4Scope) [Import-DhcpServer], CimException
+ FullyQualifiedErrorId : WIN32 1753,Import-DhcpServer
VERBOSE: Importing scope 172.27.214.0 on server
%destinationserverfqdn%...
Import-DhcpServer : Failed to get version of the DHCP server
%destinationserverfqdn%. : There are no more endpoints available
from the endpoint mapper. (1753)
At line:1 char:1
+ Import-DhcpServer -ComputerName %destinationserverfqdn%
-Leases -F ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Can anyone give me some pointers on what is going on here? I have tried just backing up the DHCP config and then restoring using the DHCP snap-in but that errors out as well.
Cheers,
Hanré
Continue reading...