Click here to Skip to main content
15,907,906 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How can I block and enable any remote access to my pc via teamviewer,ammyy like softwares?I want to do this by c# but you can also tell me if windows has this type of service and then I'll call the service by command line in c#.
I don't want to stop internet access,just stop remote access.
Posted

1 solution

Edit the registry: https://msdn.microsoft.com/en-us/library/aa380804(v=vs.85).aspx[^]

However...if this is a company machine you are doing this to in order to prevent the company accessing your machine, then be aware that you may be committing a disciplinary offence, depending on the company. It's company equipment, you are a company employee: they do (in every jurisdiction I know of) have a right to do as they see fit with it - and if that's company policy, you are opening yourself up to a world of pain if you start messing with it. Particularly as the suspicion is that you will be doing "private stuff" in work time that you don't want them to know about...

Your call: but I'd be very, very careful if I was you...
 
Share this answer
 
Comments
souvikcode 19-Jun-15 6:12am    
No I'm using it for my computer.But will this registry edit prevent teamviewer like software and will not effect to another service?
OriginalGriff 19-Jun-15 6:15am    
What exactly are you trying to achieve?
Why do you think you need this?
souvikcode 19-Jun-15 6:24am    
I want to stop any teamviewer like software in my pc.I will on teamviewer but no one can connect to me even if I give him password.Or this type of software will not run in my pc.
OriginalGriff 19-Jun-15 6:33am    
Well...don't install it!
If you install it, and hand out passwords, then yes, it'll allow people in. That's what it's there for!
souvikcode 19-Jun-15 6:42am    
I know that. Ok. Leave it.Can you tell whether I can watch if specific software running or not in c#?In that case when one trying to run teamviewer then my background watcher will block it.I'll create list of programs to be blocked.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900