使用Powershell开机启动隐藏窗口的程序
1.打开注册表找到键值:计算机\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run
2.添加字符串值:StartJetServer,添加字符串内容:powershell -executionpolicy unrestricted -file C:\IntelliJIDEALicenseServer\steup-server.ps1
3.编辑IntelliJIDEALicenseServer\steup-server.ps1的内容:start-process -windowstyle hidden -FilePath C:\IntelliJIDEALicenseServer\IntelliJIDEALicenseServer_windows_amd64.exe
4.重启电脑,查看进程