amdj
asked on
Stop a program from starting in terminal server
Hi, We have setup 4 servers running Citrix XenApp 7.6 to publish apps to users, we also installed TeamViewer for remote manage the server mainly used by administrators but Teamviewer also startup on every user. Is there a way to kill or stop the program from starting when user login?
Thanks
Thanks
I'm not sure that you can stop TeamViewer from starting on a per-user basis. TeamViewer writes its auto-start information to HKEY_LOCAL_MACHINE\SOFTWAR E\Wow6432N ode\TeamVi ewer\Defau ltSettings \Autostart _GUI AFAIK, so disabling this will also disable it entirely, which I am assuming you don't want.
Is there any reason you need to use TeamViewer rather than RDP for remote control? On a Citrix server I'd be keen to minimize the system footprint and removing unnecessary software would be a good way to contribute to this.
Is there any reason you need to use TeamViewer rather than RDP for remote control? On a Citrix server I'd be keen to minimize the system footprint and removing unnecessary software would be a good way to contribute to this.
ASKER
We install TV Host only so it always run when windows start, if there's a script that will kill the process after the user is logon?
You can use the taskkill.exe to kill a process by running
taskkill /IM teamviewer.exe /F
in the user process. This will only kill the process if it is running in the user session however. If it is a System process you need to kill you may need to do some form of privilege escalation.
taskkill /IM teamviewer.exe /F
in the user process. This will only kill the process if it is running in the user session however. If it is a System process you need to kill you may need to do some form of privilege escalation.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Those solutions did not work for me.
How to configure TeamViewer as a Windows system service
If you did not set up automatic start with Windows (system service) during the installation process,
you can always do it later by following these steps:
To configure TeamViewer as Windows system service, follow these steps:
1. Start TeamViewer.
2. In the main menu,click Extras | Options.
3. Select the General category.
4. Select the Start TeamViewer with Windows option. here you want to unselect this option
A window will open prompting you for a password.
5. Enter a secure password in the Password field and confirm.
6. Click the OK button.
7. Click OK in the Permanent Access Activated dialog box.
8. The computer is now configured to start automatically with Windows
https://www.teamviewer.com/en/res/pdf/TeamViewer7_Manual_RemoteControl_EN.pdf