Skip to content

Instantly share code, notes, and snippets.

@Sopor
Last active April 24, 2024 12:04
Show Gist options
  • Save Sopor/2c33e249aaa4850bf588d0cebf2c7eda to your computer and use it in GitHub Desktop.
Save Sopor/2c33e249aaa4850bf588d0cebf2c7eda to your computer and use it in GitHub Desktop.
transmac reset
- Open Notepad.
- Copy everything from the comment below and paste it in Notepad.
- Press X to close Notepad, it will ask you to save the file.
- Choose an appropriate name eg. TransMac_Reset_Trial.cmd
You can place the file whatever you like as long as you have installed TransMac in the default install path.
You can also put TransMac_Reset_Trial.cmd in the same directory as TransMac.exe and run it from there.
This is useful if you want to put TransMac.exe in another path than default.
@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

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