Solved

Having to log in to shared Win 7 computer each time

Posted on 2011-02-16
7
558 Views
Last Modified: 2012-05-11
I have set up a small Win 7 Pro network for the customer.  Computer WS2 has it's C drive shared, where they have some files accesed by other computers.  Then, I have connected Computer WS9 to WS2 and mapped it as drive F.  While I was doing the connection, it required me to log in to WS2, so I did so, using a login name of 'Main' and a password of 'mara'--which is the system login on WS2--and it worked fine.  I also told it to automatically reconnect WS9.

The problem is this: Anytime I reboot WS9, it does not automatically reconnect to WS2.  I can click on the shortcut to "C on WS2", but it makes me login again as 'Main' and 'mara'.  I have repeatedly checked the box saying to remember my credentials, but it doesn't help.

The box actually says something like:  

Windows Security
Enter your password to connect to WS2

It also shows "Domain: WS9"...but of course I'm not using a domain.  This is just a simple file sharing setup with two Win7 computers.

I DID notice that if WS9 is up and running and connected to WS2, and then I reboot WS2, I can still access the WS2 share from WS9 without having to rekey my credentials.  But if I REBOOT WS9, that's when I have to rekey credentials to access WS2.

What am I missing here?  Is there a Win 7 setting I can do on WS2 and/or WS9 to make it remember my credentials?

0
Comment
Question by:sasllc
  • 4
  • 3
7 Comments
 
LVL 6

Accepted Solution

by:
CrowaX earned 500 total points
ID: 34906922
I would suggest mapping the network drive with a bat file that enters the password on boot. Here is an example.

Type in notepad:

NET USE /DELETE z:
net use \WS2\sharename mara /user:Main
net use z: \\WS2\sharename

Just replace sharename with whatever your shared folder is called. Then save the file as network.bat, or something, then stick it in your startup folder. This should clear the drive, then remount it on every startup.

There may be an easier way, but this works great for me.
0
 
LVL 6

Expert Comment

by:CrowaX
ID: 34906983
I didn't take into account which computer is being specified in the login processes, the "domain" as you say. If the above works, that is good. If it wouldn't, replace the second and third line with this line:

net use Z: \\WS2\sharename /user:WS2\Main mara

If that doesnt work, then change the /user:WS2\Main part to  /user:WS9\Main

It depends which computer the actual username is a part of. For example, if you created the username "Main" on WS2, then you would use WS2. If you created it on WS9, then you would use WS9.
0
 
LVL 3

Author Comment

by:sasllc
ID: 34913216
I ended up using the first example, lines 1 and 3, and that 'saved the day' while I was on-site, thank you.

Is all this 'normal' with Win 7 Pro networks?  Is there a setting in Win 7 Pro that will prevent the need to log in each time--for the other computers connecting with the shared computer?  

I've seen something on the web about a 'credentials manager' in Win 7 that may address this issue--but I can't tell for sure if it will solve the problem, nor exactly how to use it in a case like this one above.  Any idea?

0
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 
LVL 6

Expert Comment

by:CrowaX
ID: 34917188
It's not normal for domain based networks which the logged in user has rights to the computer. It is normal when trying to log onto a computer that your username does not have rights to. I've even seen this in XP which is where my first script came from.

I've never tried the 'credentials manager' before, but I added our computer name and password, and it still prompted for a password when logging in. But the box was different, as it had the credential name already filled in.
0
 
LVL 3

Author Comment

by:sasllc
ID: 34926547
One more thought--that I can't easily test at the customer site without taking a chance of messing things up.

What about the idea of adding a user named WS9 on the WS2 computer?  Would doing this make the WS2 computer always think that WS9 was legit--and solve the login credentials problem?  

I would hate to have to add a user on WS2 for each computer that would ever log in, only because the WS2 operator would have to pick from a list of users--and find WS2--when starting up the computer (I assume).  But, if by adding all the user(s) it would negate the need for the batch file in startup, then it might be worth it.

So does this sound workable, and are there any downsides to doing it this way?

0
 
LVL 6

Expert Comment

by:CrowaX
ID: 34927385
I dont think that would be a problem. On my home Media Center computer, I could not access the media for some reason, so I made a second user on there with the same name and password as my computer username and I got access. But I did not use it to map drives. It is certianly worth a shot and seems like it would work.
0
 
LVL 3

Author Comment

by:sasllc
ID: 35898872
FYI, I found that my last suggestion did work.  I added a "user" on WS2 for every computer that was going to connect.  The downside, of course, is that ALL the users I set up appear on the WS2 desktop when they log in in the morning.
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Copy a file from inside a vhdx into another location 4 59
set url:tel to a website 3 47
2013 Outlook has e-mails, but no calendar or contacts 4 29
Windows 7 Professional 6 60
Article by: Lee
Windows 7 Ultimate and Enterprise (and 2008 R2) introduced a new feature you may not be aware of - Boot from VHD.   Boot from VHD (or what Microsoft refers to asNative Boot allows you to install Windows to a VHD (Virtual Hard Disk) file that is t…
When you start your Windows 10 PC and got an "Operating system not found" error or just saw  "Auto repair for startup" or a blinking cursor with black screen. A loop for Auto repair will start but fix nothing.  You will be panic as there are no back…
In this Micro Tutorial viewers will learn how to use Boot Corrector from Paragon Rescue Kit Free to identify and fix the boot problems of Windows 7/8/2012R2 etc. As an example is used Windows 2012R2 which lost its active partition flag (often happen…
This Micro Tutorial will give you a basic overview of Windows Live Photo Gallery and show you various editing filters and touches to photos you can apply. This will be demonstrated using Windows Live Photo Gallery on Windows 7 operating system.

772 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