Network Problems


My network stopped functioning properly a couple of weeks ago, and I can't find the problem...

What I currently have is the following:
1 laptop w. Windows XP Home
1 PC with w. Windows XP Pro
1 D-Link switch/router
in an ethernet LAN configuration using MS Networking and Internet Connection Sharing.
The laptop is the host for the Internet Connection Sharing.

Everything worked fine a couple of weeks ago, but now I'm unable to access the laptop's shared documents and printers from the PC. However, the internet connection is still accessible from the PC and the laptop is also visible on the PC.

When I try to access the laptop, I get a falure message saying I do not have sufficient rights or something like that...

Any help is much appreciated!
LVL 21
Julian MatzJoint ChairpersonAsked:
Who is Participating?
Try this:

Q:  I have two computers on the network and they are both running Windows XP. The problem is with one of the computers on the network. I can access shared files on one computer. When I try to access any of the shared files and connect to the other computer I get the following error:

PC#1 is not accessible. You might not have permission to use this network resource. Contact the administrator of this server to find out if you have access permissions.

Logon failure: the user has not been granted the requested logon type at this computer.

A: If the computer runs Windows XP Home Edition, the "secpol.msc" program isn't available to make the required user right assignments. Use the ntrights utility that is part of the Windows 2003 Resource Kit Tools to make the change. To do so, follow these steps:

1. Download and install the Windows Server 2003 Resource Kit Tools.

2. Click Start | All Programs | Windows Resource Kit Tools | Command Shell. Type these lines at the command prompt.  The second and third commands are case-sensitive, so type them exactly as shown.  Note the "+r" in the second one and the "-r" in the third one:

 net user guest /active:yes
 ntrights +r SeNetworkLogonRight -u Guest
 ntrights -r SeDenyNetworkLogonRight -u Guest
Julian MatzJoint ChairpersonAuthor Commented:

Here's the exact error message:

\\ComputerName is not accessible. You might not have permission to use this network resource. Contact the administrator of this server to find out if you have access permissions.

Logon failure: the user has not been granted the requested logon type at this computer.
What firewall is in place . . try disableing it to see if you can see the laptop
Cloud Class® Course: C++ 11 Fundamentals

This course will introduce you to C++ 11 and teach you about syntax fundamentals.

Also . . see this for some ideas . .
Julian MatzJoint ChairpersonAuthor Commented:
I have Norton Internet Security on both machines. I've already tried disabling both...

On the PC, I can actually see the laptop computer in the network, but just not access it...

Did u try giving the laptop a different name?
If you already did.
How about installing NETBEUI in the win XP Home machine.

Install NetBEUI on Windows XP
The files necessary for installing the NetBEUI protocol on Windows XP are Netnbf.inf and Nbf.sys. Complete the following steps to install NetBEUI:

1. Insert your Windows XP CD-ROM into the CD-ROM drive and browse to the Valueadd\MSFT\Net\NetBEUI folder.
2. Copy Nbf.sys to the %SYSTEMROOT%\System32\Drivers directory.
3. Copy Netnbf.inf to the %SYSTEMROOT%\Inf hidden directory.

NOTE: To make a hidden folder viewable, perform the following steps:

1. Click Start, click Run, type Explorer, and then press ENTER.
2. Click Tools, click Folder Options, and then click the View tab.
3. Under Advanced Settings, click Show hidden files and folders under the Hidden files and folders Folder.
4. Click Start, click Control Panel, and then double-click Network Connections.
5. Right-click the adapter you want to add NetBEUI to, and then click Properties.
6. On the General tab, click Install.
7. Click Protocol, and then click Add.
8. Click to select NetBEUI Protocol from the list and then click OK.
9. Restart your computer if you receive a prompt to complete the installation.
The NetBEUI protocol should now be installed and working.

NOTE: %SYSTEMROOT% is a Windows environment variable that identifies the directory where Windows XP is installed (for example, C:\Windows). To view the value associated with %SYSTEMROOT%, as well as other environment variables, at a command prompt, type set, and then press ENTER.

Julian MatzJoint ChairpersonAuthor Commented:
I think this may be an issue with the TCP/IP settings...

It's a little complicated with this network because I don't have access to broadband and need to use ICS over modem.
The router is only used to connect the computers and I got it because there used to be 3 computers in the network.

Thus, I had to give the router the IP address and the laptop the static IP
The router assigns static IPs to connected clients.

