csvde


J

Juan

hello I'm building a replica domain with different name but very similar for
a lab modeling the production domain I work in. I used the csvde -m -f
output.cvs command and dumped all the AD information to this file. took the
file to the lab domain and did csvde -i -f output.cvs -j and I get this
message
"Logging in as current user using SSPI
Importing directory from file "out.csv"
Error opening input file
0 entries modified successfully.
An error has occurred in the program
No log files were written. In order to generate a log file, please
specify the log file path via the -j option."

then when I do it with csvde -I -f output.cvs -j log.csv
unable to open log file. All the files are in the default location where
I'm running the command and I have also used paths. What is wrong? Can
someone help me please.

Thank you,

Juan
 
Ad

Advertisements

J

Jason Robarts [MSFT]

Are you sure that you've given us the exact command line you used?

My interpretation of the error message would be that it couldn't find the
file specified by the -f parameter. The output suggests you specified
out.csv.

I'd make sure I could open the filename specified using notepad.

Can you write to the current directory?
 
J

Juan

Yes the same command, and yes I can open the files with notepad and write to
the same directory.
Not really sure what to do now. Should I re-export the domain information
from the production server and try again.
Thank you for your help and suggestions.

Juan
 
J

Juan

tried it and no luck. I will try using other tools. Do you have a website
where I can view exports and imports of AD information from different AD
domains physically .
 
J

Juan

Thank you, I will study these and come up with something and give you an
update. I also feel that the LAB I created might have something to do with
the import, but I might be wrong. Tell me what you think. The production
forest has 7 domains. I manage one of the child domains and when I created
the lab domain the root domain is the child domain I manage. Would this
cause the import to have problems. I was under the impression that using
the csvde -m outputfile.csv would export AD info and I would be able to
import it to another domain even if its not the same domain structure.


Thank you,

Juan
 
A

Ace Fekay [MVP]

In
Juan said:
Thank you, I will study these and come up with something and give you
an update. I also feel that the LAB I created might have something
to do with the import, but I might be wrong. Tell me what you think.
The production forest has 7 domains. I manage one of the child
domains and when I created the lab domain the root domain is the
child domain I manage. Would this cause the import to have problems.
I was under the impression that using the csvde -m outputfile.csv
would export AD info and I would be able to import it to another
domain even if its not the same domain structure.


Thank you,

Juan

Yes, but you would have to modify the fields to import them back in, such as
the UPN, and anything else referencing the domain name. You would need to
remove certain attributes too, such as GUIDs and anything else pertaining to
the previous domain. You also need to be logged on as a domain admin of the
domain you're importing into.

--
Regards,
Ace

Please direct all replies to the newsgroup so all can benefit.

Ace Fekay, MCSE 2000, MCSE+I, MCSA, MCT, MVP
Microsoft Windows MVP - Active Directory
 
Ad

Advertisements

J

Juan

Ace I tried your recommendation and it worked fine Thanks a lot. You guy
that helped me are awesome. I really appreciate it

Juan
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

CSVDE 8
CSVDE 2
csvde help 1
CSVDE and LDIFDE 1
CSVDE - LastLogon 0
csvde question 0
Problem with CSVDE 1
CSVDE syntax 6

Top