Take Ownership of file

How to Take Ownership of a Item in Vista and Windows 7


information   Information
This will show you how to take Ownership of a file, folder, registry key, or drive where you have been denied access to allow you to give full control of it so that you will be able to delete or modify this item. When you do this, you replace the security permissions to have access.

Note   Note
You will quickly notice that you cannot delete or modify system files, even as administrator in Vista. This is because Vista system files are owned by the TrustedInstaller service by default, and Windows File Protection will keep them from being overwritten. You will encounter a "Access Denied" error.

Tip   Tip

  • If you are trying to delete a folder, then sometimes you will need to delete the contents within the subfolders first before you will be able to delete the main folder itself.
  • The hidden My ..... folders are actually a Junction Point to the real username user folders. They cannot be modified since they are not a real location. EX: My Documents for C:\Users\(your username)\Documents
  • For more on junction points, see: jimmah.com: Why do I get an Access Denied error when trying to open a folder?
  • Sometimes you will need to move the file to the desktop or a user folder first before Vista will allow changes to be made to it. You can then move the file back afterwards.
  • You will sometimes need to take ownership of Files and folders created in another operating system when migrated into Vista.
warning   Warning
This can only be done while logged on to a administrator account. Deleting or modifying system files without knowing what you are doing may lead to eratic behavior from Vista. Even complete system failure with full data loss.


EXAMPLE: You need permission to perform this action
NOTE:
You will see this Access Denied with the Try Again type message when your user account or group does not have Ownership of the file. Clicking on the Try Again does nothing.
Need_Permission.jpg





OPTION ONE
Take Ownership of Item Using Context Menu






OPTION TWO
Take Ownership of Item in Command Prompt

EX: To Take Ownership of this System file:
C:\Windows\System32\en-US\winload.exe.mui

EX: User name to Take Ownership with: Brink
2. In the elevated command prompt, type the command below and press Enter to take ownership of the file.​
NOTE: Substitute full path of file with the full path of the file that you want to take ownership of within quotes.
takeown /f "full path of file"
For example:
takeown /f "C:\Windows\System32\en-US\winload.exe.mui"

3. A message will be displayed that this completed successfully. This will give you ownership of the file.​
4. In the same elevated command prompt, type the command below and press Enter to grant a user full control of the file.​
NOTE: Substitute full path of file with the full path of the file from step 2 within quotes , and (user name) with your user name.
icacls "full path of file" /grant (user name):F
For example:
Code:
icacls "[B][COLOR=red]C:\Windows\System32\en-US\winload.exe.mui[/COLOR][/B]" /grant [B][COLOR=red]Brink[/COLOR][/B]:F

5. A message will be displayed that this completed successfully.​
NOTE: You should be able to delete or modify the file now. If you still can't, you may need to reboot into Safe Mode and try this again. It may vary according to the file. Some are more stubborn.




OPTION THREE
To Manually Take Ownership of a Item

1. Go to the file, folder, drive, or registry key you want to delete or modify.​
NOTE: For example, the system file:
C:\Windows\System32\en-US\winload.exe.mui

2. For a File, Folder, or Drive
A) Right click on the file, folder, or drive and click on Properties.​
WARNING: Do not do this to the hard drive partition that Vista is installed on. It can mess up the boot files.​
For example, the file: winload.exe.mui

B) Go to step 4​

3. For a Registry Key
A) Click on the key in the left pane to highlight the registry key (folder).​
B) Right click on the key and click on Permissions, or click on Edit (Menu Bar) and Permissions.​

4. Click on the Security tab and on the Advanced button. (See screenshots below)​
Properties1.jpg
Registry_Advanced.jpg

5. Click on the Owner tab. (See screenshot below)​
NOTE: For a Registry key, go to step 8 after this.​
WARNING: You should make note of who the current Owner is so you can change it back to it later if you like.​
6. Click on the Edit button.​
7. If prompted by UAC, click on Continue.​
Owner.jpg

8. Under the Change owner to section, click on your user account name and click on OK. (See screenshots below​
NOTE: If you have a check box for Replace owner on subcontainers and objects, then check it if you want to take ownership of them as well. You will not see this option when taking ownership of just a file. Only with a folder.
EX. Username: Moderator (Computer Name/Username)​
Owner2.jpg
Owner2_Folder.jpg

9. Click on OK at the Security pop-up window. (See screenshot below)​
NOTE: For a Registry Key, you will not see steps 9 to 12. Go to step 13.​
Security.jpg

10. Click on OK. (See screenshot below step 7)​
11. Click on the Edit button. (See screenshot below)​
Properties2.jpg

12. If prompted, click on Continue in the UAC prompt.​
13. Click on the Add button. (See screenshot below)​
Permissions.jpg

14. To Type in Your User Account Name
NOTE: If your user account name is already listed, then do step 15 instead.​
A) Type in your user account name in the box under Enter the objects name to select. (See left screenshot below)​
NOTE: For example, Moderator. If you needed to restore TrustedInstaller as the owner, then see: How to Restore TrustedInstaller as Owner of a File in Vista
B) Click on the Check Names button.​
NOTE: If the username is found, then see right screenshot below. If it is not found, then go to step 15 below to select it.​
C) Go to step 16.​
Select_User_Groups1.jpg
Select_User_Groups2.jpg


15. To Select Your User Account name
A) Click on the Advanced button. (See left screenshot above)​
B) Click on the Find Now button. (See screenshot below)​
C) Under Search results, click on your user account name to highlight it.​
NOTE: For example, Moderator. If this is for something like a Flash USB drive, you may also want to select Everyone and give it full permission to. This way you will be able to access it from any user account.
D) Click on OK.​
Advanced_Select.jpg


16. Click on OK. (See right screenshot above step 15)​
17. Click on your user account name to highlight it. (See screenshot below)​
NOTE: For example, Moderator (Computer Name/Username)
18. Check the box for Full Control.​
NOTE: For more information on these permission choices, see: Windows Help and How-to: What are Permissions?
19. Click on OK.​
NOTE: For a Registry Key, you will not see steps 20 and 21. Go to step 22.​
Permissions2.jpg

20. Click on Yes in Windows Security pop-up. (See screenshot below)​
Confirmation.jpg

21. Click on OK. (See screenshot below step 11)​
22. Your Done. You can now delete or modify the item.​
23. If you wanted to, repeat the steps and change the Owner back to the previous owner you noted from step 5 above.​
That's it,
Shawn



 

Attachments

  • thumb____.png
    thumb____.png
    10.3 KB · Views: 539
Last edited by a moderator:
Thanks for the welcome!
The file is located on my recovery D: drive and I am attempting to move it to C:\ drive in C:\My Music Stash folder.
The full recovery file location is
D:\music\heart\(song name.mp3).

UAC is already disabled and if it helps you any, windows explorer sometimes stops responding when I am attempting to change admin privileges to music files. Also, Windows Media center that came with Vista is no longer working, and when I turned off security center and UAC a few months back, I now see desktop file folders on the desktop itself (2 to be exact, and by desktop I mean a little grey sheet of paper with a corner folded down and a little wheel attached to it with the word "desktop" on it).

Inside all of my "tee" user name folders is the desktop icon/folder and in the D:\ recovery drive there's like a recycle bin folder, a i386 folder, a boot folder, a program file folder, and a few others. They all have a little lockpad instead of the folder icon, so when I click on them they say
protected by pc angel recovery partition.
A few months back I had to reinstall a lot of software when I turned off UAC and security center and somewhere in there is when I got the desktop icons all over the place and the files in recovery D:\.
There is more background to this, but I don't want to bore you.
But if you want to know all I'll fess up. I think I goofed somewhere.
 

My Computer

TeeFran,

The problem may be the name of the folder you are trying to move the music file to. Anytime a folder is named "My ...." Vista will think it is one of it's junction point files and will not allow access to it. Another problem coulbe that the D: drive is a protected partition. It may not alllow items to be deleted or moved from it. You might try copying the file to just on the desktop as a test to see if it will copy over then.


