search
HomeComputer TutorialsTroubleshootingHow to obtain trustedinstaller permissions in Win10

When a friend was cleaning files on a Win10 computer, he found that some files could not be deleted, and it was prompted that permissions provided by trustedinstaller were needed to make changes to the files. So how does Win10 obtain trustedinstaller permissions? For this reason, the editor will give you a detailed introduction to the tutorial on how to obtain trustedinstaller permissions in Win10. If you are interested, come and take a look.

How to obtain trustedinstaller permissions in Win10

How to obtain trustedinstaller permissions in Win10:

1. Right-click a blank space on the desktop, select "New" a "text document", and name it "trustedinstaller.txt".

How to obtain trustedinstaller permissions in Win10

How to obtain trustedinstaller permissions in Win10

2. After double-clicking to open, copy and paste the following code into Notepad.

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT*shellrunas]

@=Get TrustedInstaller permissions

[HKEY_CLASSES_ROOT*shellrunascommand]

@=cmd.exe /c takeown /f %1 icacls %1 /grant administrators:F

IsolatedCommand=cmd.exe /c takeown /f %1 icacls %1 /grant administrators:F

[HKEY_CLASSES_ROOTDirectoryshellrunas]

@=Get TrustedInstaller permission

NoWorkingDirectory=

[HKEY_CLASSES_ROOTDirectoryshellrunascommand]

@=cmd.exe /c takeown /f %1 / r /d y icacls %1 /grant administrators:F /t

IsolatedCommand=cmd.exe /c takeown /f %1 /r /d y icacls %1 /grant administrators:F /t

How to obtain trustedinstaller permissions in Win10

3. After saving "Ctrl S", change its suffix extension to "reg".

How to obtain trustedinstaller permissions in Win10

4. Click "Yes" in the pop-up prompt window.

How to obtain trustedinstaller permissions in Win10

5. Finally, double-click "trustedinstaller.reg", and a prompt window will pop up indicating that it has been successfully added to the registry.

How to obtain trustedinstaller permissions in Win10

The above is the detailed content of How to obtain trustedinstaller permissions in Win10. For more information, please follow other related articles on the PHP Chinese website!

Statement
This article is reproduced at:大番薯. If there is any infringement, please contact admin@php.cn delete
RuneScape: Dragonwilds Fatal Error? Try Those Five Ways!RuneScape: Dragonwilds Fatal Error? Try Those Five Ways!Apr 18, 2025 pm 08:06 PM

Encountering a fatal error in RuneScape: Dragonwilds? Many players experience this frustrating issue. This guide offers five potential solutions to get you back in the game! Troubleshooting RuneScape: Dragonwilds Fatal Errors RuneScape: Dragonwilds,

Secure Your PC While Malware Found in Schedule 1 ModsSecure Your PC While Malware Found in Schedule 1 ModsApr 18, 2025 pm 08:04 PM

The popular 2025 game, Schedule 1, recently faced a malware scare. Two popular mods, Froggyp’s Increased Stack Size Limit and Backpack Mod Reupload, were discovered to contain Trojan viruses. The Schedule 1 subreddit issued a warning and the mods w

How to fix Microsoft Office error 2147483661 (Error tag 7Q6ca) in Windows?How to fix Microsoft Office error 2147483661 (Error tag 7Q6ca) in Windows?Apr 18, 2025 pm 08:00 PM

Microsoft Office remains to be among the most fundamental packages of software both for home and business use. From writing reports in Word, editing spreadsheet

RuneScape Dragonwilds Black Screen on PC: Resolve It Here!RuneScape Dragonwilds Black Screen on PC: Resolve It Here!Apr 18, 2025 pm 06:01 PM

RuneScape: Dragonwilds Black Screen Problem Solving Guide Many players encounter black screen problems when starting RuneScape: Dragonwilds, which causes the game to not run normally. Don't worry, this guide offers a variety of solutions to help you get back to the Dragon's Wilderness! RuneScape on PC: Dragonwilds black screen problem RuneScape: Dragonwilds is an open-world multiplayer online game spin-off that supports up to four-player teams, challenging dangerous environments full of dangerous creatures (especially dragons). Like other games, RuneScape: Dragonwilds has some malfunctions, such as black screen questions

How to fix Windows update error 0x80d02004?How to fix Windows update error 0x80d02004?Apr 18, 2025 pm 06:00 PM

Windows updates are designed to bring enhancements, new features, and critical security fixes to the system. Updates are regularly issued by Microsoft and are m

How to fix NVIDIA DSR is broken after Windows 11 24H2 update?How to fix NVIDIA DSR is broken after Windows 11 24H2 update?Apr 17, 2025 pm 10:00 PM

NVIDIAs Dynamic Super Resolution (DSR) is a sophisticated feature that runs games at higher resolutions and then scales them down to your monitors native resolu

Steps to Remove Trojan:Win32/Etset!rfn, Watch the Pro GuideSteps to Remove Trojan:Win32/Etset!rfn, Watch the Pro GuideApr 17, 2025 pm 08:10 PM

This guide explains how to remove the Trojan:Win32/Etset!rfn virus and protect your computer from future threats. Windows Security's warning about Trojan:Win32/Etset!rfn indicates a Trojan horse infection. This malware often disguises itself as legi

Solve RESULT_CODE_MISSING_DATA Error in Chrome or EdgeSolve RESULT_CODE_MISSING_DATA Error in Chrome or EdgeApr 17, 2025 pm 08:05 PM

This MiniTool guide explains how to resolve the RESULT_CODE_MISSING_DATA error in Chrome or Edge browsers. This error prevents websites from loading due to missing or inaccessible data. The likely causes are corrupted browser data, outdated browser

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Tools

SecLists

SecLists

SecLists is the ultimate security tester's companion. It is a collection of various types of lists that are frequently used during security assessments, all in one place. SecLists helps make security testing more efficient and productive by conveniently providing all the lists a security tester might need. List types include usernames, passwords, URLs, fuzzing payloads, sensitive data patterns, web shells, and more. The tester can simply pull this repository onto a new test machine and he will have access to every type of list he needs.

WebStorm Mac version

WebStorm Mac version

Useful JavaScript development tools

ZendStudio 13.5.1 Mac

ZendStudio 13.5.1 Mac

Powerful PHP integrated development environment

Safe Exam Browser

Safe Exam Browser

Safe Exam Browser is a secure browser environment for taking online exams securely. This software turns any computer into a secure workstation. It controls access to any utility and prevents students from using unauthorized resources.

MinGW - Minimalist GNU for Windows

MinGW - Minimalist GNU for Windows

This project is in the process of being migrated to osdn.net/projects/mingw, you can continue to follow us there. MinGW: A native Windows port of the GNU Compiler Collection (GCC), freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. All MinGW software can run on 64-bit Windows platforms.