Remove the Teamviewer sponsored session popup

Remove the Teamviewer "sponsored session" popup

Update: Thanks to Mark Stelmack, whose comment is below, I now have a solution that works. I checked that the site is safe, and the script is safe. So here it is:

The Solution that Works courtesy of Mark Stelmack


1. Download AutoIt from Autoitscript
2. Install AutoIt.
3. Open SciTE Script Editor. Create a script using the following:

Local $tvHandle = 0
while True
$tvHandle = WinWaitActive("Sponsored session")
if Not ($tvHandle = 0) Then
Send("{Enter}")
EndIf
WEnd


4. Save the script.(e.g., session.au3)
5. Add that script name to your Startup folder for all users.
My mom is a senior citizen who manages to use her Windows 8 computer for email and online grocery ordering. She does it by sheer rote, and requires retraining every time a pixel shifts. Email and her grocery app are her lifeline. I use Teamviewer to solve problems and keep her machine working spiffy.

-------------------------------------------------------------------------------------------------

My Original Post


When Teamviewer leaves that "sponsored session" popup on top of her AOL screen, the phone rings. "What do I do now?" comes the query from the eighty-six year old.

Understandable. Think like an eighty-six year old in 2014--it's at best disconcerting; at worst it's a  showstopper.

I found two solutions online. The first solution doesn't seem to consistently work. The second one I did not try. I do the third one:


A Solution that Didn't Work for Me

(I found this one to work but haven't rebooted yet.)

Run regedit ("windows" + "r" then type: regedit)
Navigate to \HKEY_CLASSES_ROOT\TeamViewerSession\shell\open\command
Right click on Default in right window & select 'Modify' (not 'Modify Binary Data')
Delete details in 'Value data' box



Another Solution that Didn't Work for Me

(I did not test this one fully because I found the registry hack worked.)

Navigate to the location of the popup on your local disk. (C:\Users\USERNAME\AppData\Local\Temp\TeamViewer\Version9\7.hta)
Edit 7.hta with Notepad++ (or whatever else)
Replace the contents with window.close();
Save the file.
Right click and select Properties.
In the Security tab click Edit...
Select each of the Groups (SYSTEM, USERNAME, Admins) and click Full control under Deny for each. (This will check off all the boxes.)
Click Apply.