command line for get id connection

hello, i need capture id connection teamviewer using command line execution

i have

TeamViewer.exe --id **Please do not post TeamViewer IDs**   (start connection for id)

i need

TeamViewer.exe --getid    >file.txt   or similar use

 

file.txt  contains id connection!

 

 

 

Comments

  • christian-j
    christian-j Posts: 54 Staff member 🤠

    Hello Wiltonrad,

    you could find / get the TV ID (as Hex) in the Registry under the following path:

    HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\TeamViewer\ClientID

     

    Team Lead Product Development (Enterprise)

    Did my reply answer your question? To help others, please accept it as solution. Thanks!
  • I'm a little late to the party! But try running the below in Powershell.
    Should also convert it from hex for you :)


    $(Get-ItemProperty -Path Registry::HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\TeamViewer -Name ClientID).ClientID