# Policy settings reference

Source: https://wndsoftware.com/docs/policy-settings

The same setting names work in Group Policy, Intune, a Mac configuration profile and policy.json. People see each one as locked, and the app’s engine enforces it however a connection is started.

Every WND Terminal setting has one name used everywhere, as a registry value under `HKLM\SOFTWARE\Policies\WND Software\WND Terminal`, a key in the `com.wndsoftware.terminal` configuration profile, or a key in policy.json. Anything you don’t set keeps its default. By default encryption is optional, people may trust certificates and any host is allowed.

On a small screen, swipe the table to read all columns.


| Where | Location |
| --- | --- |
| Group Policy or Intune, computer | `HKEY_LOCAL_MACHINE\SOFTWARE\Policies\WND Software\WND Terminal` |
| Group Policy, user | `HKEY_CURRENT_USER\SOFTWARE\Policies\WND Software\WND Terminal` |
| Mac configuration profile | Domain `com.wndsoftware.terminal`, stored in `/Library/Managed Preferences` |
| policy.json on Windows | `C:\ProgramData\WND Software\WND Terminal\policy.json` |
| policy.json on Mac | `/Library/Application Support/WND Terminal/policy.json` |
| policy.json on Linux | `/etc/wnd-terminal/policy.json` |

WND Terminal uses the first policy it finds, in this order, and doesn’t mix them. On Windows it checks Group Policy for the computer, then for the user. On a Mac it checks the profile for the Mac, then for the user. policy.json comes last. Make its folder writable by administrators only. If a policy exists but can’t be read, the app applies strict rules (encryption required, no trusting certificates) and says so.

A signed WND Administration policy that IT installed from WND Administration is used only when it was installed with its reviewed release: the signed deployment manifest for that exact app installer and the current entitlement. Without them, or when an older policy from the list above is also installed, the app applies the strict rules with no connections at all and the automation API off, and says that IT must complete the reviewed deployment.

In the tables, a switch is a DWORD of 1 or 0 in the registry and true or false in a profile or policy.json. A list is a registry subkey with one numbered value per item, or an array.


## Connections and certificates

On a small screen, swipe the table to read all columns.


| Setting | Group Policy name | Type | What it does |
| --- | --- | --- | --- |
| `RequireEncryption` | Require encrypted connections | Switch | On means every connection must use TLS 1.2 or later, on a secure port or negotiated on the telnet port. Encryption can’t be set to Off, and a host that doesn’t offer negotiated TLS is refused. |
| `Proxy` | Proxy server | Text | The proxy every connection goes through, such as `socks5://proxy.example.com:1080`, `socks4a://…`, `http://proxy.example.com:8080`, `system` or `none`. See [Proxy servers](https://wndsoftware.com/docs/proxy-servers). |
| `AllowUserProxy` | Same setting, People can’t choose their own proxy | Switch | False stops people choosing a proxy for their own connections. |
| `ProxyCredential` | Same setting, Proxy sign-in name | Text | The name of the proxy’s sign-in in the computer’s credential store. `WND Terminal Proxy` when not set. |
| `AllowUserTrust` | Prevent users from trusting certificates | Switch | False stops people trusting a certificate the computer doesn’t trust. Certificates they trusted before are ignored. |
| `AllowOtherHosts` | Only allow the connections set by IT | Switch | False limits people to the connections in Connections. They pick from a list. |
| `Connections` | Mainframe connections | List | Connections offered to everyone. See the format below. |
| `TrustedCertificates` | Trusted mainframe certificates | List | SHA-256 fingerprints to trust though computers don’t, such as self-signed ones. Colons are optional. |
| `CodePage` | Mainframe character set (code page) | Number | The default EBCDIC code page. 37 (US, Canada) when not set. |
| `SignInWithCertificate` | Sign in with smart cards (client certificates) | Switch | On signs in to every encrypted connection with the person’s certificate. |
| `CertificateIssuer` | Same setting, Certificate issuer | Text | Uses only certificates whose issuer contains this text, such as `DOD ID CA`. |


## AI

On a small screen, swipe the table to read all columns.


| Setting | Group Policy name | Type | What it does |
| --- | --- | --- | --- |
| `AllowAI` | Turn off “Explain this screen” AI | Switch | False means screen text never goes to an AI model. The built-in reference for codes still shows. |
| `AIEndpoint` | AI model server, Server address | Text | An OpenAI-compatible server for everyone, such as `http://127.0.0.1:11434/v1` for Ollama on the same computer. |
| `AIModel` | AI model server, Model | Text | The model’s name on that server, such as `qwen2.5:7b-instruct`. |


## License and usage

On a small screen, swipe the table to read all columns.


| Setting | Group Policy name | Type | What it does |
| --- | --- | --- | --- |
| `License` | License key | Text | Your license key, the line starting with `wnd1.` on the customer portal. |
| `LicenseFile` | License file | Text | Path to `wnd-terminal.license`, usually on a share. |
| `RecordUsage` | Turn off usage recording | Switch | False turns off the session log on the computer. |
| `UsageFolder` | License usage collection, Usage folder | Text | Share every copy writes its usage log to, such as `\\fileserver\WNDUsage$`. |
| `PeopleFile` | License usage collection, People file | Text | CSV of login, name and department, so the dashboard lists everyone. |
| `LicensedSeats` | License usage collection, Licensed seats | Number | Seats you own, so the dashboard shows how many went unused. |
| `Department` | Department | Text | Department recorded with usage. The people file takes precedence. |


## Masking and data controls

On a small screen, swipe the table to read all columns.


| Setting | Group Policy name | Type | What it does |
| --- | --- | --- | --- |
| `MaskCardNumbers` | Hide card numbers on screens | Switch | On shows card numbers with only the last four digits, on screen and in copies, prints and text sent to the AI. People can’t turn it off. |
| `MaskPatterns` | Other values to hide on screens | List | Regular expressions, such as `\bACCT-\d{8}\b`. Invalid patterns are ignored. |
| `AllowCopy` | Turn off copying from the screen | Switch | False turns off Copy and Copy as table. Macros can’t save screen data to files, and programs using the automation API can’t read the screen’s text. |
| `AllowPaste` | Turn off pasting into the screen | Switch | False turns off pasting. |
| `AllowPrint` | Turn off printing | Switch | False turns off printing the screen. |
| `AllowFileTransfer` | Turn off file transfer | Switch | False turns off IND$FILE and the FTP, FTPS and SFTP client. |


## Sign-on, scripting and keyboard

On a small screen, swipe the table to read all columns.


| Setting | Group Policy name | Type | What it does |
| --- | --- | --- | --- |
| `AllowAutoSignOn` | Allow automatic sign-on to IBM i | Switch | False turns off automatic sign-on to IBM i everywhere, Kerberos sign-on included. |
| `AllowExpressLogon` | Turn off z/OS Express Logon | Switch | False turns off Express Logon. Logon screens are filled in by hand. See [Sign-on without a password](https://wndsoftware.com/docs/sign-on). |
| `AllowAutomation` | Turn off the automation API (EHLLAPI-style scripting) | Switch | False stops programs on the computer driving WND Terminal’s sessions. See [Automation API](https://wndsoftware.com/docs/automation-api). |
| `AllowAPL` | Turn off typing APL | Switch | False turns off the APL keyboard in mainframe sessions. APL characters the mainframe sends still show. |


## UNIX and Linux sessions

On a small screen, swipe the table to read all columns.


| Setting | Group Policy name | Type | What it does |
| --- | --- | --- | --- |
| `AllowSSH` | UNIX and Linux sessions | Switch | False turns off UNIX and Linux sessions over SSH. |
| `AllowTelnetVT` | UNIX and Linux sessions | Switch | False turns off VT sessions over Telnet. `RequireEncryption` turns them off too. |
| `AllowNewHostKeys` | UNIX and Linux sessions | Switch | False stops people trusting a new SSH host key themselves, in sessions and SFTP. |
| `VTAllowedHosts` | UNIX and Linux hosts people may connect to | List | The hosts people may reach over SSH or Telnet, with `*` and `?`, and a port after a colon. |
| `SSHKnownHosts` | SSH host keys your organization trusts | List | OpenSSH `known_hosts` lines. A host listed here is accepted only with one of its listed keys. |

See [UNIX and Linux sessions](https://wndsoftware.com/docs/vt-sessions).


## File transfer

On a small screen, swipe the table to read all columns.


| Setting | Group Policy name | Type | What it does |
| --- | --- | --- | --- |
| `AllowFTP`, `AllowFTPS`, `AllowSFTP` | Turn off plain FTP, FTPS or SFTP in the file transfer client | Switch | False turns off one protocol. `RequireEncryption` also turns off plain FTP. |
| `FileTransferHosts` | Hosts the file transfer client may use | List | The only hosts allowed, such as `mvs.bank.example` or `*.bank.example`. |
| `FileTransferFolders` | Folders files may be sent from and saved to | List | The only folders on the computer files may come from or go to. |
| `AllowFileUpload` | Don’t allow sending files to hosts | Switch | False stops sending files and submitting jobs. |
| `AllowFileDownload` | Don’t allow receiving files from hosts | Switch | False stops receiving files and job output. |
| `TrustedHostKeys` | Trusted SSH host keys (SFTP) | List | SSH host keys your organization trusts, for SFTP and UNIX sessions alike. |

See [File transfer](https://wndsoftware.com/docs/file-transfer).


## Older emulator macros

On a small screen, swipe the table to read all columns.


| Setting | Group Policy name | Type | What it does |
| --- | --- | --- | --- |
| `AllowLegacyMacros` | Turn off running older emulator macros | Switch | False stops Extra!, Reflection, HostExplorer and PowerTerm macros running as they are. |
| `AllowLegacyMacroObjects` | Turn off other programs in older emulator macros | Switch | False stops those macros using Excel and other programs through COM. |
| `LegacyMacroFolders` | Folders older emulator macros may use | List | Folders those macros may read and write besides the macro folder. |

See [Run your existing macros](https://wndsoftware.com/docs/legacy-macros).


## Languages and phones

On a small screen, swipe the table to read all columns.


| Setting | Group Policy name | Type | What it does |
| --- | --- | --- | --- |
| `RightToLeft` | Start Arabic and Hebrew screens right to left | Switch | True starts Arabic and Hebrew sessions with the screen reversed. |
| `NumeralShape` | Digits in Arabic sessions | Text | `Nominal`, `National` or `Contextual`. |
| `ThaiDisplayMode` | Thai display mode | Number | IBM’s Thai display modes 1 to 5. 5 is the default. |
| `AllowBarcodeScanning` | Turn off barcode scanning with the camera | Switch | False removes camera scanning on phones and tablets. Scanners that type still work. |

See [Arabic, Hebrew and Thai](https://wndsoftware.com/docs/arabic-hebrew-thai) and [Phones and tablets](https://wndsoftware.com/docs/mobile).


## Audit log

On a small screen, swipe the table to read all columns.


| Setting | Group Policy name | Type | What it does |
| --- | --- | --- | --- |
| `RecordAudit` | Turn off the audit log | Switch | False turns off the audit log. |
| `AuditFolder` | Audit log destinations, Audit folder | Text | A share that gets one JSON line per event, a file per day. |
| `AuditSplunkUrl` | Audit log destinations, Splunk HTTP Event Collector address | Text | Such as `https://splunk.example.com:8088/services/collector/event`. |
| `AuditSplunkToken` | Audit log destinations, Splunk HEC token | Text | Never shown in the app or written to its logs. |
| `AuditSyslog` | Audit log destinations, Syslog (CEF) | Text | `udp://siem.example.com:514` or `tcp://siem.example.com:514`. |


## Connection entries

In a profile or policy.json, each connection is an object with these fields.

On a small screen, swipe the table to read all columns.


| Field | Meaning |
| --- | --- |
| `Name` | The name people see, such as Production. |
| `HostType` | `"3270"` (the default), `"5250"`, `"ssh"`, `"telnet"`, or `"T27"`, `"UTS"`, `"HP"`, `"6530"` and `"ALC"` for the hosts in [Unisys, HP, Tandem and airline hosts](https://wndsoftware.com/docs/other-terminals). |
| `Host`, `Port` | The mainframe’s address and port. Without a port, 992 is used for secure connections and 23 for the rest. |
| `Secure` | True means the connection is always encrypted. |
| `BackupHosts` | Other addresses for the same mainframe, such as `["mvs2.example.com", "10.1.2.3:992"]`. Tried in order under the same rules. |
| `LUName` | The terminal name or pool to connect as, such as TCPPOOL1. |
| `StartTls` | True encrypts the connection with TLS negotiated on its telnet port, usually 23, instead of a secure port. It is then always encrypted. |
| `ScreenSize` | `"24x80"` (the default), `"32x80"`, `"43x80"` or `"27x132"`. Mainframe connections also take `"62x160"`, any size up to `"255x255"`, or `"fit"`. See [Screen sizes](https://wndsoftware.com/docs/screen-sizes). |
| `Proxy` | This connection’s own proxy, or `none` to connect directly. |
| `CodePage` | This connection’s code page, such as 1141. |
| `SignInWithCertificate` | Sign in with the person’s certificate on this connection only. |
| `SignOn`, `KerberosPrincipal` | On an IBM i connection, `"kerberos"` signs people on with their computer sign-in. `KerberosPrincipal` names IBM i’s service principal when the one made from the host name isn’t right. |
| `ExpressLogon`, `ExpressLogonMacro` | On a mainframe connection, the application ID to log on to with z/OS Express Logon, and the logon macro or the path of a macro file. |

In Group Policy, each connection is one line, such as `Production|mvs1.example.com|992|secure|backup=mvs2.example.com`. Add `|cp1141`, `|lu=TCPPOOL1` or `|smartcard` at the end as needed. `|starttls` in place of `|secure` encrypts on the telnet port. `|62x160` or `|size=fit` sets the screen size. `|proxy=socks5://…` gives the connection its own proxy, and `|proxy=none` connects it directly. On IBM i, `|kerberos` signs on with Kerberos. On a mainframe, `|elf=TSOSYS1|elfmacro=\\server\share\tso.txt` sets up Express Logon. A UNIX or Linux connection adds `ssh` or `telnet` after the port, as in `Billing server|billing.bank.example|22|ssh|user=billing`.


## Code pages

WND Terminal has 32 single-byte EBCDIC code pages. They are 037 (US, Canada) and the European national pages 273, 277, 278, 280, 284, 285, 297, 500 and 871, each with its euro version (1140 to 1149). The rest are 1047 (z/OS UNIX), 870 (Central and Eastern Europe), 1025 (Cyrillic), 875 (Greek) and 1026 (Turkish). For mainframes and IBM i alike there are Arabic (420 and 16804), Hebrew (424, 12712 and 803) and Thai (838 and 1160), described in [Arabic, Hebrew and Thai](https://wndsoftware.com/docs/arabic-hebrew-thai). The double-byte code pages 930, 939, 1390, 1399, 935, 1388, 937, 1371, 933 and 1364 work on mainframes and IBM i too, described in [Japanese, Chinese and Korean](https://wndsoftware.com/docs/japanese-chinese-korean). People can still pick another code page per connection under Characters.


## Example policy.json


```text
{
  "RequireEncryption": true,
  "AllowUserTrust": false,
  "AllowOtherHosts": false,
  "Proxy": "system",
  "AllowUserProxy": false,
  "Connections": [
    { "Name": "Production", "Host": "mvs.example.com", "Port": 992, "Secure": true },
    { "Name": "Test", "Host": "mvstest.example.com", "Port": 992, "Secure": true },
    { "Name": "Branch", "Host": "mvsbranch.example.com", "Port": 23, "StartTls": true, "Proxy": "none" }
  ],
  "TrustedCertificates": [
    "C6:2F:22:79:A8:9D:36:D9:72:57:05:68:42:92:05:76:F6:CA:6C:36:94:DE:B7:ED:89:96:02:22:D2:C3:80:AC"
  ]
}
```

Anything you don’t set keeps its default. Session recording and response-time monitoring have their own settings, described on the [session recording](https://wndsoftware.com/session-recording) and [response-time monitoring](https://wndsoftware.com/response-time-monitoring) pages.


## Questions


### Which policy does WND Terminal use if there are several?

The first one it finds. Computer Group Policy, then user Group Policy on Windows, or the Mac profile, then the user profile on macOS, then policy.json. It doesn't mix them.


### What happens if the policy is damaged?

If a policy exists but can't be read, WND Terminal applies strict rules, with encryption required and no trusting certificates, and tells the person why.


### Can people see which settings are managed?

Yes. Managed settings show as locked, with a Managed badge that lists what's set.

Technical reviewer: [Albert Joseph](https://wndsoftware.com/authors/albert-joseph), WND Software.