The settings on the laptop must have *somehow* changed and I can't remember the correct settings...
I'm gonna give this a try but if anyone has any suggestions re. TCP/IP, they'd be much appreciated...
Julian MatzJoint ChairpersonAuthor Commented:
Also, I am able to ping the laptop from the PC...
make sure you have corresponding users in the computers with no blank password (windows xp sp2 doesn't permit network logons with accounts with blank passwords)

if you still have problems, enable logon auditing on the laptop and see if the event viewer has a useful message description on why it doesn't authenticate the user on the other computer...
Julian MatzJoint ChairpersonAuthor Commented:

You might be right, although it worked before and I had SP2 installed on both computers for a long time now...

Anyway, I opened the security events viewer and the logon attempts were there.
It says "logon failure" and the reason is that the user was not granted access.

My username on the laptop is "Julian Matz" and the username on the PC is "Julian".
I changed the username on the PC to "Julian Matz", but the security events viewer still says
access denied for user "Julian". What's that about?

Julian MatzJoint ChairpersonAuthor Commented:
Ok, I added a new account with the same name and password as on the laptop just to try it...
I got the same message in the security events viewer:

Logon Failure
Reason: The user has not been granted the requested logon
Username: Julian Matz
Try this...  Go to start->run, type "gpedit.msc" and say ok.  In the window that appears, go to the following location in the list:

Computer configuration\Windows settings\security settings\local policies\user rights assignment

Make sure "Everyone" IS listed in the "Access this computer from the network" list, and it ISN'T listed in the "Deny access this computer from the network"

If you don't want to mess with that, you can just enable the Guest account in the user accounts control panel.  But that makes your shared files accessible to anyone.
Julian MatzJoint ChairpersonAuthor Commented:

XP Home edition does not have security policies. There is no "gpedit.msc".
Guest account wasn't enabled before but I had it enabled now to see if it would work, but it still doesn't...
Sorry, I missed the part about it being xp home.  Did you restart after enabling the guest account?  If not, try that and see if it makes any difference.
Check Services to be sure that Workstation Service is running . .
Julian MatzJoint ChairpersonAuthor Commented:
Ya, I even restarted the laptop... No luck...
Julian MatzJoint ChairpersonAuthor Commented:
Yes, Workstation service is also started...
Julian MatzJoint ChairpersonAuthor Commented:
Ya, I saw that solution somewhere on the net, but I'd really prefer to figure out the cause of this because it did work a couple of weeks ago...

Also, I never had the Guest account activated...

There must be another solution... ???
I think you could use that kit to do what I had suggested you do with the group policy editor.  Try something like this:

ntrights +r SeNetworkLogonRight -u Everyone
ntrights -r SeDenyNetworkLogonRight -u Everyone
Julian MatzJoint ChairpersonAuthor Commented:
Ok, I downloaded and installed the Kit Tools...
I ran the commands successfully, but when I try to access the laptop now it says "Access is denied.".

One thing I don't understand...

+r == grants rights
-r == revokes rights

If this is correct, what exactly is being revoked with the second command?
You simply need the same login and password for both computers, you need to have both on the same workgroup name, and the shares need to be so they allow access to ALL users.
hi there

have u upgraded ur browser that is internet explorer as the new upgrade of IE has enhanced security settings which would disable any connectivity between two computers that is for browsing the shared folders and things like that.

so check for any upgrades or any automatic updates that have been applied and try to uninstall them

take a look at:

it's a microsoft article that describes your problem and the resolution... you might find it useful...

you may also want to take a look at:
If this was a service pack upgrade, it may have enabled "XP simple file sharing". Try going to My computer > tools > folder options > then browse to the 2nd tab labeled view, scroll to the bottom and make sure "use simple file sharing" is unchecked.

Sounds more like a service / netbios issue due to an update, something had to of changed, I am guessing that would be about it.
Julian MatzJoint ChairpersonAuthor Commented:
It seems to work now... Windows Server 2003 Resource Kit Tools must have done the trick after a system reboot...
One question about that: are there any security issues I should be aware of?

Most of the articles posted here I've seen already, none of them really seem to apply.
First I thought it was a TCP/IP issue, but found out it wasn't.
I'm pretty certain this problem was caused by a Virus. According to my AV sw, my laptop had been infected with the W32.spybot.worm. I've since seen a few references on the net stating that this worm can mess with the registry and stop networks from functioning properly.

I also recently had a process running which caused some trouble (or maybe another program using the process). It was called "runjava.exe" and while the process was running I had absolutely no network connectivity, not even internet over modem (although the modem was connected successfully). Things seemed to function again properly as soon as the process was killed. It was shortly after that the virus warning kept popping up, and although the virus was supposedly removed, it did come back a couple of times, but I haven't had any reports now for a while...

Anyone else ever hear of this?
this is copied from;en-us;308007

Note: All network access to either a Windows XP Home Edition-based computer in a workgroup or to a Windows XP Professional-based computer in a workgroup uses the Guest account. Before you continue troubleshooting, make sure that the Guest account is set up for network access.

So, the guest account is supposed to have rights to do a network login... it's no more a security risk than the windows default.
Julian MatzJoint ChairpersonAuthor Commented:
I don't know what happened between then and now, but I never had the Guest user account activated on either machine, and have never had any problems until about 3 weeks ago...

Anyway, it's working now, so I guess it's solved... I hope to be buying a new laptop soon anyway... No more XP Home :)
thank God!!! xp home sucks...
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.

All Courses

From novice to tech pro — start learning today.