代码改变世界

IntelliJ IDEA 17 本地LicenseServer激活

2018-07-24 10:01  猎手家园  阅读(3827)  评论(0编辑  收藏  举报

注意:此方法适用于Idea v2017.2.x 版本及以前版本。

IntelliJ IDEA及破解包下载地址:百度网盘   密码:hlko

 

一、将IntelliJIDEALicenseServer.exe注册为service服务

  1、将instsrv.exe 和 srvany.exe放入C盘。

  2、以管理员身份运行CMD,输入以下命令:

C:\>instsrv.exe IntelliJIDEALicenseServer c:\srvany\srvany.exe

这样我们就创建了一个名为IntelliJIDEALicenseServer的srvany的服务。

 

  3、修改注册表

  运行 regedit

  进入注册表在HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services下找到刚刚注册的服务名IntelliJIDEALicenseServer,

  在IntelliJIDEALicenseServer新建一个项,名称为“Parameters”,单击选中它然后在右侧的窗口新建一个字符串值名称为“Application”

  将其值设置为你针要做为服务运行的程序的路径,路径:C:\IntelliJIDEALicenseServer\IntelliJIDEALicenseServer_windows_amd64.exe

 

  4、设置服务

  运行services.msc,

  打开服务控制面板,找到IntelliJIDEALicenseServer,鼠标右键-属性-登陆,勾选"允许服务与桌面交互"(一般你要运行的程序都是有界面的吧),然后启动该服务。

 

  5、在“常规”项中设置为自动启动。

  到此服务设置完毕!

 

二、配置IntelliJIDEA服务

  简单!

 

结束!