If you want to take ownership of something via command line, you should know the command line parameters of the command
Here are all parameters:
/S system
/U domain
/P password
/F filename
/A (give ownership to admin)
/R recursive
/D prompt Y or N (yes or no)
To provide the best experiences, we use technologies like cookies to store and/or access device information. Consenting to these technologies will allow us to process data such as browsing behavior or unique IDs on this site. Not consenting or withdrawing consent, may adversely affect certain features and functions.