Questions tagged [csvde]

csvde is a Windows command which imports or exports user data from the Active Directory server.

Documentation:

14 questions
2
votes
1 answer

Export AD structure from specific OU, then re-create structure in new domain

I've researched and found the way to export our active directory information for our application is like this: csvde -d OU=MyAppsOU,DC=dot,DC=testdmz,DC=lan -f C:\temp\addump_ou.csv -r (objectClass=organizationalUnit) Now, I've read that to…
ganders
  • 7,285
  • 17
  • 66
  • 114
1
vote
2 answers

adding and removing members to/from active directory group in python

I am trying to write a python-3 based program that could refresh the members of an active directory group in a daily basis or so. The problem is, I have: Security group : cn=groupName, ou=Groups, ou=department, dc=some, dc=company,dc=com User group:…
user1816574
  • 49
  • 1
  • 1
  • 10
1
vote
1 answer

LDAP Column Order of CSVDE Export

I am facing the problem, that the csvde.exe export from an ActiveDirectory changes the order of the columns. I am aware of the following line in the CSVDE documentation: LDAP can return attributes in any order, and csvde does not attempt to impose…
Robin
  • 3,512
  • 10
  • 39
  • 73
0
votes
1 answer

Does csvde support DirSync?

csvde is a Windows Server 2008 command-line tool that imports and exports data from Active Directory Domain Services.
Hardbone
  • 327
  • 1
  • 3
  • 16
0
votes
1 answer

How to Export/Import ADUsers from WinSrv2003 to WinSrv2016 using CSV?

I got a WinSrv2003 with an Active Directory (old domain, about 80 Users) and a freshly installed WinSrv2016 with an blank AD (new domain, different name). I want to avoid migrating the Users by Hand. Using csvde I got a list of the Users with every…
0
votes
0 answers

how to loop CSVDE in batch script

I am using CSVDE to export some user info out of AD. I need to loop over several domain controllers and export data from each one to a separate csv file. To do so, I am using the following batch script (only 1 domain controller / file is displayed…
skyline01
  • 1,919
  • 8
  • 34
  • 55
0
votes
0 answers

svd code in recommender system error

I am using svd algorithm and I am using coldstart form in suggestion system in my dataset(book crosing). for leveraging sparsity with MathNet.Numeric befor using svD in my form ,I am using This code in rating Table , But my code doesnt read a data…
Mahdy
  • 1
  • 2
0
votes
2 answers

How to Export and Import AD Users, Groups and Group Membership?

Hallo, I want to copy my Active Directory Users, Groups and Group Memberships from one DC to another using csvde, where the machines are identical except for the only the name of the Domain and Machine. Note that each server is a DC and itself is…
FrinkTheBrave
  • 3,894
  • 10
  • 46
  • 55
0
votes
1 answer

How does CSVDE find the server?

I have a command that works, but the command line is missing the "Server Name". How does it know how to connect to AD data store? Here is my command: c:\WINDOWS\system32\csvde -f "d:\ssis_packages\scripts\ActiveDirectory\Exchange_Export_Data.csv"…
WinFXGuy
  • 1,527
  • 7
  • 26
  • 47
0
votes
1 answer

Differences in calling CSVDE from Powershell vs Command Prompt

Can anyone explain why calling the CSVDE utility from an elevated Windows command prompt would differ than using the same string from an elevated Powershell console? The issue I have is that I can successfully export from Active Directory via the…
Keith
  • 1
  • 1
  • 2
0
votes
1 answer

Running file as scheduled task is not working properly

I've written a script in c# which I have to execute on a daily basis. It's something like an updater for my data base. So it pulls some data from the Active Directory using CSVDE, and saves that info into csv files in the same directory, then parses…
fishmong3r
  • 1,414
  • 4
  • 24
  • 51
0
votes
1 answer

CSVDE export issue

I export all the computer accounts from two different domains with the script below: CSVDE -d "DC=DC,DC...etc." -s servername -r "(&(objectClass=computer)(!useraccountcontrol:1.2.840.113556.1.4.803:=2))" -f comp.csv -l…
fishmong3r
  • 1,414
  • 4
  • 24
  • 51
0
votes
1 answer

Strange value for the CN attributes of some groups in Active Directory using CSVDE

I used CSVDE to export every groups of my Active Directory in a CSV file. I am looking for the CN attribute (common-Name) In my result, i have some CN that have a strange format. (and also longer than the maximum lenght - 64 bytes) The stranges CN…
rousseauo
  • 720
  • 7
  • 22
-1
votes
1 answer

SQL replace row with matching value

I'm pulling data out from AD using CSVDE. I have a row named "Managers", which gives distinguished name when pulling data. I somehow replaced that value with employee's ID. I executed and got CN=Manager1,OU=Container,DC=DomainController Need to…