这个咋样,不知道效果如何
好用,一键激活 本帖最后由 夜未眠 于 2022-4-3 16:11 编辑
hszt 发表于 2022-4-3 13:58
已测试可用,傻瓜型全自动,不知道干了些啥?看不出痕迹。
已测试同时授权cad2022和2023,其他软件没安装 ...
想知道它干啥了?停止并清理原版添加河蟹版
xcopy "%SystemDrive%\AutodeskLicensePatcherInstaller\Files\NetworkLicenseManager\adskflex.exe" "%CommonProgramFiles(x86)%\Autodesk Shared\Network License Manager\" /Y /K /R /S /H /i >Nul 2>&1
xcopy "%SystemDrive%\AutodeskLicensePatcherInstaller\Files\NetworkLicenseManager\lmgrd.exe" "%CommonProgramFiles(x86)%\Autodesk Shared\Network License Manager\" /Y /K /R /S /H /i >Nul 2>&1
xcopy "%SystemDrive%\AutodeskLicensePatcherInstaller\Files\NetworkLicenseManager\License.lic" "%CommonProgramFiles(x86)%\Autodesk Shared\Network License Manager\" /Y /K /R /S /H /i >Nul 2>&1
xcopy "%SystemDrive%\AutodeskLicensePatcherInstaller\Files\Service\Service.vbs" "%CommonProgramFiles(x86)%\Autodesk Shared\Network License Manager\" /Y /K /R /S /H /i >Nul 2>&1
xcopy "%SystemDrive%\AutodeskLicensePatcherInstaller\Files\Service\Service.bat" "%CommonProgramFiles(x86)%\Autodesk Shared\Network License Manager\" /Y /K /R /S /H /i >Nul 2>&1
xcopy "%SystemDrive%\AutodeskLicensePatcherInstaller\Files\PatchedFiles\version.dll" "%CommonProgramFiles(x86)%\Autodesk Shared\AdskLicensing\Current\AdskLicensingAgent\" /Y /K /R /S /H /i >Nul 2>&1
设置计划任务
schtasks.exe /Delete /tn "\Microsoft\Windows\Autodesk\Autodesk" /f >Nul 2>&1
schtasks.exe /Create /XML %SystemDrive%\AutodeskLicensePatcherInstaller\Files\Task\Autodesk.xml /tn "\Microsoft\Windows\Autodesk\Autodesk" >Nul 2>&1
添加防火墙规则
netsh advfirewall firewall add rule name="AutodeskNLM" dir=in action=block profile=any program="%CommonProgramFiles(x86)%\Autodesk Shared\Network License Manager\adskflex.exe" >Nul 2>&1
netsh advfirewall firewall add rule name="AutodeskNLM" dir=in action=block profile=any program="%CommonProgramFiles(x86)%\Autodesk Shared\Network License Manager\lmgrd.exe" >Nul 2>&1
netsh advfirewall firewall add rule name="AutodeskNLM" dir=out action=block profile=any program="%CommonProgramFiles(x86)%\Autodesk Shared\Network License Manager\adskflex.exe" >Nul 2>&1
netsh advfirewall firewall add rule name="AutodeskNLM" dir=out action=block profile=any program="%CommonProgramFiles(x86)%\Autodesk Shared\Network License Manager\lmgrd.exe" >Nul 2>&1
cd "C:\Program Files (x86)\Common Files\Autodesk Shared\AdskLicensing" >Nul 2>&1
for /R %%a in (*.exe) do (
netsh advfirewall firewall delete rule name="Allowed %%a" >Nul 2>&1
netsh advfirewall firewall delete rule name="Blocked %%a" >Nul 2>&1
netsh advfirewall firewall add rule name="Blocked %%a" dir=out action=block profile=any program="%%a" >Nul 2>&1
netsh advfirewall firewall add rule name="Blocked %%a" dir=in action=block profile=any program="%%a" >Nul 2>&1
好吧,清理的代码被论坛吃了
夜未眠 发表于 2022-4-3 16:01
想知道它干啥了?
好吧,清理的代码被论坛吃了
清理的很需要,不用了还是要清理掉的。 这个是网络许可吗 顺利安装激活成功,谢谢搬运!
页:
1
[2]