Skip to content

Instantly share code, notes, and snippets.

@Sopor
Last active November 14, 2025 01:15
Show Gist options
  • Select an option

  • Save Sopor/2c33e249aaa4850bf588d0cebf2c7eda to your computer and use it in GitHub Desktop.

Select an option

Save Sopor/2c33e249aaa4850bf588d0cebf2c7eda to your computer and use it in GitHub Desktop.
transmac reset
```
@echo off
REM TransMac_Reset_Trial.cmd by Sopor
REG DELETE "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Approved" /f
timeout /t 2 /nobreak >nul
if EXIST "C:\Program Files (x86)\TransMac\TransMac.exe" (
start "" "C:\Program Files (x86)\TransMac\TransMac.exe"
goto END
)
if EXIST "%~dp0TransMac.exe" start "" "%~dp0TransMac.exe"
:END
```
@Sopor
Copy link
Author

Sopor commented Jul 10, 2023

@echo off

REM TransMac Reset Trial by Sopor

REG DELETE "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Approved" /f

timeout /t 2 /nobreak >nul

if EXIST "C:\Program Files (x86)\TransMac\TransMac.exe" (
    start "" "C:\Program Files (x86)\TransMac\TransMac.exe"
    goto END
)

if EXIST "%~dp0TransMac.exe" start "" "%~dp0TransMac.exe"

:END

@Sopor
Copy link
Author

Sopor commented Jul 10, 2023

You can also create a registry file and import it before you run TransMac.exe

Windows Registry Editor Version 5.00

[-HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Approved]

Copy the text above and paste it in Notepad.

Save it as TransMac_Reset_Trial.reg

@MineTurtlee
Copy link

ok thx

@Daxton-10X
Copy link

WTF how does this work this is the first thing i have ever done on gethub and i KNEW it wouldent work but i was wrong your awsome good job and thanks!!! ๐Ÿ˜Š๐Ÿ™Œ

@antunes18
Copy link

Thanks!

@Hesamtitan
Copy link

thank you its help a lot...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment