Benoît Bianchi
2007-04-03 14:04:41 UTC
Hi,
My goal is to manage our servers backup from one an only one server.
I've got two AD 2003 domain, with bi-directionnal trust
relationshionship and i've add the domain1 admin account to the builtin
Administrators account on the domain2.
My script is running from a domain1 controller, admin account , but I'm
not able to create remote process neither on domain1 member serveur nor
domain2 controller ...
Here is my code for that 2 serveurs:
Dim serveur ' server's name
...
Set objSWbemLocator = CreateObject("WbemScripting.SWbemLocator")
Set objWMIService = objSWbemLocator.ConnectServer(serveur, _
"root\cimv2",,,,"Kerberos:" + serveur)
...
But this leads to an RPC error
I need the Kerberos cause I save the ntbackup backup file on a share on the
domain1 controller.
For the domain1 controller I use :
set objWMIService = GetObject("winmgmts:{impersonationLevel=Delegate}!\\" _
& serveur & "\root\cimv2")
Which works perfectly ....
I've tried many other way (googled) but without any success, can you please
help?
thanks
My goal is to manage our servers backup from one an only one server.
I've got two AD 2003 domain, with bi-directionnal trust
relationshionship and i've add the domain1 admin account to the builtin
Administrators account on the domain2.
My script is running from a domain1 controller, admin account , but I'm
not able to create remote process neither on domain1 member serveur nor
domain2 controller ...
Here is my code for that 2 serveurs:
Dim serveur ' server's name
...
Set objSWbemLocator = CreateObject("WbemScripting.SWbemLocator")
Set objWMIService = objSWbemLocator.ConnectServer(serveur, _
"root\cimv2",,,,"Kerberos:" + serveur)
...
But this leads to an RPC error
I need the Kerberos cause I save the ntbackup backup file on a share on the
domain1 controller.
For the domain1 controller I use :
set objWMIService = GetObject("winmgmts:{impersonationLevel=Delegate}!\\" _
& serveur & "\root\cimv2")
Which works perfectly ....
I've tried many other way (googled) but without any success, can you please
help?
thanks