Connecting in DOS to a Windows 2003 Server Network Share

Posted on 2004-09-23
Medium Priority
Last Modified: 2008-02-01

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

Question by:Boyderama
LVL 58

Accepted Solution

Pete Long earned 1200 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

Author Comment

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?.....


Expert Comment

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


Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

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…
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…
Watch the video to learn how one can deal with PST file corruption issue with an outstanding Kernel for Outlook PST Repair Tool easily. Using this tool, non-technical users can swiftly perform the repair process to restore their essential data witho…
Did you know PowerShell can save you time with SaaS platforms? Simply leverage RESTfulAPIs to build your own PowerShell modules. These will kill repetitive tickets and tabs, using the command Invoke-RestMethod. Tune into this webinar to learn how…

621 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