Skip to content

Instantly share code, notes, and snippets.

@vavavr00m
Forked from 05copy-attired/TeamViewer ID Reset.md
Created November 4, 2023 05:00
Show Gist options
  • Save vavavr00m/0455d14874354e1983c739f3af989ef6 to your computer and use it in GitHub Desktop.
Save vavavr00m/0455d14874354e1983c739f3af989ef6 to your computer and use it in GitHub Desktop.
Teamviewer ID Reset

Remove Registry HKLM(ClientIC, ClientID, MIDInitiativeGUID), etc.

The above registry only applies if the user is not logged in.

I just used it as a way to delete the entire registry of TeamViewer.

That approach actually reassigns the TeamViewer ID value by replacing the UUID value.

Windows ONLY

@echo off
for /f "delims={}" %%I in ('bitsadmin /rawreturn /create guid') do set "GUID=%%~I"
>NUL bitsadmin /cancel {%GUID%}
taskkill /f /im tv*
taskkill /f /im teamviewer*
cd "C:\\Program Files\\TeamViewer"
wmic csproduct set uuid="%GUID%"
reg delete "HKLM\software\teamviewer" /f
reg delete "HKCU\software\teamviewer" /f
reg add "HKCU\Software\TeamViewer" /v "IntroShown" /t REG_DWORD /d 1
sc start teamviewer
start TeamViewer.exe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment