vlmcsd.ini 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  1. #
  2. #
  3. # Sample vlmcsd.ini
  4. #
  5. # An ini file for vlmcsd is normally not required. It is for advanced users only.
  6. # vlmcsd uses an ini file only if specified using the -i option in the command line parameters.
  7. # There is no default ini file because vlmcsd is designed to run on many platforms.
  8. #
  9. # Every line starting with a number sign (#) or semicolon (;) is treated as a comment.
  10. # If a key word is used more than once, the last occurrence is used. The only exception
  11. # to this is Listen. You can use Listen=<ip address>[:port] more than once.
  12. #
  13. # Set ePID/HwId for Windows explicitly
  14. ;Windows = 06401-00206-471-111111-03-1033-17763.0000-2822018 / 01 02 03 04 05 06 07 08
  15. # Set ePID for Office 2010 (including Visio and Project) explicitly
  16. ;Office2010 = 06401-00096-199-222222-03-1033-17763.0000-2822018
  17. # Set ePID/HwId for Office 2013 (including Visio and Project) explicitly
  18. ;Office2013 = 06401-00206-234-333333-03-1033-17763.0000-2822018 / 01 02 03 04 05 06 07 08
  19. # Set ePID/HwId for Office 2016 (including Visio and Project) explicitly
  20. ;Office2016 = 06401-00206-437-444444-03-1033-17763.0000-2822018 / 01 02 03 04 05 06 07 08
  21. # Set ePID/HwId for Office 2019 (including Visio and Project) explicitly
  22. ;Office2019 = 06401-00206-666-666666-03-1033-17763.0000-2822018 / 01 02 03 04 05 06 07 08
  23. # Set ePID/HwId for Windows China Government (Enterprise G/GN) explicitly
  24. ;WinChinaGov = 06401-03858-000-555555-03-1033-17763.0000-2822018 / 01 02 03 04 05 06 07 08
  25. # Use a compatible VPN device to create a hidden local IPv4 address
  26. # Command line: -O
  27. # VPN = <VPN adapter name>[=<IPv4 address>][/<CIDR mask>][:<DHCP lease duration>]
  28. # Use VPN adapter "KMS Mirror" give it IP address 192.168.123.100 with a lease duration of one day and make entire 192.168.128.x a hidden local IPv4 address.
  29. ;VPN = KMS Mirror=192.168.123.100/24:1d
  30. # Use custom TCP port
  31. # Command line: -P
  32. # ***The Port directive only works if vlmcsd was compiled to use MS RPC or simple sockets
  33. # ***Use Listen otherwise
  34. ;Port = 1234
  35. # Listen on all IPv4 addresses (default port 1688)
  36. # Command line: -L
  37. # Does not work with MS RPC or simple sockets, use Port=
  38. ;Listen = 0.0.0.0:1688
  39. # Listen on all IPv6 addresses (default port 1688)
  40. # Command line: -L
  41. ;Listen = [::]:1688
  42. # Listen on all private IP addresses and reject incoming requests from public IP addresses
  43. # Command line: -o
  44. # PublicIPProtectionLevel = 3
  45. # Allow binding to foreign IP addresses
  46. # Command line: -F0 and -F1
  47. ;FreeBind = true
  48. # Randomize ePIDs at program start up (only those that are not explicitly specified)
  49. # Command line: -r
  50. ;RandomizationLevel = 1
  51. # Use a specific host build in ePIDs even if the ePID is randomized
  52. # Command line: -H
  53. ;HostBuild = 17763
  54. # Use a specific culture (1033 = English US) in ePIDs even if the ePID is randomized
  55. # Command line: -C
  56. ;LCID = 1033
  57. # Set a maximum of 4 workers (forked processes or threads)
  58. # Command line: -m
  59. ;MaxWorkers = 4
  60. # Disconnect users after 30 seconds of inactivity
  61. # Command line: -t
  62. ;ConnectionTimeout = 30
  63. # Disconnect clients immediately after each request
  64. # Command line: -d and -k
  65. ;DisconnectClientsImmediately = yes
  66. # Write a pid file (a file containing the process id of vlmcsd)
  67. # Command line: -p
  68. ;PidFile = /var/run/vlmcsd.pid
  69. # Load a KMS data file
  70. # Command line: -j
  71. ;KmsData = /etc/vlmcsd.kmd
  72. # Write log to /var/log/vlmcsd.log
  73. # Command line: -l (-e and -f also override this directive)
  74. ;LogFile = /var/log/vlmcsd.log
  75. # Don't include date and time in logs (default is true)
  76. # Command line: -T0 and -T1
  77. ;LogDateAndTime = false
  78. # Create a verbose log
  79. # Command line: -v and -q
  80. ;LogVerbose = true
  81. # Whitelist known products
  82. # Command line: -K0, -K1, -K2, -K3
  83. ;WhiteListingLevel = 0
  84. # Check that the client time is within +/- 4 hours of the system time
  85. # Command line: -c0, -c1
  86. ;CheckClientTime = false
  87. # Maintain a list of CMIDs
  88. # Command line: -M0, -M1
  89. ;MaintainClients = false
  90. # Start with empty CMID list (Requires MaintainClients = true)
  91. # Command line: -E0, -E1
  92. ;StartEmpty = false
  93. # Set activation interval to 2 hours
  94. # Command line: -A
  95. ;ActivationInterval = 2h
  96. # Set renewal interval to 7 days
  97. # Command line: -R
  98. ;RenewalInterval = 7d
  99. # Exit vlmcsd if warning of certain level has been reached
  100. # Command line: -x
  101. # 0 = Never
  102. # 1 = Exit, if any listening socket could not be established or TAP error occurs
  103. ;ExitLevel = 0
  104. # Run program as user vlmcsduser
  105. # Command line: -u
  106. ;user = vlmcsduser
  107. # Run program as group vlmcsdgroup
  108. # Command line: -g
  109. ;group = vlmcsdgroup
  110. # Disable or enable the NDR64 transfer syntax in RPC (default enabled)
  111. # Command line: -N0 and -N1
  112. ;UseNDR64 = true
  113. # Disable or enable bind time feature negotiation in RPC (default enabled)
  114. # Command line: -B0 and -B1
  115. ;UseBTFN = true