Here is a demo:
Quote
C:\>echo wibble > c:\wibble.txt
C:\>icacls c:\wibble.txt
c:\wibble.txt BUILTIN\Administrators:(F)
BUILTIN\Administrators:(I)(F)
NT AUTHORITY\SYSTEM:(I)(F)
BUILTIN\Users:(I)(RX)
Successfully processed 1 files; Failed processing 0 files
C:\>icacls c:\wibble.txt /setowner guest
c:\wibble.txt: Access is denied.
Successfully processed 0 files; Failed processing 1 files
C:\>icacls c:\wibble.txt /setowner guest2
No mapping between account names and security IDs was done.
Successfully processed 0 files; Failed processing 0 files
C:\>icacls c:\wibble.txt
c:\wibble.txt BUILTIN\Administrators:(F)
BUILTIN\Administrators:(I)(F)
NT AUTHORITY\SYSTEM:(I)(F)
BUILTIN\Users:(I)(RX)
Successfully processed 1 files; Failed processing 0 files
C:\>icacls c:\wibble.txt /setowner guest
c:\wibble.txt: Access is denied.
Successfully processed 0 files; Failed processing 1 files
C:\>icacls c:\wibble.txt /setowner guest2
No mapping between account names and security IDs was done.
Successfully processed 0 files; Failed processing 0 files
The second test was just to show that is recognised the account involved. I've tried several systems we've got, even in different forests and they all do the same thing. I've tried using the SID instead, and that doesn't help. I've tried using a UNC path through c$ and it that doesn't work. So I'm stuck!
Anyone got any ideas?



Help
Back to top











