Take Ownership Multiple files, folders, subfolders.
I'm not talking about system files and I'm not talking about the system. please understand it!
I am talking about user files such as text files, music, videos, pictures (partiton Non-System!)
I repeat, I'm not talking about any system files!
Menu Take Owner - I can only do this for one file or for multiple files, but I have to do it one by one and confirm with the Administrator permission.
I want regular use of each file:
COPY
DELETE
But for each such operation I have to confirm each action.
What should be improved in the script, I would not have to confirm for each file.
What to add in the function (Apply for each file, folder and subfolders)
Select MANY folders and I want to make the "Ownership"... But not work.
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\*\shell\runas]
@="Take Ownership"
"NoWorkingDirectory"=""
[HKEY_CLASSES_ROOT\*\shell\runas\command]
@="cmd.exe /c takeown /f "%1" && icacls "%1" /grant administrators:F"
"IsolatedCommand"="cmd.exe /c takeown /f "%1" && icacls "%1" /grant administrators:F"
[HKEY_CLASSES_ROOT\Directory\shell\runas]
@="Take Ownership"
"NoWorkingDirectory"=""
[HKEY_CLASSES_ROOT\Directory\shell\runas\command]
@="cmd.exe /c takeown /f "%1" /r /d y && icacls "%1" /grant administrators:F /t"
"IsolatedCommand"="cmd.exe /c takeown /f "%1" /r /d y && icacls "%1" /grant administrators:F /t"
I'm not talking about system files and I'm not talking about the system. please understand it!
I am talking about user files such as text files, music, videos, pictures (partiton Non-System!)
I repeat, I'm not talking about any system files!
Menu Take Owner - I can only do this for one file or for multiple files, but I have to do it one by one and confirm with the Administrator permission.
I want regular use of each file:
COPY
DELETE
But for each such operation I have to confirm each action.
What should be improved in the script, I would not have to confirm for each file.
What to add in the function (Apply for each file, folder and subfolders)
Select MANY folders and I want to make the "Ownership"... But not work.
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\*\shell\runas]
@="Take Ownership"
"NoWorkingDirectory"=""
[HKEY_CLASSES_ROOT\*\shell\runas\command]
@="cmd.exe /c takeown /f "%1" && icacls "%1" /grant administrators:F"
"IsolatedCommand"="cmd.exe /c takeown /f "%1" && icacls "%1" /grant administrators:F"
[HKEY_CLASSES_ROOT\Directory\shell\runas]
@="Take Ownership"
"NoWorkingDirectory"=""
[HKEY_CLASSES_ROOT\Directory\shell\runas\command]
@="cmd.exe /c takeown /f "%1" /r /d y && icacls "%1" /grant administrators:F /t"
"IsolatedCommand"="cmd.exe /c takeown /f "%1" /r /d y && icacls "%1" /grant administrators:F /t"