Avatar of amdj
amdjFlag for United States of America

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
Windows Server 2012CitrixSoftware

Avatar of undefined
Last Comment
amdj
Avatar of David Johnson, CD
David Johnson, CD
Flag of Canada image

you have to undo the following:
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
Avatar of James Rankin
James Rankin
Flag of United Kingdom of Great Britain and Northern Ireland image

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\SOFTWARE\Wow6432Node\TeamViewer\DefaultSettings\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.
Avatar of amdj
amdj
Flag of United States of America image

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?
Avatar of James Rankin
James Rankin
Flag of United Kingdom of Great Britain and Northern Ireland image

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.
ASKER CERTIFIED SOLUTION
Avatar of amdj
amdj
Flag of United States of America image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of amdj
amdj
Flag of United States of America image

ASKER

Those solutions did not work for me.
Software
Software

Software is any set of instructions that directs a computer to perform specific tasks or operations. Computer software consists of programs, libraries and related non-executable data (such as documentation). Computer software is non-tangible, contrasted with computer hardware, which is the physical component of computers. Software written in a machine language is known as "machine code". However, in practice, software is usually written in high-level programming languages than machine language. High-level languages are translated into machine language using a compiler or interpreter or a combination of the two.

43K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo