Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Having to log in to shared Win 7 computer each time

Posted on 2011-02-16
7
Medium Priority
?
571 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 2000 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
Independent Software Vendors: 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 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

Industry Leaders: 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!

Question has a verified solution.

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

First some basics on Windows 7 Backup.  It has 2 components one is a file based backup which is stored in .zip files each zip is split at around 200 Megabytes and there is the Image Backup which is as the name implies a total image of the partition …
The Windows functions GetTickCount and timeGetTime retrieve the number of milliseconds since the system was started. However, the value is stored in a DWORD, which means that it wraps around to zero every 49.7 days. This article shows how to solve t…
This Micro Tutorial will give you a introduction in two parts how to utilize Windows Live Movie Maker to its maximum editing capability. This will be demonstrated using Windows Live Movie Maker on Windows 7 operating system.
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…
Suggested Courses

824 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