search
HomeSystem TutorialWindows SeriesHow to obtain Trustedinstaller permissions in Win11_How to obtain Trustedinstaller permissions in Win11

To solve the problem of "obtaining Trustedinstaller permissions", PHP editor Xinyi brings you detailed guidance. This problem commonly occurs when trying to access or modify files protected by the system. In order to help you easily obtain Trustedinstaller permissions, this article will introduce several effective methods step by step to guide you to solve this problem.

First, we need to download and install the modules required for the Set-NtTokenPrivilege command. We first create a new folder named [token] in the root directory of the system C drive.

How to obtain Trustedinstaller permissions in Win11_How to obtain Trustedinstaller permissions in Win11

Next, we run Powershell as an administrator, and then enter (where C: token is the path to the folder we just created):

Save-Module - Name NtObjectManager -Path c:token

and press Enter (you will be asked when installing for the first time, enter [Y] and press Enter):

How to obtain Trustedinstaller permissions in Win11_How to obtain Trustedinstaller permissions in Win11

Wait a moment to download After completion, we enter:

Install-Module -Name NtObjectManager

and press Enter to officially install. If an untrusted repository appears, enter [A] and press Enter:

How to obtain Trustedinstaller permissions in Win11_How to obtain Trustedinstaller permissions in Win11

Wait a moment for the installation to complete. After that, we need to allow the system to allow the use of Powershell scripts. We enter:

Set-ExecutionPolicy Unrestricted

and press Enter. Then the system will display the execution policy change, we enter]A[ and press Enter to confirm:

How to obtain Trustedinstaller permissions in Win11_How to obtain Trustedinstaller permissions in Win11

Next, we import the NtObjectManager module, we enter:

Import-Module NtObjectManager

and press Enter. At this point, our preliminary preparation work is over:

How to obtain Trustedinstaller permissions in Win11_How to obtain Trustedinstaller permissions in Win11

Officially begins

Now, we begin to officially obtain Trustedinstaller permissions. Enter in Powershell:

sc.exe start TrustedInstallerSet-NtTokenPrivilege SeDebugPrivilege$p = Get-NtProcess -Name TrustedInstaller.exe$proc = New-Win32Process cmd.exe -CreationFlags NewConsole -ParentProcess $p

and press Enter.

How to obtain Trustedinstaller permissions in Win11_How to obtain Trustedinstaller permissions in Win11

Next, the system will open a command prompt, which has Trustedinstaller permissions and can directly modify system files. We can test it through:

whoami /groups /fo list

:

How to obtain Trustedinstaller permissions in Win11_How to obtain Trustedinstaller permissions in Win11

You can see that we have obtained Trustedinstaller permissions, now we can Modified system files through some commands. If you want to make the operation more convenient, you can run tasksmgr, notepad and other applications through this CMD, and edit files in the browsing window of running new tasks and opening files. Just close it after editing.

Notice! Do not use CMD to run explorer because explorer cannot be used normally under the current user. After this, if you want to regain Trustedinstaller permissions, re-execute the following command:

sc.exe start TrustedInstallerSet-NtTokenPrivilege SeDebugPrivilege$p = Get-NtProcess -Name TrustedInstaller.exe$proc = New-Win32Process cmd .exe -CreationFlags NewConsole -ParentProcess $p

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

Statement
This article is reproduced at:zol. If there is any infringement, please contact admin@php.cn delete
Windows 11 Fixed My Biggest Problem With The TaskbarWindows 11 Fixed My Biggest Problem With The TaskbarApr 25, 2025 am 01:10 AM

Windows 11 Taskbar's New "End Task" Button: A Game Changer for App Closing Closing stubborn or frozen apps on Windows has always been a hassle. The simple "Close" button often fails to completely shut down background processes.

You Should Be Buying Used MonitorsYou Should Be Buying Used MonitorsApr 25, 2025 am 01:09 AM

Computer monitors boast impressive longevity, outlasting many other PC components. Unlike components with moving parts like hard drives or fans, monitors, particularly VA and IPS types, have a simple design with no moving parts, resulting in extende

How to Disable Access to Settings in Windows How to Disable Access to Settings in Windows Apr 24, 2025 pm 08:01 PM

Restricting Access to Windows Settings: Two Proven Methods Many users don't require, and shouldn't have, access to Windows settings that could potentially harm the system. This is especially critical in shared environments or networks where unauthori

Lenovo's First 2025 ThinkPads Have AMD's Zen 5 And Intel's Arrow Lake ChipsLenovo's First 2025 ThinkPads Have AMD's Zen 5 And Intel's Arrow Lake ChipsApr 24, 2025 am 09:17 AM

Lenovo Unveils Revamped ThinkPad Lineup with Cutting-Edge Processors Lenovo has announced a major update to its iconic ThinkPad laptop series, introducing new models across the P, L, and X1 ranges. These laptops boast the latest in processor technol

Samsung's Glasses-Free 3D Gaming Monitors Are Now AvailableSamsung's Glasses-Free 3D Gaming Monitors Are Now AvailableApr 24, 2025 am 06:06 AM

Samsung's new Odyssey gaming monitors offer immersive 3D gaming experiences, along with impressive specs. The 3D functionality isn't limited to specific games; Samsung's AI can convert compatible 2D videos to 3D, breathing new life into older conten

How to Use an Old Monitor with a New PCHow to Use an Old Monitor with a New PCApr 24, 2025 am 03:02 AM

Connecting Older Monitors to Modern PCs: A Guide Outdated monitors often present connection challenges with modern PCs. This guide explains how to connect VGA and DVI monitors to your new computer. Identifying Your Monitor's Ports Older monitors typ

HyperX Alloy Rise 75 Keyboard Is 50% off for the First Time EverHyperX Alloy Rise 75 Keyboard Is 50% off for the First Time EverApr 23, 2025 pm 09:01 PM

HyperX Alloy Rise 75 Wireless Mechanical Keyboard Review: A High Cost-Performance Choice The HyperX Alloy Rise 75 Wireless Mechanical Keyboard earns a high score of 9/10 thanks to its extensive customization options, from RGB backlighting to key input. It is equipped with a linear red shaft, washer shock absorption design and three connection modes, perfectly catering to the needs of casual and competitive gamers. Amazon is now selling, with the HyperX Alloy Rise 75 priced at $84.99, a record low! This high-end mechanical keyboard, which is usually priced at $169.99, is now available for 50% off, bringing it close to entry-level keyboards, but with top-notch features. Compact 75% layout is suitable for all kinds of tables

This Tiny PC Can Fit In Your PocketThis Tiny PC Can Fit In Your PocketApr 23, 2025 pm 12:01 PM

This incredibly compact PC rivals the size of a smartphone, making it one of the smallest PCs available. Measuring just 145mm long, 62mm wide, and 20mm thick (approximately 5.7 x 2.4 x 0.8 inches), it's remarkably portable, reminiscent of the now-di

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

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

Dreamweaver Mac version

Dreamweaver Mac version

Visual web development tools

VSCode Windows 64-bit Download

VSCode Windows 64-bit Download

A free and powerful IDE editor launched by Microsoft

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

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.

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools