I am connected as a local administrator using RDP to my WIN2K16 server, and manage it using gui and powershell.
Overall I have full control over the machine, and never had permission errors using both methods. Yet, when running PS and CMD as an administrator I am unable to do some actions on files and directories used by my default IIS site.
I'm able to bypass this error with commands that support the -force
flag, for example:
Remove-Item foo
returns access is denied
, but Remove-Item foo -force
works fine. Removing the same files using the gui also works. However actions such as certutil -hashfile foo MD5
will return access is denied
, and have no gui alternative or -force
flag.
What seems to be the problem?