Networking Forums

Networking Forums > Computer Networking > Windows Networking > Logon Scripts

Reply
Thread Tools Display Modes

Logon Scripts

 
 
TK
Guest
Posts: n/a

 
      10-06-2005, 04:46 PM
Currently we do not use login scripts. I would like to start using
login scripts to map my users network drives and I just need some
pointers to get started. Should the scripts be written as a .bat file
or can vbscript used? Any comments would be appreciated.

Thanks.
 
Reply With Quote
 
 
 
 
seth
Guest
Posts: n/a

 
      10-06-2005, 05:11 PM
it is a batch file, placed in the netlogon share of the dc

"TK" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Currently we do not use login scripts. I would like to start using login
> scripts to map my users network drives and I just need some pointers to
> get started. Should the scripts be written as a .bat file or can vbscript
> used? Any comments would be appreciated.
>
> Thanks.



 
Reply With Quote
 
A. Feiner
Guest
Posts: n/a

 
      10-06-2005, 05:56 PM
You could use .bat for the simple tasks, and then go to Kixtart if you need
more advanced action.. No reason in the world for VB script. You can edit
and place the script in the Netlogon directory as mentioned above. Start
with simple batch file, test it and go forward.

--
Amnon Feiner
http://www.woodcontour.com
Solid Wood & Stone PC Peripherals.


"TK" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Currently we do not use login scripts. I would like to start using login
> scripts to map my users network drives and I just need some pointers to
> get started. Should the scripts be written as a .bat file or can vbscript
> used? Any comments would be appreciated.
>
> Thanks.



 
Reply With Quote
 
Robert L [MS-MVP]
Guest
Posts: n/a

 
      10-06-2005, 06:03 PM
it could be the batch or script. If you want a simple mapping, use batch file.

logon script
Example of batch file - make a network drive Where is logon script located.
By the default net use command map the drive persistently ...
www.chicagotech.net/logonscript.htm

Bob Lin, MS-MVP, MCSE & CNE
Networking, Internet, Routing, VPN Troubleshooting on http://www.ChicagoTech.net
How to Setup Windows, Network, VPN & Remote Access on http://www.HowToNetworking.com
"TK" <(E-Mail Removed)> wrote in message news:(E-Mail Removed)...
Currently we do not use login scripts. I would like to start using
login scripts to map my users network drives and I just need some
pointers to get started. Should the scripts be written as a .bat file
or can vbscript used? Any comments would be appreciated.

Thanks.
 
Reply With Quote
 
TK
Guest
Posts: n/a

 
      10-07-2005, 02:27 PM
seth wrote:
> it is a batch file, placed in the netlogon share of the dc
>
> "TK" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>
>>Currently we do not use login scripts. I would like to start using login
>>scripts to map my users network drives and I just need some pointers to
>>get started. Should the scripts be written as a .bat file or can vbscript
>>used? Any comments would be appreciated.
>>
>>Thanks.

>
>
>

I am trying to map a drive to my personal folder on the server. All of
the personal folders are shared as firstname lastname. When the .bat
file runs, it fails to map the drive. The syntax I am using is:
net use P: \\servername\%username%

If I map the drive using this synax it works: "net use P:
\\servername\firstname lastname"

I don't think net use likes the space in the share name. Is there a way
I can use the %username% in the command?


 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
VBS instead of BAT Logon scripts? Jurgen Verhelst [MCP] Windows Networking 0 09-27-2005 08:41 PM
logon scripts? Linn Kubler Windows Networking 4 08-22-2005 09:19 PM
Logon Scripts over VPN Charlie Saliba Windows Networking 5 07-25-2005 09:28 PM
Cannot get logon scripts to work mstainbrook Windows Networking 5 07-15-2004 06:45 PM
Logon scripts Dale Windows Networking 1 12-04-2003 09:41 PM



1 2 3 4 5 6 7 8 9 10 11