Is there way to become a trusted installer without taking ownership?

LoveW7

New member
Local time
2:23 PM
Messages
27
Hi!

Want to do some modifications on my win 7 VM more conveniently. All internet tutorials that I google suggest me to take ownership from trusted installer. However, is there any ways/hack/trick to become a trusted installed so I wont have to take ownership? I tried to add user to that group but I couldnt find it and when I manually entered NT SERVICES\Trustedinstaller it did not accept that.
 

My Computer My Computer

At a glance

windows 7
OS
windows 7
Trusted Installer is part of the OS itself and so not really a user or group that can be used, The only way you can make things "easier" is to unhide and use the hidden administrator (which outranks Trustedinstaller in most, if not all, places). Obviously this is not something to be done as a permanent change as it would circumvent most, if not all, of the inbuilt OS Security, but as a temporary measure and assuming you are aware of the potential issues that can be caused, (doing this on a VM suggest to me that you do), this is a valid process

Always disable the Hidden Administrator after you have finished working

I would suggest, due to the way that TrustedInstaller and the whole OS is set up, that Take ownership is Never used on the OS partition unless it is as a short term emergency measure

Also of course as long as you backup the VM safely you can ignore all my advice without any worries and if the changes or take ownership cause even terminal issues can be back up and running quickly
 

