Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: TrustedInstaller - Restore as Owner Context Menu Shortcut

29 Oct 2011   #1
SmithUnwesson

Windows 7 Ultimate 64bit
 
 
TrustedInstaller - Restore as Owner Context Menu Shortcut

Hello 7,

I have been using the "Take Ownership" context menu shortcut for quite a while now and I absolutely love it. It saves immense amounts of time when editing system files. My question is:

Would it be possible to create a context menu item that does the following:

- Set file permissions to:
Name:  Untitled.png
Views: 29
Size:  7.0 KB

- Sets ownership to TrustedInstaller

Any help would be very appreciated!

Thanks,
Tim

UPDATE:
A batch file that does the same thing would be perfect also. I have successfully created my own context menu items that point to batch files saved elsewhere on my system. THANKS!




My System SpecsSystem Spec
06 Nov 2011   #2
Neutron16

Windows 8.1 ; Windows 7 x86 (Dec2008-Jan2013)
 
 

Something like this should do.
Code:
icacls "%1" /setowner "NT Service\TrustedInstaller" /T /C
My System SpecsSystem Spec
Reply

 TrustedInstaller - Restore as Owner Context Menu Shortcut




Thread Tools





Similar help and support threads
Thread Forum
New Context Menu - Remove & Restore Default Menu Items
How to Remove and Restore the Default "New" Context Menu Items in Windows 7 and Windows 8 This will show you how to either remove or restore the default New context menu items in Windows 7 and Windows 8. These include the NEW - Folder, Shortcut, Bitmap image, Contact, Journal Document, Rich...
Tutorials
Wired Shortcut's In Context Menu
hello , iam new member in this awesome win7 forum :D i have a small problem that i don't how to deal with it ,, http://img507.imageshack.us/img507/5908/uwyy.jpg u see there is those wired shutdown and sleep shortcut the problem is i can't get rid of them ?? so cna any one help ? and thx
General Discussion
Context menu shortcut add ons.
Add Device Manager, Control Panel, Add Remove Programs Options in Desktop Context Menu in Vista and Windows 7 In Windows vista and 7, you can add your desired application shortcuts in Desktop context menu (the menu which appears when you right-click). To add these useful shortcuts, just...
Customization
Context Menu (Shortcut) Bug
I downloaded a older version (not realizing it) of Start Orb Changer by Kishan Bagaria and I set the Shortcut in the context menu to on. Later I realized it was an older version so I scraped it and went and downloaded the latest version. Still have the old version context menu shortcut in my...
General Discussion
Context Menu Create Shortcut
I have ran out of places to look. I have revamped my right click context menu to the way I need it but have one issue I cannot find registry solution for. I need "create shortcut" removed from the context menu. Cannot find anything in the registry for this. Any ideas?
Customization
Changing owner back to TrustedInstaller
I recently took ownership of the explorer.exe file so that I could modify my Windows 7 start orb. Everything went well and my new orb looks great. I am now trying to give ownership back to TrustedInstaller using NT SERVICE\TrustedInstaller. It appears that ownership does in fact change to...
General Discussion

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 15:35.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App