The gray desktop icons you see on your desktop are actually "hidden protected operating system files" called desktop.ini . You can get rid of these by setting the protected operating system files to hide again. You can see how in Option Two step 5 of this tutorial.

http://www.vistax64.com/tutorials/86163-hidden-files-folders.html

Hope this helps,
Shawn
 

My Computers

System One System Two

  • Operating System
    Windows 10 Pro 64-bit
    Manufacturer/Model
    Custom
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G7 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 990 PRO M.2, 4TB Samsung 990 PRO PRO M.2, 8TB WD MyCloudEX2Ultra NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3
    Cooling
    Corsair Hydro H115i
    Mouse
    Logitech MX Master 3
    Keyboard
    Logitech wireless K800
    Internet Speed
    1 Gb/s Download and 35 Mb/s Upload
    Other Info
    Logitech Z625 speaker system, Logitech BRIO 4K Pro webcam, HP Color LaserJet Pro MFP M477fdn, APC SMART-UPS RT 1000 XL - SURT1000XLI, Galaxy S23 Plus phone
  • Operating System
    Windows 10 Pro
    Manufacturer/Model
    HP Envy Y0F94AV
    CPU
    i7-7500U @ 2.70 GHz
    Memory
    16 GB DDR4-2133
    Sound Card
    Conexant ISST Audio
    Monitor(s) Displays
    17.3" UHD IPS touch
    Screen Resolution
    3480 x 2160
    Hard Drives
    512 GB M.2 SSD
Thank you!
I'll work on that for a while and get back to you with results.
I really appreciate your help.
BTW, can I donate without a paypal account, since I do not have one?
You can email me with that info separately since it is not related to this forum.
 

My Computer

O-Kay, I followed the steps to take ownership of the music folder in the D:\ drive using cmd, which was successful this time but I still received 'need permission to perform this action' when I went back to delete the music folder.


I right-clicked on the music file, changed the ownership of it and still no go.


I right-clicked on the D:\ drive itself and took ownership of it (it went through, but then windows explorer stopped working and restarted itself, so then I restarted the pc).

On the plus side, the music folder in D:\ is now empty (no music files in the folder itself), but I cannot delete the music folder where all the songs where. I was able to make a copy of the actual music file itself (the .mp3) and paste it on the desktop and then deleted it from there. Doing that seemed to delete it from the music folder in D:\ because I went back to the folder and it was gone. Good thing I had a copy of that song saved on a flash, I just copied the song from the flash to where I wanted it to be so that problem is resolved.
Are there any other ways to delete that music file now that it is empty off of the D:\ drive? I have ownership of the folder, it's just not letting me delete the music folder (which I created btw). It gives me the 'you need permission' message whenever I try to delete it.


I can post this in another place on the forum if this is not the right spot.

Thanks in advance for input.
 

My Computer

TeeFran,

I'm glad to hear that you almost got everything the way you wanted it.

You might try renaming the folder to something different on the D: drive to see if you can delete it afterwards.

Shawn
 

My Computers

System One System Two

  • Operating System
    Windows 10 Pro 64-bit
    Manufacturer/Model
    Custom
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G7 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 990 PRO M.2, 4TB Samsung 990 PRO PRO M.2, 8TB WD MyCloudEX2Ultra NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3
    Cooling
    Corsair Hydro H115i
    Mouse
    Logitech MX Master 3
    Keyboard
    Logitech wireless K800
    Internet Speed
    1 Gb/s Download and 35 Mb/s Upload
    Other Info
    Logitech Z625 speaker system, Logitech BRIO 4K Pro webcam, HP Color LaserJet Pro MFP M477fdn, APC SMART-UPS RT 1000 XL - SURT1000XLI, Galaxy S23 Plus phone
  • Operating System
    Windows 10 Pro
    Manufacturer/Model
    HP Envy Y0F94AV
    CPU
    i7-7500U @ 2.70 GHz
    Memory
    16 GB DDR4-2133
    Sound Card
    Conexant ISST Audio
    Monitor(s) Displays
    17.3" UHD IPS touch
    Screen Resolution
    3480 x 2160
    Hard Drives
    512 GB M.2 SSD
That's a no go also.
I named it 'stuff', you need permission...
I named it 'move', you need permission...
I named it 'new name', you need permission...

Is there something else I can try?
 

My Computer

TeeFran,

Do you by chance have any subfolders in the Music folder you are trying to delete? If so, delete them first, then the main Music folder on D:/ .

Sometimes, it just will not let you delete a folder without deleting the subfolders first. Just some quirk.
 

My Computers

System One System Two

  • Operating System
    Windows 10 Pro 64-bit
    Manufacturer/Model
    Custom
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G7 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 990 PRO M.2, 4TB Samsung 990 PRO PRO M.2, 8TB WD MyCloudEX2Ultra NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3
    Cooling
    Corsair Hydro H115i
    Mouse
    Logitech MX Master 3
    Keyboard
    Logitech wireless K800
    Internet Speed
    1 Gb/s Download and 35 Mb/s Upload
    Other Info
    Logitech Z625 speaker system, Logitech BRIO 4K Pro webcam, HP Color LaserJet Pro MFP M477fdn, APC SMART-UPS RT 1000 XL - SURT1000XLI, Galaxy S23 Plus phone
  • Operating System
    Windows 10 Pro
    Manufacturer/Model
    HP Envy Y0F94AV
    CPU
    i7-7500U @ 2.70 GHz
    Memory
    16 GB DDR4-2133
    Sound Card
    Conexant ISST Audio
    Monitor(s) Displays
    17.3" UHD IPS touch
    Screen Resolution
    3480 x 2160
    Hard Drives
    512 GB M.2 SSD
OK this is crazy!!

I shut my computer off after I posted to you last to wait for your reply.
I booted up and got online to see what your suggestion might be, and after reading your post I opened windows explorer to delete any subfolders and the folder was gone!! WTH!!

After everything I went through to delete that file could it be as simple as restarting after you get 'need permission...' prompt? I promise I did nothing else since waiting for your reply but shut down the pc.

That was too weird! Anyway thanks for the info and all your help.
 

My Computer

LOL TeeFran,

My guess is that something was still using the folder and the restart left the folder unused again and allowed it.

I always said that the simplest solutions are the ones that fix themselves. ;)

Shawn
 

My Computers

System One System Two

  • Operating System
    Windows 10 Pro 64-bit
    Manufacturer/Model
    Custom
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G7 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 990 PRO M.2, 4TB Samsung 990 PRO PRO M.2, 8TB WD MyCloudEX2Ultra NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3
    Cooling
    Corsair Hydro H115i
    Mouse
    Logitech MX Master 3
    Keyboard
    Logitech wireless K800
    Internet Speed
    1 Gb/s Download and 35 Mb/s Upload
    Other Info
    Logitech Z625 speaker system, Logitech BRIO 4K Pro webcam, HP Color LaserJet Pro MFP M477fdn, APC SMART-UPS RT 1000 XL - SURT1000XLI, Galaxy S23 Plus phone
  • Operating System
    Windows 10 Pro
    Manufacturer/Model
    HP Envy Y0F94AV
    CPU
    i7-7500U @ 2.70 GHz
    Memory
    16 GB DDR4-2133
    Sound Card
    Conexant ISST Audio
    Monitor(s) Displays
    17.3" UHD IPS touch
    Screen Resolution
    3480 x 2160
    Hard Drives
    512 GB M.2 SSD
Your welcome David, and welcome to Vista Forums. :party:

Shawn
 

My Computers

