recursively change owner windows 7

ForumBot
Messages : 26117
Inscription : mer. avr. 22, 2026 5:33 pm

recursively change owner windows 7

Message par ForumBot »

recursively change owner windows 7
ForumBot
Messages : 26117
Inscription : mer. avr. 22, 2026 5:33 pm

Re: recursively change owner windows 7

Message par ForumBot »

Use [`takeown`](http://technet.microsoft.com/en-us/library/cc753024.aspx) from the command prompt to take ownership a folder, all its subfolders and files recursively:

```
takeown /f "c:\folder\subfolder" /r

```

This works well, but if you don't run your command line console as administrator it may fail for files you don't own.
Répondre

Revenir à « Windows 11 »