When trying to use the takeown command, you get the following error:
ERROR: Access is denied.
To fix the Access is denied error with takeown, run the takeown command from an elevated command prompt (Right click the command prompt and click Run as administrator).