LoginSignup
0
0

More than 5 years have passed since last update.

ArcGIS製品のソフトウェア認証を自動化する

Posted at

ArcGIS製品のソフトウェア認証を自動化する

PowerShellでサイレント認証する

C:\Program Files\Common Files\ArcGIS\bin\softwareauthorization.exeをたたけばいい.
事前に認証ファイル(.prvc)を作成しておくこと.

下の例はArcGIS Desktopを認証する場合.

AuthorizeArcGISDesktopStandartSilently.ps1
$softwareAuthorizationExe = 'C:\Program Files\Common Files\ArcGIS\bin\softwareauthorization.exe'
$softwareAuthorizationArg = '-S -LIF E:\Prvc\ArcGISDesktopStandard.prvc'
Start-Process -FilePath $softwareAuthorizationExe -ArgumentList $softwareAuthorizationArg -Verb runas -Wait
ArcGISDesktopStandard.prvc
// User Information

First Name=Hoge

Last Name=Fuga

Organization=Some Company

Department=System Development

Email=someone@somecompany.co.jp

Address 1=1-1-1 Shinagawa

City=Shinagawa-ku

State/Province=Tokyo

Country=Japan

Zip/Postal Code=111-1111

Phone Number=+81(0)3-1234-5678

// Features and authorization numbers

Desktop Standard=ESU000000000

参考

認証が壊れた場合

この前ArcCatalogを開こうとしたら突然ライセンス修復しろって怒られたので対処法をメモ.

  1. 「C:\ProgramData」配下にあるフォルダー「FLEXnet」を任意の場所に移す(表示されない場合は隠しフォルダーを表示するように設定すること).
  2. 再認証する.

参考

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0