Windows 10: Is it harmful to change ownership of a file?

Discus and support Is it harmful to change ownership of a file? in Windows 10 Support to solve the problem; Hello, I have a question regarding taking ownership of an executable that is in the WindowsApps folder in Program Files. I want to take ownership of... Discussion in 'Windows 10 Support' started by JohnnyGui, Apr 13, 2017.

  1. JohnnyGui Win User

    Is it harmful to change ownership of a file?


    Hello,

    I have a question regarding taking ownership of an executable that is in the WindowsApps folder in Program Files. I want to take ownership of it so I can make it launch at startup every time I boot up Windows. That's because for some reason, putting a shortcut of the executable in the Startup folder of Windows doesn't launch it at boot.

    The current ownership of that executable is TrustedInstaller but I want to change that to myself. I am wondering however if this would lead to any problems or errors regarding automatic processes that Windows uses for that executable. Or if it would lead to problems if I want to uninstall or reinstall the app.

    :)
     
    JohnnyGui, Apr 13, 2017
    #1

  2. forgot my pincode-2 in my nokia c7 and more serveral prblm

    you will have to contact the seller, i am not sure that Nokia Care will reset the code for you as you need proof of ownership for the device. no harm in trying though.
     
    adrianhughesNSD, Apr 13, 2017
    #2
  3. no access to a file unable to change ownership at all.

    My game installation is unable to proceed at there cannot create a file that alr exist. And it was this exact file
     
    Wen WeiLee, Apr 13, 2017
    #3
  4. tcebob Win User

    Is it harmful to change ownership of a file?

    tcebob, Apr 14, 2017
    #4
  5. lehnerus2000, Apr 14, 2017
    #5
  6. Bree New Member
    I'd agree. Try anything but taking ownership, the consequences are unpredictable.

    If you can find no other way, then as a last resort take ownership just long enough to add your user account to the permissions. Then give ownership back to TrustedInstaller straight away. The name you'll need to type in the 'Change owner' dialog is: NT SERVICE\TrustedInstaller
     
  7. When I was testing the W7 Betas, I removed "TrustedInstaller" and then I couldn't restore it.
    Installing a new copy of W7 didn't take long in those days.

    These days I wouldn't think of removing "TrustedInstaller", without creating a backup image of my OS.
     
    lehnerus2000, Apr 14, 2017
    #7
  8. Bree New Member

    Is it harmful to change ownership of a file?

    Well, I did say it was only to be tried as a last resort (if at all) *Smile

    Restoring ownership to TrustedInstaller is only possible if you use its full name. The 'NT SERVICE' bit is essential, else 'check names' says it can't be found.
     
  9. At the time, I wasn't aware of that issue.
    I only found out about that "trick" a couple of years ago. *Smile

    Even though I know the trick now, (IMO) it would still be prudent to create a backup image (just in case).
     
    lehnerus2000, Apr 15, 2017
    #9
  10. Bree New Member
    IMO too. In fact it's a prudent safeguard even if you're not planning on hacking your system. It's part of my monthly routine, make an image before each cumulative update, and keep the previous images for as long as I have space to do so (I think I still have one for 10240, I certainly have the one for the OEM Win7 this system started with).
     
  11. JohnnyGui Win User
    Thanks for the replies guys. I'm amazed taking ownership just to make it launch at startup can have bad consequences like that.


    If I give it back to TrustedInstaller again, do I still have permission to launch the app at startup?
     
    JohnnyGui, Apr 25, 2017
    #11
  12. Brink
    Brink New Member
    Brink, Apr 25, 2017
    #12
  13. JohnnyGui Win User

    Is it harmful to change ownership of a file?

    Hey Brink! *Smile Thanks a lot for the link. I take it that it also can be used for launching exes from WindowsApps folder?

    I'll be giving this a try.
     
    JohnnyGui, Apr 25, 2017
    #13
  14. Brink
    Brink New Member
    Brink, Apr 4, 2018
    #14
Thema:

Is it harmful to change ownership of a file?

Loading...
  1. Is it harmful to change ownership of a file? - Similar Threads - harmful change ownership

  2. Changing the ownership of WindowsApps folder and subfolders/files

    in Microsoft Windows 10 Store
    Changing the ownership of WindowsApps folder and subfolders/files: So I've had this issue for a long while. I can change the permission of the main WindowsApps folder, and it tells me I can change the permissions for its contents to match the same, but it just.... doesn't. I mod games, and so I want to try my hand at modding files in this...
  3. change ownership

    in Windows 10 Customization
    change ownership: I am giving a friend my old laptop how do I change the name of the computer and change the lock screen and create a new admin acct? https://answers.microsoft.com/en-us/windows/forum/all/change-ownership/3b3af5b9-868f-473e-8705-9126a83dc9d6
  4. File Ownership, and Permissions

    in Windows 10 Network and Sharing
    File Ownership, and Permissions: So, I've thoroughly messed up some files on my pc somehow, as I have what appears to be "Full Control" and "Ownership" of the files. The problem however is that even though these things seem to be true, I'm still met with a message suggesting I need permission from a...
  5. Changing ownership

    in AntiVirus, Firewalls and System Security
    Changing ownership: Does changing ownership creates problems? I'm still not able to remove grayscale of encryption in advanced security menu. Help me. https://answers.microsoft.com/en-us/windows/forum/all/changing-ownership/e4bf2f9e-2046-43cd-b02c-0a888279b521
  6. These files might be harmful to your computer

    in Windows 10 Customization
    These files might be harmful to your computer: How do I disable this notice? I have read many things .. watched YT videos .. followed the steps .. it all comes to a halt when it tells me to enter the IP address .. how do I find that for a USB memory?...
  7. File ownership

    in Windows 10 Customization
    File ownership: So i have an annoying thing on the computer that if i move a folder/file it then has a little lock and apps cant acces it. I gota right-click then file ownership and then personal. Is there a way to turn that of? Its kinda annoying. Thanks :...
  8. Does renaming a file/directory change it's ownership?

    in Windows 10 Network and Sharing
    Does renaming a file/directory change it's ownership?: I have been looking for the answer to this basic question and have been stumped. So does renaming a file/directory change a file/directories ownership? Assumption is that it one has to be the file /directory owner to rename a file/directory so it would not. Is this...
  9. How to change Ownership of a File or Folder in Windows 10

    in Windows 10 News
    How to change Ownership of a File or Folder in Windows 10: [ATTACH] [ATTACH]Many a time, you need to change ownership of a file or folder to another user. There can be many reasons to do that — transferring files to another user, an old account is removed, and all files should be [...] This post How to change Ownership of a File or...
  10. changing the ownership of a laptop

    in AntiVirus, Firewalls and System Security
    changing the ownership of a laptop: I got a laptop from my dad with his passwords and his Microsoft account, I want to change it to mine. how can I do that? and here,re the device info: Edition Windows 10 CoreSingleLanguage Version 1803 OS Build 10.0.17134.285 Serial No. CND4256F40 Processor Intel(R)...