0

I'm having occasional problems with NTFS permissions on a Windows 10 PC, especially when installing programs.

I guess it started when I created a new user for myself some time ago and deleted my old user, after a certain program failed to install, also because of a permissions problem.

Since then, I have occasionally tried and manually changed permissions here and there in case of access problems. In the meantime I have learned that one should not do this (unless you know exactly what you are doing).

Now I'm looking for a way to reset all permissions on the entire system partition to factory defaults.

As I have learned, this seems to be possible with the command

Secedit /configure /db Secedit.sdb /cfg C:\windows\inf\defltwk.inf /overwrite

However, before I unleash that command onto my system drive: could doing this possibly also go terribly wrong, or should I expect any severe side effects, respectively?

3
  • 2
    Looking at the security template file in question, it absolutely WILL NOT fix your NTFS permissions issues. The template file is for Windows Vista and likely hasn't been updated since 2007. It sets registry keys, log settings, privileges to default accounts, configures services. However, at no point, does it set the default NTFS permissions on any of the system files Windows uses.
    – Ramhound
    Commented Oct 14, 2021 at 18:48
  • Back up and be prepared to reinstall the OS, there is no safe way to do what you want.
    – Moab
    Commented Oct 18, 2021 at 13:20
  • Yeah, I'll probably go with an In-place Upgrade
    – David.P
    Commented Oct 18, 2021 at 13:34

1 Answer 1

3

You should expect severe side effects from any global manipulation of permissions on the system disk.

As precaution, I suggest to take an image backup of the entire system disk using a product such as AOMEI Backupper Freeware, make its bootable media, and test booting it to see that it can see both the hard disk and the backup image, just in case you will want to restore the last working version of Windows.

From studying the contents of defltwk.inf I got the impression that it only resets some permissions, but not everything.

I suggest using the third-party product Tweaking.com - Windows Repair Free/Pro, free for personal use.

enter image description here

If everything fails, Do a Repair Install of Windows 10 with an In-place Upgrade. This is exactly the same process as doing a major upgrade of the Windows version, even if it will upgrade the current version to itself.

1
  • Yeah, I'll probably go with the In-place Upgrade. Thanks
    – David.P
    Commented Oct 14, 2021 at 21:54

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .