TrustedInstaller in Windows 11 and 10: What It Is and How to Restore It as Owner

Logeshwaran
—

TrustedInstaller is the built-in Windows account that owns and protects system files. It belongs to the Windows Modules Installer service, which installs updates and Windows features, and its name in permissions is NT SERVICE\TrustedInstaller. It is not malware and should not be removed. If you took ownership of a system file or folder and want to restore TrustedInstaller as the owner, right-click the item, choose Properties, Security, Advanced, select Change next to Owner, type NT SERVICE\TrustedInstaller, select OK, and apply. From an administrator Command Prompt, the same is icacls "C:\path" /setowner "NT SERVICE\TrustedInstaller", with /T for a whole folder. Then remove any extra permissions you granted yourself. If many system files were changed, a repair install of Windows restores everything.

Ethan wanted to replace a sound file in the Windows folder with his own startup chime. Windows said he needed permission from TrustedInstaller, so he followed an online guide that had him take ownership of the whole C:\Windows\Media folder and give himself full control. The chime worked. Two months later a Windows update failed with an access denied error, and he remembered the folder. Jake set TrustedInstaller back as the owner of that folder, removed Ethan's extra permissions, and the update installed on the next try. This page explains what TrustedInstaller is, why it owns your system files, how to restore it as owner of a file, a folder or a whole tree, how to undo wider damage, and the safer ways to do what people usually take ownership for.

⚡ Quick Answer

• What it is → the Windows account that owns system files, via the Windows Modules Installer. Explained.

• Restore owner → Security, Advanced, Owner, Change, NT SERVICE\TrustedInstaller. Steps.

• Command line → icacls with /setowner, /T for folders. icacls.

• Many files changed? → a repair install fixes everything. Repair.

Do not disable or delete TrustedInstaller; updates depend on it. Why.

What TrustedInstaller is, and why it owns your system files

Every file and folder on an NTFS drive has an owner, an account with the power to change its permissions, and a list of permissions saying which accounts may read, change or delete it. For most of Windows itself, the files in C:\Windows, much of C:\Program Files and the system parts of the registry, the owner is not you or the Administrators group but a special account called TrustedInstaller. Administrators can read and run those files, but not change or delete them.

TrustedInstaller is the identity of the Windows Modules Installer service, the program TrustedInstaller.exe in the C:\Windows\servicing folder. That service installs Windows updates, turns optional features on and off, and repairs system components. Because it owns the system files, it is the only thing allowed to replace them, which is exactly what an update needs to do. Microsoft introduced this design with Windows Vista, and it has protected every version since, including Windows 11.

The point is protection, from mistakes and from malware. Before this design, any program running as an administrator could overwrite core Windows files, and malicious software routinely did. With TrustedInstaller as owner, even an administrator program has to take an extra, deliberate step to change a system file. That extra step is the "You need permission from TrustedInstaller to make changes to this file" message people meet when they try to delete or edit something in the Windows folder.

So TrustedInstaller is not a virus, a stray user account or something to remove. It appears in Task Manager as Windows Modules Installer or TrustedInstaller.exe while updates are installing, sometimes using a lot of processor time for a while, which is normal. If you see it, Windows is servicing itself.

The design arrived alongside User Account Control, and the two work together. User Account Control makes administrators confirm before a program gets full rights; TrustedInstaller ownership means that even with full administrator rights, system files stay off limits unless someone deliberately takes ownership first. Two separate gates, each catching a different kind of mistake or attack, which is why turning off either one weakens Windows more than people expect.

Who owns what in a standard Windows installation

Knowing the normal owner of the main locations makes it easy to spot something that was changed. On a standard Windows 11 or 10 installation, the pattern looks like this.

LocationNormal ownerWhat lives there
C:\WindowsTrustedInstallerThe operating system
C:\Windows\System32TrustedInstallerCore system programs and libraries
C:\Windows\WinSxSTrustedInstallerThe component store used by updates
C:\Program Files and Program Files (x86)TrustedInstaller (the folders themselves)Installed programs; each program's own folder often has other owners
C:\Program Files\WindowsAppsProtected, with special permissionsMicrosoft Store apps
C:\ProgramDataSYSTEMShared app data for all users
C:\Users\YourNameYour account or SYSTEMYour personal files and settings

The key point is that your own files and folders belong to you, so you never need to take ownership of anything in your user folder, while Windows' own folders belong to TrustedInstaller. If you see your account name as owner of a folder inside C:\Windows, someone changed it, and that is the folder to restore.

"You need permission from TrustedInstaller": what it means

The message appears when you try to delete, rename or modify a file or folder owned by TrustedInstaller, most often something inside C:\Windows or C:\Program Files. Windows is telling you the item is part of the operating system, or of a protected app, and that your administrator account does not have permission to change it. Selecting Try Again does not help, because nothing has changed, and running File Explorer as administrator does not help either.

Before trying to get around it, ask why you want to change that file. The common reasons, and better answers, are covered in the alternatives section below: removing an app (use its uninstaller), freeing space (use Disk Cleanup or Storage Sense), changing a sound, icon or theme (use Settings), removing a leftover folder from an old program (often safe, but check), or deleting the Windows.old folder after an upgrade (use Settings, not File Explorer). In nearly every case there is a supported way that does not involve taking ownership, and it avoids problems like the failed update Ethan ran into.

If you really do need to change a protected file, the supported approach is to take ownership temporarily, make the change, and then restore TrustedInstaller as owner with the original permissions. The rest of this page shows how to do the restoring properly, which most online guides leave out.

Ownership vs permissions, in plain English

Ownership and permissions are easy to confuse, and the difference explains why restoring both matters. Think of a file as a room. Permissions are the list on the door saying who may enter, who may rearrange the furniture and who may knock walls down. The owner is the person allowed to rewrite that list. Owning a room does not, by itself, let you rearrange the furniture; it lets you give yourself permission to.

That is why take-ownership guides do two steps: first become the owner, then use that power to grant yourself Full Control. And that is why restoring needs two steps as well: give ownership back to TrustedInstaller, and remove the Full Control entry you added. Doing only the first leaves you able to change the file, so the protection is still off. Doing only the second leaves you as owner, able to grant yourself access again, and some Windows components check the owner itself, so updates may still complain. Both steps together take only a minute or two, so there is no reason to skip either.

Administrators have a special right to take ownership of any file, which is how these guides work at all. TrustedInstaller ownership does not lock administrators out forever; it makes changing system files a deliberate act, rather than something any program running as administrator can do silently.

Restore TrustedInstaller as owner of a file or folder

You need an administrator account. These steps work in Windows 11 and Windows 10.

  1. In File Explorer, right-click the file or folder and choose Properties.
  2. Open the Security tab and select Advanced.
  3. At the top, next to Owner, you will see your account or Administrators. Select Change, and approve the administrator prompt if it appears.
  4. In the box Enter the object name to select, type NT SERVICE\TrustedInstaller exactly, and select Check Names. It should become underlined as TrustedInstaller. Select OK.
  5. For a folder, check Replace owner on subcontainers and objects so every file inside also gets TrustedInstaller as owner.
  6. Select Apply and OK, then OK again to close Properties.

Typing TrustedInstaller alone and selecting Check Names often fails with "An object named TrustedInstaller cannot be found", because it is a service account, not a normal user. The NT SERVICE\ prefix is what makes it work. If Check Names still fails, check the spelling, and make sure the location shown in the dialog is your PC's name, not a network domain; select Locations and choose your computer if needed.

Owner is only half the job. If you also gave your account Full Control while you had ownership, that permission is still there, and should go too. The next section covers it.

takeown and icacls: taking ownership, and undoing it

Many guides use the takeown command to take ownership, and it helps to understand what it changed before you undo it. takeown /f "file" makes your own account the owner of one file; adding /a makes the Administrators group the owner instead; and /r /d y repeats it for a whole folder tree, answering yes to every prompt. After takeown, guides usually run icacls "file" /grant administrators:F or your user name with :F to give full control.

Undoing it is the reverse: set the owner back with icacls /setowner "NT SERVICE\TrustedInstaller", using /T if takeown used /r, and remove the full-control grant with icacls /remove for the same account the guide granted, administrators or your user name. If the guide used the Administrators group, removing that entry entirely would also remove the normal read access Administrators should have; in that case, after removing it, grant Administrators read and execute again with icacls "file" /grant administrators:RX, so the result matches the typical pattern.

If you no longer remember which commands you ran, look at the current entries with icacls "file" and compare them with an untouched file in the same folder. Differences are what to undo. This comparison is the method Jake used on Ethan's PC, and it takes only a couple of minutes per folder.

Put the permissions back the way they were

Most "take ownership" guides do two things: make you the owner, and give your account or Administrators Full Control. Restoring the owner without removing that Full Control leaves the system file writable by any program running as an administrator, which is the protection TrustedInstaller was there to provide. Remove it.

  1. Open the item's Properties, Security, Advanced again.
  2. In the Permission entries list, look for an entry for your own account name, or an Administrators entry with Full control that you added.
  3. Select that entry and choose Remove. If Remove is unavailable because the permission is inherited, it came from the parent folder; restore the parent folder instead.
  4. Check that TrustedInstaller has Full control, and that Administrators, SYSTEM and Users have Read & execute, which is the typical pattern for system files.
  5. Select Apply and OK.

The exact default permissions vary between folders: some system folders give SYSTEM Full Control, and many include entries for ALL APPLICATION PACKAGES and ALL RESTRICTED APPLICATION PACKAGES with read access, which modern apps need. If you are unsure what was there before, compare with a similar untouched file in the same folder, or with the same file on another Windows PC of the same version, and copy that pattern. That is what Jake did with Ethan's Media folder: he opened the Properties of a neighboring folder in C:\Windows that had never been touched and matched its entries.

Do the comparison side by side: open the Advanced security settings of the untouched folder in one window and of the changed folder in another, and go down the permission entries one by one. Any entry for your own account, or any entry with more access than its counterpart, is the one to remove or reduce. Check the Applies to column as well, since an entry that applies to "This folder only" behaves very differently from one that applies to "This folder, subfolders and files". Matching those columns is what makes the restored folder behave like the original.

Common mistakes when restoring ownership

A few mistakes come up again and again. The first is forgetting the subfolders: restoring the owner of a folder without checking Replace owner on subcontainers, or without /T on the command line, fixes the folder but leaves every file inside owned by you. The second is removing too much: removing all Administrators entries, including the normal read access, can stop some programs from reading files they need; Administrators should usually keep Read and execute.

The third is using /reset on system folders, which replaces carefully set explicit permissions with inherited ones and can leave a system folder too open or too closed. The fourth is working on the wrong path: double-check the path before pressing Enter, especially with /T, because a command on C:\ instead of C:\Windows\Media touches the whole drive. And the fifth is not testing: after restoring, run Windows Update and open a couple of built-in apps to confirm everything works, while you still remember what you changed.

Remove "Take ownership" from the right-click menu

Some tweak tools and downloaded registry files add a Take ownership item to the right-click menu of every file and folder. It makes taking ownership one click, which is exactly what makes it risky: one accidental click on the wrong folder changes owners across a whole tree. If your PC has that menu item and you did not add it on purpose, remove it.

The item is usually added under registry keys named runas or TakeOwnership in HKEY_CLASSES_ROOT, under the entries for all files and for directories. The tool or registry file that added it often has a matching removal file; use that if you have it. Otherwise, export the keys first as a backup, then delete only the Take ownership entries. If you are not comfortable editing HKEY_CLASSES_ROOT, leave the menu item but avoid using it, since its presence alone does no harm. Ethan's laptop had one from a tweak pack he installed years earlier; he removed it with the pack's own undo file.

Restore TrustedInstaller with icacls (command line)

For whole folders, or when the Security tab is awkward, the command line is faster and more precise. Open Command Prompt as administrator; our guide to running Command Prompt as administrator shows the quick ways. To set TrustedInstaller as owner of a single file:

icacls "C:\Windows\Media\Windows Logon.wav" /setowner "NT SERVICE\TrustedInstaller"

To do the same for a folder and everything inside it, add /T for the whole tree and /C to continue past any errors:

icacls "C:\Windows\Media" /setowner "NT SERVICE\TrustedInstaller" /T /C

To remove the Full Control permission you gave your own account, use /remove with your account name, which removes all permission entries for that account on the item and, with /T, on everything inside:

icacls "C:\Windows\Media" /remove "%USERNAME%" /T /C

And to make sure TrustedInstaller has full control again, if a guide removed it:

icacls "C:\Windows\Media" /grant "NT SERVICE\TrustedInstaller":(OI)(CI)F /T /C

The (OI)(CI)F part means full control that applies to the folder, its subfolders and files. Run icacls "C:\Windows\Media" on its own to list the current entries and check the result. Be careful with one option many guides suggest, /reset: it replaces explicit permissions with inherited ones, which is right for your own data folders but wrong for many system folders, whose permissions are deliberately explicit. Use it only on folders you know should inherit, and not on C:\Windows or its subfolders.

You can also save a folder's permissions before changing anything, which makes undoing trivial: icacls "C:\Windows\Media" /save "%USERPROFILE%\Desktop\media-acl.txt" /T. To restore them later, run icacls "C:\Windows" /restore "%USERPROFILE%\Desktop\media-acl.txt", pointing at the parent folder. If you plan to take ownership of anything in the future, save its permissions first; it is the single most useful habit in this whole topic.

Here are the icacls options used on this page, and a few more that are useful, in one place.

OptionWhat it doesUse it for
/setowner "name"Sets the ownerRestoring TrustedInstaller as owner
/TApplies to all files and subfoldersWhole folders
/CContinues after errorsLarge folders with a few locked files
/grant "name":(OI)(CI)FAdds full control, inherited by contentsGiving TrustedInstaller full control back
/remove "name"Removes all entries for an accountRemoving the Full Control you added
/save file /TSaves permissions to a text fileA backup before any change
/restore fileRestores saved permissions, run on the parent folderUndoing changes exactly
/resetReplaces explicit permissions with inherited onesYour own data folders only, not system folders
/inheritance:e, :d or :rEnables, disables or removes inheritanceAdvanced fixes; rarely needed

When many system files were changed: repair Windows

If you took ownership of a large part of Windows, such as the whole C:\Windows or System32 folder, or a tool did it for you, putting every permission back by hand is not realistic. Windows has better options, from lightest to strongest.

System File Checker and DISM repair damaged or replaced system files. In an administrator Command Prompt, run DISM /Online /Cleanup-Image /RestoreHealth, then sfc /scannow. They restore file contents and fix many problems caused by replaced files, though they do not reliably reset permissions on everything. Our guide to repairing system files with SFC and DISM covers both.

System Restore to a point before the change returns system files and settings to their earlier state. It is quick when a restore point exists from before you took ownership, which is another reason to create one before any system tinkering; our guide to creating a restore point takes a minute.

A repair install reinstalls Windows over itself while keeping your files, apps and most settings, and rebuilds every system file with correct ownership and permissions. On Windows 11, open Settings, System, Recovery, and use Fix problems using Windows Update, Reinstall now, where your version offers it. On Windows 10, or as an alternative, run the Windows installation media from within Windows, choose to keep personal files and apps, and let it complete. It takes an hour or so and is the most complete fix for widespread permission damage.

Which should you use? If you changed one folder and remember which, restore it by hand with the steps above; it takes minutes. If you changed several folders, or a tool did, run DISM and SFC first, then System Restore if a suitable point exists. If problems remain after that, or you changed C:\Windows as a whole, go straight to the repair install; it costs an hour but leaves nothing to chance, and your files, apps and most settings stay in place.

Can you disable or remove TrustedInstaller?

People ask how to disable or remove TrustedInstaller, usually after seeing the permission message or seeing TrustedInstaller.exe busy in Task Manager. You should not, and in practice you cannot remove it without breaking Windows. TrustedInstaller is how Windows installs updates, security fixes, drivers delivered through Windows Update and optional features. If the Windows Modules Installer service is disabled, updates fail, often with error codes about access or services, and features cannot be turned on or off.

The service is set to start manually by default, which means it runs only when needed and stops afterward, so it uses no resources the rest of the time. High CPU use from TrustedInstaller.exe, or from the related Windows Modules Installer Worker, during and after updates is normal and usually settles within an hour. If it runs for days, the update process is stuck; resetting Windows Update components is the fix, covered in our guide to resetting Windows Update.

There is also no "TrustedInstaller download". It is part of Windows. Any website offering to download TrustedInstaller.exe, or a tool to remove it, is at best useless and at worst malware. If TrustedInstaller.exe appears anywhere other than C:\Windows\servicing, that copy is suspicious and worth scanning with Windows Security.

TrustedInstaller in Task Manager and Services

You will meet TrustedInstaller under two names. In Services, opened with services.msc, it is Windows Modules Installer, with the service name TrustedInstaller, and its startup type is normally Manual: Windows starts it when an update or feature change needs it and lets it stop afterward. In Task Manager, you may see TrustedInstaller.exe and, more often during heavy work, Windows Modules Installer Worker, the process TiWorker.exe, which does the actual installing and cleaning up.

If a tweak tool or a guide set the service to Disabled, put it back: open its properties in Services, set Startup type to Manual, select Apply, and restart the PC. Updates that failed while it was disabled will usually install on the next check. Do not set it to Automatic; Manual is the default and works correctly. If Windows Modules Installer Worker uses a lot of processor time right after updates, let it finish, ideally with the PC plugged in and awake, since it is completing the update's cleanup and optimization.

Running programs as TrustedInstaller

Some advanced guides explain how to run a program, such as Command Prompt or Registry Editor, with TrustedInstaller's rights, using third-party tools that start a process under the TrustedInstaller account. It works, and it gives that program the power to change anything in Windows without ownership changes. That power is exactly the problem: a typo or a wrong command run as TrustedInstaller can break Windows in ways that are hard to undo, and malware would love the same access.

For home users, there is almost never a good reason. Taking ownership of one specific item, making a change, and restoring ownership with the steps above is slower but safer and fully reversible. IT professionals who need to edit protected registry keys or files for a specific task usually have better tools in their management systems. If you do use such a tool, do it on a test PC or with a fresh System Restore point and a backup, and close the elevated program as soon as you finish.

Better ways to do what people take ownership for

Most requests to take ownership of a system file have a supported alternative that does not touch TrustedInstaller at all. To remove a built-in or installed app, use Settings, Apps, Installed apps, and Uninstall; for stubborn ones, the app's own uninstaller or PowerShell for built-in Store apps. To free disk space, use Storage Sense or Disk Cleanup with Clean up system files, which safely removes old update files, previous Windows installations and temporary files, the things people otherwise try to delete by hand from C:\Windows.

To change sounds, icons, cursors or themes, use Settings, Personalization, and the Sound control panel's Sounds tab, which can point any Windows event at your own sound file stored in your own folder, so there is no need to replace files in the Windows folder at all. That was the right answer for Ethan's startup chime: his file now lives in his Music folder, and Windows plays it from there. To delete Windows.old after an upgrade, use Settings, System, Storage, Temporary files, Previous Windows installation(s), rather than File Explorer.

To remove leftover folders from uninstalled programs in Program Files, ownership is usually not the problem; the files are often in use or protected by the app's own permissions. Restart, try again, and if it is still locked, our guide to access denied even though you are the administrator covers the safe way through. For built-in Windows apps you do not want, removing them with Settings or, for the stubborn ones, with PowerShell removes them cleanly and lets Windows keep track, whereas deleting their files by hand after taking ownership leaves Windows thinking they are still installed, which causes errors at the next update. And the WindowsApps folder, where Store apps live, is protected by design; taking ownership of it is a common cause of Store apps breaking.

A safe routine if you must change a system file

Sometimes there is a genuine reason to change a protected file, such as following a vendor's instructions to replace a damaged driver file, or testing a fix on a lab machine. When that happens, a short routine keeps it safe and reversible. Create a System Restore point. Save the item's permissions with icacls /save. Take ownership of only the single file you need, not its folder and certainly not C:\Windows. Rename the original, for example by adding .old to its name, rather than deleting it, so you can switch back in seconds.

Then make the change and test it. When you are satisfied, restore TrustedInstaller as owner and restore the saved permissions, and write down what you changed and when in a text file kept with your PC notes. That last step is the one that saves the most time later, because the next problem may appear months afterward, when nobody remembers the change.

One more reason to avoid replacing system files: Windows updates often replace them again. A modified system file can be overwritten by the next monthly update, quietly undoing your change, or, worse, an update can fail because the file is not what it expects. Supported settings survive updates; replaced files do not. Ethan's original chime replacement would have disappeared at some point anyway, which is one more reason the Sounds control panel was the right answer.

Signs that ownership changes caused a problem

Changing ownership or permissions on system files usually works at first, which is why people forget about it. The problems show up later, often weeks afterward, and rarely mention ownership. The most common sign is Windows Update failing, especially with access denied errors such as 0x80070005; our guide to error 0x80070005 covers it. Others are optional features that refuse to turn on or off, Microsoft Store apps that will not open or update, System File Checker reporting files it cannot repair, and security software warning that system files have unusual permissions.

If you have any of these and remember changing ownership, restore that location first; it often fixes the problem directly, as it did for Ethan. If you do not remember, look at the owner of a few key folders, such as C:\Windows\System32, C:\Windows\WinSxS and C:\Program Files\WindowsApps, through Properties, Security, Advanced. TrustedInstaller should own the first two and the WindowsApps folder should not be owned by your account. Anything else is a clue. Checking takes a minute per folder, and writing down what you find, even on paper, makes the repair afterward much faster.

For IT: checking and resetting ownership at scale

In organizations, ownership changes on system files usually come from well-meaning troubleshooting, old software installers or scripts copied from forums. To check a PC, compare the owner and permissions of key system folders with a clean reference PC of the same build, using icacls output saved to text files and a simple file comparison. Differences point to the folders to restore. Security tools that monitor file integrity can also flag permission changes on system locations.

For PCs with widespread changes, a repair install or reimaging is usually faster and more reliable than restoring permissions folder by folder, and it guarantees a known-good state. Prevention is cheaper still: standard users without administrator rights cannot take ownership of system files, and troubleshooting guidance for helpdesk staff should include restoring ownership as a required final step whenever it is taken.

Windows 11 and Windows 10: what differs

The TrustedInstaller design, the permission message, the Security tab steps and the icacls commands are the same on Windows 11 and Windows 10, and have been since Windows Vista. The differences are around the edges. Windows 11 offers the Reinstall now repair under Settings, System, Recovery on recent versions, which makes the strongest fix much easier; on Windows 10, a repair install uses the installation media. Windows 11 also protects more of its built-in apps through the WindowsApps folder and app packages, so ownership changes there break more things than they did on early Windows 10.

Windows 10 reached end of support in October 2025, with Extended Security Updates for enrolled home PCs until October 2027. Those security updates still depend on TrustedInstaller owning the system files, so restoring ownership matters just as much on an ESU-enrolled Windows 10 PC as on Windows 11.

TrustedInstaller and the registry

TrustedInstaller also owns many registry keys, especially under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft and HKEY_CLASSES_ROOT, for the same reason: they are part of Windows. Registry Editor shows "Cannot edit" or "Error writing the value" when you try to change them. You can take ownership of a key in Registry Editor by right-clicking it, choosing Permissions, then Advanced, and changing the owner, and restore it the same way, typing NT SERVICE\TrustedInstaller as the owner.

Registry changes are riskier than file changes, because a wrong value can stop Windows starting and there is no Recycle Bin. Before editing a protected key, export it with File, Export, so you can restore it by double-clicking the .reg file, and create a restore point. Afterward, restore TrustedInstaller as owner and remove any Full Control you added, exactly as with files. Our honest guide to resetting the registry explains why there is no simple reset button for the registry and what to do instead.

Frequently asked questions

What is TrustedInstaller in Windows 11?

The built-in account of the Windows Modules Installer service, which installs updates and features. It owns most system files and registry keys to protect them from changes, even by administrators. Its full name is NT SERVICE\TrustedInstaller.

Is TrustedInstaller a virus?

No. It is part of Windows. The genuine TrustedInstaller.exe is in C:\Windows\servicing. A copy anywhere else is suspicious and should be scanned with Windows Security.

How do I restore TrustedInstaller as owner?

Open the item's Properties, Security, Advanced, select Change next to Owner, type NT SERVICE\TrustedInstaller, select Check Names and OK, check Replace owner on subcontainers for folders, and apply. Then remove any Full Control you added for yourself.

Why can't Windows find TrustedInstaller when I type it?

Because it is a service account. Type NT SERVICE\TrustedInstaller, not TrustedInstaller alone, and make sure the location is your own PC rather than a domain.

