Link to home
Start Free TrialLog in
Avatar of mattbiel
mattbiel

asked on

filesharing error windows XP Logon Failure User has not been granted the requested logon type

I have three computers on a home network, all connected to the internet thru a Netgear router.  
1. Windows XP Pro laptop
2. Windows XP home desktop
3. Windows XP home laptop

All of the computers can access the internet, and all of them can ping each other.  both of the XP Home machines can see the shared folder on the XP Pro machine.  However, the XP Pro machine can't see the shared folder on either Home machine, and the Home machines can't see each other's shared folder either.

for the sake of this question, let's just try to get Computer 1 (XP Pro) to be able to see Computer 2 (XP home) shared folder

When i am on Computer 1 and i go into Network Places, View Workgroup Computers, I can see all of the computers.  But when I click on the name of the other Home machine to try to see its shared folder, I get the error:
"Logon Failure: the user has not been granted the requested logon type at this computer."

I have spent HOURS trying to get this to work.  here's some of what I have tried:
- ran virus scans, ad-aware scans, hijackthis scans, and Windows Defender scans to make sure system is clean
- disabled windows firewall on all machines (don't have any other firewalls installed)
- removed anti-virus just to see if it would make a difference
- created user accts with the same name and password on both machines
- placed computers in the same workgroup
- set security permissions to everyone
- set restrictanonymous key in Registry to Allow anonymous users

A couple of curious things I have found:
1. when I first tried to disable the windows firewall, at the top of the window it said "for  your security, some settings are controlled by Group Policy".  I fixed this by deleting the Windows Firewall Key in the registry and rebooting.  it made a new key and then I was able to disable the firewall
2. When i boot Computer 2 (XP Home) into safe mode and go into the shared folder security settings and click Advanced and go to the Owner tab, it shows me two owners to choose from:  "Administrator" and "Administrators"  It was set to "administrators" and I tried changing it to "administrator"


Please help with any suggestions!  remember, BOTH of my XP home machines are doing the same thing and giving the same error message when I try to access their shared folder from a different computer...so chances are that it's not malware...right?
Avatar of Jay_Jay70
Jay_Jay70
Flag of Australia image

Hi mattbiel,

look at the local security policy of the remote comptuer and check this setting: "access this comptuer from the network"
Avatar of mattbiel
mattbiel

ASKER

jay Jay - the computer is XP HOME, and from my research I understand that there is no local security policy settings under Administrative Tools in the XP Home OS.

However, I did boot the computer into safe mode and was able to access security permissions for the folder I wanted to share, and it is set to be shared with "everyone" with full permissions.
I did get a virus thru AIM about a month ago.  norton labelled it "w32.spybot.worm".  I cleaned it out though and haven't seen a trace of it since.  

one more thing to add to my list of things I have tried:  
- uninstalled and re-installed file and printer sharing for my LAN connection.

ASKER CERTIFIED SOLUTION
Avatar of Jay_Jay70
Jay_Jay70
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks jay jay and scratchy boy.  those are both good tips.  Here is what I found that actually solved my problem:


Download the following and install it

Windows Server 2003 Resource Kit Tools
http://go.microsoft.com/fwlink/?LinkId=4544 

after installation is complete, click on: Start, All Programs, Windows Resource Kit Tools, Command Shell

Then enter the following commands. (Attention: they are case sensitive.)

net user guest /active:yes
ntrights +r SeNetworkLogonRight -u Guest
ntrights -r SeDenyNetworkLogonRight -u Guest

The first command enables network access for Guest, the two subsequent ones change two different policies to allow network access for Guest.
You should not normally have to do to that extent to restore Guest rights.  This indicates your networking is fouled up.  Another (perhaps easier?) way is to simply remove all networking protocols and adapters in device manager, reboot all systems and restore the networking.  That almost always works to rebuild basic privileges like guest account.