Solved

Connecting in DOS to a Windows 2003 Server Network Share

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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

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.

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

Suggested Solutions

Title # Comments Views Activity
avoiding the dashes in the sqlcmd output... 1 841
Batch File Bulk File Rename 3 65
Batch file output 20 93
Compare two files with arithmetic not 'fc' file compare method 26 32
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…
VALIDATING DATES One method of validating dates is to jam the date into the DATE command and see if it accepts it by examining the system's errorlevel value. A non-zero result indicates failure. A typical example might look something like the fol…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

713 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