Results 1 to 3 of 3

Thread: Home Drive mapping

  1. #1
    Join Date
    Apr 2011
    Posts
    71

    Home Drive mapping

    Recently i configured user's home drive by adding the path in Home folder feild in user account property as well as i setup another mapped drives using VB script as logon script. But dont know why the we are getting some problem with the same. 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.

    Now the problem is while being Offline the drive is not getting mapped in case of home drive. Though i tried mapping the home folder persistently, it is yet not working. so can anyone here please let me know how can i fix all these problems? Many thanks.

  2. #2
    Join Date
    Sep 2004
    Posts
    136

    Re: Home Drive mapping

    I don’t know much about this but as per my small experience I think you can do it simply by adding home drive mapping into VBScript also. If you haven’t tried it, give it a try.

  3. #3
    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

Similar Threads

  1. Mapping a Network drive.
    By medic1202 in forum Windows Server Help
    Replies: 2
    Last Post: 03-02-2012, 08:27 PM
  2. Home drives not mapping to the correct paths
    By BoanHed in forum Active Directory
    Replies: 4
    Last Post: 12-09-2011, 02:38 PM
  3. Windows 7 Pro Home folder mapping on Logon not working
    By Abhimanyusuta in forum Operating Systems
    Replies: 6
    Last Post: 16-08-2010, 09:38 AM
  4. Problem While Mapping Network Drive
    By Aberto in forum Networking & Security
    Replies: 4
    Last Post: 24-01-2009, 10:29 AM
  5. Windows XP Network Drive Mapping
    By JoJo19 in forum Networking & Security
    Replies: 2
    Last Post: 16-07-2008, 02:18 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,643,174,448.82508 seconds with 17 queries