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,
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,
"Jack Black" <gwklocker01@newsgroup> said this in news item
news:60b578d9-ce73-4ab8-851b-9039ea6cfee5@newsgroupYou could seize ownership of the folder.
> 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,
>
On Dec 28, 9:13*pm, "Pegasus [MVP]" <n...@newsgroup> wrote:Hi Pegasus,
> "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.
After I took over the ownership of entire folder, it still tell me
"access dennied". Any guess?
Thank you,
"Jack Black" <gwklocker01@newsgroup> said this in news item
news:2385dd84-3043-40e0-92bc-0ec6458ecd27@newsgroupI would get an independent confirmation that you're really the owner. Save
> 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,
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
| Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Give Task Scheduler access to users (server 2008) | bbsnow | Server General | 0 | 31 Mar 2010 |
| SBS 2008 + Multi User Microsoft Access DB | MSLeif | SBS Server | 5 | 19 Dec 2009 |
| Re: SBS 2008 User account without Email for rare FTP access | Ace Fekay [MCT] | SBS Server | 0 | 20 Oct 2009 |
| copy to c:\users\default - user shell folder autocad 2008 isssue | Phantom Lord | Vista General | 2 | 17 Oct 2007 |
| Cannot access Users/user/Local Settings | Neil | Vista file management | 1 | 27 May 2007 |