Solved

login vbscript

Posted on 2012-04-08
3
376 Views
Last Modified: 2012-04-09
Hi,

I have a shared home folder on windows 2003 server. How can I write a vbscript to map a network drive and create a folder inside the home folder with the logged in users' name using vbscript?

Please help.

ayha
0
Comment
Question by:ayha1999
3 Comments
 
LVL 17

Accepted Solution

by:
Anuroopsundd earned 500 total points
ID: 37821409
just save below in .bat file and put in the login script.
change servername to your servername and sharedfolder of the server.
%username% will create a folder in the sharedfolder with username of the user.

net use u: \\servername\sharedfolder\%username%
0
 
LVL 11

Expert Comment

by:X_layer
ID: 37822664
Or even better, you can set up home folder for domain users. See this link.
0
 
LVL 7

Author Closing Comment

by:ayha1999
ID: 37824505
Thanks
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
MS Endpoint Protection 2 25
Windows Password recovery 7 36
Restart service script 5 10
How to find computer SID in windows server 2008 r2 3 47
Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
A safe way to clean winsxs folder from your windows server 2008 R2 editions
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…
This tutorial will walk an individual through setting the global and backup job media overwrite and protection periods in Backup Exec 2012. Log onto the Backup Exec Central Administration Server. Examine the services. If all or most of them are stop…

831 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