Solved

Connecting in DOS to a Windows 2003 Server Network Share

Posted on 2004-09-23
3
1,498 Views
Last Modified: 2008-02-01
Hello!

I do a lot of ghosting and SID changing to role out workstations. I'd like Ghost to grab the image file from a network share. This will save me having to remove the hard drive all the time. Don't worry, Ghosting works and I've solved issues with duplicate SIDS and workstation names :) All I want to know is how I can map a Win2003 share to a drive in DOS via a bootup CD. As you will see below, the bootup CD works and has the correct NIC drivers as an IP address is allocated to it via DHCP.
It's simply an access issue?

So far I've created a bootable CD with networking support and ghost. Followed instructions from http://www.nu2.nu/bootcd/
The problem I have is gaining access to the network share. The network interface is working as an IP has been allocated from the Server (also acting as DHCP).

Tried various commands using 'net'. Do I need to use Net Logon .... before Net Use?

net logon <username> /DOMAIN:<domain> /SAVEPW:NO
(this then asks for the password)

I am substituting the correct details but all attempts come back as Access Denied or The specified network password is not correct. All passwords on the Server are alphanumeric (upper and lower case) and contain a symbols. Can DOS support passwords like these? I'd imagine Yes as I've never had a problem using characters in Batch files.

Let's imagine the username is 'Dos' and Domain is 'Money' and Password is '1234pA+'.

How can I connect? Anything need to be done on the Win2003 Server?

Hope this all makes sense.

Note: Just thought, does the workstation need to be a member of the domain? Obviously it is when Windows is loaded but not when in DOS.

Cheers All

Boyd
0
Comment
Question by:Boyderama
3 Comments
 
LVL 57

Accepted Solution

by:
Pete Long earned 400 total points
ID: 12131436
not tried in Server 2003 be aware that by default only Kerberos authentication will work to server 3003 out of the box, your DOS client is probably trying to authenticate using NTLM

Ive used this on windows 2000 and it works http://www.tdonline.com/bootdisk.htm this is a floppy but can eisily be used as a boot CD image

then simply issue a

net use z: \\server1\sharename\ /user:username password
0
 

Author Comment

by:Boyderama
ID: 12131540
Oh. The above command is one I've tried.

Staying with Server 2003. How could I get around this issue?
One I thought of was access a share on a workstation running XP Pro. However, to access a share the PDC would need to authenticate it so it goes around in circles again.

Increasing points cause I think this is a tricky one but would like to find a solution.

Any help!!???? lol Please?.....

0
 

Expert Comment

by:Domc
ID: 12330197
The only way i have got it to work with 2003 is to run the server as a member server instead of a domain controller

I suppose your distribution server should be a separate from your domain controller anyway

Dom
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The following is a collection of cases for strange behaviour when using advanced techniques in DOS batch files. You should have some basic experience in batch "programming", as I'm assuming some knowledge and not further explain the basics. For some…
One of my most closely kept secrets is revealed in this discussion How to output text on the same line This question was recently posted in EE by Simon336697 (http://www.experts-exchange.com/Programming/Languages/Scripting/Shell/Batch/Q_2459…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now