Windows 2008 system folder permissions

permissionswindows-server-2008

I'm trying to read the DHCP server logs in C:\Windows\System32\dhcp.

Initially, I tried to read them with nxlog, but nxlog complained that the files don't exist. Then I opened up a Python IDLE shell (as administrator) and tried listing the contents of C:\Windows\System32\dhcp (python command: os.listdir('C:\Windows\System32\dhcp')), and it says that "The system cannot find the path specified".

I'm guessing its a permissions issue, but I'm not familiar enough with Windows permissions to figure it out. The python script can list the contents of C:\Windows\System32, so I assume the permissions are ok up to that point. Right-clicking the 'dhcp' folder I see that all "Group or user names" listed have at least "Read & Execute" permissions on the folder, so I don't know what else to change.

Thanks

Best Answer

First of course, make sure those files are inside the folder. You also should check the permissions on the files directly. The permissions don't necessarily apply identically to child objects.