My Computers My Computers

  • At a glance

    Windows 11 Pro x64 [Latest Release and Releas...Ryzen 9 5950X, 3.8 - 5.2 MHz64GB [2 x 32GB] DDR4 3200MHz4GB NVIDIA GEFORCE GTX 1650 Ti
    Computer type
    PC/Desktop
    Computer Manufacturer/Model Number
    ChillBlast - Custom to my design
    OS
    Windows 11 Pro x64 [Latest Release and Release Preview]
    CPU
    Ryzen 9 5950X, 3.8 - 5.2 MHz
    Motherboard
    Asus Prime X570-Pro
    Memory
    64GB [2 x 32GB] DDR4 3200MHz
    Graphics Card(s)
    4GB NVIDIA GEFORCE GTX 1650 Ti
    Sound Card
    On-board SPDIF to 5.1 System + HDMI [5.1 system]
    Monitor(s) Displays
    32" UHD 32 Bit HDR Monitor + 43" UHD 4K 32Bit HDR TV
    Screen Resolution
    2 x 3840 x 2160 @60Hz
    Hard Drives
    1TB M2 SSD OS, 500GB Fast Access SSD, 2 x 8TB Data + Various Externals from 1TB to 4TB, 10TB NAS
    PSU
    NZXT C750 80 PLUS Gold 750W Modular PSU
    Case
    Workstation Case [Matt Black]
    Cooling
    NZXT Kraken X63 280mm CPU Cooler +2x Quiet Case fans
    Keyboard
    Logitech Wireless MX Keys & K400 + others
    Mouse
    Logitech Wireless MX Master 3S
    Internet Speed
    920 MB Down 50 MB Up
    Antivirus
    BitDefender Total Security Pro
    Browser
    Chrome (always run latest Non-Beta)
    Other Info
    Also run ...
    Laptop - Quad 8GB - Windows 10 Pro x64
    Nexus 7 Android tablet x2
    Samsung 10.2" tablet
    Blackview TAB 8 4G Android Tablet c/w Keyboard
    Wacom Intuos Pro Medium Pen Pad
    Wacom Intuos Pro Small Pen Pad
    Wacom Expresskeys Remote
    Loopdeck+ Graphics Controller
    Shuttle Pro v2 Control
  • At a glance

    Windows 11 Pro x64 Latest RPIntel I7 10750H 5.0GHz32GB [2x16GB] DDR4 2933 MHznVidia GTX1650Ti 4 GB GDDR6
    Computer type
    Laptop
    System Manufacturer/Model Number
    Dell XPS 17 10750H
    OS
    Windows 11 Pro x64 Latest RP
    CPU
    Intel I7 10750H 5.0GHz
    Motherboard
    Dell XPS
    Memory
    32GB [2x16GB] DDR4 2933 MHz
    Graphics Card(s)
    nVidia GTX1650Ti 4 GB GDDR6
    Sound Card
    Stock [Realtek] 4 Speaker
    Monitor(s) Displays
    17" IPS UHD+ Infinity Edge Touchscreen
    Screen Resolution
    3840 x 2400
    Hard Drives
    2TB M2 NVMe, 4TB External + various 500GB & 1TB External NVMe (also have access to spinner HDD from
    PSU
    Stock
    Case
    Stock XPS Aluminium & Carbon Fibre
    Cooling
    Stock - Active Fan Control
    Keyboard
    Backlit + Various Logitech
    Mouse
    Stock Track Pad + Logitech MX Trackball
    Internet Speed
    72 MB Down 18MB Up
    Browser
    Chrome
    Other Info
    Also run ...
    Laptop - Quad 8GB - Windows 10 Pro x64
    Nexus 7 Android tablet x2
    10.2" tablet
    Sony Z3 Android Smartphone
    Wacom Intuos Pro Medium Pen Pad
    Wacom Intuos Pro Small Pen Pad
    Wacom Expresskeys Remote
    Loopdeck+ Graphics Controller
    Shuttle Pro v2 Control Pad
    10TB NAS
TrustedInstaller is a virtual service account, a kind of user account designed to run a particular service and only that service, and nothing else. Thus, nothing all but the service named "trustedinstaller" can ever run as it, nothing else can impersonate it. So it's not possible.

Possibly your best option is to just take ownership and then restore it back. Even ownership isn't that important, but permissions certainly are. Make sure to not to leave files open to anyone and it should be fine.

Note that the linked article says it's for Windows 10, but most, if not all of it also applies to earlier versions too. In particular virtual service accounts (and hence the fake trustedinstaller user) were introduced in Windows 7.
 

My Computer My Computer

At a glance

Windows 7 Ultimate x64Intel Core i7-740QM8 GB DDR3NVIDIA GeForce 330GT
Computer type
Laptop
Computer Manufacturer/Model Number
Toshiba Sattelite A665-S6092
OS
Windows 7 Ultimate x64
CPU
Intel Core i7-740QM
Memory
8 GB DDR3
Graphics Card(s)
NVIDIA GeForce 330GT
Screen Resolution
1366x768
Hard Drives
Samsung 840 SSD 500GB
1TB USB3 external HD
Cooling
Coolermaster Notepal U3 notebook cooling pad
Internet Speed
3mbps ASDL
Antivirus
ClamWin 0.98.7
Browser
Opera 12.17 x86 (main), Firefox 38 (sec), IE11 (last resort)
Trusted Installer is part of the OS itself and so not really a user or group that can be used, The only way you can make things "easier" is to unhide and use the hidden administrator (which outranks Trustedinstaller in most, if not all, places). Obviously this is not something to be done as a permanent change as it would circumvent most, if not all, of the inbuilt OS Security, but as a temporary measure and assuming you are aware of the potential issues that can be caused, (doing this on a VM suggest to me that you do), this is a valid process

Is hidden administrator account any more powerful than just just right click an "run as administrator?"


TrustedInstaller is a virtual service account, a kind of user account designed to run a particular service and only that service, and nothing else. Thus, nothing all but the service named "trustedinstaller" can ever run as it, nothing else can impersonate it. So it's not possible.
Is it possible to get code somehow run in this? Like installers somehow get to run as it. I found this:
ExecTI - Run Programs as TrustedInstaller

But when I looked at task manager, it still ran stuff as SYSTEM and when I wanted to delete file that belonged to TI i got denied. Also after taking ownership I was not able to modify access controls. I was only able to see permissions.
 

My Computer My Computer

At a glance

windows 7
OS
windows 7
Is hidden administrator account any more powerful than just just right click an "run as administrator?"

No.
There is no difference at all between any administrator account. Individual accounts can be subject to different permissions, but as an administrator, accounts are always able to lift those, ultimately having full control of the entire system.
The only difference between the built-in administrator account and any other is that you can't delete it and, by default, UAC don't affect it. Other than a few prompts you won't see any difference.


Is it possible to get code somehow run in this? Like installers somehow get to run as it. I found this:
ExecTI - Run Programs as TrustedInstaller

But when I looked at task manager, it still ran stuff as SYSTEM and when I wanted to delete file that belonged to TI i got denied. Also after taking ownership I was not able to modify access controls. I was only able to see permissions.

It seems that software is either broken or never did what it claims, instead running as SYSTEM, which is a very different thing.
SYSTEM is more "powerful" than administrators, but "TrustedInstaller", being in fact a virtual service account, is much less powerful than admins, it's pretty much the same as a standard user with some additional permissions given in critical system areas.

Installers don't run as TrustedInstaller at all. Being a virtual service account, it can only be used to run that particular service and nothing else. And the trustedinstaller service runs as SYSTEM! Nothing in the system ever runs as TrustedInstaller, but permissions to it are assigned by other accounts with sufficient privileges, like SYSTEM or another administrators.
 

My Computer My Computer

At a glance

Windows 7 Ultimate x64Intel Core i7-740QM8 GB DDR3NVIDIA GeForce 330GT
Computer type
Laptop
Computer Manufacturer/Model Number
Toshiba Sattelite A665-S6092
OS
Windows 7 Ultimate x64
CPU
Intel Core i7-740QM
Memory
8 GB DDR3
Graphics Card(s)
NVIDIA GeForce 330GT
Screen Resolution
1366x768
Hard Drives
Samsung 840 SSD 500GB
1TB USB3 external HD
Cooling
Coolermaster Notepal U3 notebook cooling pad
Internet Speed
3mbps ASDL
Antivirus
ClamWin 0.98.7
Browser
Opera 12.17 x86 (main), Firefox 38 (sec), IE11 (last resort)
Ok. Thanks for info. It seems that with some system files I either cant (in a sense that explorer.exe doesnt allow me to) edit the permissions or I am not allowed to.

What would be good cmd command to both take ownership and reset permissions.
 

My Computer My Computer

At a glance

windows 7
OS
windows 7
Back
Top