How do I set TrustedInstaller as owner with the command line?

In an administrator Command Prompt, run icacls "path" /setowner "NT SERVICE\TrustedInstaller", adding /T /C for a folder and everything in it.

How do I fix "You need permission from TrustedInstaller"?

First use the supported way to do what you want, such as uninstalling an app or using Disk Cleanup. If you must change the file, take ownership temporarily, make the change, then restore TrustedInstaller as owner and remove your extra permissions.

Can I disable TrustedInstaller?

You should not. The Windows Modules Installer service is needed for updates and features, and it already runs only when needed. Disabling it causes updates to fail.

Why is TrustedInstaller using high CPU?

It is installing or cleaning up updates, which is normal and usually settles within an hour. If it runs for days, reset Windows Update components.

Can I download TrustedInstaller.exe?

No. It is part of Windows. Websites offering it are useless or dangerous. If it is missing or damaged, repair Windows with DISM, SFC or a repair install.

How do I run a program as TrustedInstaller?

Only with third-party tools, and it is not recommended for home users, since it gives that program unrestricted power over Windows. Taking ownership of a single item temporarily is safer and reversible.

What permissions should system files have?

Typically TrustedInstaller has Full control, and Administrators, SYSTEM and Users have Read and execute, often with read entries for application packages. Compare with an untouched file in the same folder to copy the exact pattern.

Should I use icacls /reset on system folders?

No. /reset replaces explicit permissions with inherited ones, which is wrong for many system folders. Use /setowner, /remove and /grant instead, or a repair install for widespread changes.

How do I undo taking ownership of the whole Windows folder?

Run DISM and SFC, try System Restore to a point before the change, and if problems remain, do a repair install with Settings, System, Recovery, Reinstall now, or the installation media, keeping files and apps.

Can taking ownership break Windows Update?

Yes. Changed ownership or permissions on system folders is a common cause of update failures such as error 0x80070005. Restoring TrustedInstaller as owner usually fixes it.

How do I restore TrustedInstaller ownership in the registry?

In Registry Editor, right-click the key, choose Permissions, Advanced, change the owner to NT SERVICE\TrustedInstaller, and remove any Full Control you added. Export the key first as a backup.

How can I save permissions before changing them?

Run icacls "folder" /save "file.txt" /T in an administrator Command Prompt. Restore later with icacls "parent folder" /restore "file.txt".

Does TrustedInstaller own the WindowsApps folder?

The WindowsApps folder in Program Files is protected for Store apps, with its own special permissions. Taking ownership of it is a common cause of Store apps failing; leave it alone or restore it carefully.

How do I change a Windows sound without taking ownership?

Open the Sound control panel, go to the Sounds tab, select the event, and browse to your own sound file in your own folder. Windows plays it from there, with no changes to the Windows folder.

What is the difference between owner and permissions?

Permissions decide who may read, change or delete a file. The owner can change those permissions. Restoring TrustedInstaller means giving ownership back and removing any extra permissions you granted yourself.

What does takeown do?

It makes you, or the Administrators group with /a, the owner of a file or, with /r, a folder tree. Undo it with icacls /setowner "NT SERVICE\TrustedInstaller" and remove any full-control grant you added.

TrustedInstaller is the quiet guard of Windows' own files, and the permission message is it doing its job. When you do need past it, take ownership of as little as possible, save the permissions first, and put TrustedInstaller back as owner with your extra rights removed when you finish. Ethan's startup chime now plays from his Music folder, his Media folder belongs to TrustedInstaller again, and his updates install without a fight. He also keeps a saved copy of the folder's permissions, just in case.

📌 If you keep one line from this page

Restore owner with Security, Advanced, Change, NT SERVICE\TrustedInstaller, or icacls /setowner; then remove the Full Control you added.

Widespread damage? DISM, SFC, then a repair install.

Revision note. Written October 3, 2026, expanding our 2016 guide to restoring TrustedInstaller as the default owner into a complete guide for Windows 11 and 10. It covers what TrustedInstaller is, the permission message, restoring the owner in the Security tab and with icacls, putting permissions back, saving permissions first, repairing widespread changes, why not to disable it, running as TrustedInstaller, better alternatives, warning signs and the registry. May your system files stay exactly where Windows left them.

Related