Skip to content

Commit 02db273

Browse files
Merge pull request #7641 from MicrosoftDocs/main
Auto Publish – main to live - 2025-11-04 18:30 UTC
2 parents d898a0a + 61a56a8 commit 02db273

File tree

1 file changed

+2
-2
lines changed
  • WindowsServerDocs/administration/windows-commands

1 file changed

+2
-2
lines changed

WindowsServerDocs/administration/windows-commands/takeown.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Reference article for the takeown command, which enables an adminis
44
ms.topic: reference
55
ms.author: daknappe
66
author: dknappettmsft
7-
ms.date: 10/16/2017
7+
ms.date: 11/04/2025
88
---
99

1010
# takeown
@@ -27,7 +27,7 @@ takeown [/s <computer> [/u [<domain>\]<username> [/p [<password>]]]] /f <filenam
2727
| /f `<filename>` | Specifies the file name or directory name pattern. You can use the wildcard character `*` when specifying the pattern. You can also use the syntax `<sharename>\<filename>`. |
2828
| /a | Gives ownership to the Administrators group instead of the current user. If you don't specify this option, file ownership is given to the user who is currently logged on to the computer. |
2929
| /r | Performs a recursive operation on all files in the specified directory and subdirectories. |
30-
| /d `{Y | N}` | Suppresses the confirmation prompt that is displayed when the current user does not have the **List Folder** permission on a specified directory, and instead uses the specified default value. Valid values for the **/d** option are:<ul><li>**Y** - Take ownership of the directory.</li><li>**N** - Skip the directory.<p>**NOTE**<br>You must use this option in conjunction with the **/r** option.</li></ul> |
30+
| /d `{Y | N}` | Suppresses the confirmation prompt that is displayed when the current user does not have the **List Folder** and **Read** permissions on a specified directory, and instead uses the specified default value. Valid values for the **/d** option are:<ul><li>**Y** - Take ownership of the directory. The directory permissions are replaced with permission granting the user full control only.</li><li>**N** - Skip the directory.<p>**NOTE**<br>You must use this option in conjunction with the **/r** option.</li></ul> |
3131
| /? | Displays help at the command prompt. |
3232

3333
## Remarks

0 commit comments

Comments
 (0)