Jump to content

Storing network passwords in Vista Home Basic? (logon script?)


Recommended Posts

Posted

Ok, I have a fileserver running Solaris (NexentaCore) and this server requeries one to log on with a username and password.

As we all know the easy way of just marking "save password" is not active in Vista, so we have to use the "Stored Credentials Properties". But as far as I understand this isn't possible in Vista Home Basic is it?

So I was thinking, is it possible to create a "logon script" that connects to the server when I log on?

The reason why I want to do this, is that it is a HTPC, and I'm trying to make any use of a keyboard obsolete. So I can't have a password on the logon either.

I found this that seems to work on mapped network stations, but what if I don't want to use maped drives, but just log right in to the server?

You can do the same thing. Just create a text file in notepad, paste the code below into it. Then change the server, share, username, and password information. Don't delete any of the commas or quotation marks. They are all needed. Save it to your startup folder. In Vista your startup folder is buried deep. Mine is located here: C:\Users\Ken\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup

Yours should be the same except for the name "Ken" of course. Here's the code:

Set objNetwork = CreateObject("WScript.Network")

objNetwork.MapNetworkDrive "Z:", "\\server\share", , "username", "password"


Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...