Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: DOS networking (net use gives "error 5: access denied")

21 Jan 2011   #1
CNBarnes

Win7 Enterprise 64bit
 
 
DOS networking (net use gives "error 5: access denied")

Let me say from the outset, this is probably not a Win7 question (at least, not per se).


I am trying to get a piece of equipment in a machine shop (anilam 5300mk) that has a network card built in, to see a shared folder on the network. I have spent DAYS on the phone with their tech support person, who seems to understand their equipment quite well, but not necessarily "modern" systems or networks.

This mill machine boots into a flavor of DOS, starts it's network drivers, then has a program (written for DOS) that runs the machine.

The network drivers all seem to be working. First, I made sure that the server is in the C:\Net\Hosts and C:\Net\Lmhosts files. Pinging the server is successful.


Now when I try the command:

Net Use G: \\frodo\Fryer user:Fryer /yes

I get a different error message - "Error 5: Access has been denied"

Which is better, but still not success.



Attached is the security log from the server (frodo). It shows that the Anilam (machine name is \\mill) *IS* trying to connect to the server, but is being rejected.

To test things, I created an account on a WinXP computer w/ the username of Fryer. I SUCCESSFULLY mapped the network drive \\frodo\Fryer (using the same password I've been using on the Anilam, of course). Which means the userid/password on the server is fine.



In this case, the server is a Win2008 server.
What am I missing?


Additional:
If I create a "fryer" account and a sharename on a WinXP box, the "Net use" command works.




Attached Files
File Type: txt Fryer.txt (3.7 KB, 156 views)
My System SpecsSystem Spec
.
21 Jan 2011   #2
anta

windows 7 enterprise 32bit
 
 

hey cbarnes,

you probably need to disable the SMB signing of connections made to your w2k8 server.
dos doesn't support SMB...

I found this petri how article that may help..

How to Disable SMB 2.0 on Windows Vista/2008

let us know how you go.

ant
My System SpecsSystem Spec
03 Feb 2011   #3
djoy

Windows 7 Pro 32 bit
 
 
Drive Map from DOS to Windows 7

Hi,

I'm new to this forum and forums in general. I have very similar problem.

I have a DOS v6.22 box (client) running MS Client 3.0 LAN Manager connecting to Windows 7 Workstation (server) via the drive map command Net Use Z: \\Win7WS\ShareName command. I get the same error "Error 5: Access has been denied" as CNBarnes. I have successfully mapped this same DOS machine to a WinXP box. I have also mapped the XP machine to the Win7 share using the account/pass setup for the DOS machine. Per link provided by Anta I tried adding registry key Smb2 on Win 7 WS, setting it to a value of 0 then re-booting. Reportedly this disables SMB 2.0 which earlier OS's don't understand. Unfortunately it does not solve my issue.

Any help is appreciated
My System SpecsSystem Spec
.

Reply

 DOS networking (net use gives "error 5: access denied")




Thread Tools




Similar help and support threads
Thread Forum
"access denied" when using "assoc" and "ftype" from cmdline?
I tried to associate the file extension .txt to a new editor program with the well known cmdline programs ASSOC and FTYPE. No, assigning them through WinExplorer menu does not work. But this is another problem which should not discussed here. When I type now one of the following...
General Discussion
Error assigning ownership "Unable to set new owner on.. Access denied"
Error assigning ownership "Unable to set new owner on.. Access denied" Hi, I've a question about assigning ownership. I'm logged in as user "Steph". As Steph, I made a new folder "Documents_Steph". Because she made the folder, she's owner of this folder. Then I tried as Steph to...
General Discussion
windows 7, GNS3 0.8.2; Error "can't create directory; access denied"
I get error "can't create directory C:\Program Files\GNS3\PROJECTS\test123" : access denied. this is when i click on "new blank project" so GNS3 tries to create new folder "test123" in the path mentioned in 1st line here. how to get it resolved so that GNS3 can create directory when I click on new...
Software
Import Pictures to NAS "Access Denied" Error Though User Has Access
Hi, All. I've got an interesting situation that I'm hoping can be resolved. I built a server using FreeNAS 8.2 to store family pictures, videos, music, and Windows backups. In my home we have Windows 7 Home Premium 64bit and Windows 7 Professional 64bit. The server is setup with 3 Windows (CIFS)...
Network & Sharing
Error assigning ownership "Unable to set new owner on.. Access denied"
Hi, I've a question about assigning ownership. I'm logged in as user "Steph". As Steph, I made a new folder "Documents_Steph". Because she made the folder, she's owner of this folder. Then I tried as Steph to assign ownership to a different user "User01". But then I got the message...
Network & Sharing


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 10:56.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App