G
Guest
Im new to Active Directory and im trying to create Login Scripts for drive
mappings. I've been successful with creating login scripts using simple bat
files.
For example; net use n: \\server\users\username
I'm creating the login script Group Policy at the OU level. So of my drive
mapping need to point to a specific directory underneath the users
directories. The mapping has to look like this.
For example; \\server\users\username\dir1
This issue here is that the username is a variable. How do i create a script
so that when a user logs in, the script uses his/her name in the username
place. This can't be done using net use commands in a bat file, can it? Do i
have to user VB Scripts, and if so, can someone tell me how to do this. I
looked at some on Microsofts website, and they looked really long (a couple
of pages) for such a script. I didn't really understand what was going on in
the scripts either.
Thanks in advance,
Shannon
mappings. I've been successful with creating login scripts using simple bat
files.
For example; net use n: \\server\users\username
I'm creating the login script Group Policy at the OU level. So of my drive
mapping need to point to a specific directory underneath the users
directories. The mapping has to look like this.
For example; \\server\users\username\dir1
This issue here is that the username is a variable. How do i create a script
so that when a user logs in, the script uses his/her name in the username
place. This can't be done using net use commands in a bat file, can it? Do i
have to user VB Scripts, and if so, can someone tell me how to do this. I
looked at some on Microsofts website, and they looked really long (a couple
of pages) for such a script. I didn't really understand what was going on in
the scripts either.
Thanks in advance,
Shannon