


How 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.
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):
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:
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:
Next, we import the NtObjectManager module, we enter:
Import-Module NtObjectManager
and press Enter. At this point, our preliminary preparation work is over:
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.
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
:
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!

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.

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

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 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 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

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 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 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


Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

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

Hot Article

Hot Tools

Dreamweaver Mac version
Visual web development tools

VSCode Windows 64-bit Download
A free and powerful IDE editor launched by Microsoft

SublimeText3 Mac version
God-level code editing software (SublimeText3)

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
Visual web development tools
