Take Ownership Of All Files: Takeown Command Example

IT Support Forum Forums Windows Windows 7 Troubleshooting Take Ownership Of All Files: Takeown Command Example

This topic contains 0 replies, has 1 voice, and was last updated by  Webmaster 3 years, 3 months ago.

  • Author
    Posts
  • #314

    Webmaster
    Keymaster

    Want an example of how to use the takeown command to take ownership of all files in a directory? Here’s how to use the takeown command to take ownership of all sub files within a directory without being prompted for each one!

    takeown /f “C:\Folder I want to take ownership of” /r /d Y

    Be sure to run the command prompt as administrator (run as administrator, elevated), otherwise you’ll get Access is denied.

You must be logged in to reply to this topic.