Windows Vista Forums

Windows 2008 - Access dennied to c:\Users\<user name>\LocalSettings\History

  1. #1


    Jack Black Guest

    Windows 2008 - Access dennied to c:\Users\<user name>\LocalSettings\History

    Hi,

    I am an admin in windows 2008 server. However, I am not able to
    access the
    c:\Users\<user name>\Local Settings\History

    Anyone knows how to change the settings so I can access the folder?

    Thank you,


      My System SpecsSystem Spec

  2. #2


    Pegasus [MVP] Guest

    Re: Windows 2008 - Access dennied to c:\Users\<user name>\Local Settings\History



    "Jack Black" <gwklocker01@newsgroup> said this in news item
    news:60b578d9-ce73-4ab8-851b-9039ea6cfee5@newsgroup

    > Hi,
    >
    > I am an admin in windows 2008 server. However, I am not able to
    > access the
    > c:\Users\<user name>\Local Settings\History
    >
    > Anyone knows how to change the settings so I can access the folder?
    >
    > Thank you,
    >
    You could seize ownership of the folder.


      My System SpecsSystem Spec

  3. #3


    Jack Black Guest

    Re: Windows 2008 - Access dennied to c:\Users\<user name>\LocalSettings\History

    On Dec 28, 9:13*pm, "Pegasus [MVP]" <n...@newsgroup> wrote:

    > "Jack Black" <gwklocke...@newsgroup> said this in news itemnews:60b578d9-ce73-4ab8-851b-9039ea6cfee5@newsgroup
    >

    > > Hi,
    >

    > > I am an admin in windows 2008 server. *However, I am not able to
    > > access the
    > > c:\Users\<user name>\Local Settings\History
    >

    > > Anyone knows how to change the settings so I can access the folder?
    >

    > > Thank you,
    >
    > You could seize ownership of the folder.
    Hi Pegasus,

    After I took over the ownership of entire folder, it still tell me
    "access dennied". Any guess?

    Thank you,

      My System SpecsSystem Spec

  4. #4


    Pegasus [MVP] Guest

    Re: Windows 2008 - Access dennied to c:\Users\<user name>\Local Settings\History



    "Jack Black" <gwklocker01@newsgroup> said this in news item
    news:2385dd84-3043-40e0-92bc-0ec6458ecd27@newsgroup

    > On Dec 28, 9:13 pm, "Pegasus [MVP]" <n...@newsgroup> wrote:

    >> "Jack Black" <gwklocke...@newsgroup> said this in news
    >> itemnews:60b578d9-ce73-4ab8-851b-9039ea6cfee5@newsgroup
    >>

    >> > Hi,
    >>

    >> > I am an admin in windows 2008 server. However, I am not able to
    >> > access the
    >> > c:\Users\<user name>\Local Settings\History
    >>

    >> > Anyone knows how to change the settings so I can access the folder?
    >>

    >> > Thank you,
    >>
    >> You could seize ownership of the folder.
    >
    > Hi Pegasus,
    >
    > After I took over the ownership of entire folder, it still tell me
    > "access dennied". Any guess?
    >
    > Thank you,
    I would get an independent confirmation that you're really the owner. Save
    the code below as GetOwner.vbs, then run it from a Command Prompt to see for
    yourself.

    Set oFSO = CreateObject("Scripting.FileSystemObject")
    if WScript.Arguments.count <> 1 Then Error "Usage: GetOwner ""Name of File
    or Folder"""
    sItem = WScript.Arguments(0)
    If Not oFSO.FolderExists(sItem) _
    And Not oFSO.FileExists(sItem) _
    Then Error "Error: Cannot locate the file or folder """ & sItem & """"

    if right(sItem, 1) = "\" then sItem = Left(sItem, Len(sItem) - 1)
    sItem = Replace(sItem, "\", "\\")
    sItem = "'" & Replace(sItem, "'", "\'") & "'"

    Set oWMIService = GetObject("winmgmts:")
    Set cSettings = oWMIService.ExecQuery("Select * " _
    & " From Win32_LogicalFileSecuritySetting where path = " & sItem)

    For Each oItem In cSettings
    iRet = oItem.GetSecurityDescriptor(oSD)
    If iRet = 0 Then
    WScript.echo "Owner=" & oSD.Owner.Name
    Else
    WScript.echo "Owner not found"
    End If
    Next

    Sub Error (sMsg)
    WScript.Echo sMsg
    WScript.Quit 9
    End Sub



      My System SpecsSystem Spec


Windows 2008 - Access dennied to c:\Users\<user name>\LocalSettings\History
Similar Threads
Thread Forum
Give Task Scheduler access to users (server 2008) Server General
SBS 2008 + Multi User Microsoft Access DB SBS Server
Re: SBS 2008 User account without Email for rare FTP access SBS Server
copy to c:\users\default - user shell folder autocad 2008 isssue Vista General
Cannot access Users/user/Local Settings Vista file management