I have not done a lot of scripting but I need a small logon script that just
maps a network share to a particular drive letter every time the user logs
on.
Your best bet is actually to use a batch file. Scripting a login share is just too complex, so create a batch file and store it in the NETLOGIN shared drive under the scripts subfolder (which is a couple of folder into the file)
** REM DRIVE ASSIGNMENT **
NET USE <DRIVE LETTER> \\<server name>\<shared folder>
ie:
NET USE T: \\HQ-SRV-01\shared
That should solve your problem... Any more, email me.
Thankyou for your assistance, I thought it would be a simple process. The scripts subfolder that you mentioned, where is this located? and is it at the server or does it have to be put on every clients machine?
Login to the server as administrator, then go to network neighbourhood and select NETLOGIN shared drive. Within that you will find at least one subfolder, the name of which escapes me, but within it are two subfolders, policies and scripts. You must put the batch file within the scripts folder and then point to that file with the logon option in the group policy.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.