SD Core for Windows WC2.0-0

Installing SD Core for Windows: Warnings and Things to Know

What Setup changes in Windows, what to check afterwards, and what to do when a step does not complete.

This page continues Installing SD Core for Windows: What Lands Where and Changing It.

Warnings and things to know#

The installer's own screens give options and results, and nothing else. Every reason, warning and caveat that used to appear on them is here.

Before you install#

After the install#

Set-LocalUser -Name SDSYS -Password (Read-Host -AsSecureString)

When a step reports that it did not complete#

The installer prints what failed and the command to run, from an elevated PowerShell prompt. This is what each failure means until it is put right:

The installer says What it means until you fix it
The account directories were NOT locked Any SD Core user can read and rewrite any other account's files outside SD Core
The shell permission list was NOT locked Any SD Core user can add themselves to it and obtain a command shell
The batch command list was NOT locked Any SD Core user can add commands to their own record and run them from the command line
The global catalog was NOT locked Any SD Core user can replace the programs SD Core runs for every session
The pcode library was NOT locked Any SD Core user can replace the interpreter every session runs
An SD Core system directory was NOT locked Any SD Core user can rewrite the account register, the system programs SDSYS runs, or the configuration SD Core reads at start-up
The credential store was NOT locked Any SD Core user can overwrite another account's stored password and then sign in as them
Accounts were NOT confined to ssh / the ssh-only confinement was NOT restored Accounts SD Core created can sign in at the console and over Remote Desktop; if restore-sshonly.ps1 is missing, add them back to the sdsshonly group
The ssh and API access groups were NOT set up ssh is refused to everyone except administrators
ssh was NOT limited Usually OpenSSH has not started yet: restart and run the command. It also stops if sshd_config already says who may connect, and that setting is left alone
Who may reach ssh could not be set Port 22 is open to the local network, which is the Windows default
Who may reach the SD Core API could not be set No firewall rule was created, so other computers cannot reach port 4247
SD Core could NOT create its administrator account There is no way into SD Core until it exists; the reason is in install-sdsys.log
SD Core could NOT create an SD Core account for you SD only admits accounts it creates and will not create one for a Windows account that already exists, so this is the one moment such an account can be made: running the installer again will not create it. The reason is in attach-account.log
The AI helper service was NOT set up Nobody can use the AI; nothing else is affected. The reason is in install-aihelper.log; run install-aihelper.ps1 -Install from C:\Program Files\SD (see 4. Python, which also covers the AI helper)
The OpenSSH server could NOT be installed Usually a policy that blocks optional features, a metered connection, or no connection. Accounts cannot sign in over ssh until it is there (API-only accounts can use the API meanwhile)
The dictionary, vocabulary or case-conversion step did not run The upgrade kept what it had: SD Core works, a field added by the release may not be recognized, a command added by the release cannot be typed until update.accounts is run in SDSYS (answer Y), and records are still found typed in any case. If two record ids differ only by case, or the file is indexed, or it lies outside its account or under SDSYS, the file is left unchanged and the closing box says some files were not converted (nocase-upgrade.log names each): rename or delete one of each pair of ids, then run configure.file no.case on it, as its owner. SDSYS's own files are not walked

Uninstalling#

Continued in#

Upgrading and uninstalling — upgrading an existing installation, and uninstalling.

Differences from W1.0-0 — what changed since the previous release, for somebody upgrading into it.