System One System Two

  • Operating System
    Windows 10 Pro 64-bit
    Manufacturer/Model
    Custom
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G7 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 990 PRO M.2, 4TB Samsung 990 PRO PRO M.2, 8TB WD MyCloudEX2Ultra NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3
    Cooling
    Corsair Hydro H115i
    Mouse
    Logitech MX Master 3
    Keyboard
    Logitech wireless K800
    Internet Speed
    1 Gb/s Download and 35 Mb/s Upload
    Other Info
    Logitech Z625 speaker system, Logitech BRIO 4K Pro webcam, HP Color LaserJet Pro MFP M477fdn, APC SMART-UPS RT 1000 XL - SURT1000XLI, Galaxy S23 Plus phone
  • Operating System
    Windows 10 Pro
    Manufacturer/Model
    HP Envy Y0F94AV
    CPU
    i7-7500U @ 2.70 GHz
    Memory
    16 GB DDR4-2133
    Sound Card
    Conexant ISST Audio
    Monitor(s) Displays
    17.3" UHD IPS touch
    Screen Resolution
    3480 x 2160
    Hard Drives
    512 GB M.2 SSD
Hi and thanks for the great tips,

Before i attempt to take ownership i will explain what im about to do:
i have both vista 64 business and XP 32 installed on the same HDD (dual booting) and everything works perfectly.
Alot of the programs save their settings under document and settings/user folder which i need to access ( mainly need access from vista to xp settings ) which ofcurse need to change ownership to access. Now here is the question, if i change the ownership of that folder under vista, will i be able to access it again under xp?

ofcurse i could just copy the settings somewhere else under xp, the restart into vista and copy them to my settings folder but thats the long way!!

not sure if this wil be answered here, what about accessing vista files ( program settings ) under xp ?

thanks in advance,
Base.
 

My Computer

Waterscent,

To be safe, I would copy the files from XP while logged into XP and copy them onto the Vista desktop, and the same with files from Vista to XP. This way the permissions will not get messed up by accident. From there, you can place them were you like while in the other OS.

Hope this helps,
Shawn
 

My Computers

System One System Two

  • Operating System
    Windows 10 Pro 64-bit
    Manufacturer/Model
    Custom
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G7 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 990 PRO M.2, 4TB Samsung 990 PRO PRO M.2, 8TB WD MyCloudEX2Ultra NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3
    Cooling
    Corsair Hydro H115i
    Mouse
    Logitech MX Master 3
    Keyboard
    Logitech wireless K800
    Internet Speed
    1 Gb/s Download and 35 Mb/s Upload
    Other Info
    Logitech Z625 speaker system, Logitech BRIO 4K Pro webcam, HP Color LaserJet Pro MFP M477fdn, APC SMART-UPS RT 1000 XL - SURT1000XLI, Galaxy S23 Plus phone
  • Operating System
    Windows 10 Pro
    Manufacturer/Model
    HP Envy Y0F94AV
    CPU
    i7-7500U @ 2.70 GHz
    Memory
    16 GB DDR4-2133
    Sound Card
    Conexant ISST Audio
    Monitor(s) Displays
    17.3" UHD IPS touch
    Screen Resolution
    3480 x 2160
    Hard Drives
    512 GB M.2 SSD
Hi,
No need to take ownership ;)
When you are in Vista for example, you go in your XP/Documents and settings and in the security tab of the properties you just add a new user (you) with enough rights to achieve what you want.
It works as on one of my computers running Vista/xp, i do it this way.
 

My Computer

Thanks man, this thing rocks

Finaly I can easly tell Vista to "Shut the **** up" and change files the way I want them :D

(and sorry for the language, Vista been irking me)
do you want to deleat?
-yes

are you sure
-yes

are you really sure?
-YES I AM

do you want to copy it instead?
-NO WTF DELEAT!

do you want to send the file to the Recycle Bin?
-SURE WATEVER! DELEATE IT

the file is too big for the Recycle Bin, do you want to perminatly deleat it?
-OMFG WHY DID you ask me to put it in the bin in the first place!!!!

Do you want to deleat it perminatly?
-YEEESSSS!!!!

