You are here

Saving the settings in TeamViewer Portable impossible

13 posts / 0 new
Last post
tapsklaps
Offline
Last seen: 6 years 1 month ago
Developer
Joined: 2010-10-17 08:11
Saving the settings in TeamViewer Portable impossible

This topic has already been mentioned several times in other threads here in the forum. I use also for many years now regularly TeamViewer Portable and am of the opinion that this is a real lack. Therefore I have been searching for some time for a solution, which I have now found.

This solution has two minor limitations:

  • After closing of TeamViewer an advertising window will appear. Personally, I consider this to be rather insignificant. Also I want to inform myself further, how I possibly can prevent the emergence of this advertising window.
  • This version requires administrative privileges, because the app writes the registry key HKLM\software\TeamViewer during its running.

For my modified version I have made the following alterations:

  1. Adapting of the file TeamViewer.ini in the folder DefaultData\settings

    The file TeamViewer.ini has the following content:

    [Settings]
    nosave=0
    importsettings=0
    LogIncomingConnections=0
    LogOutgoingConnections=0
    [License]
    code=00-00000-000000-000000
    

    Especially with the entry "nosave=0" it is possible, that changes to the settings can be saved in TeamViewer.

  2. Creation of the folder Launcher within the folder AppInfo

    I have created the folder Launcher within the folder AppInfo. Then I have pasted the file TeamViewerPortable.ini in the folder Launcher. The file TeamViewerPortable.ini has the following content:

    [Launch]
    ProgramExecutable=teamviewer\TeamViewer.exe
    
    [FilesMove]
    settings\TeamViewer.ini=%PAL:AppDir%\teamviewer
    
    [DirectoriesMove]
    settings\TeamViewer=%APPDATA%\TeamViewer
    
    [Activate]
    Registry=true
    
    [RegistryKeys]
    TeamViewer_HKCU=HKCU\Software\TeamViewer
    TeamViewer_HKLM=HKLM\Software\TeamViewer
    
  3. Elimination of the file TeamViewer.ini from the folder teamviewer

    Before the creation of the launcher and installer I have eliminated the file TeamViewer.ini from the folder teamviewer.

Finally I would like to offer my modified version of TeamViewer for download: [Download removed by mod JTH]

John T. Haller
John T. Haller's picture
Offline
Last seen: 1 hour 43 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Distribution

TeamViewer makes the PortableApps.com Format version available themselves. They have not extended any rights to others to modify and redistribute that package. So, your link has been removed.

I submitted patches to TeamViewer last year to handle saving if you choose to do it. They will be incorporating them into the next release. It will still have the issue that it won't work unless you run it with admin rights, though.

Sometimes, the impossible can become possible, if you're awesome!

tapsklaps
Offline
Last seen: 6 years 1 month ago
Developer
Joined: 2010-10-17 08:11
Request to TeamViewer GmbH

Appears also in your patch this advertising window, which I have mentioned above? I suspect that the appearance of this advertising window is associated with the fact, that here a free version of TeamViewer is used. And probably this advertising window disappears only when you acquire a license.

But it would be possible that we submit the version I developed as a proposal at the company TeamViewer GmbH. It would be very good if in the near future this deficiency would be eliminated.

John T. Haller
John T. Haller's picture
Offline
Last seen: 1 hour 43 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Avertising

Your solution does nothing to the advertising window, nor can it, as it is a requirement.

My solution does exactly what yours does. It requires admin rights and does not save by default (the user must elect to). TeamViewer wants it that way. I asked them to enable an option to store in HKCU so that it could be used as a client without admin rights, but they rejected the proposal.

Sometimes, the impossible can become possible, if you're awesome!

CODYQX4
Offline
Last seen: 4 years 11 months ago
Joined: 2010-04-23 20:39
You mean settings saving is

You mean settings saving is coming soon? Good to know, admin rights or not.

John T. Haller
John T. Haller's picture
Offline
Last seen: 1 hour 43 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Yes, but

Yes, but you'll need to ensure you run the app with admin rights. Right-clicking and running as admin in the Platform will work. And manually changing the nosave setting in the INI. Not sure yet if it will be reset on each upgrade or not, that's in the hands of the publisher.

Sometimes, the impossible can become possible, if you're awesome!

tapsklaps
Offline
Last seen: 6 years 1 month ago
Developer
Joined: 2010-10-17 08:11
limited account

