How to Set C: Drive with default Permission ?

Questioner 11 Reputation points
2022-07-23T13:28:21+00:00

For some reason i tried to give the full permission to users and cant restore to defaults. And also i looked up in the internet but cant set a user with that settings because users is just disappered. And is it ok to login and use administrator account ? Is it may the problem of when i tried to login as local account (internet said) windows wants me to create one ? And with a new password. So there might be no really administrator account only temporary Windows account like apple account attached with iphone ?

I mean my real problem is how can i look everything is ok ? And i like learning about PC stuff :)

Windows
Windows
A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.
5,384 questions
{count} votes

5 answers

Sort by: Most helpful
  1. Limitless Technology 44,326 Reputation points
    2022-07-29T11:58:53.533+00:00

    Hi there,

    To reset NTFS Permissions in Windows 10, do the following.

    Open an elevated command prompt.
    Run the following command to reset permissions for a file: icacls "full path to your file" /reset.
    To reset permissions for a folder: icacls "full path to the folder" /reset.
    To reset permissions for a folder, its files, and subfolders, run the command icacls "full path to the folder" /reset /t /c /l.
    Substitute the example paths with the actual values matching your system.

    Hope this resolves your Query!

    ---

    --If the reply is helpful, please Upvote and Accept it as an answer–

    10 people found this answer helpful.

  2. CalamitusXIII 10 Reputation points
    2023-11-16T18:57:51.7333333+00:00

    If you are having any issues outside of your own users folder e.g. can't run any files without admin access (some apps may need to submit log files in your C Drive but can't gain permissions) or if you can't download and save any files in your C Drive. You need to change your folder permissions and add a new instance where YOUR user account has its own permissions.

    Firstly: Go to the folder in question (in my case I selected the whole drive itself)

    • Right click the folder
    • Select Properties
    • Select Security
    • Select Edit under the Group or user names section
    • Select Add under the Group or user names section
    • Select Advanced
    • Select Find Now

    You will now see a load of Search Results, you want to find the name of your username/name (it may also highlight your email if you linked it)

    This will now add your own User as a Group.

    • Select OK twice

    You should now return to the Permissions for (folder name) and you should now see your own name as a class you can give permissions to.

    • Select Full control
    • Apply and confirm these settings

    You may still receive a lot of errors, just continue to click any Yes or OK until they no longer appear, if this persists for at least a minute, you should be fine to cancel until this window is fully closed and is no longer running.

    You settings should now be applied and you should hopefully now be able to save any files/run any files in your drive/folder without hassle!

    2 people found this answer helpful.

  3. AnthonyAshley-7255 5 Reputation points
    2023-03-16T23:53:42.9966667+00:00

    This was the cure-all I was looking for to fix what malware had done with multiple file and folder permission changes rendering the Administrators permissions to user status resulting in access denied errors. Thus was better that reinstalling Windows, Thank You

    1 person found this answer helpful.

  4. Maciej 0 Reputation points
    2023-06-08T14:13:25.4+00:00

    Changed my C drive permissions through linux "accidentally" and
    @Limitless Technology answer helped. Computer restarted during the first run and i couldnt log into my account, but running the command again from the temporary account resolved the issue and everything works now


  5. xploitmachine 0 Reputation points
    2024-10-06T07:07:42.7266667+00:00

    17

    If you're talking about a disk that doesn't contain a Windows installation, just use the "TAKEOWN" and "ICACLS" utilities:

    TAKEOWN /f "X:\" /r /d y
    ICACLS "X:\" /reset /T
    

    Then you can reset the ACLs to whatever you want.

    If it's a disk with a Windows 2000, XP, or Server 2003 operating system installed (don't know about Vista on this one) you could try re-applying the default security template:

    secedit /configure /db secedit.sdb /cfg %SystemRoot%\defltwk.inf /overwrite /verbose
    
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.