vista security
Are there any directories on a vista home premium system that can not be accessed by any user account even the builtin administrator?
February 28th, 2008 3:24am
Yes, it should be the "System Volume Information" folder.
Free Windows Admin Tool Kit Click here and download it now
February 28th, 2008 4:11am
So I should be able to get to the c:\windows\system32 folder size if logged in as the builtin administrator? See the following vbscript which gets an error on the n = f.Size statement.
Int nOn Error Resume NextDim fs, f Set objShell = CreateObject("Shell.Application") Set fs = CreateObject("Scripting.FileSystemObject") Set f = fs.GetFolder("c:\windows\system32") n = f.Size If Err.Number <> 0 Then MsgBox Err.Number & ": " & Err.Description & " folder: " & f.name Err.Clear End If str = UCase(f.Name) & " uses " & n & " bytes."wscript.Echo str
February 28th, 2008 6:24pm