Alternative to NET USE?

G

Guest

Hi

I’m looking for an alternative to NET USE to map a network share via login-script. If possible I want to use vbscript and AD to do this and once and for all delete all my *.bat-scripts.

Is this possible?

Thanks!
 
T

Torgeir Bakken (MVP)

Magnus said:
I'm looking for an alternative to NET USE to map a network share via login-script. If possible I want to use vbscript and AD to do this and once and for all delete all my *.bat-scripts.

Is this possible?

Hi

Yes, it is possible. You can use the MapNetworkDrive method from vbscript.

WSH 5.6 documentation (local help file) can be downloaded from here:
http://msdn.microsoft.com/downloads/list/webdev.asp

For some logon script examples, take a look under "Free VBScript Code\Logon Scripts" at
http://www.rlmueller.net/

You will find a lot of logon script examples at
http://cwashington.netreach.net as well.

E.g. here:
http://cwashington.netreach.net/dep...tory&ScriptType=vbscript&SubType=LogonScripts
 
R

Ray at

Although I am typically anti-third party, and am also
pro-program-it-yourself, I must say that when the decision was made where I
work to purchase Script Logic, and we were able to get rid of all of our
logon scripts, I loved. It took the responsibility of managing logon
scripts and put it where it belongs, the network department.

Ray at home

Magnus said:
Hi!

I’m looking for an alternative to NET USE to map a network share via
login-script. If possible I want to use vbscript and AD to do this and once
and for all delete all my *.bat-scripts.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top