You need permision from administrator, continue?
-CONTINUE!

Permition denied.
-$#%^&*(&^%$#%*$(%)^ Vista I WILL END YOU!!!

(*some humor for this thread* ^-^)


Thanks man, I may just like vista.... eventualy... >.>.....
 

My Computer

LOL Seliverus. Your welcome, and welcome to Vista Forums. :party:

Shawn
 

My Computers

System One System Two

  • Operating System
    Windows 10 Pro 64-bit
    Manufacturer/Model
    Custom
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G7 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 990 PRO M.2, 4TB Samsung 990 PRO PRO M.2, 8TB WD MyCloudEX2Ultra NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3
    Cooling
    Corsair Hydro H115i
    Mouse
    Logitech MX Master 3
    Keyboard
    Logitech wireless K800
    Internet Speed
    1 Gb/s Download and 35 Mb/s Upload
    Other Info
    Logitech Z625 speaker system, Logitech BRIO 4K Pro webcam, HP Color LaserJet Pro MFP M477fdn, APC SMART-UPS RT 1000 XL - SURT1000XLI, Galaxy S23 Plus phone
  • Operating System
    Windows 10 Pro
    Manufacturer/Model
    HP Envy Y0F94AV
    CPU
    i7-7500U @ 2.70 GHz
    Memory
    16 GB DDR4-2133
    Sound Card
    Conexant ISST Audio
    Monitor(s) Displays
    17.3" UHD IPS touch
    Screen Resolution
    3480 x 2160
    Hard Drives
    512 GB M.2 SSD
Hi.

I'm to this site and I discovered it while 'googling' help to this very problem. Unfortunately, I have another problem while trying to use CMD. I don't know if I'm typing it all in right, but it says that 'takedown' is not recognised as an internal or external command, operable program or batch file. I've tried to type it correctly as far as following the example goes. Anyway, heres what I've typed in /takedown/f c:/Program Files/Kaspersky Lab/ I'm pretty damn sure that its typed wrong.

Any help with this matter would be greatly appreciated. Thanks
 

My Computer

Hi Dan, and welcome to Vista Forums.

It should be:
takeown/f c:/Program Files/Kaspersky Lab

instead of:
/takedown/f c:/Program Files/Kaspersky Lab/


You might also look at Method One for a Context menu addition that will do this automatically for you. It is a lot more convenient.

Hope this helps,
Shawn
 

My Computers

System One System Two

  • Operating System
    Windows 10 Pro 64-bit
    Manufacturer/Model
    Custom
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G7 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 990 PRO M.2, 4TB Samsung 990 PRO PRO M.2, 8TB WD MyCloudEX2Ultra NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3
    Cooling
    Corsair Hydro H115i
    Mouse
    Logitech MX Master 3
    Keyboard
    Logitech wireless K800
    Internet Speed
    1 Gb/s Download and 35 Mb/s Upload
    Other Info
    Logitech Z625 speaker system, Logitech BRIO 4K Pro webcam, HP Color LaserJet Pro MFP M477fdn, APC SMART-UPS RT 1000 XL - SURT1000XLI, Galaxy S23 Plus phone
  • Operating System
    Windows 10 Pro
    Manufacturer/Model
    HP Envy Y0F94AV
    CPU
    i7-7500U @ 2.70 GHz
    Memory
    16 GB DDR4-2133
    Sound Card
    Conexant ISST Audio
    Monitor(s) Displays
    17.3" UHD IPS touch
    Screen Resolution
    3480 x 2160
    Hard Drives
    512 GB M.2 SSD
Still not working! Same problem if you do not put a / in front of takedown. Anyway, I got "the system cannot find the path specified" "The filename, Directory name, or volume label syntax is incorrect" I might do the step you reccomended, I still must be doing something wrong.

What is the difference between add or take ownership?

Ok...downloaded take ownership. Right clicked on the Kaspersky Folder and clicked take ownership. CMD did its thing, went to delete it, and the same problem :O
 
Last edited:

My Computer

Back
Top