Logon Script Error - Drive Mapping - TechRepublic
Question
December 10, 2008 at 11:24 AM
947

Logon Script Error – Drive Mapping

by 947 . Updated 17 years, 7 months ago

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 discussion is locked

All Comments