


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!

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

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

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

Hot Topics

Digital enthusiasts all know that Microsoft has released a preview version of Windows 1124H2, and the official version of Windows 1124H2 will be coming soon. This is a very important version update, and many friends are paying close attention to it. Of course, the most noteworthy thing about Windows 1124H2 is the new features and improvements in AI. It is said that Microsoft will deeply integrate Copliot. However, AI is not the subject of this article. The subject of this article is to introduce readers to two new security rule changes in the Windows 1124H2 version, which may affect some NAS users. Specifically, in the Windows 1124H2 version, Microsoft will make changes to two important network access rules:

Microsoft provides multiple versions of Windows systems, each targeting different usage scenarios. In addition to the Home, Professional, Education and Enterprise editions, there is also a special LTSC edition designed for the specific needs of large businesses and organizations. Although Windows 11 LTSC has become quite popular recently, it lacks commonly used functions and is not suitable for individual users. And this version has not yet been officially launched, and is expected to be released around September in the second half of 2024. Interesting thing: From Windows 1.0 to 11, the evolution of Windows versions. What is Windows 11 LTSC? Windows11LTSC is a feature of Windows11 operating system

The computer has a restore point, and when the system is restored, it prompts "You must enable system protection on this drive." This usually means that the system protection function is not turned on. System protection is a feature provided by the Windows operating system that can create system restore points to back up system files and settings. That way, if something goes wrong, you can revert to a previous state. When the system fails and you cannot enter the desktop to start it, you can only try the following method: Troubleshooting-Advanced Options-Command Prompt Command 1 netstartvssrstrui.exe/offline:C:\windows=active Command 2 cd%windir%\system32 \configrenSYSTEMsy

Digital hardware enthusiasts all know that in recent years there have been two memory parameter marking units, namely "MHz" and "MT/s", which may be confusing to digital novices. "MHz" and "MT/s" are both measures of memory transfer performance, but they still have significant differences. MHz represents how many millions of cycles a memory module can perform per second, and each cycle is an operation performed on the memory module, such as storing and retrieving data. But due to the rapid development of current technology, new technology allows DDR memory to increase data transfer rate without increasing clock speed, and the old memory measurement method has also

The guy's computer appears: Windows cannot start the WindowsAudio service (located on the local computer). Error 0x8007005: Access denied. This situation is usually caused by user permissions. You can try the following methods to fix it. Method 1: Modify the registry to add permissions through batch processing, create a new text document on the desktop, save it as .bat, and right-click the administrator to go far. Echo==========================EchoProcessingRegistryPermission.Pleasewait...Echo================== ========subinacl/subkey

When you connect any new hardware device to the system, Windows will automatically try to install the driver for it. When the system's built-in driver package cannot be recognized, it will automatically try to connect to Windows Update to search and install the driver. Windows can also automatically update device drivers through Windows Update without user interaction. Although this function seems convenient, under certain circumstances, the feature of automatically updating drivers can cause trouble for users. For example, users' video workflows such as DaVinciResolve, Adobe Premiere, etc. need to use a specific old version of Nvidia Studio driver. As a result, Windows

According to news from this site on August 14, during today’s August Patch Tuesday event day, Microsoft released cumulative updates for Windows 11 systems, including the KB5041585 update for 22H2 and 23H2, and the KB5041592 update for 21H2. After the above-mentioned equipment is installed with the August cumulative update, the version number changes attached to this site are as follows: After the installation of the 21H2 equipment, the version number increased to Build22000.314722H2. After the installation of the equipment, the version number increased to Build22621.403723H2. After the installation of the equipment, the version number increased to Build22631.4037. The main contents of the KB5041585 update for Windows 1121H2 are as follows: Improvement: Improved

Windows updates may cause some of the following problems: 1. Compatibility issues: Some applications, drivers, or hardware devices may be incompatible with new Windows updates, causing them to not work properly or crash. 2. Performance issues: Sometimes, Windows updates may cause the system to become slower or experience performance degradation. This may be due to new features or improvements requiring more resources to run. 3. System stability issues: Some users reported that after installing Windows updates, the system may experience unexpected crashes or blue screen errors. 4. Data loss: In rare cases, Windows updates may cause data loss or file corruption. This is why before making any important updates, back up your
