Networking Forums

Networking Forums > Computer Networking > Windows Networking > Auto mapping for all user

Reply
Thread Tools Display Modes

Auto mapping for all user

 
 
2Sweet
Guest
Posts: n/a

 
      09-29-2007, 08:21 AM
All users are Domain User. All users will have a 'H'and 'I' mapped drives
after login to the their workstations.
'H' drive is their individual Home drive. 'I' drive is the department drive
(different user from different department will have different mapped folder
but same 'I' drive name).

Based on the above, what is the best practise to do it?


 
Reply With Quote
 
 
 
 
Mathieu CHATEAU
Guest
Posts: n/a

 
      09-29-2007, 08:29 AM
Hello,
You may use a logon script, in batch/Kix (old fashion) or in vbscript.

We use one with an ini file that map drive based on group membership.

Looking around on search engine for "logon script" would help you a lot

What do you call home drive ? Mydocs ?

--
Cordialement,
Mathieu CHATEAU
http://lordoftheping.blogspot.com


"2Sweet" <(E-Mail Removed)> wrote in message
news:uHV$(E-Mail Removed)...
> All users are Domain User. All users will have a 'H'and 'I' mapped drives
> after login to the their workstations.
> 'H' drive is their individual Home drive. 'I' drive is the department
> drive (different user from different department will have different mapped
> folder but same 'I' drive name).
>
> Based on the above, what is the best practise to do it?
>


 
Reply With Quote
 
2Sweet
Guest
Posts: n/a

 
      09-29-2007, 05:21 PM
'H' drive is the home drive. User personnal drive.
Eg. User logon name as 'peter', it will auto mapped a 'H' drive as H:\peter.
Only user Peter can access this drive.


"Mathieu CHATEAU" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> Hello,
> You may use a logon script, in batch/Kix (old fashion) or in vbscript.
>
> We use one with an ini file that map drive based on group membership.
>
> Looking around on search engine for "logon script" would help you a lot
>
> What do you call home drive ? Mydocs ?
>
> --
> Cordialement,
> Mathieu CHATEAU
> http://lordoftheping.blogspot.com
>
>
> "2Sweet" <(E-Mail Removed)> wrote in message
> news:uHV$(E-Mail Removed)...
>> All users are Domain User. All users will have a 'H'and 'I' mapped drives
>> after login to the their workstations.
>> 'H' drive is their individual Home drive. 'I' drive is the department
>> drive (different user from different department will have different
>> mapped folder but same 'I' drive name).
>>
>> Based on the above, what is the best practise to do it?
>>

>



 
Reply With Quote
 
Mathieu CHATEAU
Guest
Posts: n/a

 
      09-29-2007, 06:09 PM
Why not just redirecting "My Docs" to the network and let them store in "My
docs"

Else they will have 2 choices: My Docs and H:\. Sure you would have to
redirect My docs anyway, as users will store things in it anyway. H:\ may
also point to the My docs redirected folders too

--
Cordialement,
Mathieu CHATEAU
http://lordoftheping.blogspot.com


"2Sweet" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 'H' drive is the home drive. User personnal drive.
> Eg. User logon name as 'peter', it will auto mapped a 'H' drive as
> H:\peter. Only user Peter can access this drive.
>
>
> "Mathieu CHATEAU" <(E-Mail Removed)> wrote in message
> news:%(E-Mail Removed)...
>> Hello,
>> You may use a logon script, in batch/Kix (old fashion) or in vbscript.
>>
>> We use one with an ini file that map drive based on group membership.
>>
>> Looking around on search engine for "logon script" would help you a lot
>>
>> What do you call home drive ? Mydocs ?
>>
>> --
>> Cordialement,
>> Mathieu CHATEAU
>> http://lordoftheping.blogspot.com
>>
>>
>> "2Sweet" <(E-Mail Removed)> wrote in message
>> news:uHV$(E-Mail Removed)...
>>> All users are Domain User. All users will have a 'H'and 'I' mapped
>>> drives after login to the their workstations.
>>> 'H' drive is their individual Home drive. 'I' drive is the department
>>> drive (different user from different department will have different
>>> mapped folder but same 'I' drive name).
>>>
>>> Based on the above, what is the best practise to do it?
>>>

>>

>
>


 
Reply With Quote
 
Ryan Hanisco
Guest
Posts: n/a

 
      09-29-2007, 07:28 PM
Have a look at a sample I used. you would just have to add Case statements
for each departmental drive....

' ************************************************** ***********************
' * Logon Script for <Location> Users
' * Created 11/12/2006
' * Created By: Ryan Hanisco
' *
' * Version 1.0
' ************************************************** ***********************


On Error Resume Next

Set objSysInfo = CreateObject("ADSystemInfo")
Set objNetwork = CreateObject("Wscript.Network")

strUserPath = "LDAP://" & objSysInfo.UserName
Set objUser = GetObject(strUserPath)

For Each strGroup in objUser.MemberOf
strGroupPath = "LDAP://" & strGroup
Set objGroup = GetObject(strGroupPath)
strGroupName = objGroup.CN

'Map Drives Common to Everyone
objNetwork.MapNetworkDrive "H:", "\\<ServerName>\Home$\%UserName%"
objNetwork.MapNetworkDrive "s:", "\\<ServerName>\shared\Common"

Select Case strGroupName
Case "Mgmt"
objNetwork.MapNetworkDrive "U:", "\\<ServerName>\Management$" '
MGMT_Group
Case "HR"
objNetwork.MapNetworkDrive "U:", "\\<ServerName>\HR$" ' HR_Group
End Select
Set objGroup = Nothing
Next

Set objUser = Nothing
Set objNetwork = Nothing
Set objSysInfo = Nothing
--
Ryan Hanisco
MCSE, MCTS: SQL 2005, Project+
http://www.techsterity.com
Chicago, IL

Remember: Marking helpful answers helps everyone find the info they need
quickly.


"2Sweet" wrote:

> All users are Domain User. All users will have a 'H'and 'I' mapped drives
> after login to the their workstations.
> 'H' drive is their individual Home drive. 'I' drive is the department drive
> (different user from different department will have different mapped folder
> but same 'I' drive name).
>
> Based on the above, what is the best practise to do it?
>
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Auto mapping not working 2Sweet Windows Networking 9 09-10-2007 04:54 PM
mapping user's home directory to URL using apache. query.cdac@gmail.com Linux Networking 3 04-18-2007 11:57 AM
User Mapping Question tigansan Windows Networking 0 05-19-2005 04:09 PM
Mapping a User Directory in W98 Angela Windows Networking 2 12-30-2003 03:53 PM
SOCALWUG Meeting tonight (Dec 18th) on User Mapping Project la@pasadena.net Wireless Internet 0 12-18-2003 04:37 PM



1 2 3 4 5 6 7 8 9 10 11