Go Back   TechArena Community > Technical Support > Computer Help > Windows Server > Active Directory
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read SiteMap

Tags: , , , ,

Sponsored Links



Home Drive mapping

Active Directory


Reply
 
Thread Tools Search this Thread
  #1  
Old 27-10-2009
Sukhwinder Singh
 
Posts: n/a
Home Drive mapping

Dear All,

We are facing an issue with user home drive mapping. We have configured
user's home drive by adding the path in Home folder feild in user account
property. Also we have configured other mapped drives using VB script as
logon script. The mapped drives are configured to map persistently by adding
the value "true" at the end of each drive. Due to this setting all the drives
for user are getting mapped even if they are not connected to network so that
they can work from home.

In case of home drive the drive is not getting mapped when offline. We have
tried to map the home folder persistently but it is not working. It is a
business requirement to map the drive for the user when they are offline.

I need help on the same.

Please let me know if anything can be done for it.

Thanks and Regards,
Sukhwinder Singh
Reply With Quote
  #2  
Old 27-10-2009
R Shah
 
Posts: n/a
Re: Home Drive mapping

One solution is to add home drive mapping into VBScript also. There you can
make it persistent.
Reply With Quote
  #3  
Old 27-10-2009
Sukhwinder Singh
 
Posts: n/a
Re: Home Drive mapping

We have tried to put in the below mentioned parameter in the login script
for the users from which other drives are mapping but it does not work. Even
if we run the script manually and then try to access manually it does not
work.

"Set objAD = CreateObject("ADSystemInfo")
Set objNetwork = CreateObject("Wscript.Network")
temp = objAD.UserName
Set objUser =GetObject("LDAP://" & temp)
thomedrive = objUser.Homedrive
thomedirectory= objUser.Homedirectory
Wscript.echo thomedirectory
objNetwork.MapNetworkDrive thomedrive ,thomedirectory, True"
Reply With Quote
  #4  
Old 05-02-2010
Member
 
Join Date: Feb 2010
Posts: 1
Re: Home Drive mapping

Try this:

Regs

Stu

Dim strDriveLetter, strProfile, thomedrive, thomedirectory, strXPID

Set objAD = CreateObject("ADSystemInfo")
Set objNetwork = CreateObject("Wscript.Network")
strXPID = objAD.UserName
Set objUser =GetObject("LDAP://" & strXPID)

thomedrive = objUser.Homedrive
thomedirectory= objUser.Homedirectory
strDriveLetter="E:"
strProfile=False

Wscript.echo thomedirectory
WScript.Echo thomedrive

objNetwork.MapNetworkDrive strDriveLetter,thomedirectory, strProfile
Reply With Quote
Reply

  TechArena Community > Technical Support > Computer Help > Windows Server > Active Directory


Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Home Drive mapping"
Thread Thread Starter Forum Replies Last Post
Mapping a Network drive. medic1202 Windows Server Help 2 1 Week Ago 08:27 PM
Home drives not mapping to the correct paths mikes1p Active Directory 6 12-09-2011 03:38 PM
Windows 7 Pro Home folder mapping on Logon not working Abhimanyusuta Operating Systems 6 16-08-2010 10:38 AM
Network drive mapping Sukhwinder Singh Active Directory 3 17-03-2009 05:54 PM
Home Mapping Vista Problem Tom Windows Server Help 1 23-01-2008 07:55 AM


All times are GMT +5.5. The time now is 11:41 PM.