Results 1 to 4 of 4

Thread: How do I find 'Profile Path' details?

  1. #1
    Join Date
    Aug 2006
    Posts
    142

    How do I find 'Profile Path' details?

    Can anyone tell me what does \\Server\ShareName\UserName on my system relate to an active directory profile? For instance, when I right click on a Word Document it shows me the path, that is C:\Documents & Settings\ etc, but when I right click on a user profile I cannot get the Profile Path? Can anyone please help.

  2. #2
    Join Date
    Aug 2006
    Posts
    201

    Re: How do I find 'Profile Path' details?

    I dont quite get it, what do you mean exactly? Where do you mean to say you are trying to right click on a profile, are you trying to do it in ADUC?

  3. #3
    Join Date
    Jun 2006
    Posts
    623

    Re: How do I find 'Profile Path' details?

    There is a way to do it, you can use the WMI Win32_Share class in a VBScript program, like the below one for instance:

    Code:
    strComputer = "Server"
    strShare = "ShareName"
    Set objWMIService = GetObject("winmgmts::" _
    & "{impersonationLevel=impersonate}!\\" _
    & strComputer & "\root\cimv2")
    Set colShares = objWMIService.ExecQuery _
    ("SELECT * FROM Win32_Share WHERE Caption='" & strShare & "'")
    For Each objShare in colShares
    Wscript.Echo objShare.Path
    Next

  4. #4
    Join Date
    Oct 2004
    Posts
    1,342
    There is also another way, you can use the LanManServer service can do the below one for sure:

    strComputer = "Server"
    strShare = "ShareName"
    Set objShare = GetObject("WinNT://" & strComputer & "/LanManServer/" &
    strShare)
    Wscript.Echo objShare.Path

Similar Threads

  1. Active directory 2008 profile path permission
    By matzas in forum Networking & Security
    Replies: 1
    Last Post: 01-04-2011, 12:19 AM
  2. Opera: Where I can find the profile path information
    By Calandar in forum Technology & Internet
    Replies: 4
    Last Post: 16-01-2011, 10:18 PM
  3. How to change or restore user profile path registry?
    By elldeegee in forum Operating Systems
    Replies: 2
    Last Post: 11-08-2009, 09:14 PM
  4. Replies: 1
    Last Post: 01-11-2007, 11:55 PM
  5. Replies: 3
    Last Post: 12-01-2007, 11:45 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,713,512,896.07369 seconds with 17 queries