Solved

login vbscript

Posted on 2012-04-08
3
374 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

How does your email signature look on mobiles?

Do your employees use mobile devices to reply to emails? With mobile becoming increasingly important to the business world, it is in your best interest to make sure that your email signature looks great across all types of devices.

Join & Write a Comment

Suggested Solutions

A quick step-by-step overview of installing and configuring Carbonite Server Backup.
ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
This tutorial will walk an individual through the steps necessary to install and configure the Windows Server Backup Utility. Directly connect an external storage device such as a USB drive, or CD\DVD burner: If the device is a USB drive, ensure i…
This tutorial will show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…

707 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now