473,765 Members | 1,955 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

CSVDE in Server 2003 Active Directory

7 New Member
Hi all,

working in a school and coming into a new school year I have to add 180+ new users to the school network ready for September.

I've been using CSVDE command line app for a while now, to perform AD exports of users and computers, but for some reason cmd keeps giving me an error when trying to import users

As always the faithful windows doesn't tell me why the import failed... it just tells me it failed.

Has anyone had to import users using CSVDE before? if so how did you get it to work

I'm not using anything fancy. Ive tried using the following command lines:

csvde -i -f <filename>
csvde -i -f <filename> -k
csvde -i -f <filename> -s <servername>
csvde -i -f <filename> -b <username_passw ord>
csvde -i -f <filename> -s <servername> -b <username_passw ord>

if you guys have used CSVDE before could you maybe also post the column headers you used in the csv files you have. Just to check I haven't got them wrong

I'll try it again tomorrow and post a screenshot of the cmd window, what i entered and what it tells me when it runs

thanks in advance!!
Aug 5 '08 #1
4 5287
jg007
283 Contributor
see this link -

http://www.computerper formance.co.uk/Logon/Logon_CSVDE.htm
Aug 5 '08 #2
alex091088180189
7 New Member
I've been on that site many a time in the last 2 days!! haha, it didn't give me then answers I wanted!!

I eventually got the solution after decyphering some examples from a Win2k3 server book and a bit of trial and error, however now I have a new problem!!!!!!!!


The import works fine, all the user accounts are created, added to AD, have all the info I need to get started, HOWEVER there is no home directory created (even though I specify the home folder in the csv file) and the user can only log onto the network with a local profile, not a roaming profile (I'm guessing because there is no home drive created or something to do with the profile path, but again that is specified in the csv file, and the accounts get set up exactly as all the other working accounts in AD)

any help on this issue???
chars
Aug 7 '08 #3
alex091088180189
7 New Member
Right, I've managed to fix the problem

after crawling through google for 2 days reading all these fancy complicated ways of creating the home folders and assigning the permissions, using vb scripts and creating new cmd programs I've finally found a fix

A 30 second fix

that is as easy as I thought it should be!!

all I did was:

After importing all the user accounts from the csv file I selected all of the new accounts and right-click > properties.
In the multiple user properties box I clicked on profile, checked the box for Home Folder, selected the drive mapping that I wanted and then used a wildcard in the Connect To: box that went like this

\\storage-01\Users\Studen ts\2008\%USERNA ME%

Viola!! All the home folders were automatically created for me with the permissions set to the user!
Aug 7 '08 #4
jg007
283 Contributor
Glad to hear you got it sorted, sorry I have not been on for a few days otherwise I would have replied.
Aug 9 '08 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

0
1759
by: Robert | last post by:
I get these errors when creating a asp .net web application project in VS 2003 on a remote web server: "Microsoft Development Environment The Web was created successfully, but an error occurred when trying to configure the application root for this Web. Web projects may not operate correctly without an application root. The returned error was: Active Directory Services cannot find the web server. A possible cause for this is an...
2
2133
by: Jay Chan | last post by:
We have just installed a SQL Server 2000 (SP 3A) onto a computer that has Windows-2003 Server on it. Now, we cannot get access to that database server from other computers. Seem like this may be an issue with Active Directory. Our network consists of Windows-2000 Servers (SP 4) and Windows-2000 workstations and Windows-XP workstations. We also have SQL Server 2000 (SP2) in three Windows-2000 servers. All work fine. Recently, we get a...
4
1575
by: Mark | last post by:
I am developing a Web site and can't figure out how to store the project files on the Web server instead of my local hard drive. There must be a way, otherwise people wouldn't be able to collaborate on projects... but everything I can find talks about developing the site locally and then deploying it remotely -- but if other developers don't have access to my machine, how do we work together on projects? Long version:
1
1958
by: Michael | last post by:
Some of our developers are having a problem making certain code work that reads the contents of OUs in our Active Directory. It reads fine when querying a 2000 domain controller but when accessing a 2003 server, it gets errors ranging from Item not found to "Unable to access directory services". The second I take the 2003 server offline, everything works fine again. I can't really give much code detail since i work on the network side...
1
3962
by: techfuzz | last post by:
I'm posting my problem experience and solution I found here for other ASP.NET developers. I have a web application that uses Forms Authentication with Active Directory to control access. In this web application, I have search page that utilizes the Windows Indexing Service (MSIDXS provider). For reasons I'm not aware of at this time, setting <identity impersonation="true" /> in the web.config causes an error whenever you try to search.
0
1616
by: Peter D. Dunlap | last post by:
I have a number of web sites on my 2003 server, each of the independent sites (i.e., not subdirectories of the localhost site). The way I have always set these up in the past is: 1. Create a directory "MySiteName" and a subdirectory "Site". 2. Share the "Site" subdirectory is "MySiteNameSite$", and give the local administrators group full access to the share. (The login I run under is a member of that group.)
1
5964
by: Marko G. | last post by:
Hallo, ich versuche nun seit einiger Zeit, auf einem Active-Directory Server das Passwort eines Benutzers zu setzen. Hier der verwendete Quelltext: ------------ Dim entry As DirectoryEntry = New DirectoryEntry(_path, _useranddomain, _UserPwd) Dim search As DirectorySearcher = New DirectorySearcher(entry) search.Filter = "(samaccountname=" & username & ")"
1
4986
by: Frank F | last post by:
Hi, I want to read user information from the microsoft windows 2003 server. In the windows server 2003, i've create a domain, called "wissenskolleg". I've assigned a password to it. Now, i want get access to the Active Directory with PHP. My code:
0
2876
JamieHowarth0
by: JamieHowarth0 | last post by:
Hi guys, Up until 3 weeks ago I was running a Microsoft Windows Server 2003 R2 Enterprise Edition Beta from home on an ADSL connection with dynamic IP absolutely fine - until the beta decided to expire. I have since upgraded to a valid licensed copy but because the "upgrade" option wasn't given to me I had to do a clean install - so format and re-install my hard disk. Fortunately, I was clever and stored all my vitals - mailbox database,...
0
9398
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10160
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9832
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7378
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6649
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5275
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5421
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3924
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3531
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.