Take Ownership Of All Files: Takeown Command Example

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

Viewing 0 reply threads
  • 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.

Viewing 0 reply threads
  • You must be logged in to reply to this topic.