Windows 10 ICACLS Reset and TAKEOWN (Also Windows 8.1) - Reset permissions

  Рет қаралды 33,657

Windows Ninja

Windows Ninja

Күн бұрын

Пікірлер: 82
@icso2
@icso2 9 жыл бұрын
You're a lifesaver. I didn't realize it but I hosed my computer a few months back when I accidently did a recursive takeown on C:\ProgramData. Everything ran fine until I tried to update a program I needed for work and killed the program without ability to uninstall/reinstall, until I did icacls reset. Saved me a full Windows reinstall. Thank you!
@cristiantovartb
@cristiantovartb 8 жыл бұрын
thank you very much from Colombia, you've saved my life
@Enterprise_RS
@Enterprise_RS 9 жыл бұрын
You're a life saver. Thanks a lot!
@swashyhimself
@swashyhimself 8 ай бұрын
I can't save files to my C drive. It says 'a required privilege is not held by the client' I've tried all the options in properties > security nothing is working. I also get the error "failed to enumerate objects in container access denied" non stop errors. Any ideas?
@Windows10NinjaWorld
@Windows10NinjaWorld 5 ай бұрын
Have you solved this - appologies for the late reply.
@joshualioi5144
@joshualioi5144 7 жыл бұрын
When doing this on a very large hdd (terabytes) is there a faster way to just give all files permission? Because at this rate, I Don't know when I'd gain access to my files again.
@WaltonMatthew
@WaltonMatthew 8 жыл бұрын
My powershell is saying it cannot find path 'C:\icacls_reset' because it does not exist. :(
@Windows10NinjaWorld
@Windows10NinjaWorld 8 жыл бұрын
There is no _ in the command
@uncledomek
@uncledomek 7 жыл бұрын
Still doesnt work
@AKROHITHgoogleplus
@AKROHITHgoogleplus 7 жыл бұрын
icacls_reset was the directory(file location ) he wanted to reset, yours should be different Mine was H:\Office\Tempfiles Navigate to the required directory (How to do that:-superuser.com/questions/610787/how-to-use-the-cd-command-in-windows-powershell-to-change-the-drive-that-i-am-wo) And the command which should be used is icacls * /setowner Everyone *(or other ones shown in the video)* If powershell is not working use command .
@quaithe7050
@quaithe7050 4 жыл бұрын
Hello, i accidentally changed my temp folder located in Local Disk (C:) > Windows > temp to the owner of the one i saw in my powershell when i entered $env:username. What is the original user of temp folder? is it trustedinstaller or systems, because i don't remember the original owner of it in the security > advanced.
@peterzijlstra316
@peterzijlstra316 6 жыл бұрын
I see mijn d\ drive but i cannot acces it. its denied even with powershell
@Windows10NinjaWorld
@Windows10NinjaWorld 6 жыл бұрын
What is the owner listed as?
@peterzijlstra316
@peterzijlstra316 6 жыл бұрын
thnx for your reaction. There is no owner. @@Windows10NinjaWorld if i select properties and then choose an owner i get the message no owner to show.. i click change onwner set it to administrator and get the message i dont have the privilage and acces dinied
@Windows10NinjaWorld
@Windows10NinjaWorld 6 жыл бұрын
Can you see a list of files and folders?
@peterzijlstra316
@peterzijlstra316 6 жыл бұрын
@@Windows10NinjaWorld no nothing but now im making a backuprt with acronis and than format..that works..thnx voor your answers :)
@Windows10NinjaWorld
@Windows10NinjaWorld 6 жыл бұрын
You might want to try this to view drive as administrator: kzbin.info/www/bejne/fHuVXoxqhblnrtU
@NSH_2814
@NSH_2814 3 жыл бұрын
Please help me I have a problem: I tried to set ownership of c drive from trustedinstaller to administrator but it ended up partially applying the settings as the error "Failed to enumerate objects in the container. Access is denied." during the process, and my laptop started to behave weirdly and run slower. How can I revert back to trustedinstaller?
@Windows10NinjaWorld
@Windows10NinjaWorld 3 жыл бұрын
Search for my video on reset permission.
@NSH_2814
@NSH_2814 3 жыл бұрын
@@Windows10NinjaWorld I followed the same instructions as in this video, both in powershell and in safe mode with cmd prompt. During the process, it shows many errors like "access denied" and "the system cannot find the path specified"
@Windows10NinjaWorld
@Windows10NinjaWorld 3 жыл бұрын
@@NSH_2814 there will be errors... It is a repair. You did from direct C: change permission. C has the the Windows and program folders and more!
@swashyhimself
@swashyhimself 8 ай бұрын
I don't have an icalcs folder. Whats that?
@gregoryderwon3133
@gregoryderwon3133 4 жыл бұрын
went sussecfully in the command , but when you go in the folder it still not fixed
@Windows10NinjaWorld
@Windows10NinjaWorld 4 жыл бұрын
What is the folder and what are you trying to achieve?
@christopherm.6094
@christopherm.6094 4 жыл бұрын
Same here. Accidentally set myself as owner of everything in C:\Windows\System32. Ran the icacls reset command & it "successfully processed 18,934 files" & failed processing 11 files (which upon inspection I found those 11 were all still set to TrustedInstaller as the owner for some reason, but don't see an issue with that). But then when I go recheck System32 & the files/folders in it, they still all show with my account as the owner instead of TrustedInstaller & others. Thoughts?
@danbromberg
@danbromberg 4 жыл бұрын
I just installed a new program (similar to Notepad) but it cannot open a simple text file due to a permission error. Notepad can open it so I assume it's not the text file in error but the program itself?! If I use iCalc will it screw up my other programs or files?
@Windows10NinjaWorld
@Windows10NinjaWorld 4 жыл бұрын
As it is the program and not actually the file itself. I would not change permissions. Contact the manufacturer of the program.
@danbromberg
@danbromberg 4 жыл бұрын
@@Windows10NinjaWorld I did contact the vendor but they are unresponsive. I did the iCalc reset exactly as your video outlined (by navigating through (admin) Powershell to the directory containing the program and its associated files). The Powershell commands successfully executed, however, nothing changed; i.e., the program starts, and even though it created the text file I want to edit, it still has no permission to do so.
@Windows10NinjaWorld
@Windows10NinjaWorld 4 жыл бұрын
@@danbromberg have you tried running the program as administrator?
@themigratingcoconut562
@themigratingcoconut562 7 жыл бұрын
Using this on a steam game .exe (Rising Storm 2). That file for some reason wont so much as let me view the owner of it, and cmd or this cannot seem to touch it despite doing what you did here. Fails to process.
@Windows10NinjaWorld
@Windows10NinjaWorld 7 жыл бұрын
Are you viewing permissions on your steam.exe or on the game's .exe? My guess Steam is the program starter .exe and under such other games run. In such there may not be individual program .exe. So, you will have difficulty to do such.
@themigratingcoconut562
@themigratingcoconut562 7 жыл бұрын
I was looking at the .exe file itself within the steam games library folder. But, I resolved the problem by uninstalling McAfee which is standard with windows 10.
@Windows10NinjaWorld
@Windows10NinjaWorld 7 жыл бұрын
Good to hear you resolved the problem! McAfee Is not part of Windows 10 but some companies issue it free with their laptops/desktops.
@themigratingcoconut562
@themigratingcoconut562 7 жыл бұрын
I got an HP Omen quite recently and do not remember installing McAfee myself.
@juandiegosilvagarcia1783
@juandiegosilvagarcia1783 7 жыл бұрын
Thanks! you saved me
@SevenDeMagnus
@SevenDeMagnus 11 ай бұрын
Thanks. Is there a 3rd-Party App that Does the DISM Independently of Windows Own DISM.exe by the way (my DISM is broken) that'll use Windows's servers to replace the corrupted files in my Drive C: or from an .iso installer of Windows 11 (same build)? God bless you.
@TechnoTempleStudios
@TechnoTempleStudios 7 жыл бұрын
I tried this in desperation on a CD/DVD drive as admin but it still returned access denied. Its a doozy of a problem because the drive will no allow any access to the drive. Virus scanners and even the burner software can still record onto media but I simply cannot access it . Also the access control editor (Properties>security tab) will return "Can't open access control editor, unable to perform a security operation on an object that has no associated security" I can access drives on dual booting to other OS or booting Win 10 in safe mode. Ive also tried removing startup and NON system items on boot but that hasn't helped. The device is definitely there and working but I just cannot access it . I've just realised I can log into that drive through CMD in admin mode even though I'm and admin user by default. Anyone with the knowledge welcome to echo back on this one.
@Windows10NinjaWorld
@Windows10NinjaWorld 7 жыл бұрын
trying to modify on a cd/dvd is different as they are considered permanent. you would need to change permissions on files/folders before writing to disk. You could copy the entire disk to a folder and then modify permissions and then write all those files to a new cd/dvd etc.
@TechnoTempleStudios
@TechnoTempleStudios 7 жыл бұрын
Windows Ninja, howdy yeah. I know, it's a similar situation but on a hardware device. In my case I have no read permission through the GUI. Something in my profile is broken. I can't find the source of the problem.
@Windows10NinjaWorld
@Windows10NinjaWorld 7 жыл бұрын
Are you saying that any openable file e.g. an image file on the cd/dvd cannot be opened on your computer by double clicking on it? What error message are you getting? Is it the same for all CD/DVDs? If yes, then you are saying access to your drive is disabled - correct? If it is another type of permission issue:Can you change the permissions on any other file on your hard disk or a usb memory stick/drive e.g. create a new Word document and try changing permissions on that? That would really indicate if "something is broken". Have you see some of our newer or other videos on permissions e.g.: kzbin.info/www/bejne/i6fWmoGfqt11hqc or kzbin.info/www/bejne/nIWqhGaaZs6Ng9k We do have a few more... If you cannot modify the permissions on your word document new file then you might consider a repair install - easy and usually resets all back to normal and keeps programs and data with a versifier to confirm such will be retained: kzbin.info/www/bejne/gGrSgZaAoZqLl6s Let me know how it goes!
@Windows10NinjaWorld
@Windows10NinjaWorld 7 жыл бұрын
Please see this video that I created to solve this issue: kzbin.info/www/bejne/fHuVXoxqhblnrtU I have just read your post again and you are saying with CMD in admin you can access the drive but using the GUI File Exlporer you are getting a long 1 line error saying access denied at the very start of trying to open the drive itself etc... Correct? OK - for this I would ask a few questions: 1. Are you the only user of the computer or is it a corporate computer - could be a group policy issue regarding access to CD/DVD drives So the issue is running File Explorer as Admin. A few options (assuming you are the sole owner of the computer) 1. Run regedit as admin. 2. FInd HKEY_CLASSES_ROOT\AppID\{CDCBCFCA-3CDC-436f-A4E2-0E02075250C2} 3. Right Click on the CDC...and click export and save as any name - this if for backup to restore. 4. Right click again, click on permissions. Using one of my videos change the Owner from trusted installer to Administrator (if you are admin you could use your name instead). Then in the middle permissions box add your username and give full permissions. 5. You should see on the right the sbukey nammed RunAs - delete that. 6. Open cmd as Admin and paste: taskkill /im explorer.exe and Enter 7. In cmd paste: explorer.exe this should now run File Explorer as Admin and you should be able to use it like you are able to in CMD to view your CD/DVD drive This should solve the problem! However this is a fix - I would suggest my repair install in my previous comment. To restore the registry just double click on the reg file you saved and run it!
@TechnoTempleStudios
@TechnoTempleStudios 7 жыл бұрын
Windows Ninja howdy again, just got wind of your replies and many thanks for your interest. 1. My PC is a single user account as an administrator. 2. As you understand correctly in that I can't log into any DVD, regardless of connection method. It'll return a message like no permissions to read access device if you double click on the object. 3. I can control permissions /ownership of stuff on other drives etc. 4. Certain software like burners or antivirus will have access to the optical drive. 5. The optical drive has no ownership but I can't take ownership as I'm denied access to change ownership Anyhow, I'll try out all those nuggets of knowledge asap! Thanks again :)
@Windows10NinjaWorld
@Windows10NinjaWorld 9 жыл бұрын
Windows 10 ICACLS Reset and TAKEOWN (Also Windows 8.1) - Reset permissions
@J2897Tutorials
@J2897Tutorials 9 жыл бұрын
+Windows Ninja This works on Windows 7 too.
@Windows10NinjaWorld
@Windows10NinjaWorld 9 жыл бұрын
Yes it does! :)
@ollehkacb
@ollehkacb 8 жыл бұрын
Windows Ninja okay okay please tell me you can help. i cant delete a file because i need administrator privilege but i am the admin. i went through this whole thing but it said it failed to change owners. should i reset it and than do this?
@SevenDeMagnus
@SevenDeMagnus 11 ай бұрын
Cool, this is a hidden gem not as popular as Chkdsk, Diskpart, SFC or DISM. What's the syntax if it's ok to ask if I want to make all of the Drive C: totally accessibly to be edited by my Windows to Go (I plan to use DISM using Windows to Go to the Drive c:) God bless the technical.
@cadenweems
@cadenweems 5 жыл бұрын
It won't let me run powershell as administrator
@haroldgar12
@haroldgar12 6 жыл бұрын
is icacls already installed on Windows 10?
@Windows10NinjaWorld
@Windows10NinjaWorld 6 жыл бұрын
yes
@valerydesaintambroise
@valerydesaintambroise Жыл бұрын
it's not clear, what am i supposed to do ?
@Windows10NinjaWorld
@Windows10NinjaWorld Жыл бұрын
What are you trying to do?
@Benja-q1x
@Benja-q1x 6 жыл бұрын
AMIGO Y PARA SITEMA DE 64 BITS?
@Windows10NinjaWorld
@Windows10NinjaWorld 6 жыл бұрын
Si!
@Benja-q1x
@Benja-q1x 6 жыл бұрын
@@Windows10NinjaWorld estoy en windows 10 y necesito reestablecer que hago?
@Windows10NinjaWorld
@Windows10NinjaWorld 6 жыл бұрын
qué el problema?
@Benja-q1x
@Benja-q1x 6 жыл бұрын
@@Windows10NinjaWorld cd : No se encuentra la ruta de acceso 'C:\icacls_reset' porque no existe. En línea: 1 Carácter: 1 + cd icacls_reset + ~~~~~~~~~~~~~~~ + CategoryInfo : ObjectNotFound: (C:\icacls_reset:String) [Set-Location], ItemNotFou ndException + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.SetLocationCommand
@Benja-q1x
@Benja-q1x 6 жыл бұрын
eso me sale amigo no me deja resetear
@rogernoir8819
@rogernoir8819 7 жыл бұрын
I can't access to c in cmd.. help ;(
@Windows10NinjaWorld
@Windows10NinjaWorld 7 жыл бұрын
When you start cmd it normally stars in C. So, what error etc are you getting? What drive does it say on the first line that you can enter commands?
@rogernoir8819
@rogernoir8819 7 жыл бұрын
Windows Ninja says X thnx for replying what can i do Windows won't start i get the error 0xc000021a the only thing i can use to fix it is cmd the other tools don't respond!..
@Windows10NinjaWorld
@Windows10NinjaWorld 7 жыл бұрын
Follow this video to restore Windows: kzbin.info/www/bejne/gGrSgZaAoZqLl6s
@Windows10NinjaWorld
@Windows10NinjaWorld 7 жыл бұрын
to go to C in cm type C: and press enter.
@rogernoir8819
@rogernoir8819 7 жыл бұрын
It says access denied
@hermanomark
@hermanomark 8 жыл бұрын
does this work on windows 7?
@Windows10NinjaWorld
@Windows10NinjaWorld 8 жыл бұрын
Icacls is in windows 7
@uta4azri
@uta4azri 3 жыл бұрын
Simply copy the file to a pen drive or descktop with permission. it will work
@imsxtirth
@imsxtirth 2 жыл бұрын
Cannot find path because it doesn't exist is showing please help
@Windows10NinjaWorld
@Windows10NinjaWorld Жыл бұрын
What path do you want?
@SarveshKumar-dx8dq
@SarveshKumar-dx8dq 3 жыл бұрын
here i try error comes? how to fix
@Windows10NinjaWorld
@Windows10NinjaWorld 3 жыл бұрын
What is the error?
@SarveshKumar-dx8dq
@SarveshKumar-dx8dq 3 жыл бұрын
@@Windows10NinjaWorld access denied
@Windows10NinjaWorld
@Windows10NinjaWorld 3 жыл бұрын
@@SarveshKumar-dx8dq which file or folder are you trying to change? Also what is the current owner is it TrustedInstaller etc?
@SarveshKumar-dx8dq
@SarveshKumar-dx8dq 3 жыл бұрын
@@Windows10NinjaWorld if you dont mind will you check my pc on desktop connection?
@Windows10NinjaWorld
@Windows10NinjaWorld 3 жыл бұрын
@@SarveshKumar-dx8dq sorry I do not do that. I would advise you contact a repair company.
Managing Windows permissions with CLI (Icacls) // Windows Fundamentals // EP 7
10:19
Installing Windows 10 on a Surface RT
15:50
Michael MJD
Рет қаралды 316 М.
BAYGUYSTAN | 1 СЕРИЯ | bayGUYS
36:55
bayGUYS
Рет қаралды 1,9 МЛН
Une nouvelle voiture pour Noël 🥹
00:28
Nicocapone
Рет қаралды 9 МЛН
Леон киллер и Оля Полякова 😹
00:42
Канал Смеха
Рет қаралды 4,7 МЛН
Everything You Need to Know About Windows Folder Permissions
11:13
Права администратора в Windows 10
6:39
icacls
13:57
Anthony Abbott
Рет қаралды 15 М.
Easily fix broken Windows files now with System File Checker
14:55
CyberCPU Tech
Рет қаралды 882 М.
Configuring NTFS permissions
17:48
David Dalton
Рет қаралды 53 М.
Command Line Basics #6 - Understanding File Permissions
7:53
The 7 Worst Operating Systems Ever
15:08
ThioJoe
Рет қаралды 1,9 МЛН
BAYGUYSTAN | 1 СЕРИЯ | bayGUYS
36:55
bayGUYS
Рет қаралды 1,9 МЛН