Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Connecting in DOS to a Windows 2003 Server Network Share

Posted on 2004-09-23
3
1,500 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

Active Directory Webinar

We all know we need to protect and secure our privileges, but where to start? Join Experts Exchange and ManageEngine on Tuesday, April 11, 2017 10:00 AM PDT to learn how to track and secure privileged users in Active Directory.

Question has a verified solution.

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

Suggested Solutions

Using dates in 'DOS' batch files has always been tricky as it has no built in ways of extracting date information.  There are many tricks using string manipulation to pull out parts of the %date% variable or output of the date /t command but these r…
YESTERDAY YESTERDAY.BAT is inspired by a previous article I wrote entitled: TOMORROW.BAT (http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/MS_DOS/A_4196-Advanced-Batch-File-Programming-TOMORROW-BAT.html). The crux of this batch f…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

828 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