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

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

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 for2: TrustedInstaller - Restore as Owner Context Menu Shortcut
Thread Forum
New Context Menu - Remove & Restore Default Menu Items Tutorials
Solved Wired Shortcut's In Context Menu General Discussion
Solved Context menu shortcut add ons. Customization
Solved Context Menu (Shortcut) Bug General Discussion
Keyboard shortcut for Context Menu->New Shortcut General Discussion
Solved Context Menu Create Shortcut Customization
Changing owner back to TrustedInstaller 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 09:33 AM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33