Indeed it's imperative, that the app is running with administrative privileges. I tried to run the app within a limited account and the app was closed. For this test I have used my modified version.

EDIT: I must correct my findings. It is also possible to start the program in a restricted account. In this case the app won't write the registry key HKLM\Software\TeamViewer. However, I have not yet a real remote maintenance in such a limited account performed. But today I want to test this scenario with a friend. This fact would also prove, that it is not yet necessary TeamViewer to start with admin rights.

CODYQX4
Offline
Last seen: 4 years 11 months ago
Joined: 2010-04-23 20:39
I take it the technique will

I take it the technique will rely on the registry.

A shame they didn't code a way to save settings direct to INI.

One can use their ini settings with the app set to pull from them and not ever need to write settings to the registry. Not sure how it handles limited accounts, but it helps.

tapsklaps
Offline
Last seen: 6 years 1 month ago
Developer
Joined: 2010-10-17 08:11
no administrative privileges required

Meanwhile I have performed a remote control from my limited account and it works fine. Also multimedia functions like voice over ip and transmitting of webcam can be realized. This is the unique prove, that no administrative privileges are required.

Finally it should be mentioned, that with the portable version can not be used all the available features of TeamViewer. In particular no VPN connections can be made, because it requires the TeamViewer VPN driver must be installed on both computers.

ottosykora
Offline
Last seen: 2 days 1 hour ago
Joined: 2007-10-11 17:48
just wander

what settings should be saved or what settings is this thread concerned abput?

To me it seems not so much relevant, as when I place TV on a pc, the number etc is crated, I can use it for what ever.

When I stick it to other computer, new number is created and all works again.

When I go back to computer 1, the same number as before is created there too apparently, so what else should be saved?

For me it seems all to work any time without admin rights same as the QS module does.

Otto Sykora
Basel, Switzerland

tapsklaps
Offline
Last seen: 6 years 1 month ago
Developer
Joined: 2010-10-17 08:11
some examples

There are various cases where it is advantageous if the settings are stored.

For example the storage of the ID in the Partner-ID combo box. I myself now leads through the remote control for several acquaintances. Previously I must this ID enter again when setting up a new remote control session , which is of course uncomfortable.

Or if you want to alter the settings within the program.

For example you can activate the option, that key combinations (e.g. ALT+TAB) are transferred by default to the remote computer and not performed locally.

In the Remote control category, you can preconfigure settings for remote control sessions. Especially you can change all the settings relating to the display (quality, show your partner's cursor etc.).

Of course these are just a few selected examples, but ultimately you can decide for yourself which of the many other settings you want to change in practice.

ottosykora
Offline
Last seen: 2 days 1 hour ago
Joined: 2007-10-11 17:48
oh yes understand

well yes, I have almost never changed any settings apart from partner ID, I am getting it from the partner on the phone together with the password, so did not think this is of any importance and have not deliberately stored it somewhere so far.

The fixed installations do report automatically when I connect to the server and select them from the 'address book'.

Otto Sykora
Basel, Switzerland

tapsklaps
Offline
Last seen: 6 years 1 month ago
Developer
Joined: 2010-10-17 08:11
Mention of an important feature

A particularly intriguing feature is the possibility, that you can manage computer and contact information from a central location (see the appropriate button on the bottom right). Therefore, it is first necessary that you create a TeamViewer account.

Computers & Contacts offers the following advantages:

  • See your computers and contacts online.
  • Quickly set up a connection without the need to enter connection information.
  • Access and manage your computers and contacts from anywhere in the world.
  • Send messages to your contacts using the Group Chat, Offline Messages and Blacklist features.
  • Set your own availability status.
  • Manage computers and contacts in groups and add your own notes to them.
  • Predefine connection settings for individual computers, contacts and groups.

Accordingly I have tested some of the above mentioned possibilities. So I can perform a remote control from anywhere about a browser, i.e. I don't need the program itself. Or I can create a list of contacts and computers in the program and so I have a convenient access to all of them.

But unfortunately it's impossible in the currently offered portable version of TeamViewer, that I can create a TeamViewer account within the app. In the version I have developed, however, it is possible to create such a TeamViewer account. But luckily, you can also use the link https://login.teamviewer.com in a browser for the creation of such an account.

I hope to have hereby clarified, that the current portable version of TeamViewer has some weaknesses.

Log in or register to post comments