Question

Locked

Logon Script Error - Drive Mapping

By 947 ·
Hello

First time i've tried creating a vbscript and also my first post. Trying to create a script that will automatically log our thinclient users on to a network drive\folder when they login to windwos. I think I got it written correctly and I've put into the startup folder, but I am receiving the following message whenever it tries to start... "There is no file extension in "C:\Documents". Any ideas?

here's the vbs
set Net = WScript.CreateObject("WScript.Network")
Net.MapNetworkDrive "X:", "\\server\file location", False, "domain\employee", "password"

This conversation is currently closed to new comments.

2 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Answers

Collapse -

Check out these samples from Guy Thomas

by Jacky Howe In reply to Logon Script Error - Driv ...

If you have a look at the advanced script it should get you on the right track.


http://www.computerperformance.co.uk/Logon/logon_scripts.htm

Collapse -

Don't know scripting either, But having good luck with this.

by 1bn0 In reply to Logon Script Error - Driv ...

Sapien Technologies
Logon Script Generator

Download page:
http://www.primaltools.com/freetools/

Download link:
http://www.primaltools.com/freetools/signup.asp?tool=logonhta

I don't know what the False part is for , but shoulldn't the user be granted access based on the credentials already provided at logon?

In my logon scripts I map drive to shares based on Security Group memberships.

The Security Group is assigned access rights in the shares ACL. Then, if the user is a member of the group, the logon script maps the drive letter to the appropriate share and access is granted based on the user being a member of the security group.

Back to Hardware Forum
2 total posts (Page 1 of 1)  

Related Discussions

Related Forums