|
server
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
mapped drives at logonHello.
I have a very simple question but the answer eludes me. In setting up users in a Windows 2003 Active Directory, I want mapped drives for the users taking place at their local machines upon authentication in the domain. For instance: for john doe - map g: to \\server1\home\jdoe - map j: to \\server1\finance\data - map k: to \\server1\asdf\lookhere Where john doe has permissions to the specific folders jdoe, data and lookhere. All of this, I want to setup on the server and have john log in anywhere in the domain (which is not remote, nor Term Serv) and have the mapped drives follow him around. That would be ideal, but if it takes place only on his assigned computer, so be it. Thanks so much, Ed In news:ECFAAD08-4778-463F-9D5E-C134E59CD21E@microsoft.com, Ed Jones <EdJo***@discussions.microsoft.com> typed:Show quoteHide quote > Hello. Use a login script....even a simple batch file.> I have a very simple question but the answer eludes me. In setting up > users in a Windows 2003 Active Directory, I want mapped drives for > the users taking place at their local machines upon authentication in > the domain. > For instance: > for john doe - map g: to \\server1\home\jdoe > - map j: to \\server1\finance\data > - map k: to \\server1\asdf\lookhere > Where john doe has permissions to the specific folders jdoe, data and > lookhere. > > All of this, I want to setup on the server and have john log in > anywhere in the domain (which is not remote, nor Term Serv) and have > the mapped drives follow him around. That would be ideal, but if it > takes place only on his assigned computer, so be it. > > Thanks so much, > Ed net use * /del (deletes all locally mapped drives) net use g: \\server1\home\jdoe /persistent:no net use j: \\server1\finance\data /persistent:no etc - You can either assign this per user (in ADUC properties) or via group policy. Batch files are not the only way to go, either - there's VBScript, Kixtart, etc.... Thanks for the valuable info. If I was now going to input the net use
commands into the properties of the user in ADUC, would I enter it as text (unlike saving it as .bat) and where exactly would I input it?? Under the Profile tab and on the logon script area?? Thanks again, Ed Show quoteHide quote "Lanwench [MVP - Exchange]" wrote: > > > In news:ECFAAD08-4778-463F-9D5E-C134E59CD21E@microsoft.com, > Ed Jones <EdJo***@discussions.microsoft.com> typed: > > Hello. > > I have a very simple question but the answer eludes me. In setting up > > users in a Windows 2003 Active Directory, I want mapped drives for > > the users taking place at their local machines upon authentication in > > the domain. > > For instance: > > for john doe - map g: to \\server1\home\jdoe > > - map j: to \\server1\finance\data > > - map k: to \\server1\asdf\lookhere > > Where john doe has permissions to the specific folders jdoe, data and > > lookhere. > > > > All of this, I want to setup on the server and have john log in > > anywhere in the domain (which is not remote, nor Term Serv) and have > > the mapped drives follow him around. That would be ideal, but if it > > takes place only on his assigned computer, so be it. > > > > Thanks so much, > > Ed > > Use a login script....even a simple batch file. > > net use * /del > (deletes all locally mapped drives) > net use g: \\server1\home\jdoe /persistent:no > net use j: \\server1\finance\data /persistent:no > > etc - > > You can either assign this per user (in ADUC properties) or via group > policy. > > Batch files are not the only way to go, either - there's VBScript, Kixtart, > etc.... > > > In news:B8E969A3-8DF5-4B78-B496-64D2113A3E5A@microsoft.com, Ed Jones <EdJo***@discussions.microsoft.com> typed:> Thanks for the valuable info. If I was now going to input the net use I think you misunderstand. If you want to use a login script specified in > commands into the properties of the user in ADUC, would I enter it as > text (unlike saving it as .bat) and where exactly would I input it?? > Under the Profile tab and on the logon script area?? users' ADUC properties, create a batch file and put it in the \netlogon share on your DC. So, login.bat could contain - net use * /del net use h: /home /persistent:no net use x: \\server\share /persistent:no net use y: \\server\anothershare /persistent:no etc. Those are just basic commands; you can do a lot more. Each user's ADUC properties would then just specify login.bat (with no path). Again, this is only one way to do it. You can also use group policy to assign the script - you can use stuff besides batch files - etc. Show quoteHide quote > > Thanks again, > Ed > > > "Lanwench [MVP - Exchange]" wrote: > >> >> >> In news:ECFAAD08-4778-463F-9D5E-C134E59CD21E@microsoft.com, >> Ed Jones <EdJo***@discussions.microsoft.com> typed: >>> Hello. >>> I have a very simple question but the answer eludes me. In setting >>> up users in a Windows 2003 Active Directory, I want mapped drives >>> for the users taking place at their local machines upon >>> authentication in the domain. >>> For instance: >>> for john doe - map g: to \\server1\home\jdoe >>> - map j: to \\server1\finance\data >>> - map k: to \\server1\asdf\lookhere >>> Where john doe has permissions to the specific folders jdoe, data >>> and lookhere. >>> >>> All of this, I want to setup on the server and have john log in >>> anywhere in the domain (which is not remote, nor Term Serv) and have >>> the mapped drives follow him around. That would be ideal, but if it >>> takes place only on his assigned computer, so be it. >>> >>> Thanks so much, >>> Ed >> >> Use a login script....even a simple batch file. >> >> net use * /del >> (deletes all locally mapped drives) >> net use g: \\server1\home\jdoe /persistent:no >> net use j: \\server1\finance\data /persistent:no >> >> etc - >> >> You can either assign this per user (in ADUC properties) or via group >> policy. >> >> Batch files are not the only way to go, either - there's VBScript, >> Kixtart, etc.... I am also trying to implement a .bat file for mapped drives at logon. I
have the .bat file in the \scripts directory on the server but when the user logs in, the drives are not there. Here is what I have in the file: @echo off net use "\\servername\share" j: net use "\\servername\share" k: Please instruct me on how to do this step by step and tell me if the syntax is incorrect. Also I noticed that in the syntax above, you have "net use x: \\server\share /persistent:no". Can the /persistent:no be changed to /persistent:yes? If you keep the /persistent:no, when the user logs on again, then the drive will remap? Where might I find reference to the different commands that one can use through .bat files? Thank you. I got it to work following the exact syntax from above. Now, if I need
to provide credentials, other than the logon credentials, to use a network drive, what is the syntax for that? Thank you.
How to create users using VBS from an Excel sheet.
ADAM multivalue limit Number of users per container (OU) in ADAM / AD Fresh Install of ADAM SP1 - Can't install without doing an upgrade Push domain account into Local computer user group? Cannot install W2003 admin pak on VS 2005 R2 instance Permissions to join machine to domain ADAM and perfmon Sites and Services Multiple Domain Administration |
|||||||||||||||||||||||