windows 7 - XP shared folders not accessible after BIOS changed

17
2014-04
  • stijn

    Here's what worked for over a year: PC A runs Windows 7, PC B runs Windows XP. Both are on the same subnet behind a router. A uses user account X, but logs in to PC B using the Administrator account.

    PC B is a Dell Precision 470. A known problem with these is that sometimes when plugging in their power cable they somehow loses all BIOS settings. This happened yesterday. After this happens Windows won't boot, because the default BIOS setting is 'RAID ON' while there is no RAID configured. No problem though, changing the BIOS settings to 'RAID OFF' makes it boot without problems. Note that in the meantime, nothing config-related was changed on machine A. It wasn't even on.

    Indeed after doing this, everything is fine. Everything includes all normal operations, remote desktop from PC A to PC B, running Synergy between A and B, accessing shared folders from B to A. But accessing the shared folders on B from A does not work any more.

    I tried pretty much everything I found via Google (fiddling with policies/registry kes/...) but no avail.

    > ping -a 192.168.2.2
    Pinging A [192.168.2.2] with 32 bytes of data:
    Reply from 192.168.2.2: bytes=32 time<1ms TTL=128
    
    > net view \\192.168.2.2
    System error 5 has occurred.
    
    Access is denied.
    
    > net use /persistent:no K: \\A\myshare /user:A\USERNAME PASSWORD
    > net use /persistent:no K: \\192.168.2.2\myshare /user:192.168.2.2\USERNAME PASSWORD
    > net use /persistent:no K: \\192.168.2.2\myshare /user:USERNAME PASSWORD
    System error 86 has occurred.
    
    The specified network password is not correct.
    

    A solution to this would be great: I haven't been able to do any work since yesterday ;]

    update after taking the hard drive out of B and putting it in another Precision 470 (let's call it machine C) with almost exactly the same hardware (at first sight, only the video card differs) the shared folders work.. Putting the disk back into B, same problem remains. Why does this depend on hardware, and more important, on which hardware?

    update 2 taking the hard drive from machine C and putting it into B, file sharing works, but only if I give 'Everone' permissions to the share. Not via user/password.

    Keeping this in mind I tried the same (giving 'Everyone' permissions) with the original machine B, no avail. However if I use 'Simple File Sharing' instead it does work! Seems like there is something really fishy going on in the negotiation of users?

  • Answers
  • stijn

    ok. Found the problem, and the solution. I feel pretty stupid right now because it was so basic and I lost like a day, but on the other hand not that stupid since it was clearly not that obvious:

    the date was wrong

    seems I accidently set it to May instead of March after the bios screwed it up. Bang.


  • Related Question

    Problem sharing files between two Windows 7 machines
  • HaukurHaf

    I have 3 machines. Two of them running Windows 7 Ultimate 64-bit, let's call them Windows 7-one and Windows 7-two. One is running Windows XP SP3, let's call that one Windows XP-one.

    I've shared some folders on one of the Windows 7 machine (Windows 7-one). The XP machine (Windows XP-one) has no problems connecting to the machine and I can view and access the shared folders.

    Just doing start->run, typing \Windows 7-one, a window pops up, showing the shared folders, just as expected.

    The other Windows 7 machine (Windows 7-two) on the other hand, not so much. If I try to open \Windows 7-one I get a prompt for a username/password with an error message at the bottom saying "Logon failure: unknown user name or bad password".

    Why? I thought I had enabled anonymous access?

    What I've done: Enabled the guest account, shared the folder, giving "everyone" full-control permissions, enabled everything under the advanced sharing options, etc. etc. etc.

    The only thing I've not done is restarted Windows 7-one, perhaps that'll work ....

    Any ideas?

    EDIT Just figured out one thing that might have something to do with this. All three machines have a user account with the same username. On Windows 7-one and Windows XP-one, it's got a blank password. The account on the Windows 7-two machine is password protected. Should that matter at all? I cannot see why it should.


  • Related Answers
  • 8088

    One thing that Windows 7 has is Credential Manager. This stored previously used credentials to avoid asking for login credentials all the time. Nifty! However, if the credentials change, it doesn't prompt again. To view the credentials, go to:

    Control Panel → Credential Manager

    Poke around and find the credentials you're looking for. You can delete them, then try to reconnect. It should ask you again. You can type in the necessary credentials.

    It might also be an issue with your login domain. When typing in a username, use:

    [machine-name]\\[username]
    

    Using machine name specifies which machine the credentials are on.

  • HaukurHaf

    OK, one thing I discovered.

    I noticed that the the login prompt that I got stated that it was trying to use a domain for logging in, the domain being the current computer (win7-two). I clicked "another user" and typed in the full name of the user on the other machine (\win7-one\username and a blank pwd) and that worked!

    Still puzzled why it insists on using the current computer as a domain, the XP machine did not do that. This doesn't really solve my problem since I'll always have to go through this user/pwd prompt.

    I guess I'll just map this as a network drive and having it remember my credentials. That will work for me for now.

    Still would be nice If anyone knows why this behaves differently between two win 7 machines as opposed to win7 - winxp.

  • Mike Christiansen

    In a Workgroup, if the same username/password combination exists on all of the computers, no password prompt will appear.

    For instance, at home, I put the username "mike" and the password "password" into all three of our computers. I put the username "allison" and the password "password" into all three computers.

  • XTL

    File sharing may not work with blank password. You might want to add password to all your machines.

  • 8088

    If you have the 'User Logon failure' problem, try this in your XP machine:

    1. Open Control Panel > Administrative Tools > Local Security Policies
    2. Go to Local Policies > User Rights Assignment
    3. Search for 'Deny access to this computer from the network'
    4. Remove 'Guest' account from the list
  • studiohack

    You could always try setting up a HomeGroup between Windows 7 machines...unfortunately, this will not work for Windows XP...

    How to set up a HomeGroup: http://windows.microsoft.com/en-us/windows7/help/home-sweet-homegroup-networking-the-easy-way

    Hope that helps...