Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Network drive "access denied" using UNC, works ok using IP

Posted on 2008-11-19
12
Medium Priority
?
2,817 Views
Last Modified: 2013-12-05
Hi,

Windows Vista SP1 workstation....

I have a logon script that runs and maps various network drives on logon, but I am finding that when I map to 1 of my servers I am getting an access is denied message, using: (all other drives map ok)

net use R: \\servername\sharename

That command works perfectly ok on Windows XP and Windows 2000 workstations. I can however map a network drive using:

net use R: \\192.168.0.1\sharename

The server I am mapping to is a Windows 2000 server

Can anyone point me in the right direction?

Thanks
Matt
0
Comment
Question by:sys_admin_pic
  • 4
  • 4
  • 4
12 Comments
 

Expert Comment

by:Zabee_80
ID: 22996098
Have you tried pinging that particular server on which folder is shared by name on w2k server?
0
 

Expert Comment

by:Zabee_80
ID: 22996146
And also try to browse the server for shares, in your case by going on RUN and type \\ServerName and see does it shows the shares.
0
 

Author Comment

by:sys_admin_pic
ID: 22996258
Hi,

I can not access the UNC at all using the Servername - just prompts me for a username and password, but IP address lets me in ok!

Thanks
Matt
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 12

Expert Comment

by:alikaz3
ID: 22996259
sounds like a DNS/NTLM issue. Vista uses a newer version of NTLM authentication than xp/2000. I'd try changing the NTLM security policy on vista to allow it to connect using NTLM v1 rather than the new NTLMv2. Use secpol.msc to change it.

0
 

Expert Comment

by:Zabee_80
ID: 22996392
just add the host name and ip address of the win2000 server in the host file and then try.
0
 

Author Comment

by:sys_admin_pic
ID: 22998791
Hi,

The hosts file was my first thought but its already in there, not sure if that was causing the problem. As soon as I get back to work in the morning I will give both solutions a try and hopefully award some points :) - really appreciate the quick responses though! :)

Cheers
Matt
0
 
LVL 12

Expert Comment

by:alikaz3
ID: 22998952
>>>The hosts file was my first thought but its already in there


That waves a red flag in my head, is the entry correct? An incorrect ip in that entry would cause this problem exactly. Could you copy/paste the hosts file here and I'll take a look.
0
 

Author Comment

by:sys_admin_pic
ID: 23002144
Hi,

I have now taken the Hosts file out of the equation and I am just using the windows default. I found that before I put the machine onto the domain I could UNC to the server with no problems but as soon as I put the machine on the domain I am getting an access is denied message again.

When the machine was off of the domain I ensured that I logged on locally making sure that the username/password was the same on the local machine as it was on the domain - no problems

Any other ideas?

I have also changed the NTLM to a value of 1 in the registry using this value:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa

and setting the:
LmCompatibilityLevel key to 1

Thanks
Matt
0
 

Accepted Solution

by:
Zabee_80 earned 500 total points
ID: 23003368
0
 

Author Comment

by:sys_admin_pic
ID: 23032882
Hi All,

I have looked at all the possible solutions and I can not come up with a resolution. I have looked at NetBios and all the networking basics.

Its just strange that it only happens when the machine is on the domain?

Thanks, Matt
0
 
LVL 12

Expert Comment

by:alikaz3
ID: 23038316
0
 
LVL 12

Expert Comment

by:alikaz3
ID: 23139559
For the sake of clarity, here is the solution quoted from the link:


This behavior can occur if both of the following conditions are true:
1. NetBIOS over TCP/IP is not turned on (enabled) on one or more computers in the workgroup
2. The Computer Browser service is not started or is turned off (disabled) on one or more computers in the workgroup.

Try following these steps to see if fixes the problem.


Step 1: Turn On NetBIOS over TCP/IP
1. Click Start, click Control Panel, and then click Network and Internet Connections.
2. Click Network Connections.
3. Right-click Local Area Connection, and then click Properties.
4. Click Internet Protocol (TCP/IP), and then click Properties.
5. Click the General tab, and then click Advanced.
6. Click the WINS tab.
7. Under NetBIOS setting, click Enable NetBIOS over TCP/IP, and then click OK two times.
8. Click Close to close the Local Area Connection Properties dialog box.
9. Close the Network Connections window.

Step 2: Start the Computer Browser Service
1. Click Start, right-click My Computer, and then click Manage.
2. In the console tree, expand Services and Applications.
3. Click Services.
4. In the right details pane, verify that the Computer Browser service is started, right-click Computer Browser, and then click Start.
5. Close the Computer Management window.
0

Featured Post

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

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

Welcome to my series of short tips on migrations. Whilst based on Microsoft migrations the same principles can be applied to any type of migration. My first tip is around source server preparation. No migration is an easy migration, there is a…
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…
As many of you are aware about Scanpst.exe utility which is owned by Microsoft itself to repair inaccessible or damaged PST files, but the question is do you really think Scanpst.exe is capable to repair all sorts of PST related corruption issues?

578 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