本帖最后由 BIMM 于 2017-12-29 00:13 编辑
这是从 Cxxntrybxy 得到的, 利用 07502 版本来和谐 v2 (9407)版本
每天使 TW2018v2前,先将这个.bat 在电脑运行至少一次, 这是确保保持在20天的安全
以下是简单的 bat code: 将蓝色字体复制到notepad, 并储存为任何名字。属性改为 .bat:
Example: DateReset.bat / Reset.bat 和谐.bat
都可以
:: Check for ADMIN Privileges >nul 2>&1 "%SYSTEMROOT%\system32\cacls.exe" "%SYSTEMROOT%\system32\config\system"
if '%errorlevel%' NEQ '0' (
REM Get ADMIN Privileges
echo Set UAC = CreateObject^("Shell.Application"^) > "%temp%\getadmin.vbs"
echo UAC.ShellExecute "%~s0", "", "", "runas", 1 >> "%temp%\getadmin.vbs"
"%temp%\getadmin.vbs"
del "%temp%\getadmin.vbs"
exit /B
) else (
REM Got ADMIN Privileges
pushd "%cd%"
cd /d "%~dp0"
@echo on
)
:: BatchGotAdmin (Run as Admin code ends)
:: Your codes should start from the following line
%WINDIR%\SYSTEM32\REG.EXE DELETE "HKEY_CURRENT_USER\Software\Epic Games" /f
%WINDIR%\SYSTEM32\REG.EXE DELETE "HKEY_LOCAL_MACHINE\SOFTWARE\Abvent\Twinmotion2018" /f
%WINDIR%\SYSTEM32\REG.EXE DELETE "HKEY_USERS\S-1-5-21-3226995718-1085060171-2531778517-1001\Software\Epic Games\Unreal Engine" /f
rd /s /q "%ProgramData%\Abvent\com.abvent.Twinmotion2018"
rd /s /q "%ProgramData%\Application Data\Abvent\com.abvent.Twinmotion2018"
rd /s /q "C:\Users\All Users\Abvent\com.abvent.Twinmotion2018"
|