Question Locked

Open network share

0 helpful
9 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I'm after a simple vbscript that when run will open a network share using a specific generic account (eg User: Guest, Password: password)...

9 replies

by toivo talikka

You will need to set up the security of the shared folder in such a way that the users who launch the vbscript have access rights to the folder. One way to do this, instead of using Simple File Sharing and the Guest user account, is to set up a local user who has the access rights to the folder on the workstation acting as the server. You need to store the name of the server, the username and password in each workstation as login credentials in User Accounts - Manage My Network Passwords.

by angusg

We've already to setup a generic a/c on the server, it's not feasible to go round to 80 pc's in our office, plus another 40 in remote locations...

by hiankhin

hi angusG,
i having same problem. may i know do your problem solved? can tell me how you solve it?
thanks

by deepsand

However, if using Win 2K or XP, no script is needed.

From a command box, simply execute either the "NET USE" or "NET SHARE," depending on your specific purpose, with the "PERSISTENT" parameter one time. Until such time as that command is rescinded, it will remain effective across boots.

by angusg

Hehehe... Windows XP SP2, Servers are running Novell 6, but the server we want to connect to is a NAS unit running Windows 2003 Storage Server...

We need it to be run from the NAL, we've got the creditials entered (with the net use command) in our login scripts, but user are still prompted username and password when someone tries to connect...

by angusg

Hehehe... Windows XP SP2, Servers are running Novell 6, but the server we want to connect to is a NAS unit running Windows 2003 Storage Server...

We need it to be run from the NAL, we've got the creditials entered (with the net use command) in our login scripts, but user are still prompted username and password when someone tries to connect...

by dumphrey

you are being prompted for credentials when you access the server is because there is no single point of authentication and authorization. If you were in a windows Domaine, when you loged into the domaine a security token would be asigned to your account. Then when you accessed a network share under the Windows umbrella, you would not need to re-authenticate to check you authorization because your security token does this for you. Are you being prompted for authentication every time you access the share or just the first time during the day? You may want to look into addind a radius server to mediate between WinNAS and Novell.

by angusg

We've been totally obliterated by the fact that if you enable and give the built in local guest account access to that server, it won't ask for a username and password... which is what we've done...

This discussion is closed to new replies.