Preventing a specific app from being uninstalled

Page 1 of 2 12 LastLast

  1. Posts : 11
    Windows 10 Home Premium, 64bit
       #1

    Preventing a specific app from being uninstalled


    Hello all,

    This is my first time posting here so thanks in advance for any help!

    I am letting a friend barrow a laptop... it is running Windows 7 Pro. This friend has a history of doing bad things to computers so I would like to safe guard it best as possible while still giving them enough control so that the computer fits their needs. My plan is to setup a standard user account for them to use regularly... that being said I would like to allow them to install new software as needed so I plan to provide them with a password to a local admin account and tell them to never log in as the local admin... but they can use the password to install software when prompted.

    With that being said I would like to install TeamViewer or some other remote desktop app so that I can log in and trouble shoot any issues they have. Multiple people (children included) may use this computer and I would like to password protect the remote desktop app so that it can NOT be uninstalled even if they have local admin rights... is this possible? Are there any remote desktop apps that have this feature built in?

    If I can't password protect a specific app, is it possible to restrict the ability to uninstall all programs but still allow a user to install new programs?

    Thanks,
    on3ofak1nd
      My Computer


  2. Posts : 4,751
    Windows 7 Home Premium 32-Bit - Build 7600 SP1
       #2

    on3ofak1nd said:
    Hello all,

    This is my first time posting here so thanks in advance for any help!

    I am letting a friend barrow a laptop... it is running Windows 7 Pro. This friend has a history of doing bad things to computers so I would like to safe guard it best as possible while still giving them enough control so that the computer fits their needs. My plan is to setup a standard user account for them to use regularly... that being said I would like to allow them to install new software as needed so I plan to provide them with a password to a local admin account and tell them to never log in as the local admin... but they can use the password to install software when prompted.

    With that being said I would like to install TeamViewer or some other remote desktop app so that I can log in and trouble shoot any issues they have. Multiple people (children included) may use this computer and I would like to password protect the remote desktop app so that it can NOT be uninstalled even if they have local admin rights... is this possible? Are there any remote desktop apps that have this feature built in?

    If I can't password protect a specific app, is it possible to restrict the ability to uninstall all programs but still allow a user to install new programs?

    Thanks,
    on3ofak1nd
    The above should tell you all you need to know. Don't lend it to him.
      My Computer


  3. Posts : 2,465
    Windows 7 Ultimate x64
       #3

    The requiriments are contradictory. Giving him administrator access lets him do literaly anything, including installing/uninstalling anything he wants, intentionally or accidentally. He also can manipulate every data file in the disk with administrator access.
    If he is not tech-saavy he can also fall victim of malware, infecting the computer and giving you back a compromised machine (and viruses do not need administrator access to do damage).
    Giving that background, I would think twice before giving him the computer

    But if you really want to lend it I would have a good backup beforehand.
    This is a good fit for an image backup. Take one just before giving the computer and immediately after receiving it back restore it no matter what. Another option would be to remove the hard disk and replace it with a secondary one, with a clean Windows install, that you would swap again after recovering the computer.
      My Computer


  4. Posts : 11
    Windows 10 Home Premium, 64bit
    Thread Starter
       #4

    bigmck said:

    The above should tell you all you need to know. Don't lend it to him.

    Not to be rude, but this is not a very constructive comment... I am aware of the risks and I am just trying to take some preventative measures to lessen the hassle of having to fix issues in the future and to keep the system running smoothly for them as long as possible.

    Thank you kindly none the less,
    on3
      My Computer


  5. Posts : 11
    Windows 10 Home Premium, 64bit
    Thread Starter
       #5

    Alejandro85 said:
    The requiriments are contradictory. Giving him administrator access lets him do literaly anything, including installing/uninstalling anything he wants, intentionally or accidentally. He also can manipulate every data file in the disk with administrator access.
    If he is not tech-saavy he can also fall victim of malware, infecting the computer and giving you back a compromised machine (and viruses do not need administrator access to do damage).
    Giving that background, I would think twice before giving him the computer

    But if you really want to lend it I would have a good backup beforehand.
    This is a good fit for an image backup. Take one just before giving the computer and immediately after receiving it back restore it no matter what. Another option would be to remove the hard disk and replace it with a secondary one, with a clean Windows install, that you would swap again after recovering the computer.
    I do agree that it seems contradictory... and perhaps providing local admin privileges is not the correct solution but I am just rolling around ideas on how to achieve the desired setup... so perhaps I should simplify my question down to the last sentence in the OP... whether it be with direct admin privileges or not...

    "Is it possible to restrict the ability to uninstall all programs but still allow a user to install new programs?"

    Is there any local GPO that can do this? I have searched but my google fu is not coming through for me.

    I do understand that with admin rights he can manipulate the file system and that viruses are still a risk with or without admin rights... however being logged into a standard account during use will help to prevent unwanted toolbars and the like from being "over looked" while installing things such as Java, Flash, etc etc... I don't expect him to go intentionally delete files however my main goal is to make sure that the RDP I choose to install can not be removed accidentally/intentionally through the control panel while still allowing them to install new software intentionally.

    I have already imaged the computer but thank you for that suggestion... none the less I'd like to take these extra steps as preventative measures so that I might avoid extra hassle in the future if possible. I understand I still may have to re-image the computer in the future regardless.

    Thanks again,
    on3
      My Computer


  6. Posts : 25,847
    Windows 10 Pro. 64/ version 1709 Windows 7 Pro/64
       #6

    I you have your heart set on loaning your computer please do so.

    I would never loan a computer but if I ever did I would not loan a computer that had anything of mine one it except the operating system and a anti virus programs.

    I like Alejandro85 idea in post #3.

    Another option would be to remove the hard disk and replace it with a secondary one, with a clean Windows install, that you would swap again after recovering the computer.
      My Computer


  7. Posts : 10,485
    W7 Pro SP1 64bit
       #7

    on3ofak1nd said:
    ...I plan to provide them with a password to a local admin account and tell them to never log in as the local admin... but they can use the password to install software when prompted....
    Hiding that account from the logon screen should help prevent them from logging onto that special admin account.

    https://social.technet.microsoft.com...indows-7-logon

    There are ways around that simple hiding method, but it should work for most users.

    Before you hide that special admin account, look at the rest of this post.


    on3ofak1nd said:
    ...I would like to password protect the remote desktop app so that it can NOT be uninstalled even if they have local admin rights... is this possible? Are there any remote desktop apps that have this feature built in?...
    While it is true that an admin can do lots of things, there are apps that require a password to uninstall. Symantec Endpoint Protection is one such app that even an admin would find it hard to uninstall without the password. TeamViewer does not happen to have that feature built in :-(

    You can use NTFS file permissions to deny all access to the TeamViewer folder for that special admin account. Then log on to that special admin account and try to uninstall TeamViewer. The uninstall will fail and then you can remove TeamViewer from the list of installed apps.

    You can set TeamViewer to not shutdown and to require a password to make settings changes.

    Yes, any admin (including that special admin account) can remove the NTFS file permissions to deny access. I doubt that most users will know to try that. Reinstalling TeamViewer or updating it should add it back to the list of installed apps.

    You can remove any mention of TeamViewer from the start menu - if desired.



    Taking a system image or swapping hard drives is a good idea too.
      My Computer


  8. Posts : 11
    Windows 10 Home Premium, 64bit
    Thread Starter
       #8

    These are some great ideas, I should have thought of a couple of them... I guess I just needed some brainstorming power!

    Thanks I will give it a try, I don't need it to be bullet proof... just some simple deterrence really so I think these suggestions will fit the bill.

    on3

    UsernameIssues said:
    on3ofak1nd said:
    ...I plan to provide them with a password to a local admin account and tell them to never log in as the local admin... but they can use the password to install software when prompted....
    Hiding that account from the logon screen should help prevent them from logging onto that special admin account.

    https://social.technet.microsoft.com...indows-7-logon

    There are ways around that simple hiding method, but it should work for most users.

    Before you hide that special admin account, look at the rest of this post.


    on3ofak1nd said:
    ...I would like to password protect the remote desktop app so that it can NOT be uninstalled even if they have local admin rights... is this possible? Are there any remote desktop apps that have this feature built in?...
    While it is true that an admin can do lots of things, there are apps that require a password to uninstall. Symantec Endpoint Protection is one such app that even an admin would find it hard to uninstall without the password. TeamViewer does not happen to have that feature built in :-(

    You can use NTFS file permissions to deny all access to the TeamViewer folder for that special admin account. Then log on to that special admin account and try to uninstall TeamViewer. The uninstall will fail and then you can remove TeamViewer from the list of installed apps.

    You can set TeamViewer to not shutdown and to require a password to make settings changes.

    Yes, any admin (including that special admin account) can remove the NTFS file permissions to deny access. I doubt that most users will know to try that. Reinstalling TeamViewer or updating it should add it back to the list of installed apps.

    You can remove any mention of TeamViewer from the start menu - if desired.



    Taking a system image or swapping hard drives is a good idea too.
      My Computer


  9. Posts : 11
    Windows 10 Home Premium, 64bit
    Thread Starter
       #9

    This laptop has a fresh windows install with some software pre-installed that my friend requested... I have taken an image of it as well. The laptop itself is a spare and not something that will be detrimental if it goes the way of the dinosaurs... none the less I'd like to preserve it for as long as possible...

    Thanks,
    on3

    Layback Bear said:
    I you have your heart set on loaning your computer please do so.

    I would never loan a computer but if I ever did I would not loan a computer that had anything of mine one it except the operating system and a anti virus programs.

    I like Alejandro85 idea in post #3.

    Another option would be to remove the hard disk and replace it with a secondary one, with a clean Windows install, that you would swap again after recovering the computer.
      My Computer


  10. Posts : 10,485
    W7 Pro SP1 64bit
       #10

    If you opt to try the NTFS changes, this is how I would do it.
    (Not every action is described - but enough to convey the concept.)

    Preventing a specific app from being uninstalled-tv1.png


    Uncheck the option highlighted below and then select Add:

    Preventing a specific app from being uninstalled-tv2.png


    I'm not sure if tis next setting is needed - but it won't hurt.

    Preventing a specific app from being uninstalled-tv3.png

    Preventing a specific app from being uninstalled-tv4.png

    Preventing a specific app from being uninstalled-tv5.png

    Preventing a specific app from being uninstalled-tv6.png

    Preventing a specific app from being uninstalled-tv7.png

    Preventing a specific app from being uninstalled-tv8.png


    Once you log onto the special admin account, you should see this error. It is safe to ignore.

    Preventing a specific app from being uninstalled-tv9.png


    After the uninstall fails, you can take advantage of the offer to remove the entry from the list of installed apps.

    Preventing a specific app from being uninstalled-tv10.png
      My Computer


 
Page 1 of 2 12 LastLast

  Related Discussions
Our Sites
Site Links
About 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 10:17